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)intdecodeComparable(Object object, byte[] bytes, int offset)intdecodeComparableLength(byte[] bytes, int offset)voiddecodeIndexed(Object object, byte[] bytes)byte[]encodeComparable(Object dto)byte[]encodeIndexed(Object dto)StringgetCodecName()StringgetName()booleanisKeyCompatible()booleanisNull(Object dto)booleanisNullable()
-
Field Details
-
field
-
-
Constructor Details
-
BinaryDtoFieldSchema
-
-
Method Details
-
getName
-
getCodecName
-
isNullable
public boolean isNullable() -
isNull
-
isKeyCompatible
public boolean isKeyCompatible() -
encodeComparable
-
decodeComparableLength
public int decodeComparableLength(byte[] bytes, int offset) -
decodeComparable
-
encodeIndexed
-
decodeIndexed
-
compareFieldValuesAsIfEncoded
-