Uses of Interface
org.apache.drill.exec.expr.fn.FunctionLookupContext
Package
Description
Drill expression materialization and evaluation facilities.
-
Uses of FunctionLookupContext in org.apache.drill.exec.expr
Modifier and TypeMethodDescriptionstatic LogicalExpression
ExpressionTreeMaterializer.addCastExpression
(LogicalExpression fromExpr, TypeProtos.MajorType toType, FunctionLookupContext functionLookupContext, ErrorCollector errorCollector) static LogicalExpression
ExpressionTreeMaterializer.addCastExpression
(LogicalExpression fromExpr, TypeProtos.MajorType toType, FunctionLookupContext functionLookupContext, ErrorCollector errorCollector, boolean exactResolver) static LogicalExpression
ExpressionTreeMaterializer.convertToNullableType
(LogicalExpression fromExpr, TypeProtos.MinorType toType, FunctionLookupContext functionLookupContext, ErrorCollector errorCollector) static LogicalExpression
ExpressionTreeMaterializer.materialize
(LogicalExpression expr, Map<VectorAccessible, BatchReference> batches, ErrorCollector errorCollector, FunctionLookupContext functionLookupContext, boolean allowComplexWriterExpr, boolean unionTypeEnabled) Materializes logical expression taking into account passed parameters.static LogicalExpression
ExpressionTreeMaterializer.materialize
(LogicalExpression expr, VectorAccessible batch, ErrorCollector errorCollector, FunctionLookupContext functionLookupContext) static LogicalExpression
ExpressionTreeMaterializer.materialize
(LogicalExpression expr, VectorAccessible batch, ErrorCollector errorCollector, FunctionLookupContext functionLookupContext, boolean allowComplexWriterExpr) static LogicalExpression
ExpressionTreeMaterializer.materialize
(LogicalExpression expr, VectorAccessible batch, ErrorCollector errorCollector, FunctionLookupContext functionLookupContext, boolean allowComplexWriterExpr, boolean unionTypeEnabled) Materializes logical expression taking into account passed parameters.static LogicalExpression
ExpressionTreeMaterializer.materializeAndCheckErrors
(LogicalExpression expr, VectorAccessible batch, FunctionLookupContext functionLookupContext) static LogicalExpression
ExpressionTreeMaterializer.materializeFilterExpr
(LogicalExpression expr, TupleMetadata fieldTypes, ErrorCollector errorCollector, FunctionLookupContext functionLookupContext) -
Uses of FunctionLookupContext in org.apache.drill.exec.expr.fn
Modifier and TypeMethodDescriptionstatic LogicalExpression
FunctionGenerationHelper.getOrderingComparator
(boolean null_high, ClassGenerator.HoldingContainer left, ClassGenerator.HoldingContainer right, FunctionLookupContext functionLookupContext) Finds ordering comparator ("compare_to...") FunctionHolderExpression with a specified ordering for NULL (and considering NULLS equal).static LogicalExpression
FunctionGenerationHelper.getOrderingComparatorNullsHigh
(ClassGenerator.HoldingContainer left, ClassGenerator.HoldingContainer right, FunctionLookupContext registry) Finds ordering comparator ("compare_to...") FunctionHolderExpression with a "NULL high" ordering (and considering NULLS equal). -
Uses of FunctionLookupContext in org.apache.drill.exec.ops
Modifier and TypeMethodDescriptionFragmentContext.getFunctionRegistry()
Returns the UDF registry. -
Uses of FunctionLookupContext in org.apache.drill.exec.physical.base
Modifier and TypeFieldDescriptionprotected FunctionLookupContext
AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer.context
Modifier and TypeMethodDescriptionAbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer.context
(FunctionLookupContext context) 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
. -
Uses of FunctionLookupContext in org.apache.drill.exec.store.parquet
Modifier and TypeMethodDescriptionstatic RowsMatch
FilterEvaluatorUtils.matches
(LogicalExpression expr, Map<SchemaPath, ColumnStatistics<?>> columnsStatistics, TupleMetadata schema, long rowCount, UdfUtilities udfUtilities, FunctionLookupContext functionImplementationRegistry, Set<SchemaPath> schemaPathsInExpr)