Uses of Interface
org.apache.drill.exec.ops.UdfUtilities
Package
Description
Drill expression materialization and evaluation facilities.
-
Uses of UdfUtilities in org.apache.drill.exec.expr
Modifier and TypeMethodDescriptionstatic FilterPredicate<?>
FilterBuilder.buildFilterPredicate
(LogicalExpression expr, Set<LogicalExpression> constantBoundaries, UdfUtilities udfUtilities, boolean omitUnsupportedExprs) ModifierConstructorDescriptionStatisticsProvider
(Map<SchemaPath, ColumnStatistics<?>> columnStatMap, long rowCount, UdfUtilities udfUtilities) -
Uses of UdfUtilities in org.apache.drill.exec.expr.fn.interpreter
Modifier and TypeMethodDescriptionstatic void
InterpreterEvaluator.evaluate
(int recordCount, UdfUtilities udfUtilities, VectorAccessible incoming, ValueVector outVV, LogicalExpression expr) static ValueHolder
InterpreterEvaluator.evaluateConstantExpr
(UdfUtilities udfUtilities, LogicalExpression expr) ModifierConstructorDescriptionprotected
EvalVisitor
(VectorAccessible incoming, UdfUtilities udfUtilities) -
Uses of UdfUtilities in org.apache.drill.exec.ops
Modifier and TypeInterfaceDescriptioninterface
This provides the resources required by an exchange operator.interface
The context that is used by a Drillbit in classes like theFragmentExecutor
.interface
Provides the resources required by a non-exchange operator to execute.interface
interface
Provides services needed by theFragmentExecutor
.Modifier and TypeClassDescriptionclass
Common implementation for both the test and production versions of the fragment context.class
This is the core Context which implements all the Context interfaces:FragmentContext
: A context provided to non-exchange operators.ExchangeFragmentContext
: A context provided to exchange operators.RootFragmentContext
: A context provided to fragment roots.ExecutorFragmentContext
: A context used by the Drillbit. The interfaces above expose resources to varying degrees.class
-
Uses of UdfUtilities in org.apache.drill.exec.physical.base
Modifier and TypeFieldDescriptionprotected UdfUtilities
AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer.udfUtilities
Modifier and TypeMethodDescriptionAbstractGroupScan.applyFilter
(LogicalExpression filterExpr, UdfUtilities udfUtilities, FunctionImplementationRegistry functionImplementationRegistry, OptionManager optionManager) AbstractGroupScanWithMetadata.applyFilter
(LogicalExpression filterExpr, UdfUtilities udfUtilities, FunctionImplementationRegistry functionImplementationRegistry, OptionManager optionManager) Applies specified filterfilterExpr
to current group scan and produces filtering at: table level: if filter matches all the the data or prunes all the data, sets corresponding value toAbstractGroupScanWithMetadata.isMatchAllMetadata()
and returns null segment level: if filter matches all the the data or prunes all the data, sets corresponding value toAbstractGroupScanWithMetadata.isMatchAllMetadata()
and returns null if segment metadata was pruned, prunes underlying metadata partition level: if filter matches all the the data or prunes all the data, sets corresponding value toAbstractGroupScanWithMetadata.isMatchAllMetadata()
and returns null if partition metadata was pruned, prunes underlying metadata file level: if filter matches all the the data or prunes all the data, sets corresponding value toAbstractGroupScanWithMetadata.isMatchAllMetadata()
and returns nullGroupScan.applyFilter
(LogicalExpression filterExpr, UdfUtilities udfUtilities, FunctionImplementationRegistry functionImplementationRegistry, OptionManager optionManager) AbstractGroupScanWithMetadata.getFilterPredicate
(LogicalExpression filterExpr, UdfUtilities udfUtilities, FunctionLookupContext functionImplementationRegistry, OptionManager optionManager, boolean omitUnsupportedExprs) static FilterPredicate<?>
AbstractGroupScanWithMetadata.getFilterPredicate
(LogicalExpression filterExpr, UdfUtilities udfUtilities, FunctionLookupContext functionImplementationRegistry, OptionManager optionManager, boolean omitUnsupportedExprs, boolean supportsFileImplicitColumns, TupleMetadata schema) Returns parquet filter predicate built from specifiedfilterExpr
.AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer.udfUtilities
(UdfUtilities udfUtilities) -
Uses of UdfUtilities in org.apache.drill.exec.planner.logical
ModifierConstructorDescriptionDrillConstExecutor
(FunctionImplementationRegistry funcImplReg, UdfUtilities udfUtilities, PlannerSettings plannerSettings) -
Uses of UdfUtilities in org.apache.drill.exec.store.parquet
Modifier and TypeMethodDescriptionAbstractParquetGroupScan.applyFilter
(LogicalExpression filterExpr, UdfUtilities udfUtilities, FunctionImplementationRegistry functionImplementationRegistry, OptionManager optionManager) Applies specified filterfilterExpr
to current group scan and produces filtering at: table level: if filter matches all the the data or prunes all the data, sets corresponding value toAbstractGroupScanWithMetadata.isMatchAllMetadata()
and returns null segment level: if filter matches all the the data or prunes all the data, sets corresponding value toAbstractGroupScanWithMetadata.isMatchAllMetadata()
and returns null if segment metadata was pruned, prunes underlying metadata partition level: if filter matches all the the data or prunes all the data, sets corresponding value toAbstractGroupScanWithMetadata.isMatchAllMetadata()
and returns null if partition metadata was pruned, prunes underlying metadata file level: if filter matches all the the data or prunes all the data, sets corresponding value toAbstractGroupScanWithMetadata.isMatchAllMetadata()
and returns nullstatic RowsMatch
FilterEvaluatorUtils.matches
(LogicalExpression expr, Map<SchemaPath, ColumnStatistics<?>> columnsStatistics, TupleMetadata schema, long rowCount, UdfUtilities udfUtilities, FunctionLookupContext functionImplementationRegistry, Set<SchemaPath> schemaPathsInExpr) static <T extends Comparable<T>>
RowsMatchFilterEvaluatorUtils.matches
(FilterPredicate<T> parquetPredicate, Map<SchemaPath, ColumnStatistics<?>> columnsStatistics, long rowCount, TupleMetadata fileMetadata, Set<SchemaPath> schemaPathsInExpr, UdfUtilities udfUtilities)