Class DrillTableInfo

java.lang.Object
org.apache.drill.exec.planner.sql.handlers.DrillTableInfo

public class DrillTableInfo extends Object
Holder class for DrillTable, tableName and table schemaPath obtained from SqlNode tableRef.
  • Method Details

    • drillTable

      public DrillTable drillTable()
    • tableName

      public String tableName()
    • schemaPath

      public List<String> schemaPath()
    • getTableInfoHolder

      public static DrillTableInfo getTableInfoHolder(org.apache.calcite.sql.SqlNode tableRef, SqlHandlerConfig config)
      Returns DrillTableInfo instance which holds DrillTable, drillTable, schemaPath corresponding to specified tableRef.
      Parameters:
      tableRef - table ref
      config - handler config
      Returns:
      DrillTableInfo instance