Class ElasticsearchDynamicTable

All Implemented Interfaces:
org.apache.calcite.schema.QueryableTable, org.apache.calcite.schema.Table, org.apache.calcite.schema.TranslatableTable, org.apache.calcite.schema.Wrapper

public class ElasticsearchDynamicTable extends DynamicDrillTable implements org.apache.calcite.schema.TranslatableTable, org.apache.calcite.schema.QueryableTable, org.apache.calcite.schema.Wrapper
  • Constructor Details

  • Method Details

    • toRel

      public org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context, org.apache.calcite.plan.RelOptTable relOptTable)
      Specified by:
      toRel in interface org.apache.calcite.schema.TranslatableTable
      Overrides:
      toRel in class DrillTable
    • asQueryable

      public <T> org.apache.calcite.linq4j.Queryable<T> asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider, org.apache.calcite.schema.SchemaPlus schema, String tableName)
      Specified by:
      asQueryable in interface org.apache.calcite.schema.QueryableTable
    • getElementType

      public Type getElementType()
      Specified by:
      getElementType in interface org.apache.calcite.schema.QueryableTable
    • unwrap

      public <C> C unwrap(Class<C> aClass)
      Specified by:
      unwrap in interface org.apache.calcite.schema.Wrapper
    • getExpression

      public org.apache.calcite.linq4j.tree.Expression getExpression(org.apache.calcite.schema.SchemaPlus schema, String tableName, Class clazz)
      Specified by:
      getExpression in interface org.apache.calcite.schema.QueryableTable