public static enum HiveRelOptMaterialization.RewriteAlgorithm extends Enum<HiveRelOptMaterialization.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<HiveRelOptMaterialization.RewriteAlgorithm> |
ALL |
static Predicate<EnumSet<HiveRelOptMaterialization.RewriteAlgorithm>> |
ANY |
static Predicate<EnumSet<HiveRelOptMaterialization.RewriteAlgorithm>> |
NON_CALCITE |
| Modifier and Type | Method and Description |
|---|---|
static HiveRelOptMaterialization.RewriteAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveRelOptMaterialization.RewriteAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveRelOptMaterialization.RewriteAlgorithm TEXT
public static final HiveRelOptMaterialization.RewriteAlgorithm CALCITE
public static final EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> ALL
public static final Predicate<EnumSet<HiveRelOptMaterialization.RewriteAlgorithm>> ANY
public static final Predicate<EnumSet<HiveRelOptMaterialization.RewriteAlgorithm>> NON_CALCITE
public static HiveRelOptMaterialization.RewriteAlgorithm[] values()
for (HiveRelOptMaterialization.RewriteAlgorithm c : HiveRelOptMaterialization.RewriteAlgorithm.values()) System.out.println(c);
public static HiveRelOptMaterialization.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 © 2022 The Apache Software Foundation. All rights reserved.