Class PluginDrillTable
java.lang.Object
org.apache.drill.exec.planner.logical.DrillTable
org.apache.drill.exec.planner.logical.DynamicDrillTable
org.apache.drill.exec.store.plan.rel.PluginDrillTable
- All Implemented Interfaces:
org.apache.calcite.schema.Table
,org.apache.calcite.schema.TranslatableTable
public class PluginDrillTable
extends DynamicDrillTable
implements org.apache.calcite.schema.TranslatableTable
Table implementation based on
DynamicDrillTable
to be used by Drill plugins.-
Constructor Summary
ConstructorDescriptionPluginDrillTable
(StoragePlugin plugin, String storageEngineName, String userName, DrillTableSelection selection, org.apache.calcite.plan.Convention convention) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rel.RelNode
toRel
(org.apache.calcite.plan.RelOptTable.ToRelContext context, org.apache.calcite.plan.RelOptTable table) 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
-
Constructor Details
-
PluginDrillTable
public PluginDrillTable(StoragePlugin plugin, String storageEngineName, String userName, DrillTableSelection selection, org.apache.calcite.plan.Convention convention)
-
-
Method Details
-
toRel
public org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context, org.apache.calcite.plan.RelOptTable table) - Specified by:
toRel
in interfaceorg.apache.calcite.schema.TranslatableTable
- Overrides:
toRel
in classDrillTable
-