|
pljava 1.0.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.postgresql.pljava.internal.NativeStruct
org.postgresql.pljava.internal.TupleDesc
The TupleDesc correspons to the internal PostgreSQL
TupleDesc.
| Constructor Summary | |
TupleDesc()
|
|
| Method Summary | |
Tuple |
formTuple(java.lang.Object[] values)
Creates a Tuple that is described by this descriptor and
initialized with the supplied values. |
int |
getColumnIndex(java.lang.String colName)
Returns the index of the column named colName. |
java.lang.String |
getColumnName(int index)
Returns the name of the column at index. |
int |
size()
Returns the number of columns in this tuple descriptor. |
| 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 |
public TupleDesc()
| Method Detail |
public java.lang.String getColumnName(int index)
throws java.sql.SQLException
index.
index - The one based index of the column.
java.sql.SQLException - If the index is out of range for this
tuple descriptor.
public int getColumnIndex(java.lang.String colName)
throws java.sql.SQLException
colName.
colName - The name of the column.
colName.
java.sql.SQLException - If no column with the given name can
be found in this tuple descriptor.
public Tuple formTuple(java.lang.Object[] values)
throws java.sql.SQLException
Tuple that is described by this descriptor and
initialized with the supplied values.
Tuple.
java.sql.SQLException - If the length of the values array does not
match the size of the descriptor or if the handle of this descriptor
has gone stale.
public int size()
throws java.sql.SQLException
java.sql.SQLException
|
pljava 1.0.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||