public interface Data
Modifier and Type | Interface and Description |
---|---|
static class |
Data.DataType |
static class |
Data.Factory |
void free()
void clear()
long size()
void rewind()
Data.DataType next()
Data.DataType prev()
boolean enter()
boolean exit()
boolean lookup(String name)
Data.DataType type()
Binary encode()
long encodedSize()
long encode(ByteBuffer buf)
long decode(ByteBuffer buf)
void putList()
void putMap()
void putArray(boolean described, Data.DataType type)
void putDescribed()
void putNull()
void putBoolean(boolean b)
void putUnsignedByte(UnsignedByte ub)
void putByte(byte b)
void putUnsignedShort(UnsignedShort us)
void putShort(short s)
void putUnsignedInteger(UnsignedInteger ui)
void putInt(int i)
void putChar(int c)
void putUnsignedLong(UnsignedLong ul)
void putLong(long l)
void putTimestamp(Date t)
void putFloat(float f)
void putDouble(double d)
void putDecimal32(Decimal32 d)
void putDecimal64(Decimal64 d)
void putDecimal128(Decimal128 d)
void putUUID(UUID u)
void putBinary(Binary bytes)
void putBinary(byte[] bytes)
void putString(String string)
void putSymbol(Symbol symbol)
void putObject(Object o)
void putJavaArray(Object[] array)
void putDescribedType(DescribedType dt)
long getList()
long getMap()
long getArray()
boolean isArrayDescribed()
Data.DataType getArrayType()
boolean isDescribed()
boolean isNull()
boolean getBoolean()
UnsignedByte getUnsignedByte()
byte getByte()
UnsignedShort getUnsignedShort()
short getShort()
UnsignedInteger getUnsignedInteger()
int getInt()
int getChar()
UnsignedLong getUnsignedLong()
long getLong()
Date getTimestamp()
float getFloat()
double getDouble()
Decimal32 getDecimal32()
Decimal64 getDecimal64()
Decimal128 getDecimal128()
UUID getUUID()
Binary getBinary()
String getString()
Symbol getSymbol()
Object getObject()
Object[] getJavaArray()
DescribedType getDescribedType()
void copy(Data src)
void append(Data src)
void appendn(Data src, int limit)
void narrow()
void widen()
String format()
Copyright © 2016 The Apache Software Foundation. All rights reserved.