public class TypeCheckUtils$ extends Object
Modifier and Type | Field and Description |
---|---|
static TypeCheckUtils$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
TypeCheckUtils$() |
Modifier and Type | Method and Description |
---|---|
ExprValidationResult |
assertNumericExpr(TypeInformation<?> dataType,
String caller) |
ExprValidationResult |
assertOrderableExpr(TypeInformation<?> dataType,
String caller) |
boolean |
isAdvanced(TypeInformation<?> dataType)
Checks if type information is an advanced type that can be converted to a
SQL type but NOT vice versa.
|
boolean |
isBoolean(TypeInformation<?> dataType) |
boolean |
isComparable(TypeInformation<?> dataType) |
boolean |
isDecimal(TypeInformation<?> dataType) |
boolean |
isNumeric(TypeInformation<?> dataType) |
boolean |
isSimple(TypeInformation<?> dataType)
Checks if type information is a simple type that can be converted to a
SQL type and vice versa.
|
boolean |
isString(TypeInformation<?> dataType) |
boolean |
isTemporal(TypeInformation<?> dataType) |
public static final TypeCheckUtils$ MODULE$
public boolean isAdvanced(TypeInformation<?> dataType)
public boolean isSimple(TypeInformation<?> dataType)
public boolean isNumeric(TypeInformation<?> dataType)
public boolean isTemporal(TypeInformation<?> dataType)
public boolean isString(TypeInformation<?> dataType)
public boolean isBoolean(TypeInformation<?> dataType)
public boolean isDecimal(TypeInformation<?> dataType)
public boolean isComparable(TypeInformation<?> dataType)
public ExprValidationResult assertNumericExpr(TypeInformation<?> dataType, String caller)
public ExprValidationResult assertOrderableExpr(TypeInformation<?> dataType, String caller)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.