java.sql.ResultSetMetaData
, java.sql.Wrapper
ImportResultSetMetaData
public abstract class VTIMetaDataTemplate
extends java.lang.Object
implements java.sql.ResultSetMetaData
The methods not implemented here are
Constructor | Description |
---|---|
VTIMetaDataTemplate() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getCatalogName(int column) |
What's a column's table's catalog name?
|
java.lang.String |
getColumnClassName(int column) |
Returns the fully-qualified name of the Java class whose instances
are manufactured if the method
ResultSet.getObject
is called to retrieve a value from the column. |
int |
getColumnDisplaySize(int column) |
What's the column's normal maximum width in chars?
|
java.lang.String |
getColumnLabel(int column) |
What's the suggested column title for use in printouts and
displays?
|
java.lang.String |
getColumnName(int column) |
What's a column's name?
|
java.lang.String |
getColumnTypeName(int column) |
What's a column's data source specific type name?
|
int |
getPrecision(int column) |
How many decimal digits are in the column?
|
int |
getScale(int column) |
What's a column's number of digits to the right of the decimal point?
|
java.lang.String |
getSchemaName(int column) |
What's a column's table's schema?
|
java.lang.String |
getTableName(int column) |
What's a column's table name?
|
boolean |
isAutoIncrement(int column) |
Is the column automatically numbered, and 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) |
Can you put a NULL in this column?
|
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) |
Is the column a signed number?
|
boolean |
isWrapperFor(java.lang.Class<?> iface) |
|
boolean |
isWritable(int column) |
Is it possible for a write on the column to succeed?
|
protected java.sql.SQLException |
notImplemented(java.lang.String methodName) |
Create a SQLException saying that the calling method is not implemented.
|
<T> T |
unwrap(java.lang.Class<T> iface) |
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
java.sql.SQLException
public boolean isAutoIncrement(int column) throws java.sql.SQLException
isAutoIncrement
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public boolean isCaseSensitive(int column) throws java.sql.SQLException
isCaseSensitive
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public boolean isSearchable(int column) throws java.sql.SQLException
isSearchable
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public boolean isCurrency(int column) throws java.sql.SQLException
isCurrency
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public int isNullable(int column) throws java.sql.SQLException
isNullable
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public boolean isSigned(int column) throws java.sql.SQLException
isSigned
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public int getColumnDisplaySize(int column) throws java.sql.SQLException
getColumnDisplaySize
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public java.lang.String getColumnLabel(int column) throws java.sql.SQLException
getColumnLabel
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public java.lang.String getColumnName(int column) throws java.sql.SQLException
getColumnName
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public java.lang.String getSchemaName(int column) throws java.sql.SQLException
getSchemaName
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public int getPrecision(int column) throws java.sql.SQLException
getPrecision
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public int getScale(int column) throws java.sql.SQLException
getScale
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public java.lang.String getTableName(int column) throws java.sql.SQLException
getTableName
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public java.lang.String getCatalogName(int column) throws java.sql.SQLException
getCatalogName
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public java.lang.String getColumnTypeName(int column) throws java.sql.SQLException
getColumnTypeName
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public boolean isReadOnly(int column) throws java.sql.SQLException
isReadOnly
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public boolean isWritable(int column) throws java.sql.SQLException
isWritable
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public boolean isDefinitelyWritable(int column) throws java.sql.SQLException
isDefinitelyWritable
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public java.lang.String getColumnClassName(int column) throws java.sql.SQLException
ResultSet.getObject
is called to retrieve a value from the column. JDBC 2.0.getColumnClassName
in interface java.sql.ResultSetMetaData
java.sql.SQLException
- if a database-access error occursprotected java.sql.SQLException notImplemented(java.lang.String methodName)
Create a SQLException saying that the calling method is not implemented.
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.