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, toString
public ChainedProperty<S> getChainedProperty()
public Filter<?> getSubFilter()
public boolean isNotExists()
public Filter<S> not()
Filter
public FilterValues<S> initialFilterValues()
Filter
Note: 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
public ExistsFilter<S> bind()
Filter
public ExistsFilter<S> unbind()
Filter
public boolean isBound()
Filter
Filter.bind()
, Filter.initialFilterValues()
, Filter.disjunctiveNormalForm()
or Filter.conjunctiveNormalForm()
.public <T extends Storable> ExistsFilter<T> asJoinedFromAny(ChainedProperty<T> joinProperty)
Filter
asJoinedFromAny
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
Filter
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.