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