org.postgresql.pljava.internal

Class HeapTupleHeader


public class HeapTupleHeader
extends JavaWrapper

The HeapTupleHeader correspons to the internal PostgreSQL HeapTupleHeader struct.

Method Summary

protected void
_free(long pointer)
Object
getObject(int index)
Obtains a value from the underlying native HeapTupleHeader structure.
TupleDesc
getTupleDesc()
Obtains the TupleDesc that describes the tuple and returns it.

Methods inherited from class org.postgresql.pljava.internal.JavaWrapper

_free, finalize, getNativePointer

Method Details

_free

protected void _free(long pointer)
Overrides:
_free in interface JavaWrapper

getObject

public final Object getObject(int index)
            throws 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.

getTupleDesc

public final TupleDesc getTupleDesc()
Obtains the TupleDesc that describes the tuple and returns it.
Returns:
The TupleDesc that describes this tuple.

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