Interface IDataTableSchema


public interface IDataTableSchema
Describes the structure of a dataTable.
  • Method Details

    • hasColumn

      boolean hasColumn(String columnName)
      Returns whether the column name is defined in the schema or not.
      Parameters:
      columnName - the name of the column
      Returns:
      true if and only if the column name is defined in the schema
    • getColumnCount

      int getColumnCount()
      Returns the number of columns a row contains.
      Returns:
      the number of columns a row contains
    • getColumnIndex

      int getColumnIndex(String columnName)
      Returns the index of a columnName.
      Parameters:
      columnName - the name of the column
      Returns:
      the index of a columnName
    • getColumnSchema

      IDataColumnSchema getColumnSchema(int columnIndex)
      Returns the schema of the column with the specified index.
      Parameters:
      columnIndex - the index of the column
      Returns:
      the schema of the column
    • getColumnSchema

      IDataColumnSchema getColumnSchema(String columnName)
      Returns the schema of the column with the specified name.
      Parameters:
      columnName - the name the column
      Returns:
      the schema of the column
    • getColumnSchemas

      List<? extends IDataColumnSchema> getColumnSchemas()
      Returns the schemas of all columns.
      Returns:
      the schemas of all columns