Uses of Class
org.apache.drill.exec.expr.fn.FunctionAttributes
Packages that use FunctionAttributes
Package
Description
-
Uses of FunctionAttributes in org.apache.drill.exec.expr.annotations
Methods in org.apache.drill.exec.expr.annotations with parameters of type FunctionAttributesModifier and TypeMethodDescriptionFunctionTemplate.ReturnType.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) -
Uses of FunctionAttributes in org.apache.drill.exec.expr.fn
Methods in org.apache.drill.exec.expr.fn with parameters of type FunctionAttributesModifier and TypeMethodDescriptionstatic TypeProtos.DataMode
FunctionUtils.getReturnTypeDataMode
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Calculates return type data mode based on give logical expressions.Constructors in org.apache.drill.exec.expr.fn with parameters of type FunctionAttributesModifierConstructorDescriptionDrillComplexWriterAggFuncHolder
(FunctionAttributes functionAttributes, FunctionInitializer initializer) DrillComplexWriterFuncHolder
(FunctionAttributes functionAttributes, FunctionInitializer initializer) DrillFuncHolder
(FunctionAttributes attributes, FunctionInitializer initializer) DrillSimpleFuncHolder
(FunctionAttributes functionAttributes, FunctionInitializer initializer) -
Uses of FunctionAttributes in org.apache.drill.exec.expr.fn.output
Methods in org.apache.drill.exec.expr.fn.output with parameters of type FunctionAttributesModifier and TypeMethodDescriptionConcatReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Defines function return type and sets precision if it can be calculated.DecimalReturnTypeInference.DecimalAddReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) This return type is used by add and subtract functions for decimal data type.DecimalReturnTypeInference.DecimalAggReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalAvgAggReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalCastReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalDivScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Return type is used by divide functions for decimal data type.DecimalReturnTypeInference.DecimalMaxScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalModScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Return type is used by divide functions for decimal data type.DecimalReturnTypeInference.DecimalSetScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalSumAggReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalSumScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalZeroScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Return type is used for functions where we need to remove the scale part.DefaultReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Calculates return type and its nullability.PadReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Defines function return type and sets precision if it pad length parameter is int expression.ReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) SameInOutLengthReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Defines function return type and sets precision and scale if input type has them.StringCastReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Defines function return type and sets cast length as type precision if cast length is simple long expression.