Class FloatField
java.lang.Object
io.datarouter.model.field.BaseField<T>
io.datarouter.model.field.BasePrimitiveField<java.lang.Float,FloatFieldKey>
io.datarouter.model.field.imp.comparable.FloatField
- All Implemented Interfaces:
ByteEncodedField<java.lang.Float>,StringEncodedField<java.lang.Float>,Field<java.lang.Float>,java.lang.Comparable<Field<java.lang.Float>>
public class FloatField extends BasePrimitiveField<java.lang.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, java.lang.Float value) -
Method Summary
Modifier and Type Method Description java.lang.FloatfromBytesButDoNotSet(byte[] bytes, int offset)byte[]getBytes()java.lang.StringgetStringEncodedValue()intnumBytesWithSeparator(byte[] bytes, int offset)java.lang.FloatparseStringEncodedValueButDoNotSet(java.lang.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
public java.lang.String getStringEncodedValue() -
parseStringEncodedValueButDoNotSet
public java.lang.Float parseStringEncodedValueButDoNotSet(java.lang.String str) -
getBytes
public byte[] getBytes() -
numBytesWithSeparator
public int numBytesWithSeparator(byte[] bytes, int offset) -
fromBytesButDoNotSet
public java.lang.Float fromBytesButDoNotSet(byte[] bytes, int offset)
-