Package org.apache.drill.exec.expr.fn
Class FunctionAttributes
java.lang.Object
org.apache.drill.exec.expr.fn.FunctionAttributes
Attributes of a function used in code generation and optimization.
Represents the values contained in the annotations of a Drill
function.
-
Constructor Summary
ConstructorDescriptionFunctionAttributes
(FunctionTemplate template, ValueReference[] parameters, ValueReference returnValue, WorkspaceReference[] workspaceVars) -
Method Summary
-
Constructor Details
-
FunctionAttributes
public FunctionAttributes(FunctionTemplate template, ValueReference[] parameters, ValueReference returnValue, WorkspaceReference[] workspaceVars)
-
-
Method Details
-
getScope
-
getReturnType
-
getOutputWidthCalculatorType
-
variableOutputSizeEstimate
public int variableOutputSizeEstimate() -
getNullHandling
-
isBinaryCommutative
public boolean isBinaryCommutative() -
isRandom
Deprecated. -
isDeterministic
public boolean isDeterministic() -
getRegisteredNames
-
getParameters
-
getReturnValue
-
getWorkspaceVars
-
getCostCategory
-
isNiladic
public boolean isNiladic() -
isVarArg
public boolean isVarArg() -
isInternal
public boolean isInternal() -
checkPrecisionRange
public boolean checkPrecisionRange()
-