|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.postgresql.pljava.internal.JavaWrapper
org.postgresql.pljava.internal.HeapTupleHeader
public class HeapTupleHeader
The HeapTupleHeader
correspons to the internal PostgreSQL
HeapTupleHeader
struct.
Method Summary | |
---|---|
protected void |
_free(long pointer)
Calls the C function pfree() with the given pointer as an argument. |
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.JavaWrapper |
---|
finalize, getNativePointer |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Object getObject(int index) throws java.sql.SQLException
HeapTupleHeader
structure.
index
- Index of value in the structure (one based).
null
.
java.sql.SQLException
- If the underlying native structure has gone stale.public TupleDesc getTupleDesc() throws java.sql.SQLException
HeapTupleHeader
structure.
java.sql.SQLException
- If the underlying native structure has gone stale.protected void _free(long pointer)
JavaWrapper
_free
in class JavaWrapper
pointer
- The pointer to free.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |