Skip to content

Commit 8688070

Browse files
committed
[Java] Regenerate IR codecs.
1 parent 4229d92 commit 8688070

File tree

10 files changed

+64
-0
lines changed

10 files changed

+64
-0
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/ByteOrderCodec.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
public enum ByteOrderCodec
66
{
77
SBE_LITTLE_ENDIAN((short)0),
8+
89
SBE_BIG_ENDIAN((short)1),
10+
11+
/**
12+
* To be used to represent not present or null.
13+
*/
914
NULL_VAL((short)255);
1015

1116
private final short value;

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/FrameCodecDecoder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
import org.agrona.MutableDirectBuffer;
55
import org.agrona.DirectBuffer;
66

7+
/**
8+
* Frame Header for start of encoding IR
9+
*/
710
@javax.annotation.Generated(value = { "uk.co.real_logic.sbe.generation.java.JavaGenerator" })
811
@SuppressWarnings("all")
912
public class FrameCodecDecoder

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/FrameCodecEncoder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
import org.agrona.MutableDirectBuffer;
55
import org.agrona.DirectBuffer;
66

7+
/**
8+
* Frame Header for start of encoding IR
9+
*/
710
@javax.annotation.Generated(value = { "uk.co.real_logic.sbe.generation.java.JavaGenerator" })
811
@SuppressWarnings("all")
912
public class FrameCodecEncoder

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/MessageHeaderDecoder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
import org.agrona.DirectBuffer;
55

6+
/**
7+
* Message identifiers and length of message root
8+
*/
69
@javax.annotation.Generated(value = { "uk.co.real_logic.sbe.generation.java.JavaGenerator" })
710
@SuppressWarnings("all")
811
public class MessageHeaderDecoder

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/MessageHeaderEncoder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
import org.agrona.MutableDirectBuffer;
55

6+
/**
7+
* Message identifiers and length of message root
8+
*/
69
@javax.annotation.Generated(value = { "uk.co.real_logic.sbe.generation.java.JavaGenerator" })
710
@SuppressWarnings("all")
811
public class MessageHeaderEncoder

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/PresenceCodec.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@
55
public enum PresenceCodec
66
{
77
SBE_REQUIRED((short)0),
8+
89
SBE_OPTIONAL((short)1),
10+
911
SBE_CONSTANT((short)2),
12+
13+
/**
14+
* To be used to represent not present or null.
15+
*/
1016
NULL_VAL((short)255);
1117

1218
private final short value;

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/PrimitiveTypeCodec.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,32 @@
55
public enum PrimitiveTypeCodec
66
{
77
NONE((short)0),
8+
89
CHAR((short)1),
10+
911
INT8((short)2),
12+
1013
INT16((short)3),
14+
1115
INT32((short)4),
16+
1217
INT64((short)5),
18+
1319
UINT8((short)6),
20+
1421
UINT16((short)7),
22+
1523
UINT32((short)8),
24+
1625
UINT64((short)9),
26+
1727
FLOAT((short)10),
28+
1829
DOUBLE((short)11),
30+
31+
/**
32+
* To be used to represent not present or null.
33+
*/
1934
NULL_VAL((short)255);
2035

2136
private final short value;

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/SignalCodec.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,42 @@
55
public enum SignalCodec
66
{
77
BEGIN_MESSAGE((short)1),
8+
89
END_MESSAGE((short)2),
10+
911
BEGIN_COMPOSITE((short)3),
12+
1013
END_COMPOSITE((short)4),
14+
1115
BEGIN_FIELD((short)5),
16+
1217
END_FIELD((short)6),
18+
1319
BEGIN_GROUP((short)7),
20+
1421
END_GROUP((short)8),
22+
1523
BEGIN_ENUM((short)9),
24+
1625
VALID_VALUE((short)10),
26+
1727
END_ENUM((short)11),
28+
1829
BEGIN_SET((short)12),
30+
1931
CHOICE((short)13),
32+
2033
END_SET((short)14),
34+
2135
BEGIN_VAR_DATA((short)15),
36+
2237
END_VAR_DATA((short)16),
38+
2339
ENCODING((short)17),
40+
41+
/**
42+
* To be used to represent not present or null.
43+
*/
2444
NULL_VAL((short)255);
2545

2646
private final short value;

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/TokenCodecDecoder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
import org.agrona.MutableDirectBuffer;
55
import org.agrona.DirectBuffer;
66

7+
/**
8+
* Codec for an IR Token
9+
*/
710
@javax.annotation.Generated(value = { "uk.co.real_logic.sbe.generation.java.JavaGenerator" })
811
@SuppressWarnings("all")
912
public class TokenCodecDecoder

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/TokenCodecEncoder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
import org.agrona.MutableDirectBuffer;
55
import org.agrona.DirectBuffer;
66

7+
/**
8+
* Codec for an IR Token
9+
*/
710
@javax.annotation.Generated(value = { "uk.co.real_logic.sbe.generation.java.JavaGenerator" })
811
@SuppressWarnings("all")
912
public class TokenCodecEncoder

0 commit comments

Comments
 (0)