Class UInt7ArrayField
java.lang.Object
io.datarouter.model.field.BaseField<L>
io.datarouter.model.field.imp.array.KeyedListField<V,L,K>
io.datarouter.model.field.BaseListField<java.lang.Byte,java.util.List<java.lang.Byte>,UInt7ArrayFieldKey>
io.datarouter.model.field.imp.array.UInt7ArrayField
- All Implemented Interfaces:
ByteEncodedField<java.util.List<java.lang.Byte>>,StringEncodedField<java.util.List<java.lang.Byte>>,Field<java.util.List<java.lang.Byte>>,java.lang.Comparable<Field<java.util.List<java.lang.Byte>>>
public class UInt7ArrayField extends BaseListField<java.lang.Byte,java.util.List<java.lang.Byte>,UInt7ArrayFieldKey>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.datarouter.model.field.BaseField
BaseField.FieldColumnNameComparator -
Field Summary
-
Constructor Summary
Constructors Constructor Description UInt7ArrayField(UInt7ArrayFieldKey key, java.util.List<java.lang.Byte> value) -
Method Summary
Modifier and Type Method Description intcompareTo(Field<java.util.List<java.lang.Byte>> other)java.util.List<java.lang.Byte>fromBytesButDoNotSet(byte[] bytes, int byteOffset)java.util.List<java.lang.Byte>fromBytesWithSeparatorButDoNotSet(byte[] bytes, int byteOffset)byte[]getBytes()intnumBytesWithSeparator(byte[] bytes, int byteOffset)java.util.List<java.lang.Byte>parseStringEncodedValueButDoNotSet(java.lang.String value)Methods inherited from class io.datarouter.model.field.imp.array.KeyedListField
getKey, getValues, sizeMethods inherited from class io.datarouter.model.field.BaseField
fromString, getBytesWithSeparator, getPrefix, getPrefixedName, getPreparedStatementValue, getValue, getValueHashCode, getValueString, setPrefix, setUsingReflection, setValue, toString
-
Constructor Details
-
Method Details
-
parseStringEncodedValueButDoNotSet
public java.util.List<java.lang.Byte> parseStringEncodedValueButDoNotSet(java.lang.String value) -
getBytes
public byte[] getBytes() -
numBytesWithSeparator
public int numBytesWithSeparator(byte[] bytes, int byteOffset) -
fromBytesWithSeparatorButDoNotSet
public java.util.List<java.lang.Byte> fromBytesWithSeparatorButDoNotSet(byte[] bytes, int byteOffset)- Specified by:
fromBytesWithSeparatorButDoNotSetin interfaceByteEncodedField<java.util.List<java.lang.Byte>>- Overrides:
fromBytesWithSeparatorButDoNotSetin classBaseField<java.util.List<java.lang.Byte>>
-
fromBytesButDoNotSet
public java.util.List<java.lang.Byte> fromBytesButDoNotSet(byte[] bytes, int byteOffset) -
compareTo
- Specified by:
compareToin interfacejava.lang.Comparable<Field<java.util.List<java.lang.Byte>>>- Overrides:
compareToin classKeyedListField<java.lang.Byte,java.util.List<java.lang.Byte>,UInt7ArrayFieldKey>
-