Interface TupleTableSlot.Indexed

All Superinterfaces:
TupleTableSlot
Enclosing interface:
TupleTableSlot

public static interface TupleTableSlot.Indexed extends TupleTableSlot
A form of TupleTableSlot consisting of a number of indexable elements all of the same type, described by the single Attribute of a one-element TupleDescriptor.

This is one form in which a PostgreSQL array can be accessed.

The get methods that take an Attribute are not especially useful with this type of slot, and will simply return its first element.

  • Method Details

    • elements

      int elements()
      Count of the slot's elements (one greater than the maximum index that may be passed to get).