public class StringCastReturnTypeInference extends Object implements ReturnTypeInference
FunctionTemplate.ReturnType.STRING_CAST.| Modifier and Type | Field and Description |
|---|---|
static StringCastReturnTypeInference |
INSTANCE |
| Constructor and Description |
|---|
StringCastReturnTypeInference() |
| Modifier and Type | Method and Description |
|---|---|
TypeProtos.MajorType |
getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Defines function return type and sets cast length as type precision
if cast length is simple long expression.
|
public static final StringCastReturnTypeInference 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.