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