public class EnumUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static boolean |
BRIDGE_METHODS |
static List<String> |
LEFT_RIGHT |
(package private) static List<Expression> |
NO_EXPRS |
(package private) static List<ParameterExpression> |
NO_PARAMS |
private static com.google.common.base.Function<RexNode,Type> |
REX_TO_INTERNAL_TYPE |
| Modifier | Constructor and Description |
|---|---|
private |
EnumUtils() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static Expression |
enforce(Type storageType,
Expression e) |
(package private) static List<RelDataType> |
fieldRowTypes(RelDataType inputRowType,
List<? extends RexNode> extraInputs,
List<Integer> argList) |
(package private) static List<Type> |
fieldTypes(JavaTypeFactory typeFactory,
List<? extends RelDataType> inputTypes) |
(package private) static List<Expression> |
fromInternal(Class<?>[] targetTypes,
List<Expression> expressions) |
(package private) static Expression |
fromInternal(Expression e,
Class<?> targetType)
Converts from internal representation to JDBC representation used by
arguments of user-defined functions.
|
(package private) static Type |
fromInternal(Type type) |
(package private) static List<Type> |
internalTypes(List<? extends RexNode> operandList) |
(package private) static Type |
javaClass(JavaTypeFactory typeFactory,
RelDataType type) |
(package private) static Class |
javaRowClass(JavaTypeFactory typeFactory,
RelDataType type) |
(package private) static Expression |
joinSelector(JoinRelType joinType,
PhysType physType,
List<PhysType> inputPhysTypes) |
static MethodDeclaration |
overridingMethodDecl(Method method,
Iterable<ParameterExpression> parameters,
BlockStatement body)
Declares a method that overrides another method.
|
(package private) static Type |
toInternal(RelDataType type) |
private static final com.google.common.base.Function<RexNode,Type> REX_TO_INTERNAL_TYPE
static final boolean BRIDGE_METHODS
static final List<ParameterExpression> NO_PARAMS
static final List<Expression> NO_EXPRS
public static MethodDeclaration overridingMethodDecl(Method method, Iterable<ParameterExpression> parameters, BlockStatement body)
static Type javaClass(JavaTypeFactory typeFactory, RelDataType type)
static Class javaRowClass(JavaTypeFactory typeFactory, RelDataType type)
static List<Type> fieldTypes(JavaTypeFactory typeFactory, List<? extends RelDataType> inputTypes)
static List<RelDataType> fieldRowTypes(RelDataType inputRowType, List<? extends RexNode> extraInputs, List<Integer> argList)
static Expression joinSelector(JoinRelType joinType, PhysType physType, List<PhysType> inputPhysTypes)
static Expression fromInternal(Expression e, Class<?> targetType)
int to Date.static List<Expression> fromInternal(Class<?>[] targetTypes, List<Expression> expressions)
static Type toInternal(RelDataType type)
static Expression enforce(Type storageType, Expression e)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.