Uses of Class
org.apache.drill.exec.expr.fn.DrillFuncHolder
Package
Description
Drill expression materialization and evaluation facilities.
-
Uses of DrillFuncHolder in org.apache.drill.exec.expr
ModifierConstructorDescriptionDrillFuncHolderExpr
(String nameUsed, DrillFuncHolder holder, List<LogicalExpression> args, ExpressionPosition pos) -
Uses of DrillFuncHolder in org.apache.drill.exec.expr.fn
Modifier and TypeClassDescriptionclass
class
class
Definition of a Drill function defined using the@FunctionTemplate
annotation of the class which implements the function.Modifier and TypeMethodDescriptionFunctionImplementationRegistry.findDrillFunction
(FunctionResolver functionResolver, FunctionCall functionCall) First attempts to find the Drill function implementation that matches the name, arg types and return type.FunctionLookupContext.findDrillFunction
(FunctionResolver functionResolver, FunctionCall functionCall) Method returns the materialized drill function corresponding to the functioncall that is passed inFunctionImplementationRegistry.findExactMatchingDrillFunction
(String name, List<TypeProtos.MajorType> argTypes, TypeProtos.MajorType returnType) Finds the Drill function implementation that matches the name, arg types and return type.FunctionConverter.getHolder
(AnnotatedClassDescriptor func, ClassLoader classLoader) -
Uses of DrillFuncHolder in org.apache.drill.exec.expr.fn.registry
Modifier and TypeMethodDescriptionorg.apache.drill.shaded.guava.com.google.common.collect.ListMultimap<String,
DrillFuncHolder> FunctionRegistryHolder.getAllFunctionsWithHolders()
Returns list of functions with list of function holders for each functions without version number.org.apache.drill.shaded.guava.com.google.common.collect.ListMultimap<String,
DrillFuncHolder> FunctionRegistryHolder.getAllFunctionsWithHolders
(AtomicInteger version) Returns list of functions with list of function holders for each functions.FunctionRegistryHolder.getHoldersByFunctionName
(String functionName) Returns all function holders associated with function name without version number.FunctionRegistryHolder.getHoldersByFunctionName
(String functionName, AtomicInteger version) Returns all function holders associated with function name.LocalFunctionRegistry.getMethods
(String name) LocalFunctionRegistry.getMethods
(String name, AtomicInteger version) ModifierConstructorDescriptionFunctionHolder
(String name, String signature, DrillFuncHolder holder) -
Uses of DrillFuncHolder in org.apache.drill.exec.planner.sql
Modifier and TypeMethodDescriptionDrillSqlAggOperator.getFunctions()
DrillSqlOperator.getFunctions()
Modifier and TypeMethodDescriptionDrillSqlAggOperator.DrillSqlAggOperatorBuilder.addFunctions
(Collection<DrillFuncHolder> functions) DrillSqlOperator.DrillSqlOperatorBuilder.addFunctions
(Collection<DrillFuncHolder> functions) static org.apache.calcite.sql.type.SqlReturnTypeInference
TypeInferenceUtils.getDrillSqlReturnTypeInference
(String name, List<DrillFuncHolder> functions) Give the name and DrillFuncHolder list, return the inference mechanism.ModifierConstructorDescriptionDrillCalciteSqlAggFunctionWrapper
(org.apache.calcite.sql.SqlAggFunction sqlAggFunction, List<DrillFuncHolder> functions) DrillCalciteSqlFunctionWrapper
(org.apache.calcite.sql.SqlFunction wrappedFunction, List<DrillFuncHolder> functions) DrillCalciteSqlOperatorWrapper
(org.apache.calcite.sql.SqlOperator operator, String rename, List<DrillFuncHolder> functions) DrillCalciteSqlSumEmptyIsZeroAggFunctionWrapper
(org.apache.calcite.sql.fun.SqlSumEmptyIsZeroAggFunction sqlAggFunction, List<DrillFuncHolder> functions) protected
DrillSqlAggOperator
(String name, List<DrillFuncHolder> functions, org.apache.calcite.sql.type.SqlOperandTypeChecker operandTypeChecker, org.apache.calcite.sql.type.SqlReturnTypeInference sqlReturnTypeInference) protected
DrillSqlOperator
(String name, List<DrillFuncHolder> functions, org.apache.calcite.sql.type.SqlOperandTypeChecker operandTypeChecker, boolean isDeterministic, org.apache.calcite.sql.type.SqlReturnTypeInference sqlReturnTypeInference, boolean isNiladic) -
Uses of DrillFuncHolder in org.apache.drill.exec.resolver
Modifier and TypeMethodDescriptionDefaultFunctionResolver.getBestMatch
(List<DrillFuncHolder> methods, FunctionCall call) ExactFunctionResolver.getBestMatch
(List<DrillFuncHolder> methods, FunctionCall call) FunctionResolver.getBestMatch
(List<DrillFuncHolder> methods, FunctionCall call) Creates a placeholder SqlFunction for an invocation of a function with a possibly qualified name.Modifier and TypeMethodDescriptionstatic float
TypeCastRules.getCost
(List<TypeProtos.MajorType> argumentTypes, DrillFuncHolder holder) Decide whether it's legal to do implicit cast.Modifier and TypeMethodDescriptionDefaultFunctionResolver.getBestMatch
(List<DrillFuncHolder> methods, FunctionCall call) ExactFunctionResolver.getBestMatch
(List<DrillFuncHolder> methods, FunctionCall call) FunctionResolver.getBestMatch
(List<DrillFuncHolder> methods, FunctionCall call) Creates a placeholder SqlFunction for an invocation of a function with a possibly qualified name.