Interface QueryResultMetaData
- All Known Implementing Classes:
JDBCQueryResultMetaData,RawQueryResultMetaData,VertxMySQLQueryResultMetaData
public interface QueryResultMetaData
Query result meta data.
-
Method Summary
Modifier and TypeMethodDescriptionintGet column count.getColumnLabel(int columnIndex) Get column label.intgetColumnLength(int columnIndex) Get column length.getColumnName(int columnIndex) Get column name.intgetColumnType(int columnIndex) Get column type.getColumnTypeName(int columnIndex) Get column type name.intgetDecimals(int columnIndex) Get decimals.getTableName(int columnIndex) Get table name.booleanisAutoIncrement(int columnIndex) Is auto increment.booleanisNotNull(int columnIndex) Is not null.booleanisSigned(int columnIndex) Is signed.
-
Method Details
-
getColumnCount
Get column count.- Returns:
- column count
- Throws:
SQLException- SQL exception
-
getTableName
Get table name.- Parameters:
columnIndex- column index- Returns:
- table name
- Throws:
SQLException- SQL exception
-
getColumnName
Get column name.- Parameters:
columnIndex- column index- Returns:
- column name
- Throws:
SQLException- SQL exception
-
getColumnLabel
Get column label.- Parameters:
columnIndex- column index- Returns:
- column label
- Throws:
SQLException- SQL exception
-
getColumnType
Get column type.- Parameters:
columnIndex- column index- Returns:
- column type
- Throws:
SQLException- SQL exception
-
getColumnTypeName
Get column type name.- Parameters:
columnIndex- column index- Returns:
- column type name
- Throws:
SQLException- SQL exception
-
getColumnLength
Get column length.- Parameters:
columnIndex- column index- Returns:
- column length
- Throws:
SQLException- SQL exception
-
getDecimals
Get decimals.- Parameters:
columnIndex- column index- Returns:
- decimals
- Throws:
SQLException- SQL exception
-
isSigned
Is signed.- Parameters:
columnIndex- column index- Returns:
- signed or not
- Throws:
SQLException- SQL exception
-
isNotNull
Is not null.- Parameters:
columnIndex- column index- Returns:
- not null or null
- Throws:
SQLException- SQL exception
-
isAutoIncrement
Is auto increment.- Parameters:
columnIndex- column index- Returns:
- auto increment or not
- Throws:
SQLException- SQL exception
-