public class Encoding
extends java.lang.Object
Token
s.Modifier and Type | Class and Description |
---|---|
static class |
Encoding.Builder
Builder to make
Encoding easier to create. |
static class |
Encoding.Presence
Indicates the presence status of a primitive encoded field in a message.
|
Constructor and Description |
---|
Encoding() |
Encoding(Encoding.Presence presence,
PrimitiveType primitiveType,
java.nio.ByteOrder byteOrder,
PrimitiveValue minValue,
PrimitiveValue maxValue,
PrimitiveValue nullValue,
PrimitiveValue constValue,
java.lang.String characterEncoding,
java.lang.String epoch,
java.lang.String timeUnit,
java.lang.String semanticType) |
Modifier and Type | Method and Description |
---|---|
PrimitiveValue |
applicableMaxValue()
The most applicable max value for the encoded type.
|
PrimitiveValue |
applicableMinValue()
The most applicable min value for the encoded type.
|
PrimitiveValue |
applicableNullValue()
The most applicable null value for the encoded type.
|
java.nio.ByteOrder |
byteOrder()
The
ByteOrder for this encoding. |
java.lang.String |
characterEncoding()
The character encoding for the token or null if not set.
|
PrimitiveValue |
constValue()
The constant value for the token or null if not set.
|
java.lang.String |
epoch()
The epoch from which a timestamp is offset.
|
PrimitiveValue |
maxValue()
The max value for the token or null if not set.
|
PrimitiveValue |
minValue()
The min value for the token or null if not set.
|
PrimitiveValue |
nullValue()
The null value for the token or null if not set.
|
Encoding.Presence |
presence()
Indicates the presence status of a field in a message.
|
void |
presence(Encoding.Presence presence)
Set the
Encoding.Presence for this encoding. |
PrimitiveType |
primitiveType()
The
PrimitiveType of this encoding. |
java.lang.String |
semanticType()
The semantic type of an encoding which can have relevance to the application layer.
|
java.lang.String |
timeUnit()
The time unit of the timestamp.
|
java.lang.String |
toString() |
public Encoding()
public Encoding(Encoding.Presence presence, PrimitiveType primitiveType, java.nio.ByteOrder byteOrder, PrimitiveValue minValue, PrimitiveValue maxValue, PrimitiveValue nullValue, PrimitiveValue constValue, java.lang.String characterEncoding, java.lang.String epoch, java.lang.String timeUnit, java.lang.String semanticType)
public PrimitiveType primitiveType()
PrimitiveType
of this encoding.PrimitiveType
of this encoding.public java.nio.ByteOrder byteOrder()
ByteOrder
for this encoding.ByteOrder
for this encoding.public PrimitiveValue minValue()
public PrimitiveValue maxValue()
public PrimitiveValue nullValue()
public PrimitiveValue constValue()
public Encoding.Presence presence()
public void presence(Encoding.Presence presence)
Encoding.Presence
for this encoding.presence
- the Encoding.Presence
for this encoding.public PrimitiveValue applicableNullValue()
public PrimitiveValue applicableMinValue()
public PrimitiveValue applicableMaxValue()
public java.lang.String characterEncoding()
public java.lang.String epoch()
public java.lang.String timeUnit()
public java.lang.String semanticType()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.