Class IntegerField
java.lang.Object
io.datarouter.model.field.BaseField<T>
io.datarouter.model.field.BasePrimitiveField<Integer,IntegerFieldKey>
io.datarouter.model.field.imp.comparable.IntegerField
- All Implemented Interfaces:
ByteEncodedField<Integer>,StringEncodedField<Integer>,Field<Integer>,Comparable<Field<Integer>>
public class IntegerField extends BasePrimitiveField<Integer,IntegerFieldKey>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.datarouter.model.field.BaseField
BaseField.FieldColumnNameComparator -
Field Summary
-
Constructor Summary
Constructors Constructor Description IntegerField(IntegerFieldKey key, Integer value)IntegerField(String prefix, IntegerFieldKey key, Integer value) -
Method Summary
Modifier and Type Method Description IntegerfromBytesButDoNotSet(byte[] bytes, int offset)byte[]getBytes()StringgetStringEncodedValue()intnumBytesWithSeparator(byte[] bytes, int offset)IntegerparseStringEncodedValueButDoNotSet(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
-