public class HiveFilterPushdown extends Object implements ConnectorPlanOptimizer
| Modifier and Type | Class and Description |
|---|---|
static class |
HiveFilterPushdown.ConnectorPushdownFilterResult |
| Modifier and Type | Field and Description |
|---|---|
protected FunctionMetadataManager |
functionMetadataManager |
protected StandardFunctionResolution |
functionResolution |
protected HivePartitionManager |
partitionManager |
protected RowExpressionService |
rowExpressionService |
protected HiveTransactionManager |
transactionManager |
| Constructor and Description |
|---|
HiveFilterPushdown(HiveTransactionManager transactionManager,
RowExpressionService rowExpressionService,
StandardFunctionResolution functionResolution,
HivePartitionManager partitionManager,
FunctionMetadataManager functionMetadataManager) |
| Modifier and Type | Method and Description |
|---|---|
protected HiveMetadata |
getMetadata(TableHandle tableHandle) |
PlanNode |
optimize(PlanNode maxSubplan,
ConnectorSession session,
VariableAllocator variableAllocator,
PlanNodeIdAllocator idAllocator) |
static HiveFilterPushdown.ConnectorPushdownFilterResult |
pushdownFilter(ConnectorSession session,
ConnectorMetadata metadata,
SemiTransactionalHiveMetastore metastore,
RowExpressionService rowExpressionService,
StandardFunctionResolution functionResolution,
HivePartitionManager partitionManager,
FunctionMetadataManager functionMetadataManager,
ConnectorTableHandle tableHandle,
RowExpression filter,
Optional<ConnectorTableLayoutHandle> currentLayoutHandle) |
protected HiveFilterPushdown.ConnectorPushdownFilterResult |
pushdownFilter(ConnectorSession session,
HiveMetadata metadata,
ConnectorTableHandle tableHandle,
RowExpression filter,
Optional<ConnectorTableLayoutHandle> currentLayoutHandle) |
protected final HiveTransactionManager transactionManager
protected final RowExpressionService rowExpressionService
protected final StandardFunctionResolution functionResolution
protected final HivePartitionManager partitionManager
protected final FunctionMetadataManager functionMetadataManager
public HiveFilterPushdown(HiveTransactionManager transactionManager, RowExpressionService rowExpressionService, StandardFunctionResolution functionResolution, HivePartitionManager partitionManager, FunctionMetadataManager functionMetadataManager)
public PlanNode optimize(PlanNode maxSubplan, ConnectorSession session, VariableAllocator variableAllocator, PlanNodeIdAllocator idAllocator)
optimize in interface ConnectorPlanOptimizerprotected HiveFilterPushdown.ConnectorPushdownFilterResult pushdownFilter(ConnectorSession session, HiveMetadata metadata, ConnectorTableHandle tableHandle, RowExpression filter, Optional<ConnectorTableLayoutHandle> currentLayoutHandle)
public static HiveFilterPushdown.ConnectorPushdownFilterResult pushdownFilter(ConnectorSession session, ConnectorMetadata metadata, SemiTransactionalHiveMetastore metastore, RowExpressionService rowExpressionService, StandardFunctionResolution functionResolution, HivePartitionManager partitionManager, FunctionMetadataManager functionMetadataManager, ConnectorTableHandle tableHandle, RowExpression filter, Optional<ConnectorTableLayoutHandle> currentLayoutHandle)
protected HiveMetadata getMetadata(TableHandle tableHandle)
Copyright © 2012–2022. All rights reserved.