public class FilterFactoryImpl extends Object implements Factory, FilterFactory2
| Constructor and Description |
|---|
FilterFactoryImpl()
Creates a new instance of FilterFactoryImpl
|
FilterFactoryImpl(Hints hints) |
| Modifier and Type | Method and Description |
|---|---|
Add |
add(Expression expr1,
Expression expr2)
Computes the numeric addition of the first and second operand.
|
After |
after(Expression expr1,
Expression expr2)
Checks if one expression is temporally after another
|
After |
after(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally after another
|
And |
and(Filter f,
Filter g)
AND filter between two filters. |
And |
and(List<Filter> filters)
AND filter between a list of filters. |
AnyInteracts |
anyInteracts(Expression expr1,
Expression expr2)
Checks if one expression temporally interacts in any way with another
|
AnyInteracts |
anyInteracts(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally interacts in any way with another
|
ArithmeticOperators |
arithmeticOperators(boolean simple,
Functions functions)
arithmetic operators
|
BBOX |
bbox(Expression geometry,
BoundingBox bounds)
Checks if the bounding box of the feature's geometry overlaps the indicated bounds.
|
BBOX3D |
bbox(Expression geometry,
BoundingBox3D env)
Checks if the geometry expression overlaps the specified bounding box.
|
BBOX3D |
bbox(Expression e,
BoundingBox3D env,
MultiValuedFilter.MatchAction matchAction)
Checks if the geometry expression overlaps the specified bounding box.
|
BBOX |
bbox(Expression geometry,
BoundingBox bounds,
MultiValuedFilter.MatchAction matchAction)
Checks if the bounding box of the feature's geometry overlaps the indicated bounds.
|
BBOX |
bbox(Expression geometry,
double minx,
double miny,
double maxx,
double maxy,
String srs)
Checks if the geometry expression overlaps the specified bounding box.
|
BBOX |
bbox(Expression e,
double minx,
double miny,
double maxx,
double maxy,
String srs,
MultiValuedFilter.MatchAction matchAction)
Checks if the geometry expression overlaps the specified bounding box.
|
BBOX |
bbox(Expression geometry,
Expression bounds) |
BBOX |
bbox(Expression geometry,
Expression bounds,
MultiValuedFilter.MatchAction machAction) |
BBOX3D |
bbox(String propertyName,
BoundingBox3D env) |
BBOX3D |
bbox(String propertyName,
BoundingBox3D env,
MultiValuedFilter.MatchAction matchAction) |
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.
|
BBOX |
bbox(String propertyName,
double minx,
double miny,
double maxx,
double maxy,
String srs,
MultiValuedFilter.MatchAction matchAction)
Checks if the bounding box of the feature's geometry overlaps the indicated bounds.
|
Before |
before(Expression expr1,
Expression expr2)
Checks if one expression is temporally before another
|
Before |
before(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally before another
|
Begins |
begins(Expression expr1,
Expression expr2)
Checks if one expression temporally begins another
|
Begins |
begins(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally begins another
|
BegunBy |
begunBy(Expression expr1,
Expression expr2)
Checks if one expression is temporally begun by another
|
BegunBy |
begunBy(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally begun by another
|
PropertyIsBetween |
between(Expression expr,
Expression lower,
Expression upper)
A compact way of encoding a range check.
|
PropertyIsBetween |
between(Expression expr,
Expression lower,
Expression upper,
MultiValuedFilter.MatchAction matchAction)
A compact way of encoding a range check.
|
Beyond |
beyond(Expression geometry1,
Expression geometry2,
double distance,
String units)
Check if all of a geometry is more distant than the given distance from this object's
geometry.
|
Beyond |
beyond(Expression geometry1,
Expression geometry2,
double distance,
String units,
MultiValuedFilter.MatchAction matchAction)
Check if all of a geometry is more distant than the given distance from this object's
geometry.
|
Beyond |
beyond(Expression geometry1,
Geometry geometry2,
double distance,
String units) |
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.
|
Beyond |
beyond(String propertyName,
Geometry geometry,
double distance,
String units,
MultiValuedFilter.MatchAction matchAction)
Check if all of a feature's geometry is more distant than the given distance from this
object's geometry.
|
FilterCapabilities |
capabilities(String version,
ScalarCapabilities scalar,
SpatialCapabilities spatial,
IdCapabilities id)
filter capabilities
|
FilterCapabilities |
capabilities(String version,
ScalarCapabilities scalar,
SpatialCapabilities spatial,
IdCapabilities id,
TemporalCapabilities temporal)
filter capabilities
|
ComparisonOperators |
comparisonOperators(Operator[] comparisonOperators)
comparison operators
|
Contains |
contains(Expression geometry1,
Expression geometry2)
Checks if the the first geometric operand contains the second.
|
Contains |
contains(Expression geometry1,
Expression geometry2,
MultiValuedFilter.MatchAction matchAction)
Checks if the the first geometric operand contains the second.
|
Contains |
contains(String propertyName,
Geometry geometry)
Checks if the the first geometric operand contains the second.
|
Contains |
contains(String propertyName,
Geometry geometry,
MultiValuedFilter.MatchAction matchAction)
Checks if the the first geometric operand contains the second.
|
Crosses |
crosses(Expression geometry1,
Expression geometry2)
Checks if the first geometric operand crosses the second.
|
Crosses |
crosses(Expression geometry1,
Expression geometry2,
MultiValuedFilter.MatchAction matchAction)
Checks if the first geometric operand crosses the second.
|
Crosses |
crosses(String propertyName,
Geometry geometry)
Checks if the first geometric operand crosses the second.
|
Crosses |
crosses(String propertyName,
Geometry geometry,
MultiValuedFilter.MatchAction matchAction)
Checks if the first geometric operand crosses the second.
|
Disjoint |
disjoint(Expression geometry1,
Expression geometry2)
Checks if the first operand is disjoint from the second.
|
Disjoint |
disjoint(Expression geometry1,
Expression geometry2,
MultiValuedFilter.MatchAction matchAction)
Checks if the first operand is disjoint from the second.
|
Disjoint |
disjoint(String propertyName,
Geometry geometry)
Checks if the first operand is disjoint from the second.
|
Disjoint |
disjoint(String propertyName,
Geometry geometry,
MultiValuedFilter.MatchAction matchAction)
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.
|
During |
during(Expression expr1,
Expression expr2)
Checks if one expression is temporally during another
|
During |
during(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally during another
|
DWithin |
dwithin(Expression geometry1,
Expression geometry2,
double distance,
String units)
Checks if any part of the first geometry lies within the given distance of the second
geometry.
|
DWithin |
dwithin(Expression geometry1,
Expression geometry2,
double distance,
String units,
MultiValuedFilter.MatchAction matchAction)
Checks if any part of the first geometry lies within the given distance of the second
geometry.
|
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.
|
DWithin |
dwithin(String propertyName,
Geometry geometry,
double distance,
String units,
MultiValuedFilter.MatchAction matchAction)
Checks if any part of the first geometry lies within the given distance of the second
geometry.
|
EndedBy |
endedBy(Expression expr1,
Expression expr2)
Checks if one expression is temporally ended by another
|
EndedBy |
endedBy(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally ended by another
|
Ends |
ends(Expression expr1,
Expression expr2)
Checks if one expression temporally ends by another
|
Ends |
ends(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally ends by another
|
Equals |
equal(Expression geometry1,
Expression geometry2)
Checks if the geometry of the two operands are equal.
|
PropertyIsEqualTo |
equal(Expression expr1,
Expression expr2,
boolean matchCase)
Compares that two sub-expressions are equal to eacher other
|
PropertyIsEqualTo |
equal(Expression expr1,
Expression expr2,
boolean matchCase,
MultiValuedFilter.MatchAction matchAction)
Compares that two sub-expressions are equal to eacher other
|
Equals |
equal(Expression geometry1,
Expression geometry2,
MultiValuedFilter.MatchAction matchAction)
Checks if the geometry of the two operands are equal.
|
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.
|
Equals |
equals(String propertyName,
Geometry geometry,
MultiValuedFilter.MatchAction matchAction)
Checks if the geometry of the two operands are equal.
|
FeatureId |
featureId(String id)
Creates a new feautre id from a string
|
FeatureId |
featureId(String fid,
String featureVersion)
Creates a new feature id with version information
|
Function |
function(Name name,
Expression... args)
Call into some implementation-specific function.
|
Function |
function(String name,
Expression arg1) |
Function |
function(String name,
Expression[] args)
Call into some implementation-specific function.
|
Function |
function(String name,
Expression arg1,
Expression arg2) |
Function |
function(String name,
Expression arg1,
Expression arg2,
Expression arg3) |
FunctionName |
functionName(Name name,
int nargs)
function name
|
FunctionName |
functionName(Name name,
int nargs,
List<String> argNames)
FunctionName used to describe an available function.
|
FunctionName |
functionName(Name name,
List<Parameter<?>> args,
Parameter<?> ret)
FunctionName used to describe an available function.
|
FunctionName |
functionName(String name,
int nargs)
function name
|
FunctionName |
functionName(String name,
int nargs,
List<String> argNames)
FunctionName used to describe an available function.
|
FunctionName |
functionName(String name,
List<Parameter<?>> args,
Parameter<?> ret)
FunctionName used to describe an available function.
|
Functions |
functions(FunctionName[] functionNames)
functions
|
Map<RenderingHints.Key,?> |
getImplementationHints()
Map of hints (maybe unmodifiable) used by
this factory to customize its use.
|
GmlObjectId |
gmlObjectId(String id)
Creates a new gml object id from a string
|
PropertyIsGreaterThan |
greater(Expression expr1,
Expression expr2)
Checks that the first sub-expression is greater than the second subexpression.
|
PropertyIsGreaterThan |
greater(Expression expr1,
Expression expr2,
boolean matchCase)
Checks that the first sub-expression is greater than the second subexpression.
|
PropertyIsGreaterThan |
greater(Expression expr1,
Expression expr2,
boolean matchCase,
MultiValuedFilter.MatchAction matchAction)
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.
|
PropertyIsGreaterThanOrEqualTo |
greaterOrEqual(Expression expr1,
Expression expr2,
boolean matchCase)
Checks that the first sub-expression is greater or equal to the second subexpression.
|
PropertyIsGreaterThanOrEqualTo |
greaterOrEqual(Expression expr1,
Expression expr2,
boolean matchCase,
MultiValuedFilter.MatchAction matchAction)
Checks that the first sub-expression is greater or equal to the second subexpression.
|
Id |
id(FeatureId... fids) |
Id |
id(Set<? extends Identifier> id)
Passes only for objects that have one of the IDs given to this object.
|
IdCapabilities |
idCapabilities(boolean eid,
boolean fid)
id capabilities
|
Intersects |
intersects(Expression geometry1,
Expression geometry2)
Checks if the two geometric operands intersect.
|
Intersects |
intersects(Expression geometry1,
Expression geometry2,
MultiValuedFilter.MatchAction matchAction)
Checks if the two geometric operands intersect.
|
Intersects |
intersects(String propertyName,
Geometry geometry)
Checks if the two geometric operands intersect.
|
Intersects |
intersects(String propertyName,
Geometry geometry,
MultiValuedFilter.MatchAction matchAction)
Checks if the two geometric operands intersect.
|
PropertyIsNil |
isNil(Expression expr,
Object nilReason)
Checks if an expression's value is nil.
|
PropertyIsNull |
isNull(Expression expr)
XXX Java 5 type narrowing used to make generated class explicit for chaining
|
PropertyIsLessThan |
less(Expression expr1,
Expression expr2)
Checks that its first sub-expression is less than its second subexpression.
|
PropertyIsLessThan |
less(Expression expr1,
Expression expr2,
boolean matchCase) |
PropertyIsLessThan |
less(Expression expr1,
Expression expr2,
boolean matchCase,
MultiValuedFilter.MatchAction matchAction) |
PropertyIsLessThanOrEqualTo |
lessOrEqual(Expression expr1,
Expression expr2)
Checks that its first sub-expression is less than or equal to its second subexpression.
|
PropertyIsLessThanOrEqualTo |
lessOrEqual(Expression expr1,
Expression expr2,
boolean matchCase) |
PropertyIsLessThanOrEqualTo |
lessOrEqual(Expression expr1,
Expression expr2,
boolean matchCase,
MultiValuedFilter.MatchAction matchAction) |
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.
|
PropertyIsLike |
like(Expression expr,
String pattern,
String wildcard,
String singleChar,
String escape,
boolean matchCase)
Character string comparison operator with pattern matching and specified wildcards.
|
PropertyIsLike |
like(Expression expr,
String pattern,
String wildcard,
String singleChar,
String escape,
boolean matchCase,
MultiValuedFilter.MatchAction matchAction)
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. |
Meets |
meets(Expression expr1,
Expression expr2)
Checks if one expression temporally meets another
|
Meets |
meets(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally meets another
|
MetBy |
metBy(Expression expr1,
Expression expr2)
Checks if one expression is temporally met by another
|
MetBy |
metBy(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally met by another
|
Multiply |
multiply(Expression expr1,
Expression expr2)
Computes the numeric product of their first and second operand.
|
NativeFilter |
nativeFilter(String nativeFilter)
Builds a new native filter, which will should be delegated to the data store.
|
Not |
not(Filter filter)
Java 5 type narrowing used to advertise explicit implementation for chaining
|
PropertyIsNotEqualTo |
notEqual(Expression expr1,
Expression expr2)
Checks that the first sub-expression is not equal to the second subexpression.
|
PropertyIsNotEqualTo |
notEqual(Expression expr1,
Expression expr2,
boolean matchCase)
Checks that the first sub-expression is not equal to the second subexpression.
|
PropertyIsNotEqualTo |
notEqual(Expression expr1,
Expression expr2,
boolean matchCase,
MultiValuedFilter.MatchAction matchAction)
Checks that the first sub-expression is not equal to the second subexpression.
|
Operator |
operator(String name)
operators
|
Or |
or(Filter f,
Filter g)
OR filter between two filters. |
Or |
or(List<Filter> filters)
OR filter between a list of filters. |
OverlappedBy |
overlappedBy(Expression expr1,
Expression expr2)
Checks if one expression is temporally overlapped by another
|
OverlappedBy |
overlappedBy(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally overlapped by another
|
Overlaps |
overlaps(Expression geometry1,
Expression geometry2)
Checks if the interior of the first geometry somewhere overlaps the interior of the second
geometry.
|
Overlaps |
overlaps(Expression geometry1,
Expression geometry2,
MultiValuedFilter.MatchAction matchAction)
Checks if the interior of the first geometry somewhere overlaps the interior of the second
geometry.
|
Overlaps |
overlaps(String propertyName,
Geometry geometry)
Checks if the interior of the first geometry somewhere overlaps the interior of the second
geometry.
|
Overlaps |
overlaps(String propertyName,
Geometry geometry,
MultiValuedFilter.MatchAction matchAction)
Checks if the interior of the first geometry somewhere overlaps the interior of the second
geometry.
|
<T> Parameter<T> |
parameter(String name,
Class<T> type,
InternationalString title,
InternationalString description,
boolean required,
int minOccurs,
int maxOccurs,
T defaultValue)
Creates a parameter of a function.
|
PropertyName |
property(Name name)
Retrieves the value of a feature's property.
|
PropertyName |
property(String name)
Retrieves the value of a feature's property.
|
PropertyName |
property(String name,
NamespaceSupport namespaceContext)
Retrieves the value of a feature's property.
|
ResourceId |
resourceId(String fid,
Date startTime,
Date endTime)
ResourceId for time based query
|
ResourceId |
resourceId(String fid,
String featureVersion,
Version version)
ResouceId for identifier based query
|
ScalarCapabilities |
scalarCapabilities(ComparisonOperators comparison,
ArithmeticOperators arithmetic,
boolean logicalOperators)
scalar capabilities
|
SortBy |
sort(String propertyName,
SortOrder order)
Indicates an property by which contents should be sorted, along with intended order.
|
SpatialCapabilities |
spatialCapabilities(GeometryOperand[] geometryOperands,
SpatialOperators spatial)
spatial capabilities
|
SpatialOperator |
spatialOperator(String name,
GeometryOperand[] geometryOperands)
spatial operator
|
SpatialOperators |
spatialOperators(SpatialOperator[] spatialOperators)
spatial operators
|
Subtract |
subtract(Expression expr1,
Expression expr2)
Computes the numeric difference between the first and second operand.
|
TContains |
tcontains(Expression expr1,
Expression expr2)
Checks if one expression temporally contains another
|
TContains |
tcontains(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally contains another
|
TemporalCapabilities |
temporalCapabilities(TemporalOperator[] temporalOperators)
temporal capabilities
|
TemporalOperator |
temporalOperator(String name)
temporal operator
|
TEquals |
tequals(Expression expr1,
Expression expr2)
Checks if one expression temporally equals another
|
TEquals |
tequals(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally equals another
|
Touches |
touches(Expression geometry1,
Expression geometry2)
Checks if the feature's geometry touches, but does not overlap with the geometry held by this
object.
|
Touches |
touches(Expression geometry1,
Expression geometry2,
MultiValuedFilter.MatchAction matchAction)
Checks if the feature's geometry touches, but does not overlap with the geometry held by this
object.
|
Touches |
touches(String propertyName,
Geometry geometry)
Checks if the feature's geometry touches, but does not overlap with the geometry held by this
object.
|
Touches |
touches(String propertyName,
Geometry geometry,
MultiValuedFilter.MatchAction matchAction)
Checks if the feature's geometry touches, but does not overlap with the geometry held by this
object.
|
TOverlaps |
toverlaps(Expression expr1,
Expression expr2)
Checks if one expression temporally overlaps another
|
TOverlaps |
toverlaps(Expression expr1,
Expression expr2,
MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally overlaps another
|
Within |
within(Expression geometry1,
Expression geometry2)
Checks if the feature's geometry is completely contained by the specified constant geometry.
|
Within |
within(Expression geometry1,
Expression geometry2,
MultiValuedFilter.MatchAction matchAction)
Checks if the feature's geometry is completely contained by the specified constant geometry.
|
Within |
within(Expression geometry1,
Geometry geometry2) |
Within |
within(String propertyName,
Geometry geometry)
Checks if the feature's geometry is completely contained by the specified constant geometry.
|
Within |
within(String propertyName,
Geometry geometry,
MultiValuedFilter.MatchAction matchAction)
Checks if the feature's geometry is completely contained by the specified constant geometry.
|
public FilterFactoryImpl()
public FilterFactoryImpl(Hints hints)
public FeatureId featureId(String id)
FilterFactoryfeatureId in interface FilterFactorypublic GmlObjectId gmlObjectId(String id)
FilterFactorygmlObjectId in interface FilterFactorypublic FeatureId featureId(String fid, String featureVersion)
featureId in interface FilterFactorypublic ResourceId resourceId(String fid, String featureVersion, Version version)
resourceId in interface FilterFactorypublic ResourceId resourceId(String fid, Date startTime, Date endTime)
resourceId in interface FilterFactoryfid - feature id, non null;startTime - lower end timestamp of the time range, inclusive, or null only if
end != nullendTime - upper end timestamp of the time range, inclusive, or null only if
start != nullpublic And and(Filter f, Filter g)
FilterFactoryAND filter between two filters.and in interface FilterFactorypublic And and(List<Filter> filters)
FilterFactoryAND filter between a list of filters.and in interface FilterFactorypublic Or or(Filter f, Filter g)
FilterFactoryOR filter between two filters.or in interface FilterFactorypublic Or or(List<Filter> filters)
FilterFactoryOR filter between a list of filters.or in interface FilterFactorypublic Not not(Filter filter)
not in interface FilterFactorypublic Id id(Set<? extends Identifier> id)
FilterFactoryid in interface FilterFactorypublic Id id(FeatureId... fids)
id in interface FilterFactory2public PropertyName property(String name)
FilterFactoryproperty in interface FilterFactorypublic PropertyIsBetween between(Expression expr, Expression lower, Expression upper)
FilterFactorybetween in interface FilterFactorypublic PropertyIsBetween between(Expression expr, Expression lower, Expression upper, MultiValuedFilter.MatchAction matchAction)
FilterFactorybetween in interface FilterFactorypublic PropertyIsEqualTo equals(Expression expr1, Expression expr2)
FilterFactoryequals in interface FilterFactorypublic PropertyIsEqualTo equal(Expression expr1, Expression expr2, boolean matchCase)
FilterFactoryequal in interface FilterFactorypublic PropertyIsEqualTo equal(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
FilterFactoryequal in interface FilterFactorypublic PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2)
FilterFactorynotEqual in interface FilterFactorypublic PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2, boolean matchCase)
FilterFactorynotEqual in interface FilterFactoryexpr1 - first expressionexpr2 - second expressionmatchCase - true if the comparison should be case insensitivepublic PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
FilterFactorynotEqual in interface FilterFactoryexpr1 - first expressionexpr2 - second expressionmatchCase - true if the comparison should be case insensitivematchAction - action for multi-valued propertiespublic PropertyIsGreaterThan greater(Expression expr1, Expression expr2)
FilterFactorygreater in interface FilterFactorypublic PropertyIsGreaterThan greater(Expression expr1, Expression expr2, boolean matchCase)
FilterFactorygreater in interface FilterFactoryexpr1 - first expressionexpr2 - second expressionmatchCase - true if the comparison should be case insensitivepublic PropertyIsGreaterThan greater(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
FilterFactorygreater in interface FilterFactoryexpr1 - first expressionexpr2 - second expressionmatchCase - true if the comparison should be case insensitivepublic PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2)
FilterFactorygreaterOrEqual in interface FilterFactorypublic PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2, boolean matchCase)
FilterFactorygreaterOrEqual in interface FilterFactorypublic PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
FilterFactorygreaterOrEqual in interface FilterFactorypublic PropertyIsLessThan less(Expression expr1, Expression expr2)
FilterFactoryless in interface FilterFactorypublic PropertyIsLessThan less(Expression expr1, Expression expr2, boolean matchCase)
less in interface FilterFactorypublic PropertyIsLessThan less(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
less in interface FilterFactorypublic PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2)
FilterFactorylessOrEqual in interface FilterFactorypublic PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2, boolean matchCase)
lessOrEqual in interface FilterFactorypublic PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
lessOrEqual in interface FilterFactorypublic PropertyIsLike like(Expression expr, String pattern)
FilterFactorylike in interface FilterFactorypublic PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape)
FilterFactorylike in interface FilterFactorypublic PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape, boolean matchCase)
FilterFactory2like in interface FilterFactorylike in interface FilterFactory2public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
FilterFactory2like in interface FilterFactorylike in interface FilterFactory2public PropertyIsNull isNull(Expression expr)
isNull in interface FilterFactorypublic PropertyIsNil isNil(Expression expr, Object nilReason)
FilterFactoryisNil in interface FilterFactorypublic BBOX bbox(String propertyName, double minx, double miny, double maxx, double maxy, String srs)
Similar to:
geom().disjoint( geom( bbox )).not()
bbox in interface FilterFactorypropertyName - Name of geometry property (for a PropertyName to access a Feature's
Geometry)minx - Minimum "x" value (for a literal BoundingBox)miny - Minimum "y" value (for a literal BoundingBox)maxx - Maximum "x" value (for a literal BoundingBox)maxy - Maximum "y" value (for a literal BoundingBox)srs - Indicating the CoordinateReferenceSystem to use for a literal BoundingBoxpublic BBOX bbox(Expression geometry, Expression bounds)
bbox in interface FilterFactorypublic BBOX bbox(Expression geometry, Expression bounds, MultiValuedFilter.MatchAction machAction)
bbox in interface FilterFactorypublic BBOX bbox(Expression geometry, BoundingBox bounds)
FilterFactory2This method does not strictly confirm to the the Filter 1.0 specification, you may use it to check expressions other than PropertyName.
bbox in interface FilterFactory2geometry - Expression used to access a Geometry, in order to check for interaction with
boundsbounds - Indicates the bounds to check geometry againstpublic BBOX bbox(Expression geometry, BoundingBox bounds, MultiValuedFilter.MatchAction matchAction)
FilterFactory2This method does not strictly confirm to the the Filter 1.0 specification, you may use it to check expressions other than PropertyName.
bbox in interface FilterFactory2geometry - Expression used to access a Geometry, in order to check for interaction with
boundsbounds - Indicates the bounds to check geometry againstmatchAction - Match Actionpublic BBOX bbox(String propertyName, double minx, double miny, double maxx, double maxy, String srs, MultiValuedFilter.MatchAction matchAction)
FilterFactoryThis method is defined in strict accordance with the Filter 1.0 specification, you may find the FilterFactory2.bbox(Expression, BoundingBox) to be easier to use.
bbox in interface FilterFactorypropertyName - Name of geometry property (for a PropertyName to access a Feature's
Geometry)minx - Minimum "x" value (for a literal BoundingBox)miny - Minimum "y" value (for a literal BoundingBox)maxx - Maximum "x" value (for a literal BoundingBox)maxy - Maximum "y" value (for a literal BoundingBox)srs - Indicating the CoordinateReferenceSystem to use for a literal BoundingBoxpublic BBOX bbox(Expression geometry, double minx, double miny, double maxx, double maxy, String srs)
FilterFactory2bbox in interface FilterFactory2public BBOX bbox(Expression e, double minx, double miny, double maxx, double maxy, String srs, MultiValuedFilter.MatchAction matchAction)
FilterFactory2bbox in interface FilterFactory2public BBOX3D bbox(String propertyName, BoundingBox3D env)
bbox in interface FilterFactorypublic BBOX3D bbox(String propertyName, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)
bbox in interface FilterFactorypublic BBOX3D bbox(Expression geometry, BoundingBox3D env)
FilterFactory2bbox in interface FilterFactory2public BBOX3D bbox(Expression e, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)
FilterFactory2bbox in interface FilterFactory2public Beyond beyond(String propertyName, Geometry geometry, double distance, String units)
FilterFactorybeyond in interface FilterFactorypublic Beyond beyond(String propertyName, Geometry geometry, double distance, String units, MultiValuedFilter.MatchAction matchAction)
FilterFactorybeyond in interface FilterFactorypublic Beyond beyond(Expression geometry1, Expression geometry2, double distance, String units)
FilterFactory2beyond in interface FilterFactory2public Beyond beyond(Expression geometry1, Expression geometry2, double distance, String units, MultiValuedFilter.MatchAction matchAction)
FilterFactory2beyond in interface FilterFactory2public Contains contains(String propertyName, Geometry geometry)
FilterFactorycontains in interface FilterFactorypublic Contains contains(Expression geometry1, Expression geometry2)
FilterFactory2contains in interface FilterFactory2public Contains contains(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2contains in interface FilterFactory2public Contains contains(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactorycontains in interface FilterFactorypublic Crosses crosses(String propertyName, Geometry geometry)
FilterFactorycrosses in interface FilterFactorypublic Crosses crosses(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactorycrosses in interface FilterFactorypublic Crosses crosses(Expression geometry1, Expression geometry2)
FilterFactory2crosses in interface FilterFactory2public Crosses crosses(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2crosses in interface FilterFactory2public Disjoint disjoint(String propertyName, Geometry geometry)
FilterFactorydisjoint in interface FilterFactorypublic Disjoint disjoint(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactorydisjoint in interface FilterFactorypublic Disjoint disjoint(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2disjoint in interface FilterFactory2public Disjoint disjoint(Expression geometry1, Expression geometry2)
FilterFactory2disjoint in interface FilterFactory2public DWithin dwithin(String propertyName, Geometry geometry, double distance, String units)
FilterFactorydwithin in interface FilterFactorypublic DWithin dwithin(String propertyName, Geometry geometry, double distance, String units, MultiValuedFilter.MatchAction matchAction)
FilterFactorydwithin in interface FilterFactorypublic DWithin dwithin(Expression geometry1, Expression geometry2, double distance, String units, MultiValuedFilter.MatchAction matchAction)
FilterFactory2dwithin in interface FilterFactory2public DWithin dwithin(Expression geometry1, Expression geometry2, double distance, String units)
FilterFactory2dwithin in interface FilterFactory2public Equals equals(String propertyName, Geometry geometry)
FilterFactoryequals in interface FilterFactorypublic Equals equals(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactoryequals in interface FilterFactorypublic Equals equal(Expression geometry1, Expression geometry2)
FilterFactory2equal in interface FilterFactory2public Equals equal(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2equal in interface FilterFactory2public Intersects intersects(String propertyName, Geometry geometry)
FilterFactoryintersects in interface FilterFactorypublic Intersects intersects(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactoryintersects in interface FilterFactorypublic Intersects intersects(Expression geometry1, Expression geometry2)
FilterFactory2intersects in interface FilterFactory2public Intersects intersects(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2intersects in interface FilterFactory2public Overlaps overlaps(String propertyName, Geometry geometry)
FilterFactoryoverlaps in interface FilterFactorypublic Overlaps overlaps(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactoryoverlaps in interface FilterFactorypublic Overlaps overlaps(Expression geometry1, Expression geometry2)
FilterFactory2overlaps in interface FilterFactory2public Overlaps overlaps(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2overlaps in interface FilterFactory2public Touches touches(String propertyName, Geometry geometry)
FilterFactorytouches in interface FilterFactorypublic Touches touches(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactorytouches in interface FilterFactorypublic Touches touches(Expression geometry1, Expression geometry2)
FilterFactory2touches in interface FilterFactory2public Touches touches(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2touches in interface FilterFactory2public Within within(String propertyName, Geometry geometry)
FilterFactorywithin in interface FilterFactorypublic Within within(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactorywithin in interface FilterFactorypublic Within within(Expression geometry1, Expression geometry2)
FilterFactory2within in interface FilterFactory2public Within within(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2within in interface FilterFactory2public Add add(Expression expr1, Expression expr2)
FilterFactoryadd in interface FilterFactorypublic Divide divide(Expression expr1, Expression expr2)
FilterFactorydivide in interface FilterFactorypublic Multiply multiply(Expression expr1, Expression expr2)
FilterFactorymultiply in interface FilterFactorypublic Subtract subtract(Expression expr1, Expression expr2)
FilterFactorysubtract in interface FilterFactorypublic Function function(String name, Expression[] args)
FilterFactoryfunction in interface FilterFactorypublic Function function(Name name, Expression... args)
FilterFactoryfunction in interface FilterFactorypublic Function function(String name, Expression arg1)
public Function function(String name, Expression arg1, Expression arg2)
public Function function(String name, Expression arg1, Expression arg2, Expression arg3)
public Literal literal(Object obj)
FilterFactoryliteral in interface FilterFactorypublic Literal literal(byte b)
FilterFactoryByte value that can be used in expressions.literal in interface FilterFactorypublic Literal literal(short s)
FilterFactoryShort value that can be used in expressions.literal in interface FilterFactorypublic Literal literal(int i)
FilterFactoryInteger value that can be used in expressions.literal in interface FilterFactorypublic Literal literal(long l)
FilterFactoryLong value that can be used in expressions.literal in interface FilterFactorypublic Literal literal(float f)
FilterFactoryFloat value that can be used in expressions.literal in interface FilterFactorypublic Literal literal(double d)
FilterFactoryDouble value that can be used in expressions.literal in interface FilterFactorypublic Literal literal(char c)
FilterFactoryCharacter value that can be used in expressions.literal in interface FilterFactorypublic Literal literal(boolean b)
FilterFactoryBoolean value that can be used in expressions.literal in interface FilterFactorypublic Map<RenderingHints.Key,?> getImplementationHints()
FactoryThe primary purpose of this method is to determine if an existing factory
instance can be reused for a set of user-supplied hints. This method is invoked by FactoryRegistry in order to compare this factory's hints against user's hints. This is
dependency introspection only; FactoryRegistry never invokes this
method for creating new factories.
Keys are usually static constants from the Hints class, while values are instances
of some key-dependent class. The key set must contains at least all
hints impacting functionality. While the key set may contains all hints supplied by the user,
it is recommended to limit the set to only the hints used by this particular factory
instance. A minimal set will helps FactoryRegistry to compare only hints that matter
and avoid the creation of unnecessary instances of this factory.
The hint values may be different than the one supplied by the user. If a user supplied a
hint as a Class object, this method shall replace it by the actual instance used, if
possible.
Implementations of this method are usually quite simple. For example if a datum authority factory uses an ordinary datum factory, its method could be implemented as below (note that we should not check if the datum factory is null, since key with null value is the expected behaviour in this case). Example:
Map hints = new HashMap();
hints.put(Hints.DATUM_FACTORY, datumFactory);
return hints;
getImplementationHints in interface Factorypublic SortBy sort(String propertyName, SortOrder order)
FilterFactorysort in interface FilterFactorypublic After after(Expression expr1, Expression expr2)
FilterFactoryafter in interface FilterFactorypublic After after(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactoryafter in interface FilterFactorypublic AnyInteracts anyInteracts(Expression expr1, Expression expr2)
FilterFactoryanyInteracts in interface FilterFactorypublic AnyInteracts anyInteracts(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactoryanyInteracts in interface FilterFactorypublic Before before(Expression expr1, Expression expr2)
FilterFactorybefore in interface FilterFactorypublic Before before(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactorybefore in interface FilterFactorypublic Begins begins(Expression expr1, Expression expr2)
FilterFactorybegins in interface FilterFactorypublic Begins begins(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactorybegins in interface FilterFactorypublic BegunBy begunBy(Expression expr1, Expression expr2)
FilterFactorybegunBy in interface FilterFactorypublic BegunBy begunBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactorybegunBy in interface FilterFactorypublic During during(Expression expr1, Expression expr2)
FilterFactoryduring in interface FilterFactorypublic During during(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactoryduring in interface FilterFactorypublic EndedBy endedBy(Expression expr1, Expression expr2)
FilterFactoryendedBy in interface FilterFactorypublic EndedBy endedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactoryendedBy in interface FilterFactorypublic Ends ends(Expression expr1, Expression expr2)
FilterFactoryends in interface FilterFactorypublic Ends ends(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactoryends in interface FilterFactorypublic Meets meets(Expression expr1, Expression expr2)
FilterFactorymeets in interface FilterFactorypublic Meets meets(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactorymeets in interface FilterFactorypublic MetBy metBy(Expression expr1, Expression expr2)
FilterFactorymetBy in interface FilterFactorypublic MetBy metBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactorymetBy in interface FilterFactorypublic OverlappedBy overlappedBy(Expression expr1, Expression expr2)
FilterFactoryoverlappedBy in interface FilterFactorypublic OverlappedBy overlappedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactoryoverlappedBy in interface FilterFactorypublic TContains tcontains(Expression expr1, Expression expr2)
FilterFactorytcontains in interface FilterFactorypublic TContains tcontains(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactorytcontains in interface FilterFactorypublic TEquals tequals(Expression expr1, Expression expr2)
FilterFactorytequals in interface FilterFactorypublic TEquals tequals(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactorytequals in interface FilterFactorypublic TOverlaps toverlaps(Expression expr1, Expression expr2)
FilterFactorytoverlaps in interface FilterFactorypublic TOverlaps toverlaps(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactorytoverlaps in interface FilterFactorypublic Beyond beyond(Expression geometry1, Geometry geometry2, double distance, String units)
public PropertyName property(Name name)
FilterFactory2property in interface FilterFactory2name - Name of attribute referencedpublic PropertyName property(String name, NamespaceSupport namespaceContext)
FilterFactory2property in interface FilterFactory2name - XPath expression (subject to the restrictions of filter specificaiton)namespaceContext - Used to interpret any namespace prefixs in above xpath expressionpublic Within within(Expression geometry1, Geometry geometry2)
public Operator operator(String name)
FilterFactoryoperator in interface FilterFactorypublic SpatialOperator spatialOperator(String name, GeometryOperand[] geometryOperands)
FilterFactoryspatialOperator in interface FilterFactorypublic TemporalOperator temporalOperator(String name)
FilterFactorytemporalOperator in interface FilterFactorypublic <T> Parameter<T> parameter(String name, Class<T> type, InternationalString title, InternationalString description, boolean required, int minOccurs, int maxOccurs, T defaultValue)
FilterFactory2parameter in interface FilterFactory2name - Parameter nametype - Parameter type/classtitle - Human readable title of the parameterdescription - Extended description of the parameterrequired - Flag indicating if the parameter is required or notminOccurs - The minimum number of occurrences of the parametermaxOccurs - The maximum number of occurrences of the parameterdefaultValue - Default value for the parameterpublic FunctionName functionName(String name, int nargs)
FilterFactoryfunctionName in interface FilterFactorypublic FunctionName functionName(Name name, int nargs)
FilterFactoryfunctionName in interface FilterFactorypublic FunctionName functionName(String name, int nargs, List<String> argNames)
FilterFactory2functionName in interface FilterFactory2name - name of functionnargs - number of arguments, use a negative number to indicate a minimum if the function
supports an open ended number of argumentsargNames - Optional list of argument namespublic FunctionName functionName(Name name, int nargs, List<String> argNames)
FilterFactory2functionName in interface FilterFactory2name - qualified name of functionnargs - number of arguments, use a negative number to indicate a minimum if the function
supports an open ended number of argumentsargNames - Optional list of argument namespublic FunctionName functionName(String name, List<Parameter<?>> args, Parameter<?> ret)
FilterFactory2functionName in interface FilterFactory2name - name of functionargs - Parameters describing function arguments.ret - Parameter describing function return.public FunctionName functionName(Name name, List<Parameter<?>> args, Parameter<?> ret)
FilterFactory2functionName in interface FilterFactory2name - qualified name of functionargs - Parameters describing function arguments.ret - Parameter describing function return.public Functions functions(FunctionName[] functionNames)
FilterFactoryfunctions in interface FilterFactorypublic SpatialOperators spatialOperators(SpatialOperator[] spatialOperators)
FilterFactoryspatialOperators in interface FilterFactorypublic ArithmeticOperators arithmeticOperators(boolean simple, Functions functions)
FilterFactoryarithmeticOperators in interface FilterFactorypublic ComparisonOperators comparisonOperators(Operator[] comparisonOperators)
FilterFactorycomparisonOperators in interface FilterFactorypublic FilterCapabilities capabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id)
FilterFactorycapabilities in interface FilterFactorypublic FilterCapabilities capabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id, TemporalCapabilities temporal)
FilterFactorycapabilities in interface FilterFactorypublic ScalarCapabilities scalarCapabilities(ComparisonOperators comparison, ArithmeticOperators arithmetic, boolean logicalOperators)
FilterFactoryscalarCapabilities in interface FilterFactorypublic SpatialCapabilities spatialCapabilities(GeometryOperand[] geometryOperands, SpatialOperators spatial)
FilterFactoryspatialCapabilities in interface FilterFactorypublic IdCapabilities idCapabilities(boolean eid, boolean fid)
FilterFactoryidCapabilities in interface FilterFactorypublic TemporalCapabilities temporalCapabilities(TemporalOperator[] temporalOperators)
FilterFactorytemporalCapabilities in interface FilterFactorypublic NativeFilter nativeFilter(String nativeFilter)
FilterFactory2nativeFilter in interface FilterFactory2nativeFilter - the native filterCopyright © 1996–2021 Geotools. All rights reserved.