Package org.apache.qpid.protonj2.codec
Interface EncodingCodes
-
public interface EncodingCodesProvides a set of definitions for the byte value that indicates what the next AMQP encoding will be when encoding or decoding AMQP types.
-
-
Field Summary
Fields Modifier and Type Field Description static byteARRAY32static byteARRAY8static byteBOOLEANstatic byteBOOLEAN_FALSEstatic byteBOOLEAN_TRUEstatic byteBYTEstatic byteCHARstatic byteDECIMAL128static byteDECIMAL32static byteDECIMAL64static byteDESCRIBED_TYPE_INDICATORstatic byteDOUBLEstatic byteFLOATstatic byteINTstatic byteLIST0static byteLIST32static byteLIST8static byteLONGstatic byteMAP32static byteMAP8static byteNULLstatic byteSHORTstatic byteSMALLINTstatic byteSMALLLONGstatic byteSMALLUINTstatic byteSMALLULONGstatic byteSTR32static byteSTR8static byteSYM32static byteSYM8static byteTIMESTAMPstatic byteUBYTEstatic byteUINTstatic byteUINT0static byteULONGstatic byteULONG0static byteUSHORTstatic byteUUIDstatic byteVBIN32static byteVBIN8
-
Method Summary
Static Methods Modifier and Type Method Description static java.lang.StringtoString(byte encoding)Returns a human readable string that describes a given AMQP type encoding value which can be used in logging or other informational contexts.
-
-
-
Field Detail
-
DESCRIBED_TYPE_INDICATOR
static final byte DESCRIBED_TYPE_INDICATOR
- See Also:
- Constant Field Values
-
NULL
static final byte NULL
- See Also:
- Constant Field Values
-
BOOLEAN
static final byte BOOLEAN
- See Also:
- Constant Field Values
-
BOOLEAN_TRUE
static final byte BOOLEAN_TRUE
- See Also:
- Constant Field Values
-
BOOLEAN_FALSE
static final byte BOOLEAN_FALSE
- See Also:
- Constant Field Values
-
UBYTE
static final byte UBYTE
- See Also:
- Constant Field Values
-
USHORT
static final byte USHORT
- See Also:
- Constant Field Values
-
UINT
static final byte UINT
- See Also:
- Constant Field Values
-
SMALLUINT
static final byte SMALLUINT
- See Also:
- Constant Field Values
-
UINT0
static final byte UINT0
- See Also:
- Constant Field Values
-
ULONG
static final byte ULONG
- See Also:
- Constant Field Values
-
SMALLULONG
static final byte SMALLULONG
- See Also:
- Constant Field Values
-
ULONG0
static final byte ULONG0
- See Also:
- Constant Field Values
-
BYTE
static final byte BYTE
- See Also:
- Constant Field Values
-
SHORT
static final byte SHORT
- See Also:
- Constant Field Values
-
INT
static final byte INT
- See Also:
- Constant Field Values
-
SMALLINT
static final byte SMALLINT
- See Also:
- Constant Field Values
-
LONG
static final byte LONG
- See Also:
- Constant Field Values
-
SMALLLONG
static final byte SMALLLONG
- See Also:
- Constant Field Values
-
FLOAT
static final byte FLOAT
- See Also:
- Constant Field Values
-
DOUBLE
static final byte DOUBLE
- See Also:
- Constant Field Values
-
DECIMAL32
static final byte DECIMAL32
- See Also:
- Constant Field Values
-
DECIMAL64
static final byte DECIMAL64
- See Also:
- Constant Field Values
-
DECIMAL128
static final byte DECIMAL128
- See Also:
- Constant Field Values
-
CHAR
static final byte CHAR
- See Also:
- Constant Field Values
-
TIMESTAMP
static final byte TIMESTAMP
- See Also:
- Constant Field Values
-
UUID
static final byte UUID
- See Also:
- Constant Field Values
-
VBIN8
static final byte VBIN8
- See Also:
- Constant Field Values
-
VBIN32
static final byte VBIN32
- See Also:
- Constant Field Values
-
STR8
static final byte STR8
- See Also:
- Constant Field Values
-
STR32
static final byte STR32
- See Also:
- Constant Field Values
-
SYM8
static final byte SYM8
- See Also:
- Constant Field Values
-
SYM32
static final byte SYM32
- See Also:
- Constant Field Values
-
LIST0
static final byte LIST0
- See Also:
- Constant Field Values
-
LIST8
static final byte LIST8
- See Also:
- Constant Field Values
-
LIST32
static final byte LIST32
- See Also:
- Constant Field Values
-
MAP8
static final byte MAP8
- See Also:
- Constant Field Values
-
MAP32
static final byte MAP32
- See Also:
- Constant Field Values
-
ARRAY8
static final byte ARRAY8
- See Also:
- Constant Field Values
-
ARRAY32
static final byte ARRAY32
- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
static java.lang.String toString(byte encoding)
Returns a human readable string that describes a given AMQP type encoding value which can be used in logging or other informational contexts.- Parameters:
encoding- The ANMQP encoding code to be turned into a readable string.- Returns:
- a human readable view of an AMQP type encoding code.
-
-