public enum TridentLogicalConvention extends Enum<TridentLogicalConvention> implements org.apache.calcite.plan.Convention
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvertConvention(org.apache.calcite.plan.Convention toConvention) |
Class |
getInterface() |
String |
getName() |
org.apache.calcite.plan.RelTraitDef |
getTraitDef() |
void |
register(org.apache.calcite.plan.RelOptPlanner planner) |
boolean |
satisfies(org.apache.calcite.plan.RelTrait trait) |
String |
toString() |
boolean |
useAbstractConvertersForConversion(org.apache.calcite.plan.RelTraitSet fromTraits,
org.apache.calcite.plan.RelTraitSet toTraits) |
static TridentLogicalConvention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TridentLogicalConvention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TridentLogicalConvention INSTANCE
public static TridentLogicalConvention[] values()
for (TridentLogicalConvention c : TridentLogicalConvention.values()) System.out.println(c);
public static TridentLogicalConvention 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 nullpublic Class getInterface()
getInterface
in interface org.apache.calcite.plan.Convention
public String getName()
getName
in interface org.apache.calcite.plan.Convention
public org.apache.calcite.plan.RelTraitDef getTraitDef()
getTraitDef
in interface org.apache.calcite.plan.RelTrait
public boolean satisfies(org.apache.calcite.plan.RelTrait trait)
satisfies
in interface org.apache.calcite.plan.RelTrait
public void register(org.apache.calcite.plan.RelOptPlanner planner)
register
in interface org.apache.calcite.plan.RelTrait
public String toString()
toString
in interface org.apache.calcite.plan.RelTrait
toString
in class Enum<TridentLogicalConvention>
public boolean canConvertConvention(org.apache.calcite.plan.Convention toConvention)
canConvertConvention
in interface org.apache.calcite.plan.Convention
public boolean useAbstractConvertersForConversion(org.apache.calcite.plan.RelTraitSet fromTraits, org.apache.calcite.plan.RelTraitSet toTraits)
useAbstractConvertersForConversion
in interface org.apache.calcite.plan.Convention
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.