Class Adapter.AsInt<U>

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

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

    • fetch

      public final <B> int 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 int 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.