Uses of Interface
org.apache.sis.filter.Expression
Packages that use Expression
Package
Description
Filters features according their properties.
Data store base types for retrieving and saving geospatial data
in various storage formats.
-
Uses of Expression in org.apache.sis.filter
Subinterfaces of Expression in org.apache.sis.filterModifier and TypeInterfaceDescriptionstatic interface
Expression that can be optimized.Methods in org.apache.sis.filter that return ExpressionModifier and TypeMethodDescriptionDefaultFilterFactory.add
(Expression<? super R, ? extends Number> operand1, Expression<? super R, ? extends Number> operand2) Creates a function computing the numeric addition of the first and second operand.<R,
V> Expression<? super R, ? extends V> Optimization.apply
(Expression<R, V> expression) Optimizes or simplifies the given expression.DefaultFilterFactory.divide
(Expression<? super R, ? extends Number> operand1, Expression<? super R, ? extends Number> operand2) Creates a function computing the numeric quotient resulting from dividing the first operand by the second.Expression<R,
?> DefaultFilterFactory.function
(String name, Expression<? super R, ?> parameter) Creates an implementation-specific function with a single parameter.Expression<R,
?> DefaultFilterFactory.function
(String name, Expression<? super R, ?>[] parameters) Creates an implementation-specific function.Expression<R,
?> DefaultFilterFactory.function
(String name, Expression<? super R, ?> param1, Expression<? super R, ?> param2) Creates an implementation-specific function with two parameters.<V> Expression<R,
V> DefaultFilterFactory.literal
(V value) Creates a constant, literal value that can be used in expressions.static <R,
V> Expression<R, V> Optimization.literal
(V value) Creates a constant, literal value that can be used in expressions.DefaultFilterFactory.multiply
(Expression<? super R, ? extends Number> operand1, Expression<? super R, ? extends Number> operand2) Creates a function computing the numeric product of their first and second operand.default Expression<? super R,
? extends V> Optimization.OnExpression.optimize
(Optimization optimization) Tries to optimize this expression.<V> Expression<AbstractFeature,
V> Creates an expression whose value is computed by retrieving the value indicated by a path in a resource.Expression<R,
?> Creates an expression whose value is computed by retrieving the value indicated by a path in a resource.abstract <V> Expression<R,
V> Creates an expression retrieving the value as an instance of the specified class.default Expression<R,
V> Optimization.OnExpression.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with optimized parameters.DefaultFilterFactory.subtract
(Expression<? super R, ? extends Number> operand1, Expression<? super R, ? extends Number> operand2) Creates a function computing the numeric difference between the first and second operand.<N> Expression<R,
N> Expression.toValueType
(Class<N> type) Returns an expression doing the same evaluation than this method, but returning results as values of the specified type.Methods in org.apache.sis.filter that return types with arguments of type ExpressionModifier and TypeMethodDescriptionList<Expression<? super R,
?>> Filter.getExpressions()
Returns the expressions used as arguments for this filter.List<Expression<? super R,
?>> Expression.getParameters()
Returns the list sub-expressions that will be evaluated to provide the parameters to the function.Methods in org.apache.sis.filter with parameters of type ExpressionModifier and TypeMethodDescriptionDefaultFilterFactory.add
(Expression<? super R, ? extends Number> operand1, Expression<? super R, ? extends Number> operand2) Creates a function computing the numeric addition of the first and second operand.DefaultFilterFactory.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.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,
V> Expression<? super R, ? extends V> Optimization.apply
(Expression<R, V> expression) Optimizes or simplifies the given expression.DefaultFilterFactory.bbox
(Expression<? super R, ? extends G> 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, 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.divide
(Expression<? super R, ? extends Number> operand1, Expression<? super R, ? extends Number> operand2) Creates a function computing the numeric quotient resulting from dividing the first operand by 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.Expression<R,
?> DefaultFilterFactory.function
(String name, Expression<? super R, ?> parameter) Creates an implementation-specific function with a single parameter.Expression<R,
?> DefaultFilterFactory.function
(String name, Expression<? super R, ?>[] parameters) Creates an implementation-specific function.Expression<R,
?> DefaultFilterFactory.function
(String name, Expression<? super R, ?> param1, Expression<? super R, ?> param2) Creates an implementation-specific function with two parameters.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.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.DefaultFilterFactory.multiply
(Expression<? super R, ? extends Number> operand1, Expression<? super R, ? extends Number> operand2) Creates a function computing the numeric product of their first and second operand.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.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.default Expression<R,
V> Optimization.OnExpression.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with optimized parameters.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.subtract
(Expression<? super R, ? extends Number> operand1, Expression<? super R, ? extends Number> operand2) Creates a function computing the numeric difference between the first and second operand.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, Quantity<Length> distance) Creates an operator that checks if any part of the first geometry lies within the given distance of the second geometry. -
Uses of Expression in org.apache.sis.storage
Fields in org.apache.sis.storage declared as ExpressionModifier and TypeFieldDescriptionfinal Expression<? super AbstractFeature,
?> FeatureQuery.NamedExpression.expression
The literal, value reference or more complex expression to be retrieved by aQuery
.Methods in org.apache.sis.storage with parameters of type ExpressionModifier and TypeMethodDescriptionfinal void
FeatureQuery.setProjection
(Expression<? super AbstractFeature, ?>... properties) Sets the properties to retrieve, ornull
if all properties shall be included in the query.Constructors in org.apache.sis.storage with parameters of type ExpressionModifierConstructorDescriptionNamedExpression
(Expression<? super AbstractFeature, ?> expression) Creates a new column with the given expression and no name.NamedExpression
(Expression<? super AbstractFeature, ?> expression, String alias) Creates a new column with the given expression and the given name.NamedExpression
(Expression<? super AbstractFeature, ?> expression, GenericName alias) Creates a new column with the given expression and the given name.