|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISQLFieldInfo
An object that contains metadata for either a column in a result set or a parameter in an SQL statement.
Return Data Type | Method Name and Description |
---|---|
java.lang.String |
getAlias() Deprecated. Use getTableAlias(). |
java.lang.String |
getColumnAlias() Returns the alias associated with the column. |
int |
getIndex() Returns the index value of the column, as it occurs in the result set. |
java.lang.String |
getName() Returns the name of either the column in the result set or the parameter in the SQL statement. |
java.lang.String |
getSchema() Returns the schema name for the column. |
java.lang.String |
getTable() Returns the table name for the column. |
java.lang.String |
getTableAlias() Returns the alias of the table that is associated with the column. |
int |
getType() Returns a code value that represents the SQL type of the column, as defined in java.sql.Types . |
boolean |
isExpression() Indicates whether the column in the result set is derived from an expression. |
boolean |
isKey() Indicates whether the column is a key. |
Method Detail |
---|
int getIndex()
java.lang.String getName()
If the column in the result set is derived from an expression, this method returns the expression.
java.lang.String getSchema()
Return value is undefined if the column is derived from an expression.
java.lang.String getTable()
Return value is undefined if the column is derived from an expression.
java.lang.String getAlias()
Return value is undefined if the column is derived from an expression.
java.lang.String getTableAlias()
Return value is undefined if the column is derived from an expression.
java.lang.String getColumnAlias()
int getType()
java.sql.Types
. The corresponding Java type of the column can be obtained from the
IBeanData.getJavaTypeforSql()
method.
Return value is undefined if the column is derived from an expression.
IBeanData.getJavaTypeForSql(int)
boolean isExpression()
If the column is derived from an expression, the following occurs:
getName()
returns the expression.getTable()
, getSchema()
, getAlias()
, and getType()
are undefined.true
if the column is derived from an expression; otherwise, false
.boolean isKey()
true
if the column is a key; otherwise, false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |