|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--vortex.sql.vortexMetaResult
This class provides the implementation of the JDBC ResultSetMetaData interface.
ResultSetMetaData| Field Summary |
| Fields inherited from interface java.sql.ResultSetMetaData |
columnNoNulls, columnNullable, columnNullableUnknown |
| Constructor Summary | |
vortexMetaResult(vortexRecord rd)
Constructs a new instance of the vortexMetaResult class |
|
| Method Summary | |
java.lang.String |
getCatalogName(int column)
Not supported by VORTEXjdbc. |
java.lang.String |
getColumnClassName(int column)
Not supported by VORTEXjdbc. |
int |
getColumnCount()
Returns the number of columns in this result set. |
int |
getColumnDisplaySize(int column)
Gives the display size for this column. |
java.lang.String |
getColumnLabel(int column)
This returns column_name. |
java.lang.String |
getColumnName(int column)
The name of the requested column. |
int |
getColumnType(int column)
Gives the column type using the types in java.sql.Types. |
java.lang.String |
getColumnTypeName(int column)
Gives the column type as a string. |
int |
getPrecision(int column)
Returning the precision |
int |
getScale(int column)
Returning the scale |
java.lang.String |
getSchemaName(int column)
Not supported by VORTEXjdbc. |
java.lang.String |
getTableName(int column)
Gives the name of the table to which this column belongs. |
boolean |
isAutoIncrement(int column)
Is the column automatically numbered, thus read-only? |
boolean |
isCaseSensitive(int column)
Does a column's case matter? |
boolean |
isCurrency(int column)
Is the column a cash value? |
boolean |
isDefinitelyWritable(int column)
Will a write on the column definitely succeed? |
int |
isNullable(int column)
Determines if the column in question is nullable. |
boolean |
isReadOnly(int column)
Is a column definitely not writable? |
boolean |
isSearchable(int column)
Can the column be used in a where clause? |
boolean |
isSigned(int column)
Since all VORTEXjdbc integer types are signed, this returns true. |
boolean |
isWritable(int column)
Is it possible for a write on the column to succeed? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public vortexMetaResult(vortexRecord rd)
rd - the vortexRecord object| Method Detail |
public int getColumnCount()
throws java.sql.SQLException
getColumnCount in interface java.sql.ResultSetMetaDatajava.sql.SQLException - do nothingResultSetMetaData.getColumnCount()
public boolean isAutoIncrement(int column)
throws java.sql.SQLException
isAutoIncrement in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of rangeResultSetMetaData.isAutoIncrement(int)
public boolean isCaseSensitive(int column)
throws java.sql.SQLException
isCaseSensitive in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of rangeResultSetMetaData.isCaseSensitive(int)
public boolean isSearchable(int column)
throws java.sql.SQLException
isSearchable in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of rangeResultSetMetaData.isSearchable(int)
public boolean isCurrency(int column)
throws java.sql.SQLException
isCurrency in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of rangeResultSetMetaData.isCurrency(int)
public int isNullable(int column)
throws java.sql.SQLException
isNullable in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of rangeResultSetMetaData.isNullable(int)
public boolean isSigned(int column)
throws java.sql.SQLException
isSigned in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of rangeResultSetMetaData.isSigned(int)
public int getColumnDisplaySize(int column)
throws java.sql.SQLException
getColumnDisplaySize in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of rangeResultSetMetaData.getColumnDisplaySize(int)
public java.lang.String getColumnLabel(int column)
throws java.sql.SQLException
getColumnLabel in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of rangeResultSetMetaData.getColumnLabel(int)
public java.lang.String getColumnName(int column)
throws java.sql.SQLException
getColumnName in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown when the column desired is badResultSetMetaData.getColumnName(int)
public java.lang.String getSchemaName(int column)
throws java.sql.SQLException
getSchemaName in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of range
public int getPrecision(int column)
throws java.sql.SQLException
getPrecision in interface java.sql.ResultSetMetaDatacolumn - the column of the field this information is needed for
java.sql.SQLException - thrown if the column is out of range
public int getScale(int column)
throws java.sql.SQLException
getScale in interface java.sql.ResultSetMetaDatacolumn - the column of the field this information is needed for
java.sql.SQLException - thrown if the column is out of range
public java.lang.String getTableName(int column)
throws java.sql.SQLException
getTableName in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of rangeResultSetMetaData.getTableName(int)
public java.lang.String getCatalogName(int column)
throws java.sql.SQLException
getCatalogName in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown Not support
public int getColumnType(int column)
throws java.sql.SQLException
getColumnType in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown for any number of reasonsTypes,
ResultSetMetaData.getColumnType(int)
public java.lang.String getColumnTypeName(int column)
throws java.sql.SQLException
getColumnTypeName in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if column oit of rangeResultSetMetaData.getColumnTypeName(int)
public java.lang.String getColumnClassName(int column)
throws java.sql.SQLException
getColumnClassName in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of range
public boolean isReadOnly(int column)
throws java.sql.SQLException
isReadOnly in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of range
public boolean isWritable(int column)
throws java.sql.SQLException
isWritable in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of range
public boolean isDefinitelyWritable(int column)
throws java.sql.SQLException
isDefinitelyWritable in interface java.sql.ResultSetMetaDatacolumn - the column index
java.sql.SQLException - thrown if the column is out of range
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||