public class DecoderImpl extends Object implements ByteBufferDecoder
Decoder.ListProcessor<T>
Constructor and Description |
---|
DecoderImpl() |
public void register(Object descriptor, DescribedTypeConstructor dtc)
public Boolean readBoolean()
readBoolean
in interface Decoder
public Boolean readBoolean(Boolean defaultVal)
readBoolean
in interface Decoder
public boolean readBoolean(boolean defaultVal)
readBoolean
in interface Decoder
public Integer readInteger()
readInteger
in interface Decoder
public Integer readInteger(Integer defaultVal)
readInteger
in interface Decoder
public int readInteger(int defaultVal)
readInteger
in interface Decoder
public UnsignedByte readUnsignedByte()
readUnsignedByte
in interface Decoder
public UnsignedByte readUnsignedByte(UnsignedByte defaultVal)
readUnsignedByte
in interface Decoder
public UnsignedShort readUnsignedShort()
readUnsignedShort
in interface Decoder
public UnsignedShort readUnsignedShort(UnsignedShort defaultVal)
readUnsignedShort
in interface Decoder
public UnsignedInteger readUnsignedInteger()
readUnsignedInteger
in interface Decoder
public UnsignedInteger readUnsignedInteger(UnsignedInteger defaultVal)
readUnsignedInteger
in interface Decoder
public UnsignedLong readUnsignedLong()
readUnsignedLong
in interface Decoder
public UnsignedLong readUnsignedLong(UnsignedLong defaultVal)
readUnsignedLong
in interface Decoder
public Character readCharacter()
readCharacter
in interface Decoder
public Character readCharacter(Character defaultVal)
readCharacter
in interface Decoder
public char readCharacter(char defaultVal)
readCharacter
in interface Decoder
public Double readDouble()
readDouble
in interface Decoder
public Double readDouble(Double defaultVal)
readDouble
in interface Decoder
public double readDouble(double defaultVal)
readDouble
in interface Decoder
public Decimal32 readDecimal32()
readDecimal32
in interface Decoder
public Decimal32 readDecimal32(Decimal32 defaultValue)
readDecimal32
in interface Decoder
public Decimal64 readDecimal64()
readDecimal64
in interface Decoder
public Decimal64 readDecimal64(Decimal64 defaultValue)
readDecimal64
in interface Decoder
public Decimal128 readDecimal128()
readDecimal128
in interface Decoder
public Decimal128 readDecimal128(Decimal128 defaultValue)
readDecimal128
in interface Decoder
public Date readTimestamp()
readTimestamp
in interface Decoder
public Date readTimestamp(Date defaultValue)
readTimestamp
in interface Decoder
public Binary readBinary()
readBinary
in interface Decoder
public Binary readBinary(Binary defaultValue)
readBinary
in interface Decoder
public Symbol readSymbol()
readSymbol
in interface Decoder
public Symbol readSymbol(Symbol defaultValue)
readSymbol
in interface Decoder
public String readString()
readString
in interface Decoder
public String readString(String defaultValue)
readString
in interface Decoder
public <T> void readList(Decoder.ListProcessor<T> processor)
public boolean[] readBooleanArray()
readBooleanArray
in interface Decoder
public byte[] readByteArray()
readByteArray
in interface Decoder
public short[] readShortArray()
readShortArray
in interface Decoder
public int[] readIntegerArray()
readIntegerArray
in interface Decoder
public long[] readLongArray()
readLongArray
in interface Decoder
public float[] readFloatArray()
readFloatArray
in interface Decoder
public double[] readDoubleArray()
readDoubleArray
in interface Decoder
public char[] readCharacterArray()
readCharacterArray
in interface Decoder
public <T> T[] readMultiple(Class<T> clazz)
readMultiple
in interface Decoder
public Object[] readMultiple()
readMultiple
in interface Decoder
public byte[] readByteMultiple()
readByteMultiple
in interface Decoder
public short[] readShortMultiple()
readShortMultiple
in interface Decoder
public int[] readIntegerMultiple()
readIntegerMultiple
in interface Decoder
public long[] readLongMultiple()
readLongMultiple
in interface Decoder
public float[] readFloatMultiple()
readFloatMultiple
in interface Decoder
public double[] readDoubleMultiple()
readDoubleMultiple
in interface Decoder
public char[] readCharacterMultiple()
readCharacterMultiple
in interface Decoder
public Object readObject()
readObject
in interface Decoder
public Object readObject(Object defaultValue)
readObject
in interface Decoder
public void setByteBuffer(ByteBuffer buffer)
setByteBuffer
in interface ByteBufferDecoder
Copyright © 2016 The Apache Software Foundation. All rights reserved.