Class DecimalReturnTypeInference.DecimalCastReturnTypeInference
java.lang.Object
org.apache.drill.exec.expr.fn.output.DecimalReturnTypeInference.DecimalCastReturnTypeInference
- All Implemented Interfaces:
ReturnTypeInference
- Enclosing class:
- DecimalReturnTypeInference
public static class DecimalReturnTypeInference.DecimalCastReturnTypeInference
extends Object
implements ReturnTypeInference
Return type calculation implementation for functions with return type set as
FunctionTemplate.ReturnType.DECIMAL_CAST
.-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DecimalCastReturnTypeInference
public DecimalCastReturnTypeInference()
-
-
Method Details
-
getType
public TypeProtos.MajorType getType(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) - Specified by:
getType
in interfaceReturnTypeInference
-