|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vortex.sql.vortexMetaResult
public class vortexMetaResult
An object that can be used to get information about the types and properties of the columns in a ResultSet object.
ResultSetMetaData
Field Summary |
---|
Fields inherited from interface java.sql.ResultSetMetaData |
---|
columnNoNulls, columnNullable, columnNullableUnknown |
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)
Not supported by VORTEXjdbc. |
|
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 |
isWrapperFor(java.lang.Class<?> ResultSetMetaData)
|
|
boolean |
isWritable(int column)
Is it possible for a write on the column to succeed? |
|
|
unwrap(java.lang.Class<T> ResultSetMetaData)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isWrapperFor(java.lang.Class<?> ResultSetMetaData) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> ResultSetMetaData) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
java.sql.SQLException
public int getColumnCount() throws java.sql.SQLException
getColumnCount
in interface java.sql.ResultSetMetaData
java.sql.SQLException
- do nothingResultSetMetaData.getColumnCount()
public boolean isAutoIncrement(int column) throws java.sql.SQLException
isAutoIncrement
in interface java.sql.ResultSetMetaData
column
- 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.ResultSetMetaData
column
- 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.ResultSetMetaData
column
- 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.ResultSetMetaData
column
- 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.ResultSetMetaData
column
- 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.ResultSetMetaData
column
- 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.ResultSetMetaData
column
- 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.ResultSetMetaData
column
- 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.ResultSetMetaData
column
- 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.ResultSetMetaData
column
- the column index
java.sql.SQLException
- thrown if the column is out of rangepublic int getPrecision(int column) throws java.sql.SQLException
getPrecision
in interface java.sql.ResultSetMetaData
column
- the column of the field this information is needed for
java.sql.SQLException
- thrown if the column is out of rangepublic int getScale(int column) throws java.sql.SQLException
getScale
in interface java.sql.ResultSetMetaData
column
- the column of the field this information is needed for
java.sql.SQLException
- thrown if the column is out of rangepublic java.lang.String getTableName(int column) throws java.sql.SQLException
getTableName
in interface java.sql.ResultSetMetaData
column
- 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.ResultSetMetaData
column
- the column index
java.sql.SQLException
- thrown if the column is out of rangepublic int getColumnType(int column) throws java.sql.SQLException
getColumnType
in interface java.sql.ResultSetMetaData
column
- the column index
java.sql.SQLException
- thrown if the column is out of rangeTypes
,
ResultSetMetaData.getColumnType(int)
public java.lang.String getColumnTypeName(int column) throws java.sql.SQLException
getColumnTypeName
in interface java.sql.ResultSetMetaData
column
- the column index
java.sql.SQLException
- thrown if column out of rangeResultSetMetaData.getColumnTypeName(int)
public java.lang.String getColumnClassName(int column) throws java.sql.SQLException
getColumnClassName
in interface java.sql.ResultSetMetaData
column
- the column index
java.sql.SQLException
- thrown if the column is out of rangepublic boolean isReadOnly(int column) throws java.sql.SQLException
isReadOnly
in interface java.sql.ResultSetMetaData
column
- the column index
java.sql.SQLException
- thrown if the column is out of rangepublic boolean isWritable(int column) throws java.sql.SQLException
isWritable
in interface java.sql.ResultSetMetaData
column
- the column index
java.sql.SQLException
- thrown if the column is out of rangepublic boolean isDefinitelyWritable(int column) throws java.sql.SQLException
isDefinitelyWritable
in interface java.sql.ResultSetMetaData
column
- 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 |