|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazon.carbonado.filter.Filter<S>
com.amazon.carbonado.filter.ExistsFilter<S>
public class ExistsFilter<S extends Storable>
Filter tree node that performs an existence or non-existence test against a join property.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.amazon.carbonado.filter.Filter |
|---|
Filter.NotJoined |
| Method Summary | ||
|---|---|---|
|
accept(Visitor<S,R,P> visitor,
P param)
Accept the given visitor subclass to traverse the filter tree. |
|
void |
appendTo(Appendable app,
FilterValues<S> values)
Appends the string value of this filter into the given Appendable. |
|
|
asJoinedFromAny(ChainedProperty<T> joinProperty)
Allows join from any property type, including one-to-many joins. |
|
ExistsFilter<S> |
bind()
Walks through each property filter, assigning a bind ID to it. |
|
boolean |
equals(Object obj)
|
|
ChainedProperty<S> |
getChainedProperty()
Returns the join property that is being checked for existence or non-existence. |
|
Filter<?> |
getSubFilter()
Returns the filter applied to the join, which might be open. |
|
FilterValues<S> |
initialFilterValues()
Returns a FilterValues instance for assigning values to a Filter. |
|
boolean |
isBound()
Returns true if all property filters are known to be properly bound. |
|
boolean |
isNotExists()
|
|
Filter<S> |
not()
Returns the logical negation of this filter. |
|
ExistsFilter<S> |
unbind()
Undoes the effect of a bind operation. |
|
| Methods inherited from class com.amazon.carbonado.filter.Filter |
|---|
and, and, and, and, andExists, andNotExists, appendTo, asJoinedFrom, asJoinedFrom, conjunctiveNormalForm, conjunctiveNormalFormSplit, disjunctiveNormalForm, disjunctiveNormalFormSplit, filterFor, getClosedFilter, getOpenFilter, getStorableType, hashCode, isClosed, isOpen, notJoinedFrom, notJoinedFrom, or, or, or, or, orExists, orNotExists, reduce, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public ChainedProperty<S> getChainedProperty()
public Filter<?> getSubFilter()
public boolean isNotExists()
public Filter<S> not()
Filter
not in class Filter<S extends Storable>public FilterValues<S> initialFilterValues()
FilterNote: The returned FilterValues instance may reference a different
filter instance than this one. Call getFilter to retrieve it. The
difference is caused by the filter property values being bound.
initialFilterValues in class Filter<S extends Storable>
public <R,P> R accept(Visitor<S,R,P> visitor,
P param)
Filter
accept in class Filter<S extends Storable>visitor - visitor to traverse through the treeparam - generic input parameter passed to visit methods
public ExistsFilter<S> bind()
Filter
bind in class Filter<S extends Storable>public ExistsFilter<S> unbind()
Filter
unbind in class Filter<S extends Storable>public boolean isBound()
FilterFilter.bind(), Filter.initialFilterValues(), Filter.disjunctiveNormalForm() or Filter.conjunctiveNormalForm().
isBound in class Filter<S extends Storable>public <T extends Storable> ExistsFilter<T> asJoinedFromAny(ChainedProperty<T> joinProperty)
Filter
asJoinedFromAny in class Filter<S extends Storable>public boolean equals(Object obj)
equals in class Filter<S extends Storable>
public void appendTo(Appendable app,
FilterValues<S> values)
throws IOException
Filter
appendTo in class Filter<S extends Storable>values - optionally supply filter values
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||