Package org.apache.calcite.rel.rules
Enum AbstractMaterializedViewRule.MatchModality
- java.lang.Object
-
- java.lang.Enum<AbstractMaterializedViewRule.MatchModality>
-
- org.apache.calcite.rel.rules.AbstractMaterializedViewRule.MatchModality
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractMaterializedViewRule.MatchModality>
- Enclosing class:
- AbstractMaterializedViewRule
private static enum AbstractMaterializedViewRule.MatchModality extends java.lang.Enum<AbstractMaterializedViewRule.MatchModality>
Complete, view partial, or query partial.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE
QUERY_PARTIAL
VIEW_PARTIAL
-
Constructor Summary
Constructors Modifier Constructor Description private
MatchModality()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractMaterializedViewRule.MatchModality
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractMaterializedViewRule.MatchModality[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPLETE
public static final AbstractMaterializedViewRule.MatchModality COMPLETE
-
VIEW_PARTIAL
public static final AbstractMaterializedViewRule.MatchModality VIEW_PARTIAL
-
QUERY_PARTIAL
public static final AbstractMaterializedViewRule.MatchModality QUERY_PARTIAL
-
-
Method Detail
-
values
public static AbstractMaterializedViewRule.MatchModality[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractMaterializedViewRule.MatchModality c : AbstractMaterializedViewRule.MatchModality.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractMaterializedViewRule.MatchModality valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-