Enum BeamLogicalConvention
- java.lang.Object
-
- java.lang.Enum<BeamLogicalConvention>
-
- org.apache.beam.sdk.extensions.sql.impl.rel.BeamLogicalConvention
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BeamLogicalConvention>,org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.Convention,org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTrait
public enum BeamLogicalConvention extends java.lang.Enum<BeamLogicalConvention> implements org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.Convention
Convention for Beam SQL.
-
-
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.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.Convention toConvention)java.lang.ClassgetInterface()java.lang.StringgetName()org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTraitDefgetTraitDef()voidregister(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptPlanner planner)booleansatisfies(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTrait trait)java.lang.StringtoString()booleanuseAbstractConvertersForConversion(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTraitSet fromTraits, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTraitSet toTraits)static BeamLogicalConventionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BeamLogicalConvention[]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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
-
-
-
-
Enum Constant Detail
-
INSTANCE
public static final BeamLogicalConvention INSTANCE
-
-
Method Detail
-
values
public static BeamLogicalConvention[] 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 (BeamLogicalConvention c : BeamLogicalConvention.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BeamLogicalConvention 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
-
getInterface
public java.lang.Class getInterface()
- Specified by:
getInterfacein interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.Convention
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.Convention
-
getTraitDef
public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTraitDef getTraitDef()
- Specified by:
getTraitDefin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTrait
-
satisfies
public boolean satisfies(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTrait trait)
- Specified by:
satisfiesin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTrait
-
register
public void register(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptPlanner planner)
- Specified by:
registerin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTrait
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTrait- Overrides:
toStringin classjava.lang.Enum<BeamLogicalConvention>
-
canConvertConvention
public boolean canConvertConvention(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.Convention toConvention)
- Specified by:
canConvertConventionin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.Convention
-
useAbstractConvertersForConversion
public boolean useAbstractConvertersForConversion(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTraitSet fromTraits, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelTraitSet toTraits)- Specified by:
useAbstractConvertersForConversionin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.Convention
-
-