Class ValueDataType

  • All Implemented Interfaces:
    org.h2.mvstore.type.DataType

    public class ValueDataType
    extends java.lang.Object
    implements org.h2.mvstore.type.DataType
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.lang.Object a, java.lang.Object b)  
      int getMemory​(java.lang.Object obj)  
      java.lang.Object read​(java.nio.ByteBuffer buff)  
      void read​(java.nio.ByteBuffer buff, java.lang.Object[] obj, int len, boolean key)  
      void write​(org.h2.mvstore.WriteBuffer buff, java.lang.Object obj)  
      void write​(org.h2.mvstore.WriteBuffer buff, java.lang.Object[] obj, int len, boolean key)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • compare

        public int compare​(java.lang.Object a,
                           java.lang.Object b)
        Specified by:
        compare in interface org.h2.mvstore.type.DataType
      • getMemory

        public int getMemory​(java.lang.Object obj)
        Specified by:
        getMemory in interface org.h2.mvstore.type.DataType
      • write

        public void write​(org.h2.mvstore.WriteBuffer buff,
                          java.lang.Object obj)
        Specified by:
        write in interface org.h2.mvstore.type.DataType
      • read

        public java.lang.Object read​(java.nio.ByteBuffer buff)
        Specified by:
        read in interface org.h2.mvstore.type.DataType
      • write

        public void write​(org.h2.mvstore.WriteBuffer buff,
                          java.lang.Object[] obj,
                          int len,
                          boolean key)
        Specified by:
        write in interface org.h2.mvstore.type.DataType
      • read

        public void read​(java.nio.ByteBuffer buff,
                         java.lang.Object[] obj,
                         int len,
                         boolean key)
        Specified by:
        read in interface org.h2.mvstore.type.DataType