java.lang.Object
java.util.AbstractCollection<TupleTableSlot>
java.util.AbstractList<TupleTableSlot>
org.postgresql.pljava.internal.AbstractNoSplitList<TupleTableSlot>
org.postgresql.pljava.pg.TupleList.SPI
- All Implemented Interfaces:
AutoCloseable
,Iterable<TupleTableSlot>
,Collection<TupleTableSlot>
,List<TupleTableSlot>
,RandomAccess
,SequencedCollection<TupleTableSlot>
,TupleList
- Enclosing interface:
TupleList
public static class TupleList.SPI
extends AbstractNoSplitList<TupleTableSlot>
implements TupleList, RandomAccess
A
TupleList
constructed atop a PostgreSQL SPITupleTable
.
The native table is allocated in a MemoryContext
that will be
deleted when SPI_finish
is called on exit of the current
Invocation
. This class merely maps the native tuple table in
place, and so will prevent later access.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.postgresql.pljava.internal.AbstractNoSplitList
AbstractNoSplitList.IteratorNonSpliterator<E>
Nested classes/interfaces inherited from interface org.postgresql.pljava.pg.TupleList
TupleList.Empty, TupleList.SPI
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Method Summary
Methods inherited from class org.postgresql.pljava.internal.AbstractNoSplitList
parallelStream, spliterator
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, subList, toArray, toArray
Methods inherited from interface org.postgresql.pljava.pg.TupleList
spliterator
-
Method Details
-
get
- Specified by:
get
in interfaceList<TupleTableSlot>
- Specified by:
get
in classAbstractList<TupleTableSlot>
-
size
public int size()- Specified by:
size
in interfaceCollection<TupleTableSlot>
- Specified by:
size
in interfaceList<TupleTableSlot>
- Specified by:
size
in classAbstractCollection<TupleTableSlot>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceTupleList
-