|
|||||||||
| 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. |
java.lang.String |
getName()
Returns the name of this Relation. |
java.lang.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,
java.lang.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 java.lang.String getName()
throws java.sql.SQLException
Relation.
java.sql.SQLException
public java.lang.String getSchema()
throws java.sql.SQLException
Relation.
java.sql.SQLException
public TupleDesc getTupleDesc()
throws java.sql.SQLException
Relation.
java.sql.SQLException
public Tuple modifyTuple(Tuple original,
int[] fieldNumbers,
java.lang.Object[] values)
throws java.sql.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.
java.sql.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 | ||||||||