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 Addadd(Expression expr1, Expression expr2)Computes the numeric addition of the first and second operand.Afterafter(Expression expr1, Expression expr2)Checks if one expression is temporally after anotherAfterafter(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression is temporally after anotherAndand(List<Filter> filters)ANDfilter between a list of filters.Andand(Filter f, Filter g)ANDfilter between two filters.AnyInteractsanyInteracts(Expression expr1, Expression expr2)Checks if one expression temporally interacts in any way with anotherAnyInteractsanyInteracts(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression temporally interacts in any way with anotherArithmeticOperatorsarithmeticOperators(boolean simple, Functions functions)arithmetic operatorsBBOXbbox(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.BBOXbbox(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.BBOX3Dbbox(String propertyName, BoundingBox3D env)BBOX3Dbbox(String propertyName, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)BBOXbbox(Expression geometry, double minx, double miny, double maxx, double maxy, String srs)Checks if the geometry expression overlaps the specified bounding box.BBOXbbox(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.BBOXbbox(Expression geometry, Expression bounds)BBOXbbox(Expression geometry, Expression bounds, MultiValuedFilter.MatchAction machAction)BBOXbbox(Expression geometry, BoundingBox bounds)Checks if the bounding box of the feature's geometry overlaps the indicated bounds.BBOX3Dbbox(Expression geometry, BoundingBox3D env)Checks if the geometry expression overlaps the specified bounding box.BBOX3Dbbox(Expression e, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)Checks if the geometry expression overlaps the specified bounding box.BBOXbbox(Expression geometry, BoundingBox bounds, MultiValuedFilter.MatchAction matchAction)Checks if the bounding box of the feature's geometry overlaps the indicated bounds.Beforebefore(Expression expr1, Expression expr2)Checks if one expression is temporally before anotherBeforebefore(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression is temporally before anotherBeginsbegins(Expression expr1, Expression expr2)Checks if one expression temporally begins anotherBeginsbegins(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression temporally begins anotherBegunBybegunBy(Expression expr1, Expression expr2)Checks if one expression is temporally begun by anotherBegunBybegunBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression is temporally begun by anotherPropertyIsBetweenbetween(Expression expr, Expression lower, Expression upper)A compact way of encoding a range check.PropertyIsBetweenbetween(Expression expr, Expression lower, Expression upper, MultiValuedFilter.MatchAction matchAction)A compact way of encoding a range check.Beyondbeyond(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.Beyondbeyond(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.Beyondbeyond(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.Beyondbeyond(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.Beyondbeyond(Expression geometry1, Geometry geometry2, double distance, String units)FilterCapabilitiescapabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id)filter capabilitiesFilterCapabilitiescapabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id, TemporalCapabilities temporal)filter capabilitiesComparisonOperatorscomparisonOperators(Operator[] comparisonOperators)comparison operatorsContainscontains(String propertyName, Geometry geometry)Checks if the the first geometric operand contains the second.Containscontains(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)Checks if the the first geometric operand contains the second.Containscontains(Expression geometry1, Expression geometry2)Checks if the the first geometric operand contains the second.Containscontains(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)Checks if the the first geometric operand contains the second.Crossescrosses(String propertyName, Geometry geometry)Checks if the first geometric operand crosses the second.Crossescrosses(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)Checks if the first geometric operand crosses the second.Crossescrosses(Expression geometry1, Expression geometry2)Checks if the first geometric operand crosses the second.Crossescrosses(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)Checks if the first geometric operand crosses the second.Disjointdisjoint(String propertyName, Geometry geometry)Checks if the first operand is disjoint from the second.Disjointdisjoint(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)Checks if the first operand is disjoint from the second.Disjointdisjoint(Expression geometry1, Expression geometry2)Checks if the first operand is disjoint from the second.Disjointdisjoint(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)Checks if the first operand is disjoint from the second.Dividedivide(Expression expr1, Expression expr2)Computes the numeric quotient resulting from dividing the first operand by the second.Duringduring(Expression expr1, Expression expr2)Checks if one expression is temporally during anotherDuringduring(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression is temporally during anotherDWithindwithin(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.DWithindwithin(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.DWithindwithin(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.DWithindwithin(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.EndedByendedBy(Expression expr1, Expression expr2)Checks if one expression is temporally ended by anotherEndedByendedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression is temporally ended by anotherEndsends(Expression expr1, Expression expr2)Checks if one expression temporally ends by anotherEndsends(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression temporally ends by anotherEqualsequal(Expression geometry1, Expression geometry2)Checks if the geometry of the two operands are equal.PropertyIsEqualToequal(Expression expr1, Expression expr2, boolean matchCase)Compares that two sub-expressions are equal to eacher otherPropertyIsEqualToequal(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)Compares that two sub-expressions are equal to eacher otherEqualsequal(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)Checks if the geometry of the two operands are equal.Equalsequals(String propertyName, Geometry geometry)Checks if the geometry of the two operands are equal.Equalsequals(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)Checks if the geometry of the two operands are equal.PropertyIsEqualToequals(Expression expr1, Expression expr2)Compares that two sub-expressions are equal to each other.FeatureIdfeatureId(String id)Creates a new feautre id from a stringFeatureIdfeatureId(String fid, String featureVersion)Creates a new feature id with version informationFunctionfunction(String name, Expression arg1)Functionfunction(String name, Expression[] args)Call into some implementation-specific function.Functionfunction(String name, Expression arg1, Expression arg2)Functionfunction(String name, Expression arg1, Expression arg2, Expression arg3)Functionfunction(Name name, Expression... args)Call into some implementation-specific function.FunctionNamefunctionName(String name, int nargs)function nameFunctionNamefunctionName(String name, int nargs, List<String> argNames)FunctionName used to describe an available function.FunctionNamefunctionName(String name, List<Parameter<?>> args, Parameter<?> ret)FunctionName used to describe an available function.FunctionNamefunctionName(Name name, int nargs)function nameFunctionNamefunctionName(Name name, int nargs, List<String> argNames)FunctionName used to describe an available function.FunctionNamefunctionName(Name name, List<Parameter<?>> args, Parameter<?> ret)FunctionName used to describe an available function.Functionsfunctions(FunctionName[] functionNames)functionsMap<RenderingHints.Key,?>getImplementationHints()Map of hints (maybe unmodifiable) used by this factory to customize its use.GmlObjectIdgmlObjectId(String id)Creates a new gml object id from a stringPropertyIsGreaterThangreater(Expression expr1, Expression expr2)Checks that the first sub-expression is greater than the second subexpression.PropertyIsGreaterThangreater(Expression expr1, Expression expr2, boolean matchCase)Checks that the first sub-expression is greater than the second subexpression.PropertyIsGreaterThangreater(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)Checks that the first sub-expression is greater than the second subexpression.PropertyIsGreaterThanOrEqualTogreaterOrEqual(Expression expr1, Expression expr2)Checks that the first sub-expression is greater or equal to the second subexpression.PropertyIsGreaterThanOrEqualTogreaterOrEqual(Expression expr1, Expression expr2, boolean matchCase)Checks that the first sub-expression is greater or equal to the second subexpression.PropertyIsGreaterThanOrEqualTogreaterOrEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)Checks that the first sub-expression is greater or equal to the second subexpression.Idid(Set<? extends Identifier> id)Passes only for objects that have one of the IDs given to this object.Idid(FeatureId... fids)IdCapabilitiesidCapabilities(boolean eid, boolean fid)id capabilitiesIntersectsintersects(String propertyName, Geometry geometry)Checks if the two geometric operands intersect.Intersectsintersects(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)Checks if the two geometric operands intersect.Intersectsintersects(Expression geometry1, Expression geometry2)Checks if the two geometric operands intersect.Intersectsintersects(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)Checks if the two geometric operands intersect.PropertyIsNilisNil(Expression expr, Object nilReason)Checks if an expression's value is nil.PropertyIsNullisNull(Expression expr)XXX Java 5 type narrowing used to make generated class explicit for chainingPropertyIsLessThanless(Expression expr1, Expression expr2)Checks that its first sub-expression is less than its second subexpression.PropertyIsLessThanless(Expression expr1, Expression expr2, boolean matchCase)PropertyIsLessThanless(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)PropertyIsLessThanOrEqualTolessOrEqual(Expression expr1, Expression expr2)Checks that its first sub-expression is less than or equal to its second subexpression.PropertyIsLessThanOrEqualTolessOrEqual(Expression expr1, Expression expr2, boolean matchCase)PropertyIsLessThanOrEqualTolessOrEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)PropertyIsLikelike(Expression expr, String pattern)Character string comparison operator with pattern matching and default wildcards.PropertyIsLikelike(Expression expr, String pattern, String wildcard, String singleChar, String escape)Character string comparison operator with pattern matching and specified wildcards.PropertyIsLikelike(Expression expr, String pattern, String wildcard, String singleChar, String escape, boolean matchCase)Character string comparison operator with pattern matching and specified wildcards.PropertyIsLikelike(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.Literalliteral(boolean b)A constant, literalBooleanvalue that can be used in expressions.Literalliteral(byte b)A constant, literalBytevalue that can be used in expressions.Literalliteral(char c)A constant, literalCharactervalue that can be used in expressions.Literalliteral(double d)A constant, literalDoublevalue that can be used in expressions.Literalliteral(float f)A constant, literalFloatvalue that can be used in expressions.Literalliteral(int i)A constant, literalIntegervalue that can be used in expressions.Literalliteral(long l)A constant, literalLongvalue that can be used in expressions.Literalliteral(short s)A constant, literalShortvalue that can be used in expressions.Literalliteral(Object obj)A constant, literal value that can be used in expressions.Meetsmeets(Expression expr1, Expression expr2)Checks if one expression temporally meets anotherMeetsmeets(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression temporally meets anotherMetBymetBy(Expression expr1, Expression expr2)Checks if one expression is temporally met by anotherMetBymetBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression is temporally met by anotherMultiplymultiply(Expression expr1, Expression expr2)Computes the numeric product of their first and second operand.NativeFilternativeFilter(String nativeFilter)Builds a new native filter, which will should be delegated to the data store.Notnot(Filter filter)Java 5 type narrowing used to advertise explicit implementation for chainingPropertyIsNotEqualTonotEqual(Expression expr1, Expression expr2)Checks that the first sub-expression is not equal to the second subexpression.PropertyIsNotEqualTonotEqual(Expression expr1, Expression expr2, boolean matchCase)Checks that the first sub-expression is not equal to the second subexpression.PropertyIsNotEqualTonotEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)Checks that the first sub-expression is not equal to the second subexpression.Operatoroperator(String name)operatorsOror(List<Filter> filters)ORfilter between a list of filters.Oror(Filter f, Filter g)ORfilter between two filters.OverlappedByoverlappedBy(Expression expr1, Expression expr2)Checks if one expression is temporally overlapped by anotherOverlappedByoverlappedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression is temporally overlapped by anotherOverlapsoverlaps(String propertyName, Geometry geometry)Checks if the interior of the first geometry somewhere overlaps the interior of the second geometry.Overlapsoverlaps(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)Checks if the interior of the first geometry somewhere overlaps the interior of the second geometry.Overlapsoverlaps(Expression geometry1, Expression geometry2)Checks if the interior of the first geometry somewhere overlaps the interior of the second geometry.Overlapsoverlaps(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.PropertyNameproperty(String name)Retrieves the value of a feature's property.PropertyNameproperty(String name, NamespaceSupport namespaceContext)Retrieves the value of a feature's property.PropertyNameproperty(Name name)Retrieves the value of a feature's property.ResourceIdresourceId(String fid, String featureVersion, Version version)ResouceId for identifier based queryResourceIdresourceId(String fid, Date startTime, Date endTime)ResourceId for time based queryScalarCapabilitiesscalarCapabilities(ComparisonOperators comparison, ArithmeticOperators arithmetic, boolean logicalOperators)scalar capabilitiesSortBysort(String propertyName, SortOrder order)Indicates an property by which contents should be sorted, along with intended order.SpatialCapabilitiesspatialCapabilities(GeometryOperand[] geometryOperands, SpatialOperators spatial)spatial capabilitiesSpatialOperatorspatialOperator(String name, GeometryOperand[] geometryOperands)spatial operatorSpatialOperatorsspatialOperators(SpatialOperator[] spatialOperators)spatial operatorsSubtractsubtract(Expression expr1, Expression expr2)Computes the numeric difference between the first and second operand.TContainstcontains(Expression expr1, Expression expr2)Checks if one expression temporally contains anotherTContainstcontains(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression temporally contains anotherTemporalCapabilitiestemporalCapabilities(TemporalOperator[] temporalOperators)temporal capabilitiesTemporalOperatortemporalOperator(String name)temporal operatorTEqualstequals(Expression expr1, Expression expr2)Checks if one expression temporally equals anotherTEqualstequals(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression temporally equals anotherTouchestouches(String propertyName, Geometry geometry)Checks if the feature's geometry touches, but does not overlap with the geometry held by this object.Touchestouches(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.Touchestouches(Expression geometry1, Expression geometry2)Checks if the feature's geometry touches, but does not overlap with the geometry held by this object.Touchestouches(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.TOverlapstoverlaps(Expression expr1, Expression expr2)Checks if one expression temporally overlaps anotherTOverlapstoverlaps(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)Checks if one expression temporally overlaps anotherWithinwithin(String propertyName, Geometry geometry)Checks if the feature's geometry is completely contained by the specified constant geometry.Withinwithin(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)Checks if the feature's geometry is completely contained by the specified constant geometry.Withinwithin(Expression geometry1, Expression geometry2)Checks if the feature's geometry is completely contained by the specified constant geometry.Withinwithin(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)Checks if the feature's geometry is completely contained by the specified constant geometry.Withinwithin(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:FilterFactoryCreates a new feautre id from a string- Specified by:
featureIdin interfaceFilterFactory
-
gmlObjectId
public GmlObjectId gmlObjectId(String id)
Description copied from interface:FilterFactoryCreates a new gml object id from a string- Specified by:
gmlObjectIdin interfaceFilterFactory
-
featureId
public FeatureId featureId(String fid, String featureVersion)
Creates a new feature id with version information- Specified by:
featureIdin interfaceFilterFactory
-
resourceId
public ResourceId resourceId(String fid, String featureVersion, Version version)
ResouceId for identifier based query- Specified by:
resourceIdin interfaceFilterFactory
-
resourceId
public ResourceId resourceId(String fid, Date startTime, Date endTime)
ResourceId for time based query- Specified by:
resourceIdin interfaceFilterFactory- Parameters:
fid- feature id, non null;startTime- lower end timestamp of the time range, inclusive, ornullonly ifend != nullendTime- upper end timestamp of the time range, inclusive, ornullonly ifstart != null
-
and
public And and(Filter f, Filter g)
Description copied from interface:FilterFactoryANDfilter between two filters.- Specified by:
andin interfaceFilterFactory
-
and
public And and(List<Filter> filters)
Description copied from interface:FilterFactoryANDfilter between a list of filters.- Specified by:
andin interfaceFilterFactory
-
or
public Or or(Filter f, Filter g)
Description copied from interface:FilterFactoryORfilter between two filters.- Specified by:
orin interfaceFilterFactory
-
or
public Or or(List<Filter> filters)
Description copied from interface:FilterFactoryORfilter between a list of filters.- Specified by:
orin interfaceFilterFactory
-
not
public Not not(Filter filter)
Java 5 type narrowing used to advertise explicit implementation for chaining- Specified by:
notin interfaceFilterFactory
-
id
public Id id(Set<? extends Identifier> id)
Description copied from interface:FilterFactoryPasses only for objects that have one of the IDs given to this object.- Specified by:
idin interfaceFilterFactory
-
id
public Id id(FeatureId... fids)
- Specified by:
idin interfaceFilterFactory
-
property
public PropertyName property(String name)
Description copied from interface:FilterFactoryRetrieves the value of a feature's property.- Specified by:
propertyin interfaceFilterFactory
-
between
public PropertyIsBetween between(Expression expr, Expression lower, Expression upper)
Description copied from interface:FilterFactoryA compact way of encoding a range check.- Specified by:
betweenin interfaceFilterFactory
-
between
public PropertyIsBetween between(Expression expr, Expression lower, Expression upper, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryA compact way of encoding a range check.- Specified by:
betweenin interfaceFilterFactory
-
equals
public PropertyIsEqualTo equals(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryCompares that two sub-expressions are equal to each other.- Specified by:
equalsin interfaceFilterFactory
-
equal
public PropertyIsEqualTo equal(Expression expr1, Expression expr2, boolean matchCase)
Description copied from interface:FilterFactoryCompares that two sub-expressions are equal to eacher other- Specified by:
equalin interfaceFilterFactory
-
equal
public PropertyIsEqualTo equal(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryCompares that two sub-expressions are equal to eacher other- Specified by:
equalin interfaceFilterFactory
-
notEqual
public PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks that the first sub-expression is not equal to the second subexpression.- Specified by:
notEqualin interfaceFilterFactory
-
notEqual
public PropertyIsNotEqualTo notEqual(Expression expr1, Expression expr2, boolean matchCase)
Description copied from interface:FilterFactoryChecks that the first sub-expression is not equal to the second subexpression.- Specified by:
notEqualin 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:FilterFactoryChecks that the first sub-expression is not equal to the second subexpression.- Specified by:
notEqualin 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:FilterFactoryChecks that the first sub-expression is greater than the second subexpression.- Specified by:
greaterin interfaceFilterFactory
-
greater
public PropertyIsGreaterThan greater(Expression expr1, Expression expr2, boolean matchCase)
Description copied from interface:FilterFactoryChecks that the first sub-expression is greater than the second subexpression.- Specified by:
greaterin 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:FilterFactoryChecks that the first sub-expression is greater than the second subexpression.- Specified by:
greaterin 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:FilterFactoryChecks that the first sub-expression is greater or equal to the second subexpression.- Specified by:
greaterOrEqualin interfaceFilterFactory
-
greaterOrEqual
public PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2, boolean matchCase)
Description copied from interface:FilterFactoryChecks that the first sub-expression is greater or equal to the second subexpression.- Specified by:
greaterOrEqualin interfaceFilterFactory
-
greaterOrEqual
public PropertyIsGreaterThanOrEqualTo greaterOrEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks that the first sub-expression is greater or equal to the second subexpression.- Specified by:
greaterOrEqualin interfaceFilterFactory
-
less
public PropertyIsLessThan less(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks that its first sub-expression is less than its second subexpression.- Specified by:
lessin interfaceFilterFactory
-
less
public PropertyIsLessThan less(Expression expr1, Expression expr2, boolean matchCase)
- Specified by:
lessin interfaceFilterFactory
-
less
public PropertyIsLessThan less(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
- Specified by:
lessin interfaceFilterFactory
-
lessOrEqual
public PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks that its first sub-expression is less than or equal to its second subexpression.- Specified by:
lessOrEqualin interfaceFilterFactory
-
lessOrEqual
public PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2, boolean matchCase)
- Specified by:
lessOrEqualin interfaceFilterFactory
-
lessOrEqual
public PropertyIsLessThanOrEqualTo lessOrEqual(Expression expr1, Expression expr2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
- Specified by:
lessOrEqualin interfaceFilterFactory
-
like
public PropertyIsLike like(Expression expr, String pattern)
Description copied from interface:FilterFactoryCharacter string comparison operator with pattern matching and default wildcards.- Specified by:
likein interfaceFilterFactory
-
like
public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape)
Description copied from interface:FilterFactoryCharacter string comparison operator with pattern matching and specified wildcards.- Specified by:
likein interfaceFilterFactory
-
like
public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape, boolean matchCase)
Description copied from interface:FilterFactoryCharacter string comparison operator with pattern matching and specified wildcards.- Specified by:
likein interfaceFilterFactory
-
like
public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryCharacter string comparison operator with pattern matching and specified wildcards.- Specified by:
likein interfaceFilterFactory
-
isNull
public PropertyIsNull isNull(Expression expr)
XXX Java 5 type narrowing used to make generated class explicit for chaining- Specified by:
isNullin interfaceFilterFactory
-
isNil
public PropertyIsNil isNil(Expression expr, Object nilReason)
Description copied from interface:FilterFactoryChecks if an expression's value is nil.- Specified by:
isNilin 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:
bboxin 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:
bboxin interfaceFilterFactory
-
bbox
public BBOX bbox(Expression geometry, Expression bounds, MultiValuedFilter.MatchAction machAction)
- Specified by:
bboxin interfaceFilterFactory
-
bbox
public BBOX bbox(Expression geometry, BoundingBox bounds)
Description copied from interface:FilterFactoryChecks 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:
bboxin 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:FilterFactoryChecks 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:
bboxin 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:FilterFactoryChecks 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:
bboxin 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:FilterFactoryChecks if the geometry expression overlaps the specified bounding box.- Specified by:
bboxin interfaceFilterFactory
-
bbox
public BBOX bbox(Expression e, double minx, double miny, double maxx, double maxy, String srs, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the geometry expression overlaps the specified bounding box.- Specified by:
bboxin interfaceFilterFactory
-
bbox
public BBOX3D bbox(String propertyName, BoundingBox3D env)
- Specified by:
bboxin interfaceFilterFactory
-
bbox
public BBOX3D bbox(String propertyName, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)
- Specified by:
bboxin interfaceFilterFactory
-
bbox
public BBOX3D bbox(Expression geometry, BoundingBox3D env)
Description copied from interface:FilterFactoryChecks if the geometry expression overlaps the specified bounding box.- Specified by:
bboxin interfaceFilterFactory
-
bbox
public BBOX3D bbox(Expression e, BoundingBox3D env, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the geometry expression overlaps the specified bounding box.- Specified by:
bboxin interfaceFilterFactory
-
beyond
public Beyond beyond(String propertyName, Geometry geometry, double distance, String units)
Description copied from interface:FilterFactoryCheck if all of a feature's geometry is more distant than the given distance from this object's geometry.- Specified by:
beyondin interfaceFilterFactory
-
beyond
public Beyond beyond(String propertyName, Geometry geometry, double distance, String units, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryCheck if all of a feature's geometry is more distant than the given distance from this object's geometry.- Specified by:
beyondin interfaceFilterFactory
-
beyond
public Beyond beyond(Expression geometry1, Expression geometry2, double distance, String units)
Description copied from interface:FilterFactoryCheck if all of a geometry is more distant than the given distance from this object's geometry.- Specified by:
beyondin interfaceFilterFactory
-
beyond
public Beyond beyond(Expression geometry1, Expression geometry2, double distance, String units, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryCheck if all of a geometry is more distant than the given distance from this object's geometry.- Specified by:
beyondin interfaceFilterFactory
-
contains
public Contains contains(String propertyName, Geometry geometry)
Description copied from interface:FilterFactoryChecks if the the first geometric operand contains the second.- Specified by:
containsin interfaceFilterFactory
-
contains
public Contains contains(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactoryChecks if the the first geometric operand contains the second.- Specified by:
containsin interfaceFilterFactory
-
contains
public Contains contains(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the the first geometric operand contains the second.- Specified by:
containsin interfaceFilterFactory
-
contains
public Contains contains(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the the first geometric operand contains the second.- Specified by:
containsin interfaceFilterFactory
-
crosses
public Crosses crosses(String propertyName, Geometry geometry)
Description copied from interface:FilterFactoryChecks if the first geometric operand crosses the second.- Specified by:
crossesin interfaceFilterFactory
-
crosses
public Crosses crosses(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the first geometric operand crosses the second.- Specified by:
crossesin interfaceFilterFactory
-
crosses
public Crosses crosses(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactoryChecks if the first geometric operand crosses the second.- Specified by:
crossesin interfaceFilterFactory
-
crosses
public Crosses crosses(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the first geometric operand crosses the second.- Specified by:
crossesin interfaceFilterFactory
-
disjoint
public Disjoint disjoint(String propertyName, Geometry geometry)
Description copied from interface:FilterFactoryChecks if the first operand is disjoint from the second.- Specified by:
disjointin interfaceFilterFactory
-
disjoint
public Disjoint disjoint(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the first operand is disjoint from the second.- Specified by:
disjointin interfaceFilterFactory
-
disjoint
public Disjoint disjoint(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the first operand is disjoint from the second.- Specified by:
disjointin interfaceFilterFactory
-
disjoint
public Disjoint disjoint(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactoryChecks if the first operand is disjoint from the second.- Specified by:
disjointin interfaceFilterFactory
-
dwithin
public DWithin dwithin(String propertyName, Geometry geometry, double distance, String units)
Description copied from interface:FilterFactoryChecks if any part of the first geometry lies within the given distance of the second geometry.- Specified by:
dwithinin interfaceFilterFactory
-
dwithin
public DWithin dwithin(String propertyName, Geometry geometry, double distance, String units, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if any part of the first geometry lies within the given distance of the second geometry.- Specified by:
dwithinin interfaceFilterFactory
-
dwithin
public DWithin dwithin(Expression geometry1, Expression geometry2, double distance, String units, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if any part of the first geometry lies within the given distance of the second geometry.- Specified by:
dwithinin interfaceFilterFactory
-
dwithin
public DWithin dwithin(Expression geometry1, Expression geometry2, double distance, String units)
Description copied from interface:FilterFactoryChecks if any part of the first geometry lies within the given distance of the second geometry.- Specified by:
dwithinin interfaceFilterFactory
-
equals
public Equals equals(String propertyName, Geometry geometry)
Description copied from interface:FilterFactoryChecks if the geometry of the two operands are equal.- Specified by:
equalsin interfaceFilterFactory
-
equals
public Equals equals(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the geometry of the two operands are equal.- Specified by:
equalsin interfaceFilterFactory
-
equal
public Equals equal(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactoryChecks if the geometry of the two operands are equal.- Specified by:
equalin interfaceFilterFactory
-
equal
public Equals equal(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the geometry of the two operands are equal.- Specified by:
equalin interfaceFilterFactory
-
intersects
public Intersects intersects(String propertyName, Geometry geometry)
Description copied from interface:FilterFactoryChecks if the two geometric operands intersect.- Specified by:
intersectsin interfaceFilterFactory
-
intersects
public Intersects intersects(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the two geometric operands intersect.- Specified by:
intersectsin interfaceFilterFactory
-
intersects
public Intersects intersects(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactoryChecks if the two geometric operands intersect.- Specified by:
intersectsin interfaceFilterFactory
-
intersects
public Intersects intersects(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the two geometric operands intersect.- Specified by:
intersectsin interfaceFilterFactory
-
overlaps
public Overlaps overlaps(String propertyName, Geometry geometry)
Description copied from interface:FilterFactoryChecks if the interior of the first geometry somewhere overlaps the interior of the second geometry.- Specified by:
overlapsin interfaceFilterFactory
-
overlaps
public Overlaps overlaps(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the interior of the first geometry somewhere overlaps the interior of the second geometry.- Specified by:
overlapsin interfaceFilterFactory
-
overlaps
public Overlaps overlaps(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactoryChecks if the interior of the first geometry somewhere overlaps the interior of the second geometry.- Specified by:
overlapsin interfaceFilterFactory
-
overlaps
public Overlaps overlaps(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the interior of the first geometry somewhere overlaps the interior of the second geometry.- Specified by:
overlapsin interfaceFilterFactory
-
touches
public Touches touches(String propertyName, Geometry geometry)
Description copied from interface:FilterFactoryChecks if the feature's geometry touches, but does not overlap with the geometry held by this object.- Specified by:
touchesin interfaceFilterFactory
-
touches
public Touches touches(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the feature's geometry touches, but does not overlap with the geometry held by this object.- Specified by:
touchesin interfaceFilterFactory
-
touches
public Touches touches(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactoryChecks if the feature's geometry touches, but does not overlap with the geometry held by this object.- Specified by:
touchesin interfaceFilterFactory
-
touches
public Touches touches(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the feature's geometry touches, but does not overlap with the geometry held by this object.- Specified by:
touchesin interfaceFilterFactory
-
within
public Within within(String propertyName, Geometry geometry)
Description copied from interface:FilterFactoryChecks if the feature's geometry is completely contained by the specified constant geometry.- Specified by:
withinin interfaceFilterFactory
-
within
public Within within(String propertyName, Geometry geometry, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the feature's geometry is completely contained by the specified constant geometry.- Specified by:
withinin interfaceFilterFactory
-
within
public Within within(Expression geometry1, Expression geometry2)
Description copied from interface:FilterFactoryChecks if the feature's geometry is completely contained by the specified constant geometry.- Specified by:
withinin interfaceFilterFactory
-
within
public Within within(Expression geometry1, Expression geometry2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if the feature's geometry is completely contained by the specified constant geometry.- Specified by:
withinin interfaceFilterFactory
-
add
public Add add(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryComputes the numeric addition of the first and second operand.- Specified by:
addin interfaceFilterFactory
-
divide
public Divide divide(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryComputes the numeric quotient resulting from dividing the first operand by the second.- Specified by:
dividein interfaceFilterFactory
-
multiply
public Multiply multiply(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryComputes the numeric product of their first and second operand.- Specified by:
multiplyin interfaceFilterFactory
-
subtract
public Subtract subtract(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryComputes the numeric difference between the first and second operand.- Specified by:
subtractin interfaceFilterFactory
-
function
public Function function(String name, Expression[] args)
Description copied from interface:FilterFactoryCall into some implementation-specific function.- Specified by:
functionin interfaceFilterFactory
-
function
public Function function(Name name, Expression... args)
Description copied from interface:FilterFactoryCall into some implementation-specific function.- Specified by:
functionin 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:FilterFactoryA constant, literal value that can be used in expressions.- Specified by:
literalin interfaceFilterFactory
-
literal
public Literal literal(byte b)
Description copied from interface:FilterFactoryA constant, literalBytevalue that can be used in expressions.- Specified by:
literalin interfaceFilterFactory
-
literal
public Literal literal(short s)
Description copied from interface:FilterFactoryA constant, literalShortvalue that can be used in expressions.- Specified by:
literalin interfaceFilterFactory
-
literal
public Literal literal(int i)
Description copied from interface:FilterFactoryA constant, literalIntegervalue that can be used in expressions.- Specified by:
literalin interfaceFilterFactory
-
literal
public Literal literal(long l)
Description copied from interface:FilterFactoryA constant, literalLongvalue that can be used in expressions.- Specified by:
literalin interfaceFilterFactory
-
literal
public Literal literal(float f)
Description copied from interface:FilterFactoryA constant, literalFloatvalue that can be used in expressions.- Specified by:
literalin interfaceFilterFactory
-
literal
public Literal literal(double d)
Description copied from interface:FilterFactoryA constant, literalDoublevalue that can be used in expressions.- Specified by:
literalin interfaceFilterFactory
-
literal
public Literal literal(char c)
Description copied from interface:FilterFactoryA constant, literalCharactervalue that can be used in expressions.- Specified by:
literalin interfaceFilterFactory
-
literal
public Literal literal(boolean b)
Description copied from interface:FilterFactoryA constant, literalBooleanvalue that can be used in expressions.- Specified by:
literalin interfaceFilterFactory
-
getImplementationHints
public Map<RenderingHints.Key,?> getImplementationHints()
Description copied from interface:FactoryMap 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
FactoryRegistryin order to compare this factory's hints against user's hints. This is dependency introspection only;FactoryRegistrynever invokes this method for creating new factories.Keys are usually static constants from the
Hintsclass, 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 helpsFactoryRegistryto 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
Classobject, 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:
getImplementationHintsin 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:FilterFactoryIndicates an property by which contents should be sorted, along with intended order.- Specified by:
sortin interfaceFilterFactory
-
after
public After after(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression is temporally after another- Specified by:
afterin interfaceFilterFactory
-
after
public After after(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression is temporally after another- Specified by:
afterin interfaceFilterFactory
-
anyInteracts
public AnyInteracts anyInteracts(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression temporally interacts in any way with another- Specified by:
anyInteractsin interfaceFilterFactory
-
anyInteracts
public AnyInteracts anyInteracts(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression temporally interacts in any way with another- Specified by:
anyInteractsin interfaceFilterFactory
-
before
public Before before(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression is temporally before another- Specified by:
beforein interfaceFilterFactory
-
before
public Before before(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression is temporally before another- Specified by:
beforein interfaceFilterFactory
-
begins
public Begins begins(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression temporally begins another- Specified by:
beginsin interfaceFilterFactory
-
begins
public Begins begins(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression temporally begins another- Specified by:
beginsin interfaceFilterFactory
-
begunBy
public BegunBy begunBy(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression is temporally begun by another- Specified by:
begunByin interfaceFilterFactory
-
begunBy
public BegunBy begunBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression is temporally begun by another- Specified by:
begunByin interfaceFilterFactory
-
during
public During during(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression is temporally during another- Specified by:
duringin interfaceFilterFactory
-
during
public During during(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression is temporally during another- Specified by:
duringin interfaceFilterFactory
-
endedBy
public EndedBy endedBy(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression is temporally ended by another- Specified by:
endedByin interfaceFilterFactory
-
endedBy
public EndedBy endedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression is temporally ended by another- Specified by:
endedByin interfaceFilterFactory
-
ends
public Ends ends(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression temporally ends by another- Specified by:
endsin interfaceFilterFactory
-
ends
public Ends ends(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression temporally ends by another- Specified by:
endsin interfaceFilterFactory
-
meets
public Meets meets(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression temporally meets another- Specified by:
meetsin interfaceFilterFactory
-
meets
public Meets meets(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression temporally meets another- Specified by:
meetsin interfaceFilterFactory
-
metBy
public MetBy metBy(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression is temporally met by another- Specified by:
metByin interfaceFilterFactory
-
metBy
public MetBy metBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression is temporally met by another- Specified by:
metByin interfaceFilterFactory
-
overlappedBy
public OverlappedBy overlappedBy(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression is temporally overlapped by another- Specified by:
overlappedByin interfaceFilterFactory
-
overlappedBy
public OverlappedBy overlappedBy(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression is temporally overlapped by another- Specified by:
overlappedByin interfaceFilterFactory
-
tcontains
public TContains tcontains(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression temporally contains another- Specified by:
tcontainsin interfaceFilterFactory
-
tcontains
public TContains tcontains(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression temporally contains another- Specified by:
tcontainsin interfaceFilterFactory
-
tequals
public TEquals tequals(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression temporally equals another- Specified by:
tequalsin interfaceFilterFactory
-
tequals
public TEquals tequals(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression temporally equals another- Specified by:
tequalsin interfaceFilterFactory
-
toverlaps
public TOverlaps toverlaps(Expression expr1, Expression expr2)
Description copied from interface:FilterFactoryChecks if one expression temporally overlaps another- Specified by:
toverlapsin interfaceFilterFactory
-
toverlaps
public TOverlaps toverlaps(Expression expr1, Expression expr2, MultiValuedFilter.MatchAction matchAction)
Description copied from interface:FilterFactoryChecks if one expression temporally overlaps another- Specified by:
toverlapsin interfaceFilterFactory
-
beyond
public Beyond beyond(Expression geometry1, Geometry geometry2, double distance, String units)
-
property
public PropertyName property(Name name)
Description copied from interface:FilterFactoryRetrieves the value of a feature's property.- Specified by:
propertyin interfaceFilterFactory- Parameters:
name- Name of attribute referenced- Returns:
- PropertyName
-
property
public PropertyName property(String name, NamespaceSupport namespaceContext)
Description copied from interface:FilterFactoryRetrieves the value of a feature's property.- Specified by:
propertyin 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:FilterFactoryoperators- Specified by:
operatorin interfaceFilterFactory
-
spatialOperator
public SpatialOperator spatialOperator(String name, GeometryOperand[] geometryOperands)
Description copied from interface:FilterFactoryspatial operator- Specified by:
spatialOperatorin interfaceFilterFactory
-
temporalOperator
public TemporalOperator temporalOperator(String name)
Description copied from interface:FilterFactorytemporal operator- Specified by:
temporalOperatorin 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:FilterFactoryCreates a parameter of a function.- Specified by:
parameterin 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:FilterFactoryfunction name- Specified by:
functionNamein interfaceFilterFactory
-
functionName
public FunctionName functionName(Name name, int nargs)
Description copied from interface:FilterFactoryfunction name- Specified by:
functionNamein interfaceFilterFactory
-
functionName
public FunctionName functionName(String name, int nargs, List<String> argNames)
Description copied from interface:FilterFactoryFunctionName used to describe an available function.- Specified by:
functionNamein 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:FilterFactoryFunctionName used to describe an available function.- Specified by:
functionNamein 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:FilterFactoryFunctionName used to describe an available function.- Specified by:
functionNamein 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:FilterFactoryFunctionName used to describe an available function.- Specified by:
functionNamein 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:FilterFactoryfunctions- Specified by:
functionsin interfaceFilterFactory
-
spatialOperators
public SpatialOperators spatialOperators(SpatialOperator[] spatialOperators)
Description copied from interface:FilterFactoryspatial operators- Specified by:
spatialOperatorsin interfaceFilterFactory
-
arithmeticOperators
public ArithmeticOperators arithmeticOperators(boolean simple, Functions functions)
Description copied from interface:FilterFactoryarithmetic operators- Specified by:
arithmeticOperatorsin interfaceFilterFactory
-
comparisonOperators
public ComparisonOperators comparisonOperators(Operator[] comparisonOperators)
Description copied from interface:FilterFactorycomparison operators- Specified by:
comparisonOperatorsin interfaceFilterFactory
-
capabilities
public FilterCapabilities capabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id)
Description copied from interface:FilterFactoryfilter capabilities- Specified by:
capabilitiesin interfaceFilterFactory
-
capabilities
public FilterCapabilities capabilities(String version, ScalarCapabilities scalar, SpatialCapabilities spatial, IdCapabilities id, TemporalCapabilities temporal)
Description copied from interface:FilterFactoryfilter capabilities- Specified by:
capabilitiesin interfaceFilterFactory
-
scalarCapabilities
public ScalarCapabilities scalarCapabilities(ComparisonOperators comparison, ArithmeticOperators arithmetic, boolean logicalOperators)
Description copied from interface:FilterFactoryscalar capabilities- Specified by:
scalarCapabilitiesin interfaceFilterFactory
-
spatialCapabilities
public SpatialCapabilities spatialCapabilities(GeometryOperand[] geometryOperands, SpatialOperators spatial)
Description copied from interface:FilterFactoryspatial capabilities- Specified by:
spatialCapabilitiesin interfaceFilterFactory
-
idCapabilities
public IdCapabilities idCapabilities(boolean eid, boolean fid)
Description copied from interface:FilterFactoryid capabilities- Specified by:
idCapabilitiesin interfaceFilterFactory
-
temporalCapabilities
public TemporalCapabilities temporalCapabilities(TemporalOperator[] temporalOperators)
Description copied from interface:FilterFactorytemporal capabilities- Specified by:
temporalCapabilitiesin interfaceFilterFactory
-
nativeFilter
public NativeFilter nativeFilter(String nativeFilter)
Description copied from interface:FilterFactoryBuilds a new native filter, which will should be delegated to the data store.- Specified by:
nativeFilterin interfaceFilterFactory- Parameters:
nativeFilter- the native filter- Returns:
- the build native filter
-
-