Data.DataType, Data.Factory
Constructor and Description |
---|
DataImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
long |
decode(java.nio.ByteBuffer buf) |
Binary |
encode() |
long |
encode(java.nio.ByteBuffer buf) |
long |
encodedSize() |
boolean |
enter() |
boolean |
exit() |
java.lang.String |
format() |
void |
free() |
long |
getArray() |
Data.DataType |
getArrayType() |
Binary |
getBinary() |
boolean |
getBoolean() |
byte |
getByte() |
int |
getChar() |
Decimal128 |
getDecimal128() |
Decimal32 |
getDecimal32() |
Decimal64 |
getDecimal64() |
DescribedType |
getDescribedType() |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
java.lang.Object[] |
getJavaArray() |
java.util.List<java.lang.Object> |
getJavaList() |
java.util.Map<java.lang.Object,java.lang.Object> |
getJavaMap() |
long |
getList() |
long |
getLong() |
long |
getMap() |
java.lang.Object |
getObject() |
short |
getShort() |
java.lang.String |
getString() |
Symbol |
getSymbol() |
java.util.Date |
getTimestamp() |
UnsignedByte |
getUnsignedByte() |
UnsignedInteger |
getUnsignedInteger() |
UnsignedLong |
getUnsignedLong() |
UnsignedShort |
getUnsignedShort() |
java.util.UUID |
getUUID() |
boolean |
isArrayDescribed() |
boolean |
isDescribed() |
boolean |
isNull() |
Data.DataType |
next() |
Data.DataType |
prev() |
void |
putArray(boolean described,
Data.DataType type) |
void |
putBinary(Binary bytes) |
void |
putBinary(byte[] bytes) |
void |
putBoolean(boolean b) |
void |
putByte(byte b) |
void |
putChar(int c) |
void |
putDecimal128(Decimal128 d) |
void |
putDecimal32(Decimal32 d) |
void |
putDecimal64(Decimal64 d) |
void |
putDescribed() |
void |
putDescribedType(DescribedType dt) |
void |
putDouble(double d) |
void |
putFloat(float f) |
void |
putInt(int i) |
void |
putJavaList(java.util.List<java.lang.Object> list) |
void |
putJavaMap(java.util.Map<java.lang.Object,java.lang.Object> map) |
void |
putList() |
void |
putLong(long l) |
void |
putMap() |
void |
putNull() |
void |
putObject(java.lang.Object o) |
void |
putShort(short s) |
void |
putString(java.lang.String string) |
void |
putSymbol(Symbol symbol) |
void |
putTimestamp(java.util.Date t) |
void |
putUnsignedByte(UnsignedByte ub) |
void |
putUnsignedInteger(UnsignedInteger ui) |
void |
putUnsignedLong(UnsignedLong ul) |
void |
putUnsignedShort(UnsignedShort us) |
void |
putUUID(java.util.UUID u) |
void |
rewind() |
long |
size() |
java.lang.String |
toString() |
Data.DataType |
type() |
public Data.DataType next()
public Data.DataType prev()
public Data.DataType type()
public long encodedSize()
encodedSize
in interface Data
public void putArray(boolean described, Data.DataType type)
public void putDescribed()
putDescribed
in interface Data
public void putBoolean(boolean b)
putBoolean
in interface Data
public void putUnsignedByte(UnsignedByte ub)
putUnsignedByte
in interface Data
public void putUnsignedShort(UnsignedShort us)
putUnsignedShort
in interface Data
public void putUnsignedInteger(UnsignedInteger ui)
putUnsignedInteger
in interface Data
public void putUnsignedLong(UnsignedLong ul)
putUnsignedLong
in interface Data
public void putTimestamp(java.util.Date t)
putTimestamp
in interface Data
public void putDecimal32(Decimal32 d)
putDecimal32
in interface Data
public void putDecimal64(Decimal64 d)
putDecimal64
in interface Data
public void putDecimal128(Decimal128 d)
putDecimal128
in interface Data
public void putJavaMap(java.util.Map<java.lang.Object,java.lang.Object> map)
putJavaMap
in interface Data
public void putJavaList(java.util.List<java.lang.Object> list)
putJavaList
in interface Data
public void putDescribedType(DescribedType dt)
putDescribedType
in interface Data
public boolean isArrayDescribed()
isArrayDescribed
in interface Data
public Data.DataType getArrayType()
getArrayType
in interface Data
public boolean isDescribed()
isDescribed
in interface Data
public boolean getBoolean()
getBoolean
in interface Data
public UnsignedByte getUnsignedByte()
getUnsignedByte
in interface Data
public UnsignedShort getUnsignedShort()
getUnsignedShort
in interface Data
public UnsignedInteger getUnsignedInteger()
getUnsignedInteger
in interface Data
public UnsignedLong getUnsignedLong()
getUnsignedLong
in interface Data
public java.util.Date getTimestamp()
getTimestamp
in interface Data
public Decimal32 getDecimal32()
getDecimal32
in interface Data
public Decimal64 getDecimal64()
getDecimal64
in interface Data
public Decimal128 getDecimal128()
getDecimal128
in interface Data
public java.util.Map<java.lang.Object,java.lang.Object> getJavaMap()
getJavaMap
in interface Data
public java.util.List<java.lang.Object> getJavaList()
getJavaList
in interface Data
public java.lang.Object[] getJavaArray()
getJavaArray
in interface Data
public DescribedType getDescribedType()
getDescribedType
in interface Data
public java.lang.String toString()
toString
in class java.lang.Object