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)
FilterFactory
featureId
in interface FilterFactory
public GmlObjectId gmlObjectId(String id)
FilterFactory
gmlObjectId
in interface FilterFactory
public FeatureId featureId(String fid, String featureVersion)
featureId
in interface FilterFactory
public ResourceId resourceId(String fid, String featureVersion, Version version)
resourceId
in interface FilterFactory
public ResourceId resourceId(String fid, Date startTime, Date endTime)
resourceId
in interface FilterFactory
fid
- feature id, non null;startTime
- lower end timestamp of the time range, inclusive, or null
only if
end != null
endTime
- upper end timestamp of the time range, inclusive, or null
only if
start != null
public And and(Filter f, Filter g)
FilterFactory
AND
filter between two filters.and
in interface FilterFactory
public And and(List<Filter> filters)
FilterFactory
AND
filter between a list of filters.and
in interface FilterFactory
public Or or(Filter f, Filter g)
FilterFactory
OR
filter between two filters.or
in interface FilterFactory
public Or or(List<Filter> filters)
FilterFactory
OR
filter between a list of filters.or
in interface FilterFactory
public Not not(Filter filter)
not
in interface FilterFactory
public Id id(Set<? extends Identifier> id)
FilterFactory
id
in interface FilterFactory
public Id id(FeatureId... fids)
id
in interface FilterFactory2
public PropertyName property(String name)
FilterFactory
property
in interface FilterFactory
public PropertyIsBetween between(Expression expr, Expression lower, Expression upper)
FilterFactory
between
in interface FilterFactory
public PropertyIsBetween between(Expression expr, Expression lower, Expression upper, MultiValuedFilter.MatchAction matchAction)
FilterFactory
between
in interface FilterFactory
public PropertyIsEqualTo equals(Expression expr1, Expression expr2)
FilterFactory
equals
in interface FilterFactory
public PropertyIsEqualTo equal(Expression expr1, Expression expr2, boolean matchCase)
FilterFactory
equal
in interface FilterFactory
public PropertyIsEqualTo equal(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
FilterFactory
equal
in interface FilterFactory
public PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2)
FilterFactory
notEqual
in interface FilterFactory
public PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2, boolean matchCase)
FilterFactory
notEqual
in interface FilterFactory
expr1
- first expressionexpr2
- second expressionmatchCase
- true if the comparison should be case insensitivepublic PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
FilterFactory
notEqual
in interface FilterFactory
expr1
- first expressionexpr2
- second expressionmatchCase
- true if the comparison should be case insensitivematchAction
- action for multi-valued propertiespublic PropertyIsGreaterThan greater(Expression expr1, Expression expr2)
FilterFactory
greater
in interface FilterFactory
public PropertyIsGreaterThan greater(Expression expr1, Expression expr2, boolean matchCase)
FilterFactory
greater
in interface FilterFactory
expr1
- first expressionexpr2
- second expressionmatchCase
- true if the comparison should be case insensitivepublic PropertyIsGreaterThan greater(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
FilterFactory
greater
in interface FilterFactory
expr1
- first expressionexpr2
- second expressionmatchCase
- true if the comparison should be case insensitivepublic PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2)
FilterFactory
greaterOrEqual
in interface FilterFactory
public PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2, boolean matchCase)
FilterFactory
greaterOrEqual
in interface FilterFactory
public PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
FilterFactory
greaterOrEqual
in interface FilterFactory
public PropertyIsLessThan less(Expression expr1, Expression expr2)
FilterFactory
less
in interface FilterFactory
public PropertyIsLessThan less(Expression expr1, Expression expr2, boolean matchCase)
less
in interface FilterFactory
public PropertyIsLessThan less(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
less
in interface FilterFactory
public PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2)
FilterFactory
lessOrEqual
in interface FilterFactory
public PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2, boolean matchCase)
lessOrEqual
in interface FilterFactory
public PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
lessOrEqual
in interface FilterFactory
public PropertyIsLike like(Expression expr, String pattern)
FilterFactory
like
in interface FilterFactory
public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape)
FilterFactory
like
in interface FilterFactory
public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape, boolean matchCase)
FilterFactory2
like
in interface FilterFactory
like
in interface FilterFactory2
public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
like
in interface FilterFactory
like
in interface FilterFactory2
public PropertyIsNull isNull(Expression expr)
isNull
in interface FilterFactory
public PropertyIsNil isNil(Expression expr, Object nilReason)
FilterFactory
isNil
in interface FilterFactory
public BBOX bbox(String propertyName, double minx, double miny, double maxx, double maxy, String srs)
Similar to:
geom().disjoint( geom( bbox )).not()
bbox
in interface FilterFactory
propertyName
- 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 FilterFactory
public BBOX bbox(Expression geometry, Expression bounds, MultiValuedFilter.MatchAction machAction)
bbox
in interface FilterFactory
public BBOX bbox(Expression geometry, BoundingBox bounds)
FilterFactory2
This 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 FilterFactory2
geometry
- 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)
FilterFactory2
This 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 FilterFactory2
geometry
- 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)
FilterFactory
This 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 FilterFactory
propertyName
- 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)
FilterFactory2
bbox
in interface FilterFactory2
public BBOX bbox(Expression e, double minx, double miny, double maxx, double maxy, String srs, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
bbox
in interface FilterFactory2
public BBOX3D bbox(String propertyName, BoundingBox3D env)
bbox
in interface FilterFactory
public BBOX3D bbox(String propertyName, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)
bbox
in interface FilterFactory
public BBOX3D bbox(Expression geometry, BoundingBox3D env)
FilterFactory2
bbox
in interface FilterFactory2
public BBOX3D bbox(Expression e, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
bbox
in interface FilterFactory2
public Beyond beyond(String propertyName, Geometry geometry, double distance, String units)
FilterFactory
beyond
in interface FilterFactory
public Beyond beyond(String propertyName, Geometry geometry, double distance, String units, MultiValuedFilter.MatchAction matchAction)
FilterFactory
beyond
in interface FilterFactory
public Beyond beyond(Expression geometry1, Expression geometry2, double distance, String units)
FilterFactory2
beyond
in interface FilterFactory2
public Beyond beyond(Expression geometry1, Expression geometry2, double distance, String units, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
beyond
in interface FilterFactory2
public Contains contains(String propertyName, Geometry geometry)
FilterFactory
contains
in interface FilterFactory
public Contains contains(Expression geometry1, Expression geometry2)
FilterFactory2
contains
in interface FilterFactory2
public Contains contains(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
contains
in interface FilterFactory2
public Contains contains(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactory
contains
in interface FilterFactory
public Crosses crosses(String propertyName, Geometry geometry)
FilterFactory
crosses
in interface FilterFactory
public Crosses crosses(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactory
crosses
in interface FilterFactory
public Crosses crosses(Expression geometry1, Expression geometry2)
FilterFactory2
crosses
in interface FilterFactory2
public Crosses crosses(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
crosses
in interface FilterFactory2
public Disjoint disjoint(String propertyName, Geometry geometry)
FilterFactory
disjoint
in interface FilterFactory
public Disjoint disjoint(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactory
disjoint
in interface FilterFactory
public Disjoint disjoint(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
disjoint
in interface FilterFactory2
public Disjoint disjoint(Expression geometry1, Expression geometry2)
FilterFactory2
disjoint
in interface FilterFactory2
public DWithin dwithin(String propertyName, Geometry geometry, double distance, String units)
FilterFactory
dwithin
in interface FilterFactory
public DWithin dwithin(String propertyName, Geometry geometry, double distance, String units, MultiValuedFilter.MatchAction matchAction)
FilterFactory
dwithin
in interface FilterFactory
public DWithin dwithin(Expression geometry1, Expression geometry2, double distance, String units, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
dwithin
in interface FilterFactory2
public DWithin dwithin(Expression geometry1, Expression geometry2, double distance, String units)
FilterFactory2
dwithin
in interface FilterFactory2
public Equals equals(String propertyName, Geometry geometry)
FilterFactory
equals
in interface FilterFactory
public Equals equals(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactory
equals
in interface FilterFactory
public Equals equal(Expression geometry1, Expression geometry2)
FilterFactory2
equal
in interface FilterFactory2
public Equals equal(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
equal
in interface FilterFactory2
public Intersects intersects(String propertyName, Geometry geometry)
FilterFactory
intersects
in interface FilterFactory
public Intersects intersects(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactory
intersects
in interface FilterFactory
public Intersects intersects(Expression geometry1, Expression geometry2)
FilterFactory2
intersects
in interface FilterFactory2
public Intersects intersects(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
intersects
in interface FilterFactory2
public Overlaps overlaps(String propertyName, Geometry geometry)
FilterFactory
overlaps
in interface FilterFactory
public Overlaps overlaps(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactory
overlaps
in interface FilterFactory
public Overlaps overlaps(Expression geometry1, Expression geometry2)
FilterFactory2
overlaps
in interface FilterFactory2
public Overlaps overlaps(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
overlaps
in interface FilterFactory2
public Touches touches(String propertyName, Geometry geometry)
FilterFactory
touches
in interface FilterFactory
public Touches touches(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactory
touches
in interface FilterFactory
public Touches touches(Expression geometry1, Expression geometry2)
FilterFactory2
touches
in interface FilterFactory2
public Touches touches(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
touches
in interface FilterFactory2
public Within within(String propertyName, Geometry geometry)
FilterFactory
within
in interface FilterFactory
public Within within(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
FilterFactory
within
in interface FilterFactory
public Within within(Expression geometry1, Expression geometry2)
FilterFactory2
within
in interface FilterFactory2
public Within within(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
FilterFactory2
within
in interface FilterFactory2
public Add add(Expression expr1, Expression expr2)
FilterFactory
add
in interface FilterFactory
public Divide divide(Expression expr1, Expression expr2)
FilterFactory
divide
in interface FilterFactory
public Multiply multiply(Expression expr1, Expression expr2)
FilterFactory
multiply
in interface FilterFactory
public Subtract subtract(Expression expr1, Expression expr2)
FilterFactory
subtract
in interface FilterFactory
public Function function(String name, Expression[] args)
FilterFactory
function
in interface FilterFactory
public Function function(Name name, Expression... args)
FilterFactory
function
in interface FilterFactory
public 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)
FilterFactory
literal
in interface FilterFactory
public Literal literal(byte b)
FilterFactory
Byte
value that can be used in expressions.literal
in interface FilterFactory
public Literal literal(short s)
FilterFactory
Short
value that can be used in expressions.literal
in interface FilterFactory
public Literal literal(int i)
FilterFactory
Integer
value that can be used in expressions.literal
in interface FilterFactory
public Literal literal(long l)
FilterFactory
Long
value that can be used in expressions.literal
in interface FilterFactory
public Literal literal(float f)
FilterFactory
Float
value that can be used in expressions.literal
in interface FilterFactory
public Literal literal(double d)
FilterFactory
Double
value that can be used in expressions.literal
in interface FilterFactory
public Literal literal(char c)
FilterFactory
Character
value that can be used in expressions.literal
in interface FilterFactory
public Literal literal(boolean b)
FilterFactory
Boolean
value that can be used in expressions.literal
in interface FilterFactory
public Map<RenderingHints.Key,?> getImplementationHints()
Factory
The 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 Factory
public SortBy sort(String propertyName, SortOrder order)
FilterFactory
sort
in interface FilterFactory
public After after(Expression expr1, Expression expr2)
FilterFactory
after
in interface FilterFactory
public After after(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
after
in interface FilterFactory
public AnyInteracts anyInteracts(Expression expr1, Expression expr2)
FilterFactory
anyInteracts
in interface FilterFactory
public AnyInteracts anyInteracts(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
anyInteracts
in interface FilterFactory
public Before before(Expression expr1, Expression expr2)
FilterFactory
before
in interface FilterFactory
public Before before(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
before
in interface FilterFactory
public Begins begins(Expression expr1, Expression expr2)
FilterFactory
begins
in interface FilterFactory
public Begins begins(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
begins
in interface FilterFactory
public BegunBy begunBy(Expression expr1, Expression expr2)
FilterFactory
begunBy
in interface FilterFactory
public BegunBy begunBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
begunBy
in interface FilterFactory
public During during(Expression expr1, Expression expr2)
FilterFactory
during
in interface FilterFactory
public During during(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
during
in interface FilterFactory
public EndedBy endedBy(Expression expr1, Expression expr2)
FilterFactory
endedBy
in interface FilterFactory
public EndedBy endedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
endedBy
in interface FilterFactory
public Ends ends(Expression expr1, Expression expr2)
FilterFactory
ends
in interface FilterFactory
public Ends ends(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
ends
in interface FilterFactory
public Meets meets(Expression expr1, Expression expr2)
FilterFactory
meets
in interface FilterFactory
public Meets meets(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
meets
in interface FilterFactory
public MetBy metBy(Expression expr1, Expression expr2)
FilterFactory
metBy
in interface FilterFactory
public MetBy metBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
metBy
in interface FilterFactory
public OverlappedBy overlappedBy(Expression expr1, Expression expr2)
FilterFactory
overlappedBy
in interface FilterFactory
public OverlappedBy overlappedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
overlappedBy
in interface FilterFactory
public TContains tcontains(Expression expr1, Expression expr2)
FilterFactory
tcontains
in interface FilterFactory
public TContains tcontains(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
tcontains
in interface FilterFactory
public TEquals tequals(Expression expr1, Expression expr2)
FilterFactory
tequals
in interface FilterFactory
public TEquals tequals(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
tequals
in interface FilterFactory
public TOverlaps toverlaps(Expression expr1, Expression expr2)
FilterFactory
toverlaps
in interface FilterFactory
public TOverlaps toverlaps(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
FilterFactory
toverlaps
in interface FilterFactory
public Beyond beyond(Expression geometry1, Geometry geometry2, double distance, String units)
public PropertyName property(Name name)
FilterFactory2
property
in interface FilterFactory2
name
- Name of attribute referencedpublic PropertyName property(String name, NamespaceSupport namespaceContext)
FilterFactory2
property
in interface FilterFactory2
name
- 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)
FilterFactory
operator
in interface FilterFactory
public SpatialOperator spatialOperator(String name, GeometryOperand[] geometryOperands)
FilterFactory
spatialOperator
in interface FilterFactory
public TemporalOperator temporalOperator(String name)
FilterFactory
temporalOperator
in interface FilterFactory
public <T> Parameter<T> parameter(String name, Class<T> type, InternationalString title, InternationalString description, boolean required, int minOccurs, int maxOccurs, T defaultValue)
FilterFactory2
parameter
in interface FilterFactory2
name
- 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)
FilterFactory
functionName
in interface FilterFactory
public FunctionName functionName(Name name, int nargs)
FilterFactory
functionName
in interface FilterFactory
public FunctionName functionName(String name, int nargs, List<String> argNames)
FilterFactory2
functionName
in interface FilterFactory2
name
- 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)
FilterFactory2
functionName
in interface FilterFactory2
name
- 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)
FilterFactory2
functionName
in interface FilterFactory2
name
- name of functionargs
- Parameters describing function arguments.ret
- Parameter describing function return.public FunctionName functionName(Name name, List<Parameter<?>> args, Parameter<?> ret)
FilterFactory2
functionName
in interface FilterFactory2
name
- qualified name of functionargs
- Parameters describing function arguments.ret
- Parameter describing function return.public Functions functions(FunctionName[] functionNames)
FilterFactory
functions
in interface FilterFactory
public SpatialOperators spatialOperators(SpatialOperator[] spatialOperators)
FilterFactory
spatialOperators
in interface FilterFactory
public ArithmeticOperators arithmeticOperators(boolean simple, Functions functions)
FilterFactory
arithmeticOperators
in interface FilterFactory
public ComparisonOperators comparisonOperators(Operator[] comparisonOperators)
FilterFactory
comparisonOperators
in interface FilterFactory
public FilterCapabilities capabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id)
FilterFactory
capabilities
in interface FilterFactory
public FilterCapabilities capabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id, TemporalCapabilities temporal)
FilterFactory
capabilities
in interface FilterFactory
public ScalarCapabilities scalarCapabilities(ComparisonOperators comparison, ArithmeticOperators arithmetic, boolean logicalOperators)
FilterFactory
scalarCapabilities
in interface FilterFactory
public SpatialCapabilities spatialCapabilities(GeometryOperand[] geometryOperands, SpatialOperators spatial)
FilterFactory
spatialCapabilities
in interface FilterFactory
public IdCapabilities idCapabilities(boolean eid, boolean fid)
FilterFactory
idCapabilities
in interface FilterFactory
public TemporalCapabilities temporalCapabilities(TemporalOperator[] temporalOperators)
FilterFactory
temporalCapabilities
in interface FilterFactory
public NativeFilter nativeFilter(String nativeFilter)
FilterFactory2
nativeFilter
in interface FilterFactory2
nativeFilter
- the native filterCopyright © 1996–2023 Geotools. All rights reserved.