public class DrillComplexWriterFuncHolder extends DrillSimpleFuncHolder
| Constructor and Description |
|---|
DrillComplexWriterFuncHolder(FunctionAttributes functionAttributes,
FunctionInitializer initializer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkNullHandling(FunctionTemplate.NullHandling nullHandling)
Check if function type supports provided null handling strategy.
|
protected ClassGenerator.HoldingContainer |
generateEvalBody(ClassGenerator<?> classGenerator,
ClassGenerator.HoldingContainer[] inputVariables,
String body,
com.sun.codemodel.JVar[] workspaceJVars,
FunctionHolderExpression holderExpr)
Generate the eval block for a simple function, including the null-handling wrapper,
if requested.
|
boolean |
isComplexWriterFuncHolder()
Checks that the current function holder stores output value
using field writer instead of vector holder.
|
createInterpreter, isNested, renderEndaddProtectedBlock, assignInjectableValue, checkPrecisionRange, declare, declareInputVariable, declareVarArgArray, declareWorkspaceVariables, generateBody, getAttributeParameter, getClassLoader, getCostCategory, getExpr, getInputParameters, getNullHandling, getOutputWidthCalculator, getParamCount, getParameters, getParamMajorType, getRegisteredNames, getReturnType, getReturnType, getReturnValue, getWorkspaceVars, isAggregating, isConstant, isDeterministic, isFieldReader, isInternal, isNiladic, isVarArg, matches, meth, meth, renderStart, toString, variableOutputSizeEstimaterenderMiddlepublic DrillComplexWriterFuncHolder(FunctionAttributes functionAttributes, FunctionInitializer initializer)
public boolean isComplexWriterFuncHolder()
FuncHolderisComplexWriterFuncHolder in interface FuncHolderisComplexWriterFuncHolder in class AbstractFuncHolderprotected ClassGenerator.HoldingContainer generateEvalBody(ClassGenerator<?> classGenerator, ClassGenerator.HoldingContainer[] inputVariables, String body, com.sun.codemodel.JVar[] workspaceJVars, FunctionHolderExpression holderExpr)
DrillSimpleFuncHoldergenerateEvalBody in class DrillSimpleFuncHolder#generateBody()}protected void checkNullHandling(FunctionTemplate.NullHandling nullHandling)
DrillFuncHolder
Keep in mind that this method is invoked in
DrillFuncHolder.DrillFuncHolder(FunctionAttributes, FunctionInitializer)
constructor so make sure not to use any state fields when overriding the
method to avoid uninitialized state.
checkNullHandling in class DrillFuncHoldernullHandling - null handling strategy defined for a functionCopyright © 2021 The Apache Software Foundation. All rights reserved.