Class DelimitedStringArrayField
java.lang.Object
io.datarouter.model.field.BaseField<L>
io.datarouter.model.field.imp.array.KeyedListField<String,List<String>,DelimitedStringArrayFieldKey>
io.datarouter.model.field.imp.array.DelimitedStringArrayField
- All Implemented Interfaces:
ByteEncodedField<List<String>>,StringEncodedField<List<String>>,Field<List<String>>,Comparable<Field<List<String>>>
public class DelimitedStringArrayField extends KeyedListField<String,List<String>,DelimitedStringArrayFieldKey>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.datarouter.model.field.BaseField
BaseField.FieldColumnNameComparator -
Field Summary
-
Constructor Summary
Constructors Constructor Description DelimitedStringArrayField(DelimitedStringArrayFieldKey key, List<String> values) -
Method Summary
Modifier and Type Method Description static List<String>decode(String input, String separator)static Stringencode(List<String> inputs, String separator)List<String>fromBytesButDoNotSet(byte[] bytes, int byteOffset)byte[]getBytes()StringgetSeparator()StringgetStringEncodedValue()intnumBytesWithSeparator(byte[] bytes, int byteOffset)List<String>parseStringEncodedValueButDoNotSet(String string)Methods inherited from class io.datarouter.model.field.imp.array.KeyedListField
compareTo, getKey, getValues, sizeMethods 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
-
getSeparator
-
getStringEncodedValue
-
parseStringEncodedValueButDoNotSet
-
getBytes
public byte[] getBytes() -
fromBytesButDoNotSet
-
numBytesWithSeparator
public int numBytesWithSeparator(byte[] bytes, int byteOffset) -
encode
-
decode
-