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, reduce
public final boolean isClosed()
public ClosedFilter<S> and(Filter<S> filter)
Filter
public Filter<S> or(Filter<S> filter)
Filter
public OpenFilter<S> not()
Filter
public java.util.List<Filter<S>> disjunctiveNormalFormSplit()
Filter
disjunctiveNormalFormSplit
in class Filter<S extends Storable>
public java.util.List<Filter<S>> conjunctiveNormalFormSplit()
Filter
conjunctiveNormalFormSplit
in class Filter<S extends Storable>
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 ClosedFilter<S> bind()
Filter
public ClosedFilter<S> unbind()
Filter
public boolean isBound()
Filter
Filter.bind()
, Filter.initialFilterValues()
, Filter.disjunctiveNormalForm()
or Filter.conjunctiveNormalForm()
.public <T extends Storable> ClosedFilter<T> asJoinedFromAny(ChainedProperty<T> joinProperty)
Filter
asJoinedFromAny
in class Filter<S extends Storable>
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
Filter
public void appendTo(java.lang.Appendable app, FilterValues<S> values) throws java.io.IOException
Filter
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.