Class Adapter.AsByte<U>

All Implemented Interfaces:
Adapter.ArrayProto<byte[]>, TwosComplement, SlotTester.Visible
Direct Known Subclasses:
Adapter.AsByte.Signed, Adapter.AsByte.Unsigned
Enclosing class:
Adapter<T,U>

public abstract static class Adapter.AsByte<U> extends Adapter.Primitive<Byte,U,byte[]> implements TwosComplement
Abstract superclass of signed and unsigned primitive byte adapters.
  • Method Details

    • fetch

      public final <B> byte fetch(Datum.Accessor<B,?> acc, B buffer, int offset, Attribute a)
      Method invoked internally when this Adapter is used to fetch a value; not intended for use in application code.
    • fetchNull

      public byte fetchNull(Attribute a)
      Determines the mapping of SQL null.

      If not overridden, this implementation throws an SQLDataException with SQLSTATE 22002, null_value_no_indicator_parameter.