public class ClosedFilter<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.
|
ClosedFilter<S> |
and(Filter<S> filter)
Returns a combined filter instance that accepts records which are only
accepted by this filter and the one given.
|
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.
|
ClosedFilter<S> |
bind()
Walks through each property filter, assigning a bind ID to it.
|
java.util.List<Filter<S>> |
conjunctiveNormalFormSplit()
Splits the filter from its conjunctive normal form.
|
java.util.List<Filter<S>> |
disjunctiveNormalFormSplit()
Splits the filter from its disjunctive normal form.
|
boolean |
equals(java.lang.Object obj) |
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 |
isClosed()
Always returns true.
|
OpenFilter<S> |
not()
Returns the logical negation of this filter.
|
Filter<S> |
or(Filter<S> filter)
Returns a combined filter instance that accepts records which are
accepted either by this filter or the one given.
|
java.lang.String |
toString()
Returns the string value of this filter, which is also parsable.
|
ClosedFilter<S> |
unbind()
Undoes the effect of a bind operation.
|
and, and, and, andExists, andNotExists, appendTo, asJoinedFrom, asJoinedFrom, conjunctiveNormalForm, disjunctiveNormalForm, filterFor, getClosedFilter, getOpenFilter, getStorableType, hashCode, isOpen, notJoinedFrom, notJoinedFrom, or, or, or, orExists, orNotExists, reducepublic final boolean isClosed()
public ClosedFilter<S> and(Filter<S> filter)
Filterpublic Filter<S> or(Filter<S> filter)
Filterpublic OpenFilter<S> not()
Filterpublic java.util.List<Filter<S>> disjunctiveNormalFormSplit()
FilterdisjunctiveNormalFormSplit in class Filter<S extends Storable>public java.util.List<Filter<S>> conjunctiveNormalFormSplit()
FilterconjunctiveNormalFormSplit 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)
Filterpublic ClosedFilter<S> bind()
Filterpublic ClosedFilter<S> unbind()
Filterpublic boolean isBound()
FilterFilter.bind(), Filter.initialFilterValues(), Filter.disjunctiveNormalForm() or Filter.conjunctiveNormalForm().public <T extends Storable> ClosedFilter<T> asJoinedFromAny(ChainedProperty<T> joinProperty)
FilterasJoinedFromAny in class Filter<S extends Storable>public boolean equals(java.lang.Object obj)
public java.lang.String toString()
Filterpublic void appendTo(java.lang.Appendable app,
FilterValues<S> values)
throws java.io.IOException
FilterCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.