java.lang.Object
org.apache.drill.exec.store.openTSDB.client.Schema

public class Schema extends Object
Abstraction for representing structure of openTSDB table
  • Constructor Details

  • Method Details

    • getColumns

      public List<ColumnDTO> getColumns()
      Return list with all columns names and its types
      Returns:
      List
    • getColumnCount

      public int getColumnCount()
      Number of columns in table
      Returns:
      number of table columns
    • getColumnByIndex

      public ColumnDTO getColumnByIndex(int columnIndex)
      Parameters:
      columnIndex - index of required column in table
      Returns:
      ColumnDTO