Class Adapter.AsShort<U>

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

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

    • fetch

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