Class FloatType

  • All Implemented Interfaces:
    Type

    public class FloatType
    extends java.lang.Object
    implements Type
    • Method Detail

      • getInt

        public int getInt​(Column c,
                          int position)
        Description copied from interface: Type
        Gets a little endian int at position.
        Specified by:
        getInt in interface Type
      • getLong

        public long getLong​(Column c,
                            int position)
        Description copied from interface: Type
        Gets a little endian long at position.
        Specified by:
        getLong in interface Type
      • getFloat

        public float getFloat​(Column c,
                              int position)
        Description copied from interface: Type
        Gets a float at position.
        Specified by:
        getFloat in interface Type
      • getDouble

        public double getDouble​(Column c,
                                int position)
        Description copied from interface: Type
        Gets a double at position.
        Specified by:
        getDouble in interface Type
      • writeInt

        public void writeInt​(ColumnBuilder builder,
                             int value)
        Description copied from interface: Type
        Write an int to the current entry;
        Specified by:
        writeInt in interface Type
      • writeLong

        public void writeLong​(ColumnBuilder builder,
                              long value)
        Description copied from interface: Type
        Write a long to the current entry;
        Specified by:
        writeLong in interface Type
      • writeFloat

        public void writeFloat​(ColumnBuilder builder,
                               float value)
        Description copied from interface: Type
        Write a float to the current entry;
        Specified by:
        writeFloat in interface Type
      • writeDouble

        public void writeDouble​(ColumnBuilder builder,
                                double value)
        Description copied from interface: Type
        Write a double to the current entry;
        Specified by:
        writeDouble in interface Type
      • createColumnBuilder

        public ColumnBuilder createColumnBuilder​(int expectedEntries)
        Description copied from interface: Type
        Creates the preferred column builder for this type. This is the builder used to store values after an expression projection within the read.
        Specified by:
        createColumnBuilder in interface Type
      • getInstance

        public static FloatType getInstance()