Uses of Interface
org.apache.drill.exec.ops.UdfUtilities
Packages that use UdfUtilities
Package
Description
Drill expression materialization and evaluation facilities.
-
Uses of UdfUtilities in org.apache.drill.exec.expr
Methods in org.apache.drill.exec.expr with parameters of type UdfUtilitiesModifier and TypeMethodDescriptionstatic FilterPredicate<?>
FilterBuilder.buildFilterPredicate
(LogicalExpression expr, Set<LogicalExpression> constantBoundaries, UdfUtilities udfUtilities, boolean omitUnsupportedExprs) Constructors in org.apache.drill.exec.expr with parameters of type UdfUtilitiesModifierConstructorDescriptionStatisticsProvider
(Map<SchemaPath, ColumnStatistics<?>> columnStatMap, long rowCount, UdfUtilities udfUtilities) -
Uses of UdfUtilities in org.apache.drill.exec.expr.fn.interpreter
Methods in org.apache.drill.exec.expr.fn.interpreter with parameters of type UdfUtilitiesModifier and TypeMethodDescriptionstatic void
InterpreterEvaluator.evaluate
(int recordCount, UdfUtilities udfUtilities, VectorAccessible incoming, ValueVector outVV, LogicalExpression expr) static ValueHolder
InterpreterEvaluator.evaluateConstantExpr
(UdfUtilities udfUtilities, LogicalExpression expr) Constructors in org.apache.drill.exec.expr.fn.interpreter with parameters of type UdfUtilitiesModifierConstructorDescriptionprotected
EvalVisitor
(VectorAccessible incoming, UdfUtilities udfUtilities) -
Uses of UdfUtilities in org.apache.drill.exec.ops
Subinterfaces of UdfUtilities in org.apache.drill.exec.opsModifier 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
.Classes in org.apache.drill.exec.ops that implement UdfUtilitiesModifier 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
Fields in org.apache.drill.exec.physical.base declared as UdfUtilitiesModifier and TypeFieldDescriptionprotected UdfUtilities
AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer.udfUtilities
Methods in org.apache.drill.exec.physical.base with parameters of type UdfUtilitiesModifier 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
Methods in org.apache.drill.exec.planner.logical that return UdfUtilitiesConstructors in org.apache.drill.exec.planner.logical with parameters of type UdfUtilitiesModifierConstructorDescriptionDrillConstExecutor
(FunctionImplementationRegistry funcImplReg, UdfUtilities udfUtilities, PlannerSettings plannerSettings) -
Uses of UdfUtilities in org.apache.drill.exec.store.parquet
Methods in org.apache.drill.exec.store.parquet with parameters of type UdfUtilitiesModifier 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)