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