public static class DecimalReturnTypeInference.DecimalAddReturnTypeInference extends Object implements ReturnTypeInference
FunctionTemplate.ReturnType.DECIMAL_ADD_SCALE.| Modifier and Type | Field and Description |
|---|---|
static DecimalReturnTypeInference.DecimalAddReturnTypeInference |
INSTANCE |
| Constructor and Description |
|---|
DecimalReturnTypeInference.DecimalAddReturnTypeInference() |
| Modifier and Type | Method and Description |
|---|---|
TypeProtos.MajorType |
getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
This return type is used by add and subtract functions for decimal data type.
|
public static final DecimalReturnTypeInference.DecimalAddReturnTypeInference INSTANCE
public DecimalReturnTypeInference.DecimalAddReturnTypeInference()
public TypeProtos.MajorType getType(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes)
getType in interface ReturnTypeInferencelogicalExpressions - logical expressionsattributes - function attributesCopyright © 2017 The Apache Software Foundation. All rights reserved.