Class FloatField
java.lang.Object
io.datarouter.model.field.BaseField<T>
io.datarouter.model.field.BasePrimitiveField<Float,FloatFieldKey>
io.datarouter.model.field.imp.comparable.FloatField
- All Implemented Interfaces:
ByteEncodedField<Float>,StringEncodedField<Float>,Field<Float>,Comparable<Field<Float>>
public class FloatField extends BasePrimitiveField<Float,FloatFieldKey>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.datarouter.model.field.BaseField
BaseField.FieldColumnNameComparator -
Field Summary
-
Constructor Summary
Constructors Constructor Description FloatField(FloatFieldKey key, Float value) -
Method Summary
Modifier and Type Method Description FloatfromBytesButDoNotSet(byte[] bytes, int offset)byte[]getBytes()StringgetStringEncodedValue()intnumBytesWithSeparator(byte[] bytes, int offset)FloatparseStringEncodedValueButDoNotSet(String str)Methods inherited from class io.datarouter.model.field.BaseField
fromBytesWithSeparatorButDoNotSet, fromString, getBytesWithSeparator, getPrefix, getPrefixedName, getPreparedStatementValue, getValue, getValueHashCode, getValueString, setPrefix, setUsingReflection, setValue, toString
-
Constructor Details
-
Method Details
-
getStringEncodedValue
-
parseStringEncodedValueButDoNotSet
-
getBytes
public byte[] getBytes() -
numBytesWithSeparator
public int numBytesWithSeparator(byte[] bytes, int offset) -
fromBytesButDoNotSet
-