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