Enum StreamsLogicalConvention
java.lang.Object
java.lang.Enum<StreamsLogicalConvention>
org.apache.storm.sql.planner.streams.rel.StreamsLogicalConvention
- All Implemented Interfaces:
Serializable
,Comparable<StreamsLogicalConvention>
,java.lang.constant.Constable
,org.apache.calcite.plan.Convention
,org.apache.calcite.plan.RelTrait
public enum StreamsLogicalConvention
extends Enum<StreamsLogicalConvention>
implements org.apache.calcite.plan.Convention
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.apache.calcite.plan.Convention
org.apache.calcite.plan.Convention.Impl
-
Enum Constant Summary
-
Field Summary
Fields inherited from interface org.apache.calcite.plan.Convention
NONE
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvertConvention
(org.apache.calcite.plan.Convention toConvention) getName()
org.apache.calcite.plan.RelTraitDef
void
register
(org.apache.calcite.plan.RelOptPlanner planner) boolean
satisfies
(org.apache.calcite.plan.RelTrait trait) toString()
boolean
useAbstractConvertersForConversion
(org.apache.calcite.plan.RelTraitSet fromTraits, org.apache.calcite.plan.RelTraitSet toTraits) static StreamsLogicalConvention
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.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from interface org.apache.calcite.plan.RelTrait
equals, hashCode
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
- Specified by:
getInterface
in interfaceorg.apache.calcite.plan.Convention
-
getName
- Specified by:
getName
in interfaceorg.apache.calcite.plan.Convention
-
getTraitDef
public org.apache.calcite.plan.RelTraitDef getTraitDef()- Specified by:
getTraitDef
in interfaceorg.apache.calcite.plan.RelTrait
-
satisfies
public boolean satisfies(org.apache.calcite.plan.RelTrait trait) - Specified by:
satisfies
in interfaceorg.apache.calcite.plan.RelTrait
-
register
public void register(org.apache.calcite.plan.RelOptPlanner planner) - Specified by:
register
in interfaceorg.apache.calcite.plan.RelTrait
-
toString
- Specified by:
toString
in interfaceorg.apache.calcite.plan.RelTrait
- Overrides:
toString
in classEnum<StreamsLogicalConvention>
-
canConvertConvention
public boolean canConvertConvention(org.apache.calcite.plan.Convention toConvention) - Specified by:
canConvertConvention
in interfaceorg.apache.calcite.plan.Convention
-
useAbstractConvertersForConversion
public boolean useAbstractConvertersForConversion(org.apache.calcite.plan.RelTraitSet fromTraits, org.apache.calcite.plan.RelTraitSet toTraits) - Specified by:
useAbstractConvertersForConversion
in interfaceorg.apache.calcite.plan.Convention
-