public enum StreamsLogicalConvention extends Enum<StreamsLogicalConvention> 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 StreamsLogicalConvention |
valueOf(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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
public static final StreamsLogicalConvention INSTANCE
public static StreamsLogicalConvention[] values()
for (StreamsLogicalConvention c : StreamsLogicalConvention.values()) System.out.println(c);
public static StreamsLogicalConvention 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<StreamsLogicalConvention>
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.