Class FloatType
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.common.type.FloatType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnBuildercreateColumnBuilder(int expectedEntries)Creates the preferred column builder for this type.doublegetDouble(Column c, int position)Gets a double atposition.floatgetFloat(Column c, int position)Gets a float atposition.static FloatTypegetInstance()intgetInt(Column c, int position)Gets a little endian int atposition.longgetLong(Column c, int position)Gets a little endian long atposition.TypeEnumgetTypeEnum()voidwriteDouble(ColumnBuilder builder, double value)Write a double to the current entry;voidwriteFloat(ColumnBuilder builder, float value)Write a float to the current entry;voidwriteInt(ColumnBuilder builder, int value)Write an int to the current entry;voidwriteLong(ColumnBuilder builder, long value)Write a long to the current entry;-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iotdb.tsfile.read.common.type.Type
getBinary, getBoolean, getObject, writeBinary, writeBoolean, writeObject
-
-
-
-
Method Detail
-
getInt
public int getInt(Column c, int position)
Description copied from interface:TypeGets a little endian int atposition.
-
getLong
public long getLong(Column c, int position)
Description copied from interface:TypeGets a little endian long atposition.
-
getFloat
public float getFloat(Column c, int position)
Description copied from interface:TypeGets a float atposition.
-
getDouble
public double getDouble(Column c, int position)
Description copied from interface:TypeGets a double atposition.
-
writeInt
public void writeInt(ColumnBuilder builder, int value)
Description copied from interface:TypeWrite an int to the current entry;
-
writeLong
public void writeLong(ColumnBuilder builder, long value)
Description copied from interface:TypeWrite a long to the current entry;
-
writeFloat
public void writeFloat(ColumnBuilder builder, float value)
Description copied from interface:TypeWrite a float to the current entry;- Specified by:
writeFloatin interfaceType
-
writeDouble
public void writeDouble(ColumnBuilder builder, double value)
Description copied from interface:TypeWrite a double to the current entry;- Specified by:
writeDoublein interfaceType
-
createColumnBuilder
public ColumnBuilder createColumnBuilder(int expectedEntries)
Description copied from interface:TypeCreates the preferred column builder for this type. This is the builder used to store values after an expression projection within the read.- Specified by:
createColumnBuilderin interfaceType
-
getTypeEnum
public TypeEnum getTypeEnum()
- Specified by:
getTypeEnumin interfaceType
-
getInstance
public static FloatType getInstance()
-
-