Class DynamicDrillTable
java.lang.Object
org.apache.drill.exec.planner.logical.DrillTable
org.apache.drill.exec.planner.logical.DynamicDrillTable
- All Implemented Interfaces:
org.apache.calcite.schema.Table
,org.apache.calcite.schema.TranslatableTable
- Direct Known Subclasses:
DrillKuduTable
,DrillOpenTSDBTable
,ElasticsearchDynamicTable
,PluginDrillTable
-
Constructor Summary
ConstructorDescriptionDynamicDrillTable
(StoragePlugin plugin, String storageEngineName, String userName, DrillTableSelection selection) DynamicDrillTable
(StoragePlugin plugin, String storageEngineName, String userName, DrillTableSelection selection, MetadataProviderManager metadataProviderManager) DynamicDrillTable
(StoragePlugin plugin, String storageEngineName, DrillTableSelection selection) TODO: Same purpose as other constructor except the impersonation user is the user who is running the Drillbit process. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rel.type.RelDataType
getRowType
(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) 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, toRel
-
Constructor Details
-
DynamicDrillTable
public DynamicDrillTable(StoragePlugin plugin, String storageEngineName, String userName, DrillTableSelection selection) -
DynamicDrillTable
public DynamicDrillTable(StoragePlugin plugin, String storageEngineName, String userName, DrillTableSelection selection, MetadataProviderManager metadataProviderManager) -
DynamicDrillTable
public DynamicDrillTable(StoragePlugin plugin, String storageEngineName, DrillTableSelection selection) TODO: Same purpose as other constructor except the impersonation user is the user who is running the Drillbit process. Once we add impersonation to non-FileSystem storage plugins such as Hive, HBase etc, we can remove this constructor.
-
-
Method Details
-
getRowType
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
-