Class BinaryDtoFieldSchema<F>

java.lang.Object
io.datarouter.bytes.binarydto.internal.BinaryDtoFieldSchema<F>

public class BinaryDtoFieldSchema<F>
extends Object
  • Field Details

    • field

      public final Field field
  • Constructor Details

    • BinaryDtoFieldSchema

      public BinaryDtoFieldSchema​(Field field)
  • Method Details

    • getName

      public String getName()
    • getCodecName

      public String getCodecName()
    • isNullable

      public boolean isNullable()
    • isNull

      public boolean isNull​(Object dto)
    • isKeyCompatible

      public boolean isKeyCompatible()
    • encodeComparable

      public byte[] encodeComparable​(Object dto)
    • decodeComparableLength

      public int decodeComparableLength​(byte[] bytes, int offset)
    • decodeComparable

      public int decodeComparable​(Object object, byte[] bytes, int offset)
    • encodeIndexed

      public byte[] encodeIndexed​(Object dto)
    • decodeIndexed

      public void decodeIndexed​(Object object, byte[] bytes)
    • compareFieldValuesAsIfEncoded

      public int compareFieldValuesAsIfEncoded​(Object left, Object right)