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 |
|---|---|
@Nullable org.apache.calcite.linq4j.tree.Expression |
comparer() |
abstract org.apache.calcite.linq4j.tree.Expression |
field(org.apache.calcite.linq4j.tree.Expression expression,
int field,
@Nullable Type fromType,
Type fieldType)
Returns a reference to a particular field.
|
JavaRowFormat |
optimize(RelDataType rowType) |
abstract org.apache.calcite.linq4j.tree.Expression |
record(Type javaRowClass,
List<org.apache.calcite.linq4j.tree.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
Row.public 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 org.apache.calcite.linq4j.tree.Expression record(Type javaRowClass, List<org.apache.calcite.linq4j.tree.Expression> expressions)
public @Nullable org.apache.calcite.linq4j.tree.Expression comparer()
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.