org.eigenbase.relopt.volcano
Class VolcanoPlannerTraitTest.AltTrait
java.lang.Object
org.eigenbase.relopt.volcano.VolcanoPlannerTraitTest.AltTrait
- All Implemented Interfaces:
- RelTrait
- Enclosing class:
- VolcanoPlannerTraitTest
private static class VolcanoPlannerTraitTest.AltTrait
- extends Object
- implements RelTrait
traitDef
private final VolcanoPlannerTraitTest.AltTraitDef traitDef
ordinal
private final int ordinal
description
private final String description
VolcanoPlannerTraitTest.AltTrait
private VolcanoPlannerTraitTest.AltTrait(VolcanoPlannerTraitTest.AltTraitDef traitDef,
String description)
getTraitDef
public RelTraitDef getTraitDef()
- Description copied from interface:
RelTrait
- Returns the RelTraitDef that defines this RelTrait.
- Specified by:
getTraitDef
in interface RelTrait
- Returns:
- the RelTraitDef that defines this RelTrait
equals
public boolean equals(Object other)
- Description copied from interface:
RelTrait
- See note about equals() and hashCode().
- Specified by:
equals
in interface RelTrait
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Description copied from interface:
RelTrait
- See note about equals() and hashCode().
- Specified by:
hashCode
in interface RelTrait
- Overrides:
hashCode
in class Object
toString
public String toString()
- Description copied from interface:
RelTrait
- Returns a succinct name for this trait. The planner may use this String
to describe the trait.
- Specified by:
toString
in interface RelTrait
- Overrides:
toString
in class Object