|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> [ sql overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.sql
Interface ResultColumnDescriptor

- public interface ResultColumnDescriptor
A ResultColumnDescriptor describes a result column in a ResultSet.
| Method Summary | |
int |
getColumnPosition()
Get the position of the Column. |
java.lang.String |
getName()
Returns the name of the Column. |
java.lang.String |
getSourceSchemaName()
Get the name of the schema for the Column's base table, if any. |
java.lang.String |
getSourceTableName()
Get the name of the underlying(base) table this column comes from, if any. |
org.apache.derby.iapi.types.DataTypeDescriptor |
getType()
Returns a DataTypeDescriptor for the column. |
boolean |
isAutoincrement()
Tell us if the column is an autoincrement column or not. |
boolean |
updatableByCursor()
Return true if the column is wirtable by a positioned update. |
| Method Detail |
getType
public org.apache.derby.iapi.types.DataTypeDescriptor getType()
- Returns a DataTypeDescriptor for the column. This DataTypeDescriptor
will not represent an actual value, it will only represent the type
that all values in the column will have.
getName
public java.lang.String getName()
- Returns the name of the Column.
getSourceSchemaName
public java.lang.String getSourceSchemaName()
- Get the name of the schema for the Column's base table, if any.
Following example queries will all return APP (assuming user is in schema APP)
select t.a from t
select b.a from t as b
select app.t.a from t
getSourceTableName
public java.lang.String getSourceTableName()
- Get the name of the underlying(base) table this column comes from, if any.
Following example queries will all return T
select a from t
select b.a from t as b
select t.a from t
updatableByCursor
public boolean updatableByCursor()
- Return true if the column is wirtable by a positioned update.
getColumnPosition
public int getColumnPosition()
- Get the position of the Column.
NOTE - position is 1-based.
isAutoincrement
public boolean isAutoincrement()
- Tell us if the column is an autoincrement column or not.
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> [ sql overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC