org.postgresql.pljava.internal
Class HeapTupleHeader

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

public class HeapTupleHeader
extends NativeStruct

The HeapTupleHeader correspons to the internal PostgreSQL HeapTupleHeader struct.


Constructor Summary
HeapTupleHeader()
           
 
Method Summary
 java.lang.Object getObject(int index)
          Obtains a value from the underlying native HeapTupleHeader structure.
 TupleDesc getTupleDesc()
          Obtains the TupleDesc from the underlying native HeapTupleHeader structure.
 
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

HeapTupleHeader

public HeapTupleHeader()
Method Detail

getObject

public java.lang.Object getObject(int index)
                           throws java.sql.SQLException
Obtains a value from the underlying native HeapTupleHeader structure.

Parameters:
index - Index of value in the structure (one based).
Returns:
The value or null.
Throws:
java.sql.SQLException - If the underlying native structure has gone stale.

getTupleDesc

public TupleDesc getTupleDesc()
                       throws java.sql.SQLException
Obtains the TupleDesc from the underlying native HeapTupleHeader structure.

Returns:
The TupleDesc that describes this tuple.
Throws:
java.sql.SQLException - If the underlying native structure has gone stale.


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