Enum StreamsLogicalConvention
- java.lang.Object
-
- java.lang.Enum<StreamsLogicalConvention>
-
- org.apache.storm.sql.planner.streams.rel.StreamsLogicalConvention
-
- All Implemented Interfaces:
Serializable,Comparable<StreamsLogicalConvention>,org.apache.calcite.plan.Convention,org.apache.calcite.plan.RelTrait
public enum StreamsLogicalConvention extends Enum<StreamsLogicalConvention> implements org.apache.calcite.plan.Convention
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanConvertConvention(org.apache.calcite.plan.Convention toConvention)ClassgetInterface()StringgetName()org.apache.calcite.plan.RelTraitDefgetTraitDef()voidregister(org.apache.calcite.plan.RelOptPlanner planner)booleansatisfies(org.apache.calcite.plan.RelTrait trait)StringtoString()booleanuseAbstractConvertersForConversion(org.apache.calcite.plan.RelTraitSet fromTraits, org.apache.calcite.plan.RelTraitSet toTraits)static StreamsLogicalConventionvalueOf(String name)Returns the enum constant of this type with the specified name.static StreamsLogicalConvention[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final StreamsLogicalConvention INSTANCE
-
-
Method Detail
-
values
public static StreamsLogicalConvention[] 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 (StreamsLogicalConvention c : StreamsLogicalConvention.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamsLogicalConvention valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getInterface
public Class getInterface()
- Specified by:
getInterfacein interfaceorg.apache.calcite.plan.Convention
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.apache.calcite.plan.Convention
-
getTraitDef
public org.apache.calcite.plan.RelTraitDef getTraitDef()
- Specified by:
getTraitDefin interfaceorg.apache.calcite.plan.RelTrait
-
satisfies
public boolean satisfies(org.apache.calcite.plan.RelTrait trait)
- Specified by:
satisfiesin interfaceorg.apache.calcite.plan.RelTrait
-
register
public void register(org.apache.calcite.plan.RelOptPlanner planner)
- Specified by:
registerin interfaceorg.apache.calcite.plan.RelTrait
-
toString
public String toString()
- Specified by:
toStringin interfaceorg.apache.calcite.plan.RelTrait- Overrides:
toStringin classEnum<StreamsLogicalConvention>
-
canConvertConvention
public boolean canConvertConvention(org.apache.calcite.plan.Convention toConvention)
- Specified by:
canConvertConventionin interfaceorg.apache.calcite.plan.Convention
-
useAbstractConvertersForConversion
public boolean useAbstractConvertersForConversion(org.apache.calcite.plan.RelTraitSet fromTraits, org.apache.calcite.plan.RelTraitSet toTraits)- Specified by:
useAbstractConvertersForConversionin interfaceorg.apache.calcite.plan.Convention
-
-