Class GroupSizeEncodingEncoder
- java.lang.Object
-
- pl.allegro.tech.hermes.consumers.supervisor.workload.sbe.stubs.GroupSizeEncodingEncoder
-
public class GroupSizeEncodingEncoder extends java.lang.ObjectRepeating group dimensions
-
-
Field Summary
Fields Modifier and Type Field Description static java.nio.ByteOrderBYTE_ORDERstatic intENCODED_LENGTHstatic intSCHEMA_IDstatic intSCHEMA_VERSION
-
Constructor Summary
Constructors Constructor Description GroupSizeEncodingEncoder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappendTo(java.lang.StringBuilder builder)GroupSizeEncodingEncoderblockLength(int value)static intblockLengthEncodingLength()static intblockLengthEncodingOffset()static intblockLengthMaxValue()static intblockLengthMinValue()static intblockLengthNullValue()org.agrona.MutableDirectBufferbuffer()intencodedLength()GroupSizeEncodingEncodernumInGroup(int value)static intnumInGroupEncodingLength()static intnumInGroupEncodingOffset()static intnumInGroupMaxValue()static intnumInGroupMinValue()static intnumInGroupNullValue()intoffset()intsbeSchemaId()intsbeSchemaVersion()java.lang.StringtoString()GroupSizeEncodingEncoderwrap(org.agrona.MutableDirectBuffer buffer, int offset)
-
-
-
Field Detail
-
SCHEMA_ID
public static final int SCHEMA_ID
- See Also:
- Constant Field Values
-
SCHEMA_VERSION
public static final int SCHEMA_VERSION
- See Also:
- Constant Field Values
-
ENCODED_LENGTH
public static final int ENCODED_LENGTH
- See Also:
- Constant Field Values
-
BYTE_ORDER
public static final java.nio.ByteOrder BYTE_ORDER
-
-
Method Detail
-
wrap
public GroupSizeEncodingEncoder wrap(org.agrona.MutableDirectBuffer buffer, int offset)
-
buffer
public org.agrona.MutableDirectBuffer buffer()
-
offset
public int offset()
-
encodedLength
public int encodedLength()
-
sbeSchemaId
public int sbeSchemaId()
-
sbeSchemaVersion
public int sbeSchemaVersion()
-
blockLengthEncodingOffset
public static int blockLengthEncodingOffset()
-
blockLengthEncodingLength
public static int blockLengthEncodingLength()
-
blockLengthNullValue
public static int blockLengthNullValue()
-
blockLengthMinValue
public static int blockLengthMinValue()
-
blockLengthMaxValue
public static int blockLengthMaxValue()
-
blockLength
public GroupSizeEncodingEncoder blockLength(int value)
-
numInGroupEncodingOffset
public static int numInGroupEncodingOffset()
-
numInGroupEncodingLength
public static int numInGroupEncodingLength()
-
numInGroupNullValue
public static int numInGroupNullValue()
-
numInGroupMinValue
public static int numInGroupMinValue()
-
numInGroupMaxValue
public static int numInGroupMaxValue()
-
numInGroup
public GroupSizeEncodingEncoder numInGroup(int value)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
appendTo
public java.lang.StringBuilder appendTo(java.lang.StringBuilder builder)
-
-