|
||||||||||
| 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.Relation
public class Relation
The Relation correspons to the internal PostgreSQL
Relation.
| Method Summary | |
|---|---|
protected void |
_free(long pointer)
Calls the C function pfree() with the given pointer as an argument. |
String |
getName()
Returns the name of this Relation. |
String |
getSchema()
Returns the schema name of this Relation. |
TupleDesc |
getTupleDesc()
Returns a descriptor that describes tuples in this Relation. |
Tuple |
modifyTuple(Tuple original,
int[] fieldNumbers,
Object[] values)
Creates a new Tuple by substituting new values for selected columns
copying the columns of the original Tuple at other positions. |
| 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 String getName()
throws SQLException
Relation.
SQLException
public String getSchema()
throws SQLException
Relation.
SQLException
public TupleDesc getTupleDesc()
throws SQLException
Relation.
SQLException
public Tuple modifyTuple(Tuple original,
int[] fieldNumbers,
Object[] values)
throws SQLException
Tuple by substituting new values for selected columns
copying the columns of the original Tuple at other positions. The
original Tuple is not modified.
original - The tuple that serves as the source.fieldNumbers - An array of one based indexes denoting the positions that
are to receive modified values.values - The array of new values. Each value in this array corresponds to
an index in the fieldNumbers array.
SQLException - if indexes are out of range or the values illegal.protected void _free(long pointer)
JavaWrapper
_free in class JavaWrapperpointer - The pointer to free.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||