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