All Known Implementing Classes:
JDBCQueryResultMetaData, RawQueryResultMetaData, VertxMySQLQueryResultMetaData

public interface QueryResultMetaData
Query result meta data.
  • Method Details

    • getColumnCount

      int getColumnCount() throws SQLException
      Get column count.
      Returns:
      column count
      Throws:
      SQLException - SQL exception
    • getTableName

      String getTableName(int columnIndex) throws SQLException
      Get table name.
      Parameters:
      columnIndex - column index
      Returns:
      table name
      Throws:
      SQLException - SQL exception
    • getColumnName

      String getColumnName(int columnIndex) throws SQLException
      Get column name.
      Parameters:
      columnIndex - column index
      Returns:
      column name
      Throws:
      SQLException - SQL exception
    • getColumnLabel

      String getColumnLabel(int columnIndex) throws SQLException
      Get column label.
      Parameters:
      columnIndex - column index
      Returns:
      column label
      Throws:
      SQLException - SQL exception
    • getColumnType

      int getColumnType(int columnIndex) throws SQLException
      Get column type.
      Parameters:
      columnIndex - column index
      Returns:
      column type
      Throws:
      SQLException - SQL exception
    • getColumnTypeName

      String getColumnTypeName(int columnIndex) throws SQLException
      Get column type name.
      Parameters:
      columnIndex - column index
      Returns:
      column type name
      Throws:
      SQLException - SQL exception
    • getColumnLength

      int getColumnLength(int columnIndex) throws SQLException
      Get column length.
      Parameters:
      columnIndex - column index
      Returns:
      column length
      Throws:
      SQLException - SQL exception
    • getDecimals

      int getDecimals(int columnIndex) throws SQLException
      Get decimals.
      Parameters:
      columnIndex - column index
      Returns:
      decimals
      Throws:
      SQLException - SQL exception
    • isSigned

      boolean isSigned(int columnIndex) throws SQLException
      Is signed.
      Parameters:
      columnIndex - column index
      Returns:
      signed or not
      Throws:
      SQLException - SQL exception
    • isNotNull

      boolean isNotNull(int columnIndex) throws SQLException
      Is not null.
      Parameters:
      columnIndex - column index
      Returns:
      not null or null
      Throws:
      SQLException - SQL exception
    • isAutoIncrement

      boolean isAutoIncrement(int columnIndex) throws SQLException
      Is auto increment.
      Parameters:
      columnIndex - column index
      Returns:
      auto increment or not
      Throws:
      SQLException - SQL exception