Uses of Interface
org.apache.sis.filter.Filter
Packages that use Filter
Package
Description
Filters features according their properties.
Base implementation shared by the main
filter package and the SQLMM extension.Placeholder for GeoAPI 3.1 interfaces (not yet released).
Build
DefaultFeatureTypes by inspection of database schemas.Data store base types for retrieving and saving geospatial data
in various storage formats.
-
Uses of Filter in org.apache.sis.filter
Subinterfaces of Filter in org.apache.sis.filterModifier and TypeInterfaceDescriptionstatic interfaceFilter that can be optimized.Methods in org.apache.sis.filter that return FilterModifier and TypeMethodDescriptionDefaultFilterFactory.after(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand is after the second.DefaultFilterFactory.and(Collection<? extends Filter<? super R>> operands) Creates aANDfilter between two or more filters.Creates aANDfilter between two filters.DefaultFilterFactory.anyInteracts(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates a shortcut operator semantically equivalent to NOT (Before OR Meets OR MetBy OR After).<R> Filter<? super R> Optimizes or simplifies the given filter.DefaultFilterFactory.bbox(Expression<? super R, ? extends G> geometry, org.opengis.geometry.Envelope bounds) Creates an operator that checks if the bounding box of the feature's geometry interacts with the bounding box provided in the filter properties.DefaultFilterFactory.before(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand is before the second.DefaultFilterFactory.begins(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand begins at the second.DefaultFilterFactory.begunBy(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand begun by the second.DefaultFilterFactory.between(Expression<? super R, ?> expression, Expression<? super R, ?> lowerBoundary, Expression<? super R, ?> upperBoundary) Filter operation for a range check.DefaultFilterFactory.beyond(Expression<? super R, ? extends G> geometry1, Expression<? super R, ? extends G> geometry2, javax.measure.Quantity<javax.measure.quantity.Length> distance) Creates an operator that checks if all of a feature's geometry is more distant than the given distance from the given geometry.DefaultFilterFactory.contains(Expression<? super R, ? extends G> geometry1, Expression<? super R, ? extends G> geometry2) Creates an operator that checks if the first geometric operand contains the second.DefaultFilterFactory.crosses(Expression<? super R, ? extends G> geometry1, Expression<? super R, ? extends G> geometry2) Creates an operator that checks if the first geometric operand crosses the second.DefaultFilterFactory.disjoint(Expression<? super R, ? extends G> geometry1, Expression<? super R, ? extends G> geometry2) Creates an operator that checks if the first operand is disjoint from the second.DefaultFilterFactory.during(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand is during the second.DefaultFilterFactory.endedBy(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand is ended by the second.DefaultFilterFactory.ends(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand ends at the second.DefaultFilterFactory.equal(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2) Filter operator that compares that two sub-expressions are equal to each other.DefaultFilterFactory.equals(Expression<? super R, ? extends G> geometry1, Expression<? super R, ? extends G> geometry2) Creates an operator that checks if the geometry of the two operands are equal.static <R> Filter<R> Filter.exclude()A filter that always evaluates tofalse.DefaultFilterFactory.greater(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2) Filter operator that checks that its first sub-expression is greater than its second sub-expression.DefaultFilterFactory.greaterOrEqual(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2) Filter operator that checks that its first sub-expression is greater than its second sub-expression.static <R> Filter<R> Filter.include()A filter that always evaluates totrue.DefaultFilterFactory.intersects(Expression<? super R, ? extends G> geometry1, Expression<? super R, ? extends G> geometry2) Creates an operator that checks if the two geometric operands intersect.DefaultFilterFactory.isNil(Expression<? super R, ?> expression, String nilReason) An operator that tests if an expression's value is nil.DefaultFilterFactory.isNull(Expression<? super R, ?> expression) An operator that tests if an expression's value isnull.DefaultFilterFactory.less(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2) Filter operator that checks that its first sub-expression is less than its second sub-expression.DefaultFilterFactory.lessOrEqual(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2) Filter operator that checks that its first sub-expression is less than or equal to its second sub-expression.DefaultFilterFactory.like(Expression<? super R, ?> expression, String pattern) Character string comparison operator with pattern matching and default wildcards.DefaultFilterFactory.like(Expression<? super R, ?> expression, String pattern, char wildcard, char singleChar, char escape, boolean isMatchingCase) Character string comparison operator with pattern matching and specified wildcards.DefaultFilterFactory.meets(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand meets the second.DefaultFilterFactory.metBy(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand is met by the second.Creates aNOTfilter for the given filter.DefaultFilterFactory.notEqual(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2) Filter operator that compares that its two sub-expressions are not equal to each other.Optimization.OnFilter.optimize(Optimization optimization) Tries to optimize this filter.DefaultFilterFactory.or(Collection<? extends Filter<? super R>> operands) Creates aORfilter between two or more filters.Creates aORfilter between two filters.DefaultFilterFactory.overlappedBy(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand is overlapped by the second.DefaultFilterFactory.overlaps(Expression<? super R, ? extends G> geometry1, Expression<? super R, ? extends G> geometry2) Creates an operator that checks if the interior of the first geometric operand somewhere overlaps the interior of the second geometric operand.Optimization.OnFilter.recreate(Expression<? super R, ?>[] effective) Creates a new filter of the same type and parameters than this filter, except for the expressions.DefaultFilterFactory.Features.resourceId(String identifier) Creates a new predicate to identify an identifiable resource within a filter expression.DefaultFilterFactory.resourceId(String rid) Creates a predicate to identify an identifiable resource within a filter expression.DefaultFilterFactory.tcontains(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand is contained by the second.DefaultFilterFactory.tequals(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand is equal to the second.DefaultFilterFactory.touches(Expression<? super R, ? extends G> geometry1, Expression<? super R, ? extends G> geometry2) Creates an operator that checks if the two geometric operands touch each other, but do not overlap.DefaultFilterFactory.toverlaps(Expression<? super R, ? extends T> time1, Expression<? super R, ? extends T> time2) Creates an operator that checks if first temporal operand overlaps the second.DefaultFilterFactory.within(Expression<? super R, ? extends G> geometry1, Expression<? super R, ? extends G> geometry2) Creates an operator that checks if the first geometric operand is completely contained by the constant geometric operand.DefaultFilterFactory.within(Expression<? super R, ? extends G> geometry1, Expression<? super R, ? extends G> geometry2, javax.measure.Quantity<javax.measure.quantity.Length> distance) Creates an operator that checks if any part of the first geometry lies within the given distance of the second geometry.Methods in org.apache.sis.filter that return types with arguments of type FilterModifier and TypeMethodDescriptionOptimization.applyAndDecompose(Filter<R> filter) Optimizes or simplifies the given filter and returns it as a list ofANDoperands.Methods in org.apache.sis.filter with parameters of type FilterModifier and TypeMethodDescriptionCreates aANDfilter between two filters.<R> Filter<? super R> Optimizes or simplifies the given filter.Optimization.applyAndDecompose(Filter<R> filter) Optimizes or simplifies the given filter and returns it as a list ofANDoperands.Creates aNOTfilter for the given filter.Creates aORfilter between two filters.Method parameters in org.apache.sis.filter with type arguments of type FilterModifier and TypeMethodDescriptionDefaultFilterFactory.and(Collection<? extends Filter<? super R>> operands) Creates aANDfilter between two or more filters.DefaultFilterFactory.or(Collection<? extends Filter<? super R>> operands) Creates aORfilter between two or more filters. -
Uses of Filter in org.apache.sis.internal.filter
Methods in org.apache.sis.internal.filter that return types with arguments of type FilterModifier and TypeMethodDescriptionprotected final BiConsumer<Filter<R>, A> Visitor.getFilterHandler(Enum<?> type) Returns the action to execute for the given type of filter.Methods in org.apache.sis.internal.filter with parameters of type FilterModifier and TypeMethodDescriptionprotected voidVisitor.typeNotFound(Enum<?> type, Filter<R> filter, A accumulator) Adds the value to use or throws an exception when there is no action registered for a given filter type.voidExecutes the registered action for the given filter.Method parameters in org.apache.sis.internal.filter with type arguments of type FilterModifier and TypeMethodDescriptionprotected final voidVisitor.setBinaryComparisonHandlers(BiConsumer<Filter<R>, A> action) Sets the same action to execute for the <, >, ≤, ≥, = and ≠ types of filter.protected final voidVisitor.setBinaryTemporalHandlers(BiConsumer<Filter<R>, A> action) Sets the same action to execute for the temporal comparison operators.protected final voidVisitor.setFilterHandler(Enum<?> type, BiConsumer<Filter<R>, A> action) Sets the action to execute for the given type of filter.protected final voidVisitor.setLogicalHandlers(BiConsumer<Filter<R>, A> action) Sets the same action to execute for theAND,ORandNOTtypes filter.protected final voidVisitor.setNullAndNilHandlers(BiConsumer<Filter<R>, A> action) Sets the same action for both theIsNullandIsNiltypes of filter.protected final voidVisitor.setSpatialHandlers(BiConsumer<Filter<R>, A> action) Sets the same action to execute for the spatial comparison operators, including the ones with a distance parameter. -
Uses of Filter in org.apache.sis.internal.geoapi.filter
Subinterfaces of Filter in org.apache.sis.internal.geoapi.filterModifier and TypeInterfaceDescriptioninterfacePlaceholder for GeoAPI 3.1 interfaces (not yet released).interfacePlaceholder for GeoAPI 3.1 interfaces (not yet released).interfacePlaceholder for GeoAPI 3.1 interfaces (not yet released).Methods in org.apache.sis.internal.geoapi.filter that return types with arguments of type Filter -
Uses of Filter in org.apache.sis.internal.sql.feature
Methods in org.apache.sis.internal.sql.feature with parameters of type FilterModifier and TypeMethodDescriptionprotected final voidSelectionClauseWriter.typeNotFound(Enum<?> type, Filter<AbstractFeature> filter, SelectionClause sql) Invoked when an unsupported filter is found.protected final voidSelectionClauseWriter.writeBinaryOperator(SelectionClause sql, Filter<AbstractFeature> filter, String operator) Writes the expressions of a filter as a binary operator. -
Uses of Filter in org.apache.sis.storage
Methods in org.apache.sis.storage that return FilterModifier and TypeMethodDescriptionFilter<? super AbstractFeature> FeatureQuery.getSelection()Returns the filter for trimming feature instances.Methods in org.apache.sis.storage with parameters of type FilterModifier and TypeMethodDescriptionvoidFeatureQuery.setSelection(Filter<? super AbstractFeature> selection) Sets a filter for trimming feature instances.