Class Adapter.AsLong<U>

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

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

    • fetch

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