T - trait typeprivate static class RelCompositeTrait.EmptyCompositeTrait<T extends RelMultipleTrait> extends RelCompositeTrait<T>
| Modifier | Constructor and Description |
|---|---|
private |
EmptyCompositeTrait(RelTraitDef traitDef) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
satisfies(RelTrait trait)
Returns whether this trait satisfies a given trait.
|
private EmptyCompositeTrait(RelTraitDef traitDef)
public boolean satisfies(RelTrait trait)
RelTraitA trait satisfies another if it is the same or stricter. For example,
ORDER BY x, y satisfies ORDER BY x.
A trait's satisfies relation must be a partial order (reflexive,
anti-symmetric, transitive). Many traits cannot be "loosened"; their
satisfies is an equivalence relation, where only X satisfies X.
If a trait has multiple values
(see RelCompositeTrait)
a collection (T0, T1, ...) satisfies T if any Ti satisfies T.
satisfies in interface RelTraitsatisfies in class RelCompositeTrait<T extends RelMultipleTrait>trait - Given traitCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.