Class DataImpl

  • All Implemented Interfaces:
    Data

    public class DataImpl
    extends java.lang.Object
    implements Data
    • Constructor Detail

      • DataImpl

        public DataImpl()
    • Method Detail

      • free

        public void free()
        Specified by:
        free in interface Data
      • clear

        public void clear()
        Specified by:
        clear in interface Data
      • size

        public long size()
        Specified by:
        size in interface Data
      • rewind

        public void rewind()
        Specified by:
        rewind in interface Data
      • enter

        public boolean enter()
        Specified by:
        enter in interface Data
      • exit

        public boolean exit()
        Specified by:
        exit in interface Data
      • encodedSize

        public long encodedSize()
        Specified by:
        encodedSize in interface Data
      • encode

        public long encode​(java.nio.ByteBuffer buf)
        Specified by:
        encode in interface Data
      • decode

        public long decode​(java.nio.ByteBuffer buf)
        Specified by:
        decode in interface Data
      • putList

        public void putList()
        Specified by:
        putList in interface Data
      • putMap

        public void putMap()
        Specified by:
        putMap in interface Data
      • putDescribed

        public void putDescribed()
        Specified by:
        putDescribed in interface Data
      • putNull

        public void putNull()
        Specified by:
        putNull in interface Data
      • putBoolean

        public void putBoolean​(boolean b)
        Specified by:
        putBoolean in interface Data
      • putByte

        public void putByte​(byte b)
        Specified by:
        putByte in interface Data
      • putShort

        public void putShort​(short s)
        Specified by:
        putShort in interface Data
      • putInt

        public void putInt​(int i)
        Specified by:
        putInt in interface Data
      • putChar

        public void putChar​(int c)
        Specified by:
        putChar in interface Data
      • putLong

        public void putLong​(long l)
        Specified by:
        putLong in interface Data
      • putTimestamp

        public void putTimestamp​(java.util.Date t)
        Specified by:
        putTimestamp in interface Data
      • putFloat

        public void putFloat​(float f)
        Specified by:
        putFloat in interface Data
      • putDouble

        public void putDouble​(double d)
        Specified by:
        putDouble in interface Data
      • putUUID

        public void putUUID​(java.util.UUID u)
        Specified by:
        putUUID in interface Data
      • putBinary

        public void putBinary​(Binary bytes)
        Specified by:
        putBinary in interface Data
      • putBinary

        public void putBinary​(byte[] bytes)
        Specified by:
        putBinary in interface Data
      • putString

        public void putString​(java.lang.String string)
        Specified by:
        putString in interface Data
      • putSymbol

        public void putSymbol​(Symbol symbol)
        Specified by:
        putSymbol in interface Data
      • putObject

        public void putObject​(java.lang.Object o)
        Specified by:
        putObject in interface Data
      • putJavaMap

        public void putJavaMap​(java.util.Map<java.lang.Object,​java.lang.Object> map)
        Specified by:
        putJavaMap in interface Data
      • putJavaList

        public void putJavaList​(java.util.List<java.lang.Object> list)
        Specified by:
        putJavaList in interface Data
      • getList

        public long getList()
        Specified by:
        getList in interface Data
      • getMap

        public long getMap()
        Specified by:
        getMap in interface Data
      • getArray

        public long getArray()
        Specified by:
        getArray in interface Data
      • isArrayDescribed

        public boolean isArrayDescribed()
        Specified by:
        isArrayDescribed in interface Data
      • isDescribed

        public boolean isDescribed()
        Specified by:
        isDescribed in interface Data
      • isNull

        public boolean isNull()
        Specified by:
        isNull in interface Data
      • getBoolean

        public boolean getBoolean()
        Specified by:
        getBoolean in interface Data
      • getByte

        public byte getByte()
        Specified by:
        getByte in interface Data
      • getShort

        public short getShort()
        Specified by:
        getShort in interface Data
      • getInt

        public int getInt()
        Specified by:
        getInt in interface Data
      • getChar

        public int getChar()
        Specified by:
        getChar in interface Data
      • getLong

        public long getLong()
        Specified by:
        getLong in interface Data
      • getTimestamp

        public java.util.Date getTimestamp()
        Specified by:
        getTimestamp in interface Data
      • getFloat

        public float getFloat()
        Specified by:
        getFloat in interface Data
      • getDouble

        public double getDouble()
        Specified by:
        getDouble in interface Data
      • getUUID

        public java.util.UUID getUUID()
        Specified by:
        getUUID in interface Data
      • getString

        public java.lang.String getString()
        Specified by:
        getString in interface Data
      • getObject

        public java.lang.Object getObject()
        Specified by:
        getObject in interface Data
      • getJavaMap

        public java.util.Map<java.lang.Object,​java.lang.Object> getJavaMap()
        Specified by:
        getJavaMap in interface Data
      • getJavaList

        public java.util.List<java.lang.Object> getJavaList()
        Specified by:
        getJavaList in interface Data
      • getJavaArray

        public java.lang.Object[] getJavaArray()
        Specified by:
        getJavaArray in interface Data
      • format

        public java.lang.String format()
        Specified by:
        format in interface Data
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object