Class FilterFactoryImpl
- Object
-
- FilterFactoryImpl
-
- All Implemented Interfaces:
FilterFactory
,Factory
- Direct Known Subclasses:
FilterFactoryImplNamespaceAware
,FilterFactoryImplReportInvalidProperty
,ParameterCQLExpressionFilterFactoryImpl
public class FilterFactoryImpl extends Object implements Factory, FilterFactory
Implementation of the FilterFactory, generates the filter implementations in defaultcore.- Author:
- Ian Turton, CCG
-
-
Constructor Summary
Constructors Constructor Description FilterFactoryImpl()
Creates a new instance of FilterFactoryImplFilterFactoryImpl(Hints hints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 anotherAfter
after(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally after anotherAnd
and(List<Filter> filters)
AND
filter between a list of filters.And
and(Filter f, Filter g)
AND
filter between two filters.AnyInteracts
anyInteracts(Expression expr1, Expression expr2)
Checks if one expression temporally interacts in any way with anotherAnyInteracts
anyInteracts(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally interacts in any way with anotherArithmeticOperators
arithmeticOperators(boolean simple, Functions functions)
arithmetic operatorsBBOX
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.BBOX3D
bbox(String propertyName, BoundingBox3D env)
BBOX3D
bbox(String propertyName, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)
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)
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.Before
before(Expression expr1, Expression expr2)
Checks if one expression is temporally before anotherBefore
before(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally before anotherBegins
begins(Expression expr1, Expression expr2)
Checks if one expression temporally begins anotherBegins
begins(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally begins anotherBegunBy
begunBy(Expression expr1, Expression expr2)
Checks if one expression is temporally begun by anotherBegunBy
begunBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally begun by anotherPropertyIsBetween
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(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.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)
FilterCapabilities
capabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id)
filter capabilitiesFilterCapabilities
capabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id, TemporalCapabilities temporal)
filter capabilitiesComparisonOperators
comparisonOperators(Operator[] comparisonOperators)
comparison operatorsContains
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.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.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.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.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.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.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 anotherDuring
during(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally during anotherDWithin
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.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.EndedBy
endedBy(Expression expr1, Expression expr2)
Checks if one expression is temporally ended by anotherEndedBy
endedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally ended by anotherEnds
ends(Expression expr1, Expression expr2)
Checks if one expression temporally ends by anotherEnds
ends(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally ends by anotherEquals
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 otherPropertyIsEqualTo
equal(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
Compares that two sub-expressions are equal to eacher otherEquals
equal(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Checks if the geometry of the two operands are equal.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.PropertyIsEqualTo
equals(Expression expr1, Expression expr2)
Compares that two sub-expressions are equal to each other.FeatureId
featureId(String id)
Creates a new feautre id from a stringFeatureId
featureId(String fid, String featureVersion)
Creates a new feature id with version informationFunction
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)
Function
function(Name name, Expression... args)
Call into some implementation-specific function.FunctionName
functionName(String name, int nargs)
function nameFunctionName
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.FunctionName
functionName(Name name, int nargs)
function nameFunctionName
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.Functions
functions(FunctionName[] functionNames)
functionsMap<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 stringPropertyIsGreaterThan
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(Set<? extends Identifier> id)
Passes only for objects that have one of the IDs given to this object.Id
id(FeatureId... fids)
IdCapabilities
idCapabilities(boolean eid, boolean fid)
id capabilitiesIntersects
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.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.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 chainingPropertyIsLessThan
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, literalBoolean
value that can be used in expressions.Literal
literal(byte b)
A constant, literalByte
value that can be used in expressions.Literal
literal(char c)
A constant, literalCharacter
value that can be used in expressions.Literal
literal(double d)
A constant, literalDouble
value that can be used in expressions.Literal
literal(float f)
A constant, literalFloat
value that can be used in expressions.Literal
literal(int i)
A constant, literalInteger
value that can be used in expressions.Literal
literal(long l)
A constant, literalLong
value that can be used in expressions.Literal
literal(short s)
A constant, literalShort
value that can be used in expressions.Literal
literal(Object obj)
A constant, literal value that can be used in expressions.Meets
meets(Expression expr1, Expression expr2)
Checks if one expression temporally meets anotherMeets
meets(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally meets anotherMetBy
metBy(Expression expr1, Expression expr2)
Checks if one expression is temporally met by anotherMetBy
metBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally met by anotherMultiply
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 chainingPropertyIsNotEqualTo
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)
operatorsOr
or(List<Filter> filters)
OR
filter between a list of filters.Or
or(Filter f, Filter g)
OR
filter between two filters.OverlappedBy
overlappedBy(Expression expr1, Expression expr2)
Checks if one expression is temporally overlapped by anotherOverlappedBy
overlappedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression is temporally overlapped by anotherOverlaps
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.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.<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(String name)
Retrieves the value of a feature's property.PropertyName
property(String name, NamespaceSupport namespaceContext)
Retrieves the value of a feature's property.PropertyName
property(Name name)
Retrieves the value of a feature's property.ResourceId
resourceId(String fid, String featureVersion, Version version)
ResouceId for identifier based queryResourceId
resourceId(String fid, Date startTime, Date endTime)
ResourceId for time based queryScalarCapabilities
scalarCapabilities(ComparisonOperators comparison, ArithmeticOperators arithmetic, boolean logicalOperators)
scalar capabilitiesSortBy
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 capabilitiesSpatialOperator
spatialOperator(String name, GeometryOperand[] geometryOperands)
spatial operatorSpatialOperators
spatialOperators(SpatialOperator[] spatialOperators)
spatial operatorsSubtract
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 anotherTContains
tcontains(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally contains anotherTemporalCapabilities
temporalCapabilities(TemporalOperator[] temporalOperators)
temporal capabilitiesTemporalOperator
temporalOperator(String name)
temporal operatorTEquals
tequals(Expression expr1, Expression expr2)
Checks if one expression temporally equals anotherTEquals
tequals(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally equals anotherTouches
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.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.TOverlaps
toverlaps(Expression expr1, Expression expr2)
Checks if one expression temporally overlaps anotherTOverlaps
toverlaps(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Checks if one expression temporally overlaps anotherWithin
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.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)
-
-
-
Constructor Detail
-
FilterFactoryImpl
public FilterFactoryImpl()
Creates a new instance of FilterFactoryImpl
-
FilterFactoryImpl
public FilterFactoryImpl(Hints hints)
-
-
Method Detail
-
featureId
public FeatureId featureId(String id)
Description copied from interface:FilterFactory
Creates a new feautre id from a string- Specified by:
featureId
in interfaceFilterFactory
-
gmlObjectId
public GmlObjectId gmlObjectId(String id)
Description copied from interface:FilterFactory
Creates a new gml object id from a string- Specified by:
gmlObjectId
in interfaceFilterFactory
-
featureId
public FeatureId featureId(String fid, String featureVersion)
Creates a new feature id with version information- Specified by:
featureId
in interfaceFilterFactory
-
resourceId
public ResourceId resourceId(String fid, String featureVersion, Version version)
ResouceId for identifier based query- Specified by:
resourceId
in interfaceFilterFactory
-
resourceId
public ResourceId resourceId(String fid, Date startTime, Date endTime)
ResourceId for time based query- Specified by:
resourceId
in interfaceFilterFactory
- Parameters:
fid
- feature id, non null;startTime
- lower end timestamp of the time range, inclusive, ornull
only ifend != null
endTime
- upper end timestamp of the time range, inclusive, ornull
only ifstart != null
-
and
public And and(Filter f, Filter g)
Description copied from interface:FilterFactory
AND
filter between two filters.- Specified by:
and
in interfaceFilterFactory
-
and
public And and(List<Filter> filters)
Description copied from interface:FilterFactory
AND
filter between a list of filters.- Specified by:
and
in interfaceFilterFactory
-
or
public Or or(Filter f, Filter g)
Description copied from interface:FilterFactory
OR
filter between two filters.- Specified by:
or
in interfaceFilterFactory
-
or
public Or or(List<Filter> filters)
Description copied from interface:FilterFactory
OR
filter between a list of filters.- Specified by:
or
in interfaceFilterFactory
-
not
public Not not(Filter filter)
Java 5 type narrowing used to advertise explicit implementation for chaining- Specified by:
not
in interfaceFilterFactory
-
id
public Id id(Set<? extends Identifier> id)
Description copied from interface:FilterFactory
Passes only for objects that have one of the IDs given to this object.- Specified by:
id
in interfaceFilterFactory
-
id
public Id id(FeatureId... fids)
- Specified by:
id
in interfaceFilterFactory
-
property
public PropertyName property(String name)
Description copied from interface:FilterFactory
Retrieves the value of a feature's property.- Specified by:
property
in interfaceFilterFactory
-
between
public PropertyIsBetween between(Expression expr, Expression lower, Expression upper)
Description copied from interface:FilterFactory
A compact way of encoding a range check.- Specified by:
between
in interfaceFilterFactory
-
between
public PropertyIsBetween between(Expression expr, Expression lower, Expression upper, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
A compact way of encoding a range check.- Specified by:
between
in interfaceFilterFactory
-
equals
public PropertyIsEqualTo equals(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Compares that two sub-expressions are equal to each other.- Specified by:
equals
in interfaceFilterFactory
-
equal
public PropertyIsEqualTo equal(Expression expr1, Expression expr2, boolean matchCase)
Description copied from interface:FilterFactory
Compares that two sub-expressions are equal to eacher other- Specified by:
equal
in interfaceFilterFactory
-
equal
public PropertyIsEqualTo equal(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Compares that two sub-expressions are equal to eacher other- Specified by:
equal
in interfaceFilterFactory
-
notEqual
public PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks that the first sub-expression is not equal to the second subexpression.- Specified by:
notEqual
in interfaceFilterFactory
-
notEqual
public PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2, boolean matchCase)
Description copied from interface:FilterFactory
Checks that the first sub-expression is not equal to the second subexpression.- Specified by:
notEqual
in interfaceFilterFactory
- Parameters:
expr1
- first expressionexpr2
- second expressionmatchCase
- true if the comparison should be case insensitive- Returns:
- evaluates to true of expr1 not equal to expr2
-
notEqual
public PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks that the first sub-expression is not equal to the second subexpression.- Specified by:
notEqual
in interfaceFilterFactory
- Parameters:
expr1
- first expressionexpr2
- second expressionmatchCase
- true if the comparison should be case insensitivematchAction
- action for multi-valued properties- Returns:
- evaluates to true of expr1 not equal to expr2
-
greater
public PropertyIsGreaterThan greater(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks that the first sub-expression is greater than the second subexpression.- Specified by:
greater
in interfaceFilterFactory
-
greater
public PropertyIsGreaterThan greater(Expression expr1, Expression expr2, boolean matchCase)
Description copied from interface:FilterFactory
Checks that the first sub-expression is greater than the second subexpression.- Specified by:
greater
in interfaceFilterFactory
- Parameters:
expr1
- first expressionexpr2
- second expressionmatchCase
- true if the comparison should be case insensitive- Returns:
- evaluates to true of expr1 is greater than expr2
-
greater
public PropertyIsGreaterThan greater(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks that the first sub-expression is greater than the second subexpression.- Specified by:
greater
in interfaceFilterFactory
- Parameters:
expr1
- first expressionexpr2
- second expressionmatchCase
- true if the comparison should be case insensitive- Returns:
- evaluates to true of expr1 is greater than expr2
-
greaterOrEqual
public PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks that the first sub-expression is greater or equal to the second subexpression.- Specified by:
greaterOrEqual
in interfaceFilterFactory
-
greaterOrEqual
public PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2, boolean matchCase)
Description copied from interface:FilterFactory
Checks that the first sub-expression is greater or equal to the second subexpression.- Specified by:
greaterOrEqual
in interfaceFilterFactory
-
greaterOrEqual
public PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks that the first sub-expression is greater or equal to the second subexpression.- Specified by:
greaterOrEqual
in interfaceFilterFactory
-
less
public PropertyIsLessThan less(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks that its first sub-expression is less than its second subexpression.- Specified by:
less
in interfaceFilterFactory
-
less
public PropertyIsLessThan less(Expression expr1, Expression expr2, boolean matchCase)
- Specified by:
less
in interfaceFilterFactory
-
less
public PropertyIsLessThan less(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
- Specified by:
less
in interfaceFilterFactory
-
lessOrEqual
public PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks that its first sub-expression is less than or equal to its second subexpression.- Specified by:
lessOrEqual
in interfaceFilterFactory
-
lessOrEqual
public PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2, boolean matchCase)
- Specified by:
lessOrEqual
in interfaceFilterFactory
-
lessOrEqual
public PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
- Specified by:
lessOrEqual
in interfaceFilterFactory
-
like
public PropertyIsLike like(Expression expr, String pattern)
Description copied from interface:FilterFactory
Character string comparison operator with pattern matching and default wildcards.- Specified by:
like
in interfaceFilterFactory
-
like
public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape)
Description copied from interface:FilterFactory
Character string comparison operator with pattern matching and specified wildcards.- Specified by:
like
in interfaceFilterFactory
-
like
public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape, boolean matchCase)
Description copied from interface:FilterFactory
Character string comparison operator with pattern matching and specified wildcards.- Specified by:
like
in interfaceFilterFactory
-
like
public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Character string comparison operator with pattern matching and specified wildcards.- Specified by:
like
in interfaceFilterFactory
-
isNull
public PropertyIsNull isNull(Expression expr)
XXX Java 5 type narrowing used to make generated class explicit for chaining- Specified by:
isNull
in interfaceFilterFactory
-
isNil
public PropertyIsNil isNil(Expression expr, Object nilReason)
Description copied from interface:FilterFactory
Checks if an expression's value is nil.- Specified by:
isNil
in interfaceFilterFactory
-
bbox
public 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.Similar to:
geom().disjoint( geom( bbox )).not()
- Specified by:
bbox
in interfaceFilterFactory
- Parameters:
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 BoundingBox
-
bbox
public BBOX bbox(Expression geometry, Expression bounds)
- Specified by:
bbox
in interfaceFilterFactory
-
bbox
public BBOX bbox(Expression geometry, Expression bounds, MultiValuedFilter.MatchAction machAction)
- Specified by:
bbox
in interfaceFilterFactory
-
bbox
public BBOX bbox(Expression geometry, BoundingBox bounds)
Description copied from interface:FilterFactory
Checks if the bounding box of the feature's geometry overlaps the indicated bounds.This method does not strictly confirm to the the Filter 1.0 specification, you may use it to check expressions other than PropertyName.
- Specified by:
bbox
in interfaceFilterFactory
- Parameters:
geometry
- Expression used to access a Geometry, in order to check for interaction with boundsbounds
- Indicates the bounds to check geometry against
-
bbox
public BBOX bbox(Expression geometry, BoundingBox bounds, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the bounding box of the feature's geometry overlaps the indicated bounds.This method does not strictly confirm to the the Filter 1.0 specification, you may use it to check expressions other than PropertyName.
- Specified by:
bbox
in interfaceFilterFactory
- Parameters:
geometry
- Expression used to access a Geometry, in order to check for interaction with boundsbounds
- Indicates the bounds to check geometry againstmatchAction
- Match Action
-
bbox
public BBOX bbox(String propertyName, double minx, double miny, double maxx, double maxy, String srs, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the bounding box of the feature's geometry overlaps the indicated bounds.This method is defined in strict accordance with the Filter 1.0 specification, you may find the FilterFactory.bbox(Expression, BoundingBox) to be easier to use.
- Specified by:
bbox
in interfaceFilterFactory
- Parameters:
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 BoundingBox
-
bbox
public BBOX bbox(Expression geometry, double minx, double miny, double maxx, double maxy, String srs)
Description copied from interface:FilterFactory
Checks if the geometry expression overlaps the specified bounding box.- Specified by:
bbox
in interfaceFilterFactory
-
bbox
public BBOX bbox(Expression e, double minx, double miny, double maxx, double maxy, String srs, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the geometry expression overlaps the specified bounding box.- Specified by:
bbox
in interfaceFilterFactory
-
bbox
public BBOX3D bbox(String propertyName, BoundingBox3D env)
- Specified by:
bbox
in interfaceFilterFactory
-
bbox
public BBOX3D bbox(String propertyName, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)
- Specified by:
bbox
in interfaceFilterFactory
-
bbox
public BBOX3D bbox(Expression geometry, BoundingBox3D env)
Description copied from interface:FilterFactory
Checks if the geometry expression overlaps the specified bounding box.- Specified by:
bbox
in interfaceFilterFactory
-
bbox
public BBOX3D bbox(Expression e, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the geometry expression overlaps the specified bounding box.- Specified by:
bbox
in interfaceFilterFactory
-
beyond
public Beyond beyond(String propertyName, Geometry geometry, double distance, String units)
Description copied from interface:FilterFactory
Check if all of a feature's geometry is more distant than the given distance from this object's geometry.- Specified by:
beyond
in interfaceFilterFactory
-
beyond
public Beyond beyond(String propertyName, Geometry geometry, double distance, String units, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Check if all of a feature's geometry is more distant than the given distance from this object's geometry.- Specified by:
beyond
in interfaceFilterFactory
-
beyond
public Beyond beyond(Expression geometry1, Expression geometry2, double distance, String units)
Description copied from interface:FilterFactory
Check if all of a geometry is more distant than the given distance from this object's geometry.- Specified by:
beyond
in interfaceFilterFactory
-
beyond
public Beyond beyond(Expression geometry1, Expression geometry2, double distance, String units, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Check if all of a geometry is more distant than the given distance from this object's geometry.- Specified by:
beyond
in interfaceFilterFactory
-
contains
public Contains contains(String propertyName, Geometry geometry)
Description copied from interface:FilterFactory
Checks if the the first geometric operand contains the second.- Specified by:
contains
in interfaceFilterFactory
-
contains
public Contains contains(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactory
Checks if the the first geometric operand contains the second.- Specified by:
contains
in interfaceFilterFactory
-
contains
public Contains contains(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the the first geometric operand contains the second.- Specified by:
contains
in interfaceFilterFactory
-
contains
public Contains contains(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the the first geometric operand contains the second.- Specified by:
contains
in interfaceFilterFactory
-
crosses
public Crosses crosses(String propertyName, Geometry geometry)
Description copied from interface:FilterFactory
Checks if the first geometric operand crosses the second.- Specified by:
crosses
in interfaceFilterFactory
-
crosses
public Crosses crosses(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the first geometric operand crosses the second.- Specified by:
crosses
in interfaceFilterFactory
-
crosses
public Crosses crosses(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactory
Checks if the first geometric operand crosses the second.- Specified by:
crosses
in interfaceFilterFactory
-
crosses
public Crosses crosses(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the first geometric operand crosses the second.- Specified by:
crosses
in interfaceFilterFactory
-
disjoint
public Disjoint disjoint(String propertyName, Geometry geometry)
Description copied from interface:FilterFactory
Checks if the first operand is disjoint from the second.- Specified by:
disjoint
in interfaceFilterFactory
-
disjoint
public Disjoint disjoint(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the first operand is disjoint from the second.- Specified by:
disjoint
in interfaceFilterFactory
-
disjoint
public Disjoint disjoint(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the first operand is disjoint from the second.- Specified by:
disjoint
in interfaceFilterFactory
-
disjoint
public Disjoint disjoint(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactory
Checks if the first operand is disjoint from the second.- Specified by:
disjoint
in interfaceFilterFactory
-
dwithin
public DWithin dwithin(String propertyName, Geometry geometry, double distance, String units)
Description copied from interface:FilterFactory
Checks if any part of the first geometry lies within the given distance of the second geometry.- Specified by:
dwithin
in interfaceFilterFactory
-
dwithin
public DWithin dwithin(String propertyName, Geometry geometry, double distance, String units, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if any part of the first geometry lies within the given distance of the second geometry.- Specified by:
dwithin
in interfaceFilterFactory
-
dwithin
public DWithin dwithin(Expression geometry1, Expression geometry2, double distance, String units, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if any part of the first geometry lies within the given distance of the second geometry.- Specified by:
dwithin
in interfaceFilterFactory
-
dwithin
public DWithin dwithin(Expression geometry1, Expression geometry2, double distance, String units)
Description copied from interface:FilterFactory
Checks if any part of the first geometry lies within the given distance of the second geometry.- Specified by:
dwithin
in interfaceFilterFactory
-
equals
public Equals equals(String propertyName, Geometry geometry)
Description copied from interface:FilterFactory
Checks if the geometry of the two operands are equal.- Specified by:
equals
in interfaceFilterFactory
-
equals
public Equals equals(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the geometry of the two operands are equal.- Specified by:
equals
in interfaceFilterFactory
-
equal
public Equals equal(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactory
Checks if the geometry of the two operands are equal.- Specified by:
equal
in interfaceFilterFactory
-
equal
public Equals equal(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the geometry of the two operands are equal.- Specified by:
equal
in interfaceFilterFactory
-
intersects
public Intersects intersects(String propertyName, Geometry geometry)
Description copied from interface:FilterFactory
Checks if the two geometric operands intersect.- Specified by:
intersects
in interfaceFilterFactory
-
intersects
public Intersects intersects(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the two geometric operands intersect.- Specified by:
intersects
in interfaceFilterFactory
-
intersects
public Intersects intersects(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactory
Checks if the two geometric operands intersect.- Specified by:
intersects
in interfaceFilterFactory
-
intersects
public Intersects intersects(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the two geometric operands intersect.- Specified by:
intersects
in interfaceFilterFactory
-
overlaps
public Overlaps overlaps(String propertyName, Geometry geometry)
Description copied from interface:FilterFactory
Checks if the interior of the first geometry somewhere overlaps the interior of the second geometry.- Specified by:
overlaps
in interfaceFilterFactory
-
overlaps
public Overlaps overlaps(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the interior of the first geometry somewhere overlaps the interior of the second geometry.- Specified by:
overlaps
in interfaceFilterFactory
-
overlaps
public Overlaps overlaps(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactory
Checks if the interior of the first geometry somewhere overlaps the interior of the second geometry.- Specified by:
overlaps
in interfaceFilterFactory
-
overlaps
public Overlaps overlaps(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the interior of the first geometry somewhere overlaps the interior of the second geometry.- Specified by:
overlaps
in interfaceFilterFactory
-
touches
public Touches touches(String propertyName, Geometry geometry)
Description copied from interface:FilterFactory
Checks if the feature's geometry touches, but does not overlap with the geometry held by this object.- Specified by:
touches
in interfaceFilterFactory
-
touches
public Touches touches(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the feature's geometry touches, but does not overlap with the geometry held by this object.- Specified by:
touches
in interfaceFilterFactory
-
touches
public Touches touches(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactory
Checks if the feature's geometry touches, but does not overlap with the geometry held by this object.- Specified by:
touches
in interfaceFilterFactory
-
touches
public Touches touches(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the feature's geometry touches, but does not overlap with the geometry held by this object.- Specified by:
touches
in interfaceFilterFactory
-
within
public Within within(String propertyName, Geometry geometry)
Description copied from interface:FilterFactory
Checks if the feature's geometry is completely contained by the specified constant geometry.- Specified by:
within
in interfaceFilterFactory
-
within
public Within within(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the feature's geometry is completely contained by the specified constant geometry.- Specified by:
within
in interfaceFilterFactory
-
within
public Within within(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactory
Checks if the feature's geometry is completely contained by the specified constant geometry.- Specified by:
within
in interfaceFilterFactory
-
within
public Within within(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if the feature's geometry is completely contained by the specified constant geometry.- Specified by:
within
in interfaceFilterFactory
-
add
public Add add(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Computes the numeric addition of the first and second operand.- Specified by:
add
in interfaceFilterFactory
-
divide
public Divide divide(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Computes the numeric quotient resulting from dividing the first operand by the second.- Specified by:
divide
in interfaceFilterFactory
-
multiply
public Multiply multiply(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Computes the numeric product of their first and second operand.- Specified by:
multiply
in interfaceFilterFactory
-
subtract
public Subtract subtract(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Computes the numeric difference between the first and second operand.- Specified by:
subtract
in interfaceFilterFactory
-
function
public Function function(String name, Expression[] args)
Description copied from interface:FilterFactory
Call into some implementation-specific function.- Specified by:
function
in interfaceFilterFactory
-
function
public Function function(Name name, Expression... args)
Description copied from interface:FilterFactory
Call into some implementation-specific function.- Specified by:
function
in interfaceFilterFactory
-
function
public Function function(String name, Expression arg1)
-
function
public Function function(String name, Expression arg1, Expression arg2)
-
function
public Function function(String name, Expression arg1, Expression arg2, Expression arg3)
-
literal
public Literal literal(Object obj)
Description copied from interface:FilterFactory
A constant, literal value that can be used in expressions.- Specified by:
literal
in interfaceFilterFactory
-
literal
public Literal literal(byte b)
Description copied from interface:FilterFactory
A constant, literalByte
value that can be used in expressions.- Specified by:
literal
in interfaceFilterFactory
-
literal
public Literal literal(short s)
Description copied from interface:FilterFactory
A constant, literalShort
value that can be used in expressions.- Specified by:
literal
in interfaceFilterFactory
-
literal
public Literal literal(int i)
Description copied from interface:FilterFactory
A constant, literalInteger
value that can be used in expressions.- Specified by:
literal
in interfaceFilterFactory
-
literal
public Literal literal(long l)
Description copied from interface:FilterFactory
A constant, literalLong
value that can be used in expressions.- Specified by:
literal
in interfaceFilterFactory
-
literal
public Literal literal(float f)
Description copied from interface:FilterFactory
A constant, literalFloat
value that can be used in expressions.- Specified by:
literal
in interfaceFilterFactory
-
literal
public Literal literal(double d)
Description copied from interface:FilterFactory
A constant, literalDouble
value that can be used in expressions.- Specified by:
literal
in interfaceFilterFactory
-
literal
public Literal literal(char c)
Description copied from interface:FilterFactory
A constant, literalCharacter
value that can be used in expressions.- Specified by:
literal
in interfaceFilterFactory
-
literal
public Literal literal(boolean b)
Description copied from interface:FilterFactory
A constant, literalBoolean
value that can be used in expressions.- Specified by:
literal
in interfaceFilterFactory
-
getImplementationHints
public Map<RenderingHints.Key,?> getImplementationHints()
Description copied from interface:Factory
Map of hints (maybe unmodifiable) used by this factory to customize its use. This map is not guaranteed to contains all the hints supplied by the user; it may be only a subset. Consequently, hints provided here are usually not suitable for creating new factories, unless the implementation make some additional garantees.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 helpsFactoryRegistry
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;
- Specified by:
getImplementationHints
in interfaceFactory
- Returns:
- The map of hints, or an {@linkplain java.util.Collections.emptyMap() empty map} if none.
-
sort
public SortBy sort(String propertyName, SortOrder order)
Description copied from interface:FilterFactory
Indicates an property by which contents should be sorted, along with intended order.- Specified by:
sort
in interfaceFilterFactory
-
after
public After after(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression is temporally after another- Specified by:
after
in interfaceFilterFactory
-
after
public After after(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression is temporally after another- Specified by:
after
in interfaceFilterFactory
-
anyInteracts
public AnyInteracts anyInteracts(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression temporally interacts in any way with another- Specified by:
anyInteracts
in interfaceFilterFactory
-
anyInteracts
public AnyInteracts anyInteracts(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression temporally interacts in any way with another- Specified by:
anyInteracts
in interfaceFilterFactory
-
before
public Before before(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression is temporally before another- Specified by:
before
in interfaceFilterFactory
-
before
public Before before(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression is temporally before another- Specified by:
before
in interfaceFilterFactory
-
begins
public Begins begins(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression temporally begins another- Specified by:
begins
in interfaceFilterFactory
-
begins
public Begins begins(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression temporally begins another- Specified by:
begins
in interfaceFilterFactory
-
begunBy
public BegunBy begunBy(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression is temporally begun by another- Specified by:
begunBy
in interfaceFilterFactory
-
begunBy
public BegunBy begunBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression is temporally begun by another- Specified by:
begunBy
in interfaceFilterFactory
-
during
public During during(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression is temporally during another- Specified by:
during
in interfaceFilterFactory
-
during
public During during(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression is temporally during another- Specified by:
during
in interfaceFilterFactory
-
endedBy
public EndedBy endedBy(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression is temporally ended by another- Specified by:
endedBy
in interfaceFilterFactory
-
endedBy
public EndedBy endedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression is temporally ended by another- Specified by:
endedBy
in interfaceFilterFactory
-
ends
public Ends ends(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression temporally ends by another- Specified by:
ends
in interfaceFilterFactory
-
ends
public Ends ends(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression temporally ends by another- Specified by:
ends
in interfaceFilterFactory
-
meets
public Meets meets(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression temporally meets another- Specified by:
meets
in interfaceFilterFactory
-
meets
public Meets meets(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression temporally meets another- Specified by:
meets
in interfaceFilterFactory
-
metBy
public MetBy metBy(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression is temporally met by another- Specified by:
metBy
in interfaceFilterFactory
-
metBy
public MetBy metBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression is temporally met by another- Specified by:
metBy
in interfaceFilterFactory
-
overlappedBy
public OverlappedBy overlappedBy(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression is temporally overlapped by another- Specified by:
overlappedBy
in interfaceFilterFactory
-
overlappedBy
public OverlappedBy overlappedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression is temporally overlapped by another- Specified by:
overlappedBy
in interfaceFilterFactory
-
tcontains
public TContains tcontains(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression temporally contains another- Specified by:
tcontains
in interfaceFilterFactory
-
tcontains
public TContains tcontains(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression temporally contains another- Specified by:
tcontains
in interfaceFilterFactory
-
tequals
public TEquals tequals(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression temporally equals another- Specified by:
tequals
in interfaceFilterFactory
-
tequals
public TEquals tequals(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression temporally equals another- Specified by:
tequals
in interfaceFilterFactory
-
toverlaps
public TOverlaps toverlaps(Expression expr1, Expression expr2)
Description copied from interface:FilterFactory
Checks if one expression temporally overlaps another- Specified by:
toverlaps
in interfaceFilterFactory
-
toverlaps
public TOverlaps toverlaps(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactory
Checks if one expression temporally overlaps another- Specified by:
toverlaps
in interfaceFilterFactory
-
beyond
public Beyond beyond(Expression geometry1, Geometry geometry2, double distance, String units)
-
property
public PropertyName property(Name name)
Description copied from interface:FilterFactory
Retrieves the value of a feature's property.- Specified by:
property
in interfaceFilterFactory
- Parameters:
name
- Name of attribute referenced- Returns:
- PropertyName
-
property
public PropertyName property(String name, NamespaceSupport namespaceContext)
Description copied from interface:FilterFactory
Retrieves the value of a feature's property.- Specified by:
property
in interfaceFilterFactory
- Parameters:
name
- XPath expression (subject to the restrictions of filter specificaiton)namespaceContext
- Used to interpret any namespace prefixs in above xpath expression- Returns:
- PropertyName
-
within
public Within within(Expression geometry1, Geometry geometry2)
-
operator
public Operator operator(String name)
Description copied from interface:FilterFactory
operators- Specified by:
operator
in interfaceFilterFactory
-
spatialOperator
public SpatialOperator spatialOperator(String name, GeometryOperand[] geometryOperands)
Description copied from interface:FilterFactory
spatial operator- Specified by:
spatialOperator
in interfaceFilterFactory
-
temporalOperator
public TemporalOperator temporalOperator(String name)
Description copied from interface:FilterFactory
temporal operator- Specified by:
temporalOperator
in interfaceFilterFactory
-
parameter
public <T> Parameter<T> parameter(String name, Class<T> type, InternationalString title, InternationalString description, boolean required, int minOccurs, int maxOccurs, T defaultValue)
Description copied from interface:FilterFactory
Creates a parameter of a function.- Specified by:
parameter
in interfaceFilterFactory
- Parameters:
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 parameter
-
functionName
public FunctionName functionName(String name, int nargs)
Description copied from interface:FilterFactory
function name- Specified by:
functionName
in interfaceFilterFactory
-
functionName
public FunctionName functionName(Name name, int nargs)
Description copied from interface:FilterFactory
function name- Specified by:
functionName
in interfaceFilterFactory
-
functionName
public FunctionName functionName(String name, int nargs, List<String> argNames)
Description copied from interface:FilterFactory
FunctionName used to describe an available function.- Specified by:
functionName
in interfaceFilterFactory
- Parameters:
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 names
-
functionName
public FunctionName functionName(Name name, int nargs, List<String> argNames)
Description copied from interface:FilterFactory
FunctionName used to describe an available function.- Specified by:
functionName
in interfaceFilterFactory
- Parameters:
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 names
-
functionName
public FunctionName functionName(String name, List<Parameter<?>> args, Parameter<?> ret)
Description copied from interface:FilterFactory
FunctionName used to describe an available function.- Specified by:
functionName
in interfaceFilterFactory
- Parameters:
name
- name of functionargs
- Parameters describing function arguments.ret
- Parameter describing function return.
-
functionName
public FunctionName functionName(Name name, List<Parameter<?>> args, Parameter<?> ret)
Description copied from interface:FilterFactory
FunctionName used to describe an available function.- Specified by:
functionName
in interfaceFilterFactory
- Parameters:
name
- qualified name of functionargs
- Parameters describing function arguments.ret
- Parameter describing function return.
-
functions
public Functions functions(FunctionName[] functionNames)
Description copied from interface:FilterFactory
functions- Specified by:
functions
in interfaceFilterFactory
-
spatialOperators
public SpatialOperators spatialOperators(SpatialOperator[] spatialOperators)
Description copied from interface:FilterFactory
spatial operators- Specified by:
spatialOperators
in interfaceFilterFactory
-
arithmeticOperators
public ArithmeticOperators arithmeticOperators(boolean simple, Functions functions)
Description copied from interface:FilterFactory
arithmetic operators- Specified by:
arithmeticOperators
in interfaceFilterFactory
-
comparisonOperators
public ComparisonOperators comparisonOperators(Operator[] comparisonOperators)
Description copied from interface:FilterFactory
comparison operators- Specified by:
comparisonOperators
in interfaceFilterFactory
-
capabilities
public FilterCapabilities capabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id)
Description copied from interface:FilterFactory
filter capabilities- Specified by:
capabilities
in interfaceFilterFactory
-
capabilities
public FilterCapabilities capabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id, TemporalCapabilities temporal)
Description copied from interface:FilterFactory
filter capabilities- Specified by:
capabilities
in interfaceFilterFactory
-
scalarCapabilities
public ScalarCapabilities scalarCapabilities(ComparisonOperators comparison, ArithmeticOperators arithmetic, boolean logicalOperators)
Description copied from interface:FilterFactory
scalar capabilities- Specified by:
scalarCapabilities
in interfaceFilterFactory
-
spatialCapabilities
public SpatialCapabilities spatialCapabilities(GeometryOperand[] geometryOperands, SpatialOperators spatial)
Description copied from interface:FilterFactory
spatial capabilities- Specified by:
spatialCapabilities
in interfaceFilterFactory
-
idCapabilities
public IdCapabilities idCapabilities(boolean eid, boolean fid)
Description copied from interface:FilterFactory
id capabilities- Specified by:
idCapabilities
in interfaceFilterFactory
-
temporalCapabilities
public TemporalCapabilities temporalCapabilities(TemporalOperator[] temporalOperators)
Description copied from interface:FilterFactory
temporal capabilities- Specified by:
temporalCapabilities
in interfaceFilterFactory
-
nativeFilter
public NativeFilter nativeFilter(String nativeFilter)
Description copied from interface:FilterFactory
Builds a new native filter, which will should be delegated to the data store.- Specified by:
nativeFilter
in interfaceFilterFactory
- Parameters:
nativeFilter
- the native filter- Returns:
- the build native filter
-
-