public interface QueryResultMetaData
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
Get column count.
|
String |
getColumnLabel(int columnIndex)
Get column label.
|
int |
getColumnLength(int columnIndex)
Get column length.
|
String |
getColumnName(int columnIndex)
Get column name.
|
int |
getColumnType(int columnIndex)
Get column type.
|
String |
getColumnTypeName(int columnIndex)
Get column type name.
|
int |
getDecimals(int columnIndex)
Get decimals.
|
String |
getTableName(int columnIndex)
Get table name.
|
boolean |
isAutoIncrement(int columnIndex)
Is auto increment.
|
boolean |
isNotNull(int columnIndex)
Is not null.
|
boolean |
isSigned(int columnIndex)
Is signed.
|
int getColumnCount()
throws SQLException
SQLException - SQL exceptionString getTableName(int columnIndex) throws SQLException
columnIndex - column indexSQLException - SQL exceptionString getColumnName(int columnIndex) throws SQLException
columnIndex - column indexSQLException - SQL exceptionString getColumnLabel(int columnIndex) throws SQLException
columnIndex - column indexSQLException - SQL exceptionint getColumnType(int columnIndex)
throws SQLException
columnIndex - column indexSQLException - SQL exceptionString getColumnTypeName(int columnIndex) throws SQLException
columnIndex - column indexSQLException - SQL exceptionint getColumnLength(int columnIndex)
throws SQLException
columnIndex - column indexSQLException - SQL exceptionint getDecimals(int columnIndex)
throws SQLException
columnIndex - column indexSQLException - SQL exceptionboolean isSigned(int columnIndex)
throws SQLException
columnIndex - column indexSQLException - SQL exceptionboolean isNotNull(int columnIndex)
throws SQLException
columnIndex - column indexSQLException - SQL exceptionboolean isAutoIncrement(int columnIndex)
throws SQLException
columnIndex - column indexSQLException - SQL exceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.