Class ElasticsearchDynamicTable
java.lang.Object
org.apache.drill.exec.planner.logical.DrillTable
org.apache.drill.exec.planner.logical.DynamicDrillTable
org.apache.drill.exec.store.elasticsearch.schema.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 Summary
ConstructorDescriptionElasticsearchDynamicTable
(StoragePlugin plugin, String storageEngineName, DrillTableSelection selection, org.apache.calcite.schema.Table table) -
Method Summary
Modifier and TypeMethodDescription<T> org.apache.calcite.linq4j.Queryable<T>
asQueryable
(org.apache.calcite.linq4j.QueryProvider queryProvider, org.apache.calcite.schema.SchemaPlus schema, String tableName) org.apache.calcite.linq4j.tree.Expression
getExpression
(org.apache.calcite.schema.SchemaPlus schema, String tableName, Class clazz) org.apache.calcite.rel.RelNode
toRel
(org.apache.calcite.plan.RelOptTable.ToRelContext context, org.apache.calcite.plan.RelOptTable relOptTable) <C> C
Methods inherited from class org.apache.drill.exec.planner.logical.DynamicDrillTable
getRowType
Methods inherited from class org.apache.drill.exec.planner.logical.DrillTable
equals, getGroupScan, getJdbcTableType, getMetadataProviderManager, getPlugin, getSelection, getStatistic, getStorageEngineConfig, getStorageEngineName, getUserName, hashCode, isRolledUp, rolledUpColumnValidInsideAgg, setGroupScan, setOptions, setTableMetadataProviderManager
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.schema.Table
getJdbcTableType, getRowType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg
Methods inherited from interface org.apache.calcite.schema.Wrapper
maybeUnwrap, unwrapOrThrow
-
Constructor Details
-
ElasticsearchDynamicTable
public ElasticsearchDynamicTable(StoragePlugin plugin, String storageEngineName, DrillTableSelection selection, org.apache.calcite.schema.Table table)
-
-
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 interfaceorg.apache.calcite.schema.TranslatableTable
- Overrides:
toRel
in classDrillTable
-
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 interfaceorg.apache.calcite.schema.QueryableTable
-
getElementType
- Specified by:
getElementType
in interfaceorg.apache.calcite.schema.QueryableTable
-
unwrap
- Specified by:
unwrap
in interfaceorg.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 interfaceorg.apache.calcite.schema.QueryableTable
-