org.opengis.filter
Interface FilterFactory
-
public interface FilterFactoryInterface whose methods allow the caller to create instances of the variousFilterandExpressionsubclasses.- Since:
- GeoAPI 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Addadd(Expression expr1, Expression expr2)Computes the numeric addition of the first and second operand.Andand(Filter f, Filter g)ANDfilter between two filters.Andand(java.util.List<Filter> f)ANDfilter between a list of filters.BBOXbbox(java.lang.String propertyName, double minx, double miny, double maxx, double maxy, java.lang.String srs)Checks if the bounding box of the feature's geometry overlaps the specified bounding box.PropertyIsBetweenbetween(Expression expr, Expression lower, Expression upper)A compact way of encoding a range check.Beyondbeyond(java.lang.String propertyName, Geometry geometry, double distance, java.lang.String units)Check if all of a feature's geometry is more distant than the given distance from this object's geometry.Containscontains(java.lang.String propertyName, Geometry geometry)Checks if the the first geometric operand contains the second.Crossescrosses(java.lang.String propertyName, Geometry geometry)Checks if the first geometric operand crosses the second.Disjointdisjoint(java.lang.String propertyName, Geometry geometry)Checks if the first operand is disjoint from the second.Dividedivide(Expression expr1, Expression expr2)Computes the numeric quotient resulting from dividing the first operand by the second.DWithindwithin(java.lang.String propertyName, Geometry geometry, double distance, java.lang.String units)Checks if any part of the first geometry lies within the given distance of the second geometry.PropertyIsEqualToequals(Expression expr1, Expression expr2)Compares that two sub-expressions are equal to each other.Equalsequals(java.lang.String propertyName, Geometry geometry)Checks if the geometry of the two operands are equal.FeatureIdfeatureId(java.util.Set<java.lang.String> ids)Passes only for features that have one of the IDs given to this object.Functionfunction(java.lang.String name, Expression arg1)Call into some implementation-specific function with one argument.Functionfunction(java.lang.String name, Expression[] args)Call into some implementation-specific function.Functionfunction(java.lang.String name, Expression arg1, Expression arg2)Call into some implementation-specific function with two arguments.Functionfunction(java.lang.String name, Expression arg1, Expression arg2, Expression arg3)Call into some implementation-specific function with three arguments.PropertyIsGreaterThangreater(Expression expr1, Expression expr2)Checks that the first sub-expression is greater than the second subexpression.PropertyIsGreaterThanOrEqualTogreaterOrEqual(Expression expr1, Expression expr2)Checks that the first sub-expression is greater or equal to the second subexpression.Intersectsintersects(java.lang.String propertyName, Geometry geometry)Checks if the two geometric operands intersect.PropertyIsNullisNull(Expression expr)Checks if an expression's value isnull.PropertyIsLessThanless(Expression expr1, Expression expr2)Checks that its first sub-expression is less than its second subexpression.PropertyIsLessThanOrEqualTolessOrEqual(Expression expr1, Expression expr2)Checks that its first sub-expression is less than or equal to its second subexpression.PropertyIsLikelike(Expression expr, java.lang.String pattern)Character string comparison operator with pattern matching and default wildcards.PropertyIsLikelike(Expression expr, java.lang.String pattern, java.lang.String wildcard, java.lang.String singleChar, java.lang.String escape)Character string comparison operator with pattern matching and specified wildcards.Literalliteral(boolean b)A constant, literalBooleanvalue that can be used in expressions.Literalliteral(byte b)A constant, literalBytevalue that can be used in expressions.Literalliteral(char c)A constant, literalCharactervalue that can be used in expressions.Literalliteral(double d)A constant, literalDoublevalue that can be used in expressions.Literalliteral(float f)A constant, literalFloatvalue that can be used in expressions.Literalliteral(int i)A constant, literalIntegervalue that can be used in expressions.Literalliteral(long l)A constant, literalLongvalue that can be used in expressions.Literalliteral(java.lang.Object obj)A constant, literal value that can be used in expressions.Literalliteral(short s)A constant, literalShortvalue that can be used in expressions.Multiplymultiply(Expression expr1, Expression expr2)Computes the numeric product of their first and second operand.Notnot(Filter f)Reverses the logical value of a filter.Oror(Filter f, Filter g)ORfilter between two filters.Oror(java.util.List<Filter> f)ORfilter between a list of filters.Overlapsoverlaps(java.lang.String propertyName, Geometry geometry)Checks if the interior of the first geometry somewhere overlaps the interior of the second geometry.PropertyNameproperty(java.lang.String name)Retrieves the value of a feature's property.Subtractsubtract(Expression expr1, Expression expr2)Computes the numeric difference between the first and second operand.Touchestouches(java.lang.String propertyName, Geometry geometry)Checks if the feature's geometry touches, but does not overlap with the geometry held by this object.Withinwithin(java.lang.String propertyName, Geometry geometry)Checks if the feature's geometry is completely contained by the specified constant geometry.
-
-
-
Method Detail
-
featureId
FeatureId featureId(java.util.Set<java.lang.String> ids)
Passes only for features that have one of the IDs given to this object.
-
property
PropertyName property(java.lang.String name)
Retrieves the value of a feature's property.
-
between
PropertyIsBetween between(Expression expr, Expression lower, Expression upper)
A compact way of encoding a range check.
-
equals
PropertyIsEqualTo equals(Expression expr1, Expression expr2)
Compares that two sub-expressions are equal to each other.
-
greater
PropertyIsGreaterThan greater(Expression expr1, Expression expr2)
Checks that the first sub-expression is greater than the second subexpression.
-
greaterOrEqual
PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2)
Checks that the first sub-expression is greater or equal to the second subexpression.
-
less
PropertyIsLessThan less(Expression expr1, Expression expr2)
Checks that its first sub-expression is less than its second subexpression.
-
lessOrEqual
PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2)
Checks that its first sub-expression is less than or equal to its second subexpression.
-
like
PropertyIsLike like(Expression expr, java.lang.String pattern)
Character string comparison operator with pattern matching and default wildcards.
-
like
PropertyIsLike like(Expression expr, java.lang.String pattern, java.lang.String wildcard, java.lang.String singleChar, java.lang.String escape)
Character string comparison operator with pattern matching and specified wildcards.
-
isNull
PropertyIsNull isNull(Expression expr)
Checks if an expression's value isnull.
-
bbox
BBOX bbox(java.lang.String propertyName, double minx, double miny, double maxx, double maxy, java.lang.String srs)
Checks if the bounding box of the feature's geometry overlaps the specified bounding box.
-
beyond
Beyond beyond(java.lang.String propertyName, Geometry geometry, double distance, java.lang.String units)
Check if all of a feature's geometry is more distant than the given distance from this object's geometry.
-
contains
Contains contains(java.lang.String propertyName, Geometry geometry)
Checks if the the first geometric operand contains the second.
-
crosses
Crosses crosses(java.lang.String propertyName, Geometry geometry)
Checks if the first geometric operand crosses the second.
-
disjoint
Disjoint disjoint(java.lang.String propertyName, Geometry geometry)
Checks if the first operand is disjoint from the second.
-
dwithin
DWithin dwithin(java.lang.String propertyName, Geometry geometry, double distance, java.lang.String units)
Checks if any part of the first geometry lies within the given distance of the second geometry.
-
equals
Equals equals(java.lang.String propertyName, Geometry geometry)
Checks if the geometry of the two operands are equal.
-
intersects
Intersects intersects(java.lang.String propertyName, Geometry geometry)
Checks if the two geometric operands intersect.
-
overlaps
Overlaps overlaps(java.lang.String propertyName, Geometry geometry)
Checks if the interior of the first geometry somewhere overlaps the interior of the second geometry.
-
touches
Touches touches(java.lang.String propertyName, Geometry geometry)
Checks if the feature's geometry touches, but does not overlap with the geometry held by this object.
-
within
Within within(java.lang.String propertyName, Geometry geometry)
Checks if the feature's geometry is completely contained by the specified constant geometry.
-
add
Add add(Expression expr1, Expression expr2)
Computes the numeric addition of the first and second operand.
-
divide
Divide divide(Expression expr1, Expression expr2)
Computes the numeric quotient resulting from dividing the first operand by the second.
-
multiply
Multiply multiply(Expression expr1, Expression expr2)
Computes the numeric product of their first and second operand.
-
subtract
Subtract subtract(Expression expr1, Expression expr2)
Computes the numeric difference between the first and second operand.
-
function
Function function(java.lang.String name, Expression[] args)
Call into some implementation-specific function.
-
function
Function function(java.lang.String name, Expression arg1)
Call into some implementation-specific function with one argument.
-
function
Function function(java.lang.String name, Expression arg1, Expression arg2)
Call into some implementation-specific function with two arguments.
-
function
Function function(java.lang.String name, Expression arg1, Expression arg2, Expression arg3)
Call into some implementation-specific function with three arguments.
-
literal
Literal literal(java.lang.Object obj)
A constant, literal value that can be used in expressions.
-
literal
Literal literal(byte b)
A constant, literalBytevalue that can be used in expressions.
-
literal
Literal literal(short s)
A constant, literalShortvalue that can be used in expressions.
-
literal
Literal literal(int i)
A constant, literalIntegervalue that can be used in expressions.
-
literal
Literal literal(long l)
A constant, literalLongvalue that can be used in expressions.
-
literal
Literal literal(float f)
A constant, literalFloatvalue that can be used in expressions.
-
literal
Literal literal(double d)
A constant, literalDoublevalue that can be used in expressions.
-
literal
Literal literal(char c)
A constant, literalCharactervalue that can be used in expressions.
-
literal
Literal literal(boolean b)
A constant, literalBooleanvalue that can be used in expressions.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG