public class DliResultSetMetaData extends Object implements ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
Constructor and Description |
---|
DliResultSetMetaData(List<String> columnNames,
List<? extends TypeInfo> typeInfos) |
Modifier and Type | Method and Description |
---|---|
String |
getCatalogName(int column) |
String |
getColumnClassName(int column) |
int |
getColumnCount() |
int |
getColumnDisplaySize(int column) |
int |
getColumnIndex(String name)
Used by other classes for querying the index from column name
|
String |
getColumnLabel(int column) |
String |
getColumnName(int column) |
int |
getColumnType(int column) |
TypeInfo |
getColumnTypeInfo(int columnIndex) |
String |
getColumnTypeName(int column) |
int |
getPrecision(int column) |
int |
getScale(int column) |
String |
getSchemaName(int column) |
String |
getTableName(int column) |
boolean |
isAutoIncrement(int column) |
boolean |
isCaseSensitive(int column) |
boolean |
isCurrency(int column) |
boolean |
isDefinitelyWritable(int column) |
int |
isNullable(int column) |
boolean |
isReadOnly(int column) |
boolean |
isSearchable(int column) |
boolean |
isSigned(int column) |
boolean |
isWrapperFor(Class<?> iface) |
boolean |
isWritable(int column) |
void |
setCatalogName(String catalog) |
void |
setSchemeName(String scheme) |
void |
setTableName(String table) |
protected int |
toZeroIndex(int column) |
<T> T |
unwrap(Class<T> iface) |
public String getCatalogName(int column) throws SQLException
getCatalogName
in interface ResultSetMetaData
SQLException
public String getColumnClassName(int column) throws SQLException
getColumnClassName
in interface ResultSetMetaData
SQLException
public int getColumnCount() throws SQLException
getColumnCount
in interface ResultSetMetaData
SQLException
public int getColumnDisplaySize(int column) throws SQLException
getColumnDisplaySize
in interface ResultSetMetaData
SQLException
public String getColumnLabel(int column) throws SQLException
getColumnLabel
in interface ResultSetMetaData
SQLException
public String getColumnName(int column) throws SQLException
getColumnName
in interface ResultSetMetaData
SQLException
public int getColumnType(int column) throws SQLException
getColumnType
in interface ResultSetMetaData
SQLException
public String getColumnTypeName(int column) throws SQLException
getColumnTypeName
in interface ResultSetMetaData
SQLException
public int getPrecision(int column) throws SQLException
getPrecision
in interface ResultSetMetaData
SQLException
public int getScale(int column) throws SQLException
getScale
in interface ResultSetMetaData
SQLException
public String getSchemaName(int column) throws SQLException
getSchemaName
in interface ResultSetMetaData
SQLException
public String getTableName(int column) throws SQLException
getTableName
in interface ResultSetMetaData
SQLException
public boolean isAutoIncrement(int column) throws SQLException
isAutoIncrement
in interface ResultSetMetaData
SQLException
public boolean isCaseSensitive(int column) throws SQLException
isCaseSensitive
in interface ResultSetMetaData
SQLException
public boolean isCurrency(int column) throws SQLException
isCurrency
in interface ResultSetMetaData
SQLException
public boolean isDefinitelyWritable(int column) throws SQLException
isDefinitelyWritable
in interface ResultSetMetaData
SQLException
public int isNullable(int column) throws SQLException
isNullable
in interface ResultSetMetaData
SQLException
public boolean isReadOnly(int column) throws SQLException
isReadOnly
in interface ResultSetMetaData
SQLException
public boolean isSearchable(int column) throws SQLException
isSearchable
in interface ResultSetMetaData
SQLException
public boolean isSigned(int column) throws SQLException
isSigned
in interface ResultSetMetaData
SQLException
public boolean isWritable(int column) throws SQLException
isWritable
in interface ResultSetMetaData
SQLException
public void setTableName(String table)
public void setSchemeName(String scheme)
public void setCatalogName(String catalog)
public int getColumnIndex(String name)
name
- column nameprotected int toZeroIndex(int column)
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public TypeInfo getColumnTypeInfo(int columnIndex)
Copyright © 2023. All rights reserved.