public class ExistsFilter<S extends Storable> extends Filter<S>
Filter.NotJoined| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(Visitor<S,R,P> visitor,
P param)
Accept the given visitor subclass to traverse the filter tree.
|
void |
appendTo(java.lang.Appendable app,
FilterValues<S> values)
Appends the string value of this filter into the given Appendable.
|
<T extends Storable> |
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(java.lang.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.
|
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, toStringpublic ChainedProperty<S> getChainedProperty()
public Filter<?> getSubFilter()
public boolean isNotExists()
public Filter<S> not()
Filterpublic 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)
Filterpublic ExistsFilter<S> bind()
Filterpublic ExistsFilter<S> unbind()
Filterpublic boolean isBound()
FilterFilter.bind(), Filter.initialFilterValues(), Filter.disjunctiveNormalForm() or Filter.conjunctiveNormalForm().public <T extends Storable> ExistsFilter<T> asJoinedFromAny(ChainedProperty<T> joinProperty)
FilterasJoinedFromAny in class Filter<S extends Storable>public boolean equals(java.lang.Object obj)
public void appendTo(java.lang.Appendable app,
FilterValues<S> values)
throws java.io.IOException
FilterCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.