Package com.kheops.jmap.metadata
Class QueryFilter
java.lang.Object
com.kheops.jmap.metadata.QueryFilter
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
AttributeFilter
,GeometryTypesFilter
,SpatialQueryFilter
,SQLQueryFilter
Abstract class that represents a filter used to query a spatial data
source. Only the records that pass the filter condition are returned.
The logical operator is used to combine filters. When only one
filter is used, the logical operator is not used. If 2 or more filters
are used, the logical operator of the second filter is used to combine
with the first.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Object
clone()
Gets the description of this QueryFilterint
boolean
void
setDescription
(String description) Sets the description of this QueryFiltervoid
setEnabled
(boolean enabled) void
setLogicalOperator
(int logicalOperator)
-
Field Details
-
LOGICAL_AND
public static final int LOGICAL_AND- See Also:
-
LOGICAL_OR
public static final int LOGICAL_OR- See Also:
-
-
Constructor Details
-
QueryFilter
public QueryFilter()
-
-
Method Details
-
getLogicalOperator
public int getLogicalOperator() -
setLogicalOperator
public void setLogicalOperator(int logicalOperator) -
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
clone
-
getDescription
Gets the description of this QueryFilter- Returns:
- description
-
setDescription
Sets the description of this QueryFilter- Parameters:
description
-
-