| Package | Description |
|---|---|
| org.apache.drill.exec.expr |
Drill expression materialization and evaluation facilities.
|
| org.apache.drill.exec.expr.fn | |
| org.apache.drill.exec.expr.fn.registry | |
| org.apache.drill.exec.planner.sql | |
| org.apache.drill.exec.resolver |
| Modifier and Type | Method and Description |
|---|---|
DrillFuncHolder |
DrillFuncHolderExpr.getHolder() |
| Constructor and Description |
|---|
DrillFuncHolderExpr(String nameUsed,
DrillFuncHolder holder,
List<LogicalExpression> args,
ExpressionPosition pos) |
| Modifier and Type | Class and Description |
|---|---|
class |
DrillComplexWriterFuncHolder |
class |
DrillSimpleFuncHolder |
| Modifier and Type | Method and Description |
|---|---|
DrillFuncHolder |
FunctionLookupContext.findDrillFunction(FunctionResolver functionResolver,
FunctionCall functionCall)
Method returns the materialized drill function corresponding to the functioncall that
is passed in
|
DrillFuncHolder |
FunctionImplementationRegistry.findDrillFunction(FunctionResolver functionResolver,
FunctionCall functionCall)
First attempts to find the Drill function implementation that matches the name, arg types and return type.
|
DrillFuncHolder |
FunctionImplementationRegistry.findExactMatchingDrillFunction(String name,
List<TypeProtos.MajorType> argTypes,
TypeProtos.MajorType returnType)
Finds the Drill function implementation that matches the name, arg types and return type.
|
<T extends DrillFunc> |
FunctionConverter.getHolder(AnnotatedClassDescriptor func,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
DrillFuncHolder |
FunctionHolder.getHolder() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ListMultimap<String,DrillFuncHolder> |
FunctionRegistryHolder.getAllFunctionsWithHolders()
Returns list of functions with list of function holders for each functions without version number.
|
com.google.common.collect.ListMultimap<String,DrillFuncHolder> |
FunctionRegistryHolder.getAllFunctionsWithHolders(AtomicLong version)
Returns list of functions with list of function holders for each functions.
|
List<DrillFuncHolder> |
FunctionRegistryHolder.getHoldersByFunctionName(String functionName)
Returns all function holders associated with function name without version number.
|
List<DrillFuncHolder> |
FunctionRegistryHolder.getHoldersByFunctionName(String functionName,
AtomicLong version)
Returns all function holders associated with function name.
|
List<DrillFuncHolder> |
LocalFunctionRegistry.getMethods(String name) |
List<DrillFuncHolder> |
LocalFunctionRegistry.getMethods(String name,
AtomicLong version) |
| Constructor and Description |
|---|
FunctionHolder(String name,
String signature,
DrillFuncHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
List<DrillFuncHolder> |
DrillSqlOperator.getFunctions() |
List<DrillFuncHolder> |
DrillSqlAggOperator.getFunctions() |
| Modifier and Type | Method and Description |
|---|---|
DrillSqlOperator.DrillSqlOperatorBuilder |
DrillSqlOperator.DrillSqlOperatorBuilder.addFunctions(Collection<DrillFuncHolder> functions) |
DrillSqlAggOperator.DrillSqlAggOperatorBuilder |
DrillSqlAggOperator.DrillSqlAggOperatorBuilder.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.
|
| Constructor and Description |
|---|
DrillCalciteSqlAggFunctionWrapper(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) |
DrillSqlAggOperator(String name,
List<DrillFuncHolder> functions,
int argCountMin,
int argCountMax,
org.apache.calcite.sql.type.SqlReturnTypeInference sqlReturnTypeInference) |
DrillSqlOperator(String name,
List<DrillFuncHolder> functions,
int argCountMin,
int argCountMax,
boolean isDeterministic,
org.apache.calcite.sql.type.SqlReturnTypeInference sqlReturnTypeInference,
boolean isNiladic) |
| Modifier and Type | Method and Description |
|---|---|
DrillFuncHolder |
FunctionResolver.getBestMatch(List<DrillFuncHolder> methods,
FunctionCall call)
Creates a placeholder SqlFunction for an invocation of a function with a
possibly qualified name.
|
DrillFuncHolder |
ExactFunctionResolver.getBestMatch(List<DrillFuncHolder> methods,
FunctionCall call) |
DrillFuncHolder |
DefaultFunctionResolver.getBestMatch(List<DrillFuncHolder> methods,
FunctionCall call) |
| Modifier and Type | Method and Description |
|---|---|
static int |
TypeCastRules.getCost(List<TypeProtos.MajorType> argumentTypes,
DrillFuncHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
DrillFuncHolder |
FunctionResolver.getBestMatch(List<DrillFuncHolder> methods,
FunctionCall call)
Creates a placeholder SqlFunction for an invocation of a function with a
possibly qualified name.
|
DrillFuncHolder |
ExactFunctionResolver.getBestMatch(List<DrillFuncHolder> methods,
FunctionCall call) |
DrillFuncHolder |
DefaultFunctionResolver.getBestMatch(List<DrillFuncHolder> methods,
FunctionCall call) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.