public abstract class LogicFilterImpl extends BinaryLogicAbstract
children
ALL, BETWEEN, COMPARE_EQUALS, COMPARE_GREATER_THAN, COMPARE_GREATER_THAN_EQUAL, COMPARE_LESS_THAN, COMPARE_LESS_THAN_EQUAL, COMPARE_NOT_EQUALS, FID, GEOMETRY_BBOX, GEOMETRY_BEYOND, GEOMETRY_CONTAINS, GEOMETRY_CROSSES, GEOMETRY_DISJOINT, GEOMETRY_DWITHIN, GEOMETRY_EQUALS, GEOMETRY_INTERSECTS, GEOMETRY_OVERLAPS, GEOMETRY_TOUCHES, GEOMETRY_WITHIN, LIKE, LOGIC_AND, LOGIC_NOT, LOGIC_OR, NONE, NULL
Modifier | Constructor and Description |
---|---|
protected |
LogicFilterImpl()
Deprecated.
|
protected |
LogicFilterImpl(Filter filter)
Deprecated.
|
protected |
LogicFilterImpl(Filter filter1,
Filter filter2,
short filterType)
Convenience constructor to create an AND/OR logic filter.
|
protected |
LogicFilterImpl(List<Filter> children) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
accept(FilterVisitor visitor,
Object extraData)
Used by FilterVisitors to perform some action on this filter instance.
|
void |
addFilter(Filter filter)
Adds a sub filter to this filter.
|
boolean |
equals(Object obj)
Compares this filter to the specified object.
|
Iterator |
getFilterIterator()
Gets an iterator for the filters held by this logic filter.
|
int |
hashCode()
Override of hashCode method.
|
String |
toString()
Returns a string representation of this filter.
|
getChildren, setChildren
isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter
accepts, eval, eval
@Deprecated protected LogicFilterImpl()
@Deprecated protected LogicFilterImpl(Filter filter) throws IllegalFilterException
filter
- The initial sub filter.IllegalFilterException
- Does not conform to logic filter structureprotected LogicFilterImpl(Filter filter1, Filter filter2, short filterType) throws IllegalFilterException
filter1
- An initial sub filter.filter2
- An initial sub filter.filterType
- The final relation between all sub filters.IllegalFilterException
- Does not conform to logic filter structurepublic final void addFilter(Filter filter) throws IllegalFilterException
filter
- Specified filter to add to the sub filter list.IllegalFilterException
- Does not conform to logic filter structurepublic Iterator getFilterIterator()
public String toString()
public boolean equals(Object obj)
public int hashCode()
public abstract Object accept(FilterVisitor visitor, Object extraData)
visitor
- The visitor which requires access to this filter, the method must call
visitor.visit(this);Copyright © 1996–2019 Geotools. All rights reserved.