org.postgresql.pljava.internal
Class TupleTable

java.lang.Object
  extended by org.postgresql.pljava.internal.NativeStruct
      extended by org.postgresql.pljava.internal.TupleTable

public class TupleTable
extends NativeStruct

The TupleTable correspons to the internal PostgreSQL TupleTable type.


Constructor Summary
TupleTable()
           
 
Method Summary
 int getCount()
          Returns the number of TupleTableSlots contained in this TupleTable.
 TupleTableSlot getSlot(int position)
          Returns the TupleTableSlot at the given index.
 
Methods inherited from class org.postgresql.pljava.internal.NativeStruct
getNative, invalidate, isValid, releasePointer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleTable

public TupleTable()
Method Detail

getCount

public int getCount()
             throws java.sql.SQLException
Returns the number of TupleTableSlots contained in this TupleTable.

Throws:
java.sql.SQLException

getSlot

public TupleTableSlot getSlot(int position)
                       throws java.sql.SQLException
Returns the TupleTableSlot at the given index.

Parameters:
position - Index of desired slot. First slot has index zero.
Throws:
java.sql.SQLException


Copyright (c) 2003, 2004 TADA AB - Taby Sweden. Distributed under the terms shown in COPYRIGHT