Class ByteArrayFieldKey
java.lang.Object
io.datarouter.model.field.BaseFieldKey<byte[],ByteArrayFieldKey>
io.datarouter.model.field.imp.array.ByteArrayFieldKey
- All Implemented Interfaces:
FieldKey<byte[]>
public class ByteArrayFieldKey extends BaseFieldKey<byte[],ByteArrayFieldKey>
-
Field Summary
Fields inherited from class io.datarouter.model.field.BaseFieldKey
attributes, columnName, defaultValue, fieldGeneratorType, name, nullable, valueType -
Constructor Summary
Constructors Constructor Description ByteArrayFieldKey(String name) -
Method Summary
Modifier and Type Method Description ByteArrayFieldcreateValueField(byte[] value)intgetSize()booleanisFixedLength()ByteArrayFieldKeywithSize(int size)Methods inherited from class io.datarouter.model.field.BaseFieldKey
equals, findAttribute, generateRandomValue, getAttributes, getAutoGeneratedType, getColumnName, getColumnNameBytes, getDefaultValue, getName, getValueType, hashCode, isCollection, isNullable, toString, with
-
Constructor Details
-
Method Details
-
withSize
-
isFixedLength
public boolean isFixedLength()- Specified by:
isFixedLengthin interfaceFieldKey<byte[]>- Overrides:
isFixedLengthin classBaseFieldKey<byte[],ByteArrayFieldKey>
-
getSize
public int getSize() -
createValueField
-