public enum JavaRowFormat extends Enum<JavaRowFormat>
| Enum Constant and Description |
|---|
ARRAY |
CUSTOM |
LIST
A list that is comparable and immutable.
|
ROW
See
Row |
SCALAR |
| Modifier and Type | Method and Description |
|---|---|
Expression |
comparer() |
abstract Expression |
field(Expression expression,
int field,
Type fieldType) |
JavaRowFormat |
optimize(RelDataType rowType) |
abstract Expression |
record(Type javaRowClass,
List<Expression> expressions) |
static JavaRowFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaRowFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaRowFormat CUSTOM
public static final JavaRowFormat SCALAR
public static final JavaRowFormat LIST
public static final JavaRowFormat ROW
Rowpublic static final JavaRowFormat ARRAY
public static JavaRowFormat[] values()
for (JavaRowFormat c : JavaRowFormat.values()) System.out.println(c);
public static JavaRowFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic JavaRowFormat optimize(RelDataType rowType)
public abstract Expression record(Type javaRowClass, List<Expression> expressions)
public Expression comparer()
public abstract Expression field(Expression expression, int field, Type fieldType)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.