|
GeoAPI 2.0 Build 2005-06-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FilterFactory
Interface whose methods allow the caller to create instances of the various
Filter and Expression subclasses.
| Method Summary | |
|---|---|
Add |
add(Expression expr1,
Expression expr2)
Computes the numeric addition of the first and second operand. |
And |
and(Filter f,
Filter g)
AND filter between two filters. |
And |
and(List<Filter> f)
AND filter between a list of filters. |
BBOX |
bbox(String propertyName,
double minx,
double miny,
double maxx,
double maxy,
String srs)
Checks if the bounding box of the feature's geometry overlaps the specified bounding box. |
PropertyIsBetween |
between(Expression expr,
Expression lower,
Expression upper)
A compact way of encoding a range check. |
Beyond |
beyond(String propertyName,
Geometry geometry,
double distance,
String units)
Check if all of a feature's geometry is more distant than the given distance from this object's geometry. |
Contains |
contains(String propertyName,
Geometry geometry)
Checks if the the first geometric operand contains the second. |
Crosses |
crosses(String propertyName,
Geometry geometry)
Checks if the first geometric operand crosses the second. |
Disjoint |
disjoint(String propertyName,
Geometry geometry)
Checks if the first operand is disjoint from the second. |
Divide |
divide(Expression expr1,
Expression expr2)
Computes the numeric quotient resulting from dividing the first operand by the second. |
DWithin |
dwithin(String propertyName,
Geometry geometry,
double distance,
String units)
Checks if any part of the first geometry lies within the given distance of the second geometry. |
PropertyIsEqualTo |
equals(Expression expr1,
Expression expr2)
Compares that two sub-expressions are equal to each other. |
Equals |
equals(String propertyName,
Geometry geometry)
Checks if the geometry of the two operands are equal. |
FeatureId |
featureId(Set<String> ids)
Passes only for features that have one of the IDs given to this object. |
Function |
function(String name,
Expression arg1)
Call into some implementation-specific function with one argument. |
Function |
function(String name,
Expression[] args)
Call into some implementation-specific function. |
Function |
function(String name,
Expression arg1,
Expression arg2)
Call into some implementation-specific function with two arguments. |
Function |
function(String name,
Expression arg1,
Expression arg2,
Expression arg3)
Call into some implementation-specific function with three arguments. |
PropertyIsGreaterThan |
greater(Expression expr1,
Expression expr2)
Checks that the first sub-expression is greater than the second subexpression. |
PropertyIsGreaterThanOrEqualTo |
greaterOrEqual(Expression expr1,
Expression expr2)
Checks that the first sub-expression is greater or equal to the second subexpression. |
Intersects |
intersects(String propertyName,
Geometry geometry)
Checks if the two geometric operands intersect. |
PropertyIsNull |
isNull(Expression expr)
Checks if an expression's value is null. |
PropertyIsLessThan |
less(Expression expr1,
Expression expr2)
Checks that its first sub-expression is less than its second subexpression. |
PropertyIsLessThanOrEqualTo |
lessOrEqual(Expression expr1,
Expression expr2)
Checks that its first sub-expression is less than or equal to its second subexpression. |
PropertyIsLike |
like(Expression expr,
String pattern)
Character string comparison operator with pattern matching and default wildcards. |
PropertyIsLike |
like(Expression expr,
String pattern,
String wildcard,
String singleChar,
String escape)
Character string comparison operator with pattern matching and specified wildcards. |
Literal |
literal(boolean b)
A constant, literal Boolean value that can be used in expressions. |
Literal |
literal(byte b)
A constant, literal Byte value that can be used in expressions. |
Literal |
literal(char c)
A constant, literal Character value that can be used in expressions. |
Literal |
literal(double d)
A constant, literal Double value that can be used in expressions. |
Literal |
literal(float f)
A constant, literal Float value that can be used in expressions. |
Literal |
literal(int i)
A constant, literal Integer value that can be used in expressions. |
Literal |
literal(long l)
A constant, literal Long value that can be used in expressions. |
Literal |
literal(Object obj)
A constant, literal value that can be used in expressions. |
Literal |
literal(short s)
A constant, literal Short value that can be used in expressions. |
Multiply |
multiply(Expression expr1,
Expression expr2)
Computes the numeric product of their first and second operand. |
Not |
not(Filter f)
Reverses the logical value of a filter. |
Or |
or(Filter f,
Filter g)
OR filter between two filters. |
Or |
or(List<Filter> f)
OR filter between a list of filters. |
Overlaps |
overlaps(String propertyName,
Geometry geometry)
Checks if the interior of the first geometry somewhere overlaps the interior of the second geometry. |
PropertyName |
property(String name)
Retrieves the value of a feature's property. |
Subtract |
subtract(Expression expr1,
Expression expr2)
Computes the numeric difference between the first and second operand. |
Touches |
touches(String propertyName,
Geometry geometry)
Checks if the feature's geometry touches, but does not overlap with the geometry held by this object. |
Within |
within(String propertyName,
Geometry geometry)
Checks if the feature's geometry is completely contained by the specified constant geometry. |
| Method Detail |
|---|
And and(Filter f,
Filter g)
AND filter between two filters.
And and(List<Filter> f)
AND filter between a list of filters.
Or or(Filter f,
Filter g)
OR filter between two filters.
Or or(List<Filter> f)
OR filter between a list of filters.
Not not(Filter f)
FeatureId featureId(Set<String> ids)
PropertyName property(String name)
PropertyIsBetween between(Expression expr,
Expression lower,
Expression upper)
PropertyIsEqualTo equals(Expression expr1,
Expression expr2)
PropertyIsGreaterThan greater(Expression expr1,
Expression expr2)
PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1,
Expression expr2)
PropertyIsLessThan less(Expression expr1,
Expression expr2)
PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1,
Expression expr2)
PropertyIsLike like(Expression expr,
String pattern)
PropertyIsLike like(Expression expr,
String pattern,
String wildcard,
String singleChar,
String escape)
PropertyIsNull isNull(Expression expr)
null.
BBOX bbox(String propertyName,
double minx,
double miny,
double maxx,
double maxy,
String srs)
Beyond beyond(String propertyName,
Geometry geometry,
double distance,
String units)
Contains contains(String propertyName,
Geometry geometry)
Crosses crosses(String propertyName,
Geometry geometry)
Disjoint disjoint(String propertyName,
Geometry geometry)
DWithin dwithin(String propertyName,
Geometry geometry,
double distance,
String units)
Equals equals(String propertyName,
Geometry geometry)
Intersects intersects(String propertyName,
Geometry geometry)
Overlaps overlaps(String propertyName,
Geometry geometry)
Touches touches(String propertyName,
Geometry geometry)
Within within(String propertyName,
Geometry geometry)
Add add(Expression expr1,
Expression expr2)
Divide divide(Expression expr1,
Expression expr2)
Multiply multiply(Expression expr1,
Expression expr2)
Subtract subtract(Expression expr1,
Expression expr2)
Function function(String name,
Expression[] args)
Function function(String name,
Expression arg1)
Function function(String name,
Expression arg1,
Expression arg2)
Function function(String name,
Expression arg1,
Expression arg2,
Expression arg3)
Literal literal(Object obj)
Literal literal(byte b)
Byte value that can be used in expressions.
Literal literal(short s)
Short value that can be used in expressions.
Literal literal(int i)
Integer value that can be used in expressions.
Literal literal(long l)
Long value that can be used in expressions.
Literal literal(float f)
Float value that can be used in expressions.
Literal literal(double d)
Double value that can be used in expressions.
Literal literal(char c)
Character value that can be used in expressions.
Literal literal(boolean b)
Boolean value that can be used in expressions.
|
GeoAPI 2.0 Build 2005-06-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
Symbols, terms and definitions | Copyright OpenGIS® Consortium |