public interface ColumnSchema
  • Method Details

    • getColumns

      List<Column> getColumns()
      Get all columns metadata.
      Returns:
      columns metadata
    • indexOfColumnName

      Optional<Integer> indexOfColumnName(String columnName)
      Retrieve column index based on column name.
      Parameters:
      columnName -
      Returns:
      column index or empty if column is not found
    • indexOfColumn

      int indexOfColumn(Column column)
      Retrieve column index based on column metadata
      Parameters:
      column - metadata
      Returns:
      column index or empty if column is not found
    • columnsCount

      long columnsCount()
      Total number of columns
      Returns:
      total number of columns