public enum RewriteAlgorithm extends Enum<RewriteAlgorithm>
| Enum Constant and Description |
|---|
CALCITE
Use rewriting algorithm provided by Calcite.
|
TEXT
Query sql text is compared to stored materialized view definition sql texts.
|
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<RewriteAlgorithm> |
ALL |
static Predicate<Set<RewriteAlgorithm>> |
ANY |
static Predicate<Set<RewriteAlgorithm>> |
NON_CALCITE |
| Modifier and Type | Method and Description |
|---|---|
static RewriteAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RewriteAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RewriteAlgorithm TEXT
public static final RewriteAlgorithm CALCITE
public static final EnumSet<RewriteAlgorithm> ALL
public static final Predicate<Set<RewriteAlgorithm>> ANY
public static final Predicate<Set<RewriteAlgorithm>> NON_CALCITE
public static RewriteAlgorithm[] values()
for (RewriteAlgorithm c : RewriteAlgorithm.values()) System.out.println(c);
public static RewriteAlgorithm 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 nullCopyright © 2024 The Apache Software Foundation. All rights reserved.