public static class DecimalReturnTypeInference.DecimalZeroScaleReturnTypeInference extends Object implements ReturnTypeInference
FunctionTemplate.ReturnType.DECIMAL_ZERO_SCALE.| Modifier and Type | Field and Description |
|---|---|
static DecimalReturnTypeInference.DecimalZeroScaleReturnTypeInference |
INSTANCE |
| Constructor and Description |
|---|
DecimalReturnTypeInference.DecimalZeroScaleReturnTypeInference() |
| Modifier and Type | Method and Description |
|---|---|
TypeProtos.MajorType |
getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Return type is used for functions where we need to remove the scale part.
|
public static final DecimalReturnTypeInference.DecimalZeroScaleReturnTypeInference INSTANCE
public DecimalReturnTypeInference.DecimalZeroScaleReturnTypeInference()
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.