|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.postgresql.pljava.internal.NativeStruct
org.postgresql.pljava.internal.SPITupleTable
public class SPITupleTable
The SPITupleTable
correspons to the internal PostgreSQL
SPITupleTable
type.
Constructor Summary | |
---|---|
SPITupleTable()
|
Method Summary | |
---|---|
int |
getCount()
Returns the number of Tuple instances contained in this table. |
Tuple |
getSlot(int position)
Returns the Tuple at the given index. |
TupleDesc |
getTupleDesc()
Returns the TupleDesc for the Tuple instances of
this table. |
void |
invalidate()
Invalidates this structure and call the internal function
SPI_freetuptable to free up memory. |
Methods inherited from class org.postgresql.pljava.internal.NativeStruct |
---|
getNative, isValid, releasePointer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPITupleTable()
Method Detail |
---|
public int getCount() throws java.sql.SQLException
Tuple
instances contained in this table.
java.sql.SQLException
public Tuple getSlot(int position) throws java.sql.SQLException
Tuple
at the given index.
position
- Index of desired slot. First slot has index zero.
java.sql.SQLException
public TupleDesc getTupleDesc() throws java.sql.SQLException
TupleDesc
for the Tuple
instances of
this table.
java.sql.SQLException
public void invalidate()
SPI_freetuptable
to free up memory.
invalidate
in class NativeStruct
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |