public class DefaultReturnTypeInference extends Object implements ReturnTypeInference
FunctionTemplate.ReturnType.DEFAULT.| Modifier and Type | Field and Description |
|---|---|
static DefaultReturnTypeInference |
INSTANCE |
| Constructor and Description |
|---|
DefaultReturnTypeInference() |
| Modifier and Type | Method and Description |
|---|---|
TypeProtos.MajorType |
getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Calculates return type and its nullability.
|
public static final DefaultReturnTypeInference INSTANCE
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.