Class BinaryDtoFieldSchema<F>
java.lang.Object
io.datarouter.bytes.binarydto.internal.BinaryDtoFieldSchema<F>
public class BinaryDtoFieldSchema<F> extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BinaryDtoFieldSchema(Field field) -
Method Summary
Modifier and Type Method Description intcompareFieldValuesAsIfEncoded(Object left, Object right)intdecodeField(Object object, byte[] bytes, int offset)intdecodeFieldLength(byte[] bytes, int offset)byte[]encodeValue(Object dto)StringgetName()booleanisFixedLength()booleanisNull(Object dto)booleanisNullable()voidsetFieldValue(Object dto, F fieldValue)
-
Field Details
-
field
-
-
Constructor Details
-
BinaryDtoFieldSchema
-
-
Method Details
-
getName
-
isNullable
public boolean isNullable() -
isNull
-
isFixedLength
public boolean isFixedLength() -
encodeValue
-
decodeField
-
decodeFieldLength
public int decodeFieldLength(byte[] bytes, int offset) -
compareFieldValuesAsIfEncoded
-
setFieldValue
-