Uses of Interface
org.apache.sis.filter.Expression
Packages that use Expression
Package
Description
Filters features according their properties.
A set of helper classes for the SIS implementation.
Base implementation shared by the main
filter
package and the SQLMM extension.Partial implementation of SQLMM operations as filter expressions.
Placeholder for GeoAPI 3.1 interfaces (not yet released).
Build
DefaultFeatureType
s by inspection of database schemas.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.Classes in org.apache.sis.filter that implement ExpressionModifier and TypeClassDescription(package private) class
Arithmetic operations between two numerical values.(package private) static final class
The "Add" (+) expression.(package private) static final class
The "Divide" (÷) expression.(package private) static final class
The "Multiply" (×) expression.(package private) static final class
The "Subtract" (−) expression.(package private) final class
Expression whose value is computed by retrieving the value indicated by the provided path.(package private) final class
ConvertFunction<R,
S, V> Expression whose results are converted to a different type.(package private) class
LeafExpression<R,
V> Expressions that do not depend on any other expression.(package private) static class
A constant, literal value that can be used in expressions.(package private) static final class
A literal value which is the result of transforming another literal.(package private) class
Expression whose value is computed by retrieving the value indicated by the provided name.private static final class
An expression fetching property values asObject
.private static final class
An expression fetching property values as an object of specified type.private static class
An expression fetching property values as an object of specified type.Fields in org.apache.sis.filter declared as ExpressionModifier and TypeFieldDescriptionprivate final Expression<? super R,
?> LikeFilter.expression
The source of values to compare against the pattern.protected final Expression<? super R,
? extends V> UnaryFunction.expression
The expression to be used by this operator.protected final Expression<? super R,
? extends V1> BinaryFunction.expression1
The first of the two expressions to be used by this function.protected final Expression<? super R,
GeometryWrapper<G>> BinaryGeometryFilter.expression1
The first of the two expressions to be used by this function.protected final Expression<? super R,
? extends V2> BinaryFunction.expression2
The second of the two expressions to be used by this function.protected final Expression<? super R,
GeometryWrapper<G>> BinaryGeometryFilter.expression2
The second of the two expressions to be used by this function.(package private) final Expression<R,
?> LeafExpression.Transformed.original
The original expression.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.Expression<? super R,
?> ComparisonFilter.Between.getExpression()
Returns the expression to be compared.Expression<? super R,
?> ComparisonFilter.Between.getLowerBoundary()
Expression<? super R,
?> BinarySpatialFilter.getOperand1()
Returns the first expression to be evaluated.final Expression<? super R,
?> ComparisonFilter.getOperand1()
Returns the element on the left side of the comparison expression.Expression<? super R,
?> BinarySpatialFilter.getOperand2()
Returns the second expression to be evaluated.final Expression<? super R,
?> ComparisonFilter.getOperand2()
Returns the element on the right side of the comparison expression.Expression<? super R,
?> ComparisonFilter.Between.getUpperBoundary()
<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.AssociationValue.optimize
(Optimization optimization) If at least one evaluated property is a link, replaces this expression by more direct references to the target properties.Expression<? super R,
? extends V> LeafExpression.Transformed.optimize
(Optimization optimization) Returns the same literal without the reference to the original expression.default Expression<? super R,
? extends V> Optimization.OnExpression.optimize
(Optimization optimization) Tries to optimize this expression.protected static <R,
G> Expression<? super R, ?> BinaryGeometryFilter.original
(Expression<R, GeometryWrapper<G>> expression) Returns the original expression specified by the user.<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.ArithmeticFunction.Add.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type but different parameters.ArithmeticFunction.Divide.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type but different parameters.ArithmeticFunction.Multiply.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type but different parameters.ArithmeticFunction.Subtract.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type but different parameters.Expression<R,
V> ConvertFunction.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with optimized parameters.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> ArithmeticFunction.toValueType
(Class<N> target) Returnsthis
if this expression provides values of the specified type, or otherwise returns an expression doing conversions on-the-fly.final <N> Expression<AbstractFeature,
N> AssociationValue.toValueType
(Class<N> target) Returns an expression that provides values as instances of the specified class.<N> Expression<R,
N> ConvertFunction.toValueType
(Class<N> target) Returns an expression doing the same evaluation than this method, but returning results as values of the specified type.<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.<N> Expression<R,
N> LeafExpression.Literal.toValueType
(Class<N> target) Returns an expression that provides values as instances of the specified class.<N> Expression<R,
N> LeafExpression.Transformed.toValueType
(Class<N> target) Converts the transformed value if possible, or the original value as a fallback.Methods in org.apache.sis.filter that return types with arguments of type ExpressionModifier and TypeMethodDescriptionList<Expression<? super R,
?>> BinaryFunction.getExpressions()
Returns the two expressions used as parameters by this filter.List<Expression<? super R,
?>> BinaryGeometryFilter.getExpressions()
Returns the two expressions used as parameters by this filter.List<Expression<? super R,
?>> ComparisonFilter.Between.getExpressions()
Returns the expression to be compared by this operator, together with boundaries.List<Expression<? super R,
?>> DistanceFilter.getExpressions()
Returns the two expressions used as parameters by this filter.List<Expression<? super R,
?>> Filter.getExpressions()
Returns the expressions used as arguments for this filter.List<Expression<? super Object,
?>> FilterLiteral.getExpressions()
List<Expression<? super R,
?>> IdentifierFilter.getExpressions()
Returns the parameters of this filter.List<Expression<? super R,
?>> LikeFilter.getExpressions()
Returns the expression whose values will be compared by this operator, together with the pattern.final List<Expression<? super R,
?>> UnaryFunction.getExpressions()
Returns the expression used as parameter by this filter.final List<Expression<? super R,
?>> BinaryFunction.getParameters()
Returns the expressions used as parameters by this function.List<Expression<? super R,
?>> Expression.getParameters()
Returns the list sub-expressions that will be evaluated to provide the parameters to the function.final List<Expression<? super R,
?>> LeafExpression.getParameters()
Returns the expression used as parameters for this function, which is an empty list.final List<Expression<? super R,
?>> UnaryFunction.getParameters()
Returns the expression used as parameter by this 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, 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.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.protected static <R,
G> Expression<? super R, ?> BinaryGeometryFilter.original
(Expression<R, GeometryWrapper<G>> expression) Returns the original expression specified by the user.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.ArithmeticFunction.Add.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type but different parameters.ArithmeticFunction.Divide.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type but different parameters.ArithmeticFunction.Multiply.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type but different parameters.ArithmeticFunction.Subtract.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type but different parameters.protected abstract BinaryGeometryFilter<R,
G> BinaryGeometryFilter.recreate
(Expression<? super R, ?> geometry1, Expression<? super R, ?> geometry2) Recreates a new filter of the same type and with the same parameters, but using the given expressions.protected BinaryGeometryFilter<R,
G> BinarySpatialFilter.recreate
(Expression<? super R, ?> geometry1, Expression<? super R, ?> geometry2) Recreates a new filter of the same type and with the same parameters, but using the given expressions.ComparisonFilter.EqualTo.recreate
(Expression<? super R, ?>[] effective) Creates a new filter of the same type but different parameters.ComparisonFilter.GreaterThan.recreate
(Expression<? super R, ?>[] effective) Creates a new filter of the same type but different parameters.ComparisonFilter.GreaterThanOrEqualTo.recreate
(Expression<? super R, ?>[] effective) Creates a new filter of the same type but different parameters.ComparisonFilter.LessThan.recreate
(Expression<? super R, ?>[] effective) Creates a new filter of the same type but different parameters.ComparisonFilter.LessThanOrEqualTo.recreate
(Expression<? super R, ?>[] effective) Creates a new filter of the same type but different parameters.ComparisonFilter.NotEqualTo.recreate
(Expression<? super R, ?>[] effective) Creates a new filter of the same type but different parameters.Expression<R,
V> ConvertFunction.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with optimized parameters.protected BinaryGeometryFilter<R,
G> DistanceFilter.recreate
(Expression<? super R, ?> geometry1, Expression<? super R, ?> geometry2) Recreates a new filter of the same type and with the same parameters, but using the given expressions.LikeFilter.recreate
(Expression<? super R, ?>[] effective) Creates a new filter of the same type but different parameters.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.TemporalFilter.After.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.AnyInteracts.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.Before.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.Begins.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.BegunBy.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.Contains.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.During.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.EndedBy.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.Ends.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.Equals.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.Meets.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.MetBy.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.OverlappedBy.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.TemporalFilter.Overlaps.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.UnaryFunction.IsNil.recreate
(Expression<? super R, ?>[] effective) Creates a new filter of the same type but different parameters.UnaryFunction.IsNull.recreate
(Expression<? super R, ?>[] effective) Creates a new filter of the same type but different 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.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.Constructors in org.apache.sis.filter with parameters of type ExpressionModifierConstructorDescription(package private)
Add
(Expression<? super R, ? extends Number> expression1, Expression<? super R, ? extends Number> expression2) Creates a new expression for the"Add"
operation.(package private)
After
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
AnyInteracts
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
ArithmeticFunction
(Expression<? super R, ? extends Number> expression1, Expression<? super R, ? extends Number> expression2) Creates a new arithmetic function.(package private)
Before
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
Begins
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
BegunBy
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
Between
(Expression<? super R, ?> expression, Expression<? super R, ?> lower, Expression<? super R, ?> upper) Creates a new filter.protected
BinaryFunction
(Expression<? super R, ? extends V1> expression1, Expression<? super R, ? extends V2> expression2) Creates a new binary function.protected
BinaryGeometryFilter
(Geometries<G> library, Expression<? super R, ?> geometry1, Expression<? super R, ?> geometry2, javax.measure.Unit<?> systemUnit) Creates a new binary function.(package private)
BinarySpatialFilter
(Geometries<G> library, Expression<? super R, ?> geometry, org.opengis.geometry.Envelope bounds, WraparoundMethod wraparound) Creates a spatial operator forSpatialOperatorName.BBOX
.(package private)
BinarySpatialFilter
(SpatialOperatorName operatorType, Geometries<G> library, Expression<? super R, ?> geometry1, Expression<? super R, ?> geometry2) Creates a spatial operator all types other than BBOX.(package private)
ComparisonFilter
(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2, boolean isMatchingCase, MatchAction matchAction) Creates a new comparator.(package private)
Contains
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.private
ConvertFunction
(ConvertFunction<R, S, V> original, Expression<? super R, ? extends S> expression) Creates a new converted expression after optimization.(package private)
ConvertFunction
(Expression<? super R, ? extends S> expression, Class<S> source, Class<V> target) Creates a new converted expression.(package private)
DistanceFilter
(DistanceOperatorName operatorType, Geometries<G> library, Expression<? super R, ?> geometry1, Expression<? super R, ?> geometry2, javax.measure.Quantity<javax.measure.quantity.Length> distance) Creates a new spatial function.(package private)
Divide
(Expression<? super R, ? extends Number> expression1, Expression<? super R, ? extends Number> expression2) Creates a new expression for the"Divide"
operation.(package private)
During
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
EndedBy
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
Ends
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
Equals
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
EqualTo
(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2, boolean isMatchingCase, MatchAction matchAction) Creates a new filter.(package private)
GreaterThan
(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2, boolean isMatchingCase, MatchAction matchAction) Creates a new filter.(package private)
GreaterThanOrEqualTo
(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2, boolean isMatchingCase, MatchAction matchAction) Creates a new filter.(package private)
IsNil
(Expression<? super R, ?> expression, String nilReason) Creates a new operator.(package private)
IsNull
(Expression<? super R, ?> expression) Creates a new operator.(package private)
LessThan
(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2, boolean isMatchingCase, MatchAction matchAction) Creates a new filter.(package private)
LessThanOrEqualTo
(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2, boolean isMatchingCase, MatchAction matchAction) Creates a new filter.(package private)
LikeFilter
(Expression<? super R, ?> expression, String pattern, char wildcard, char singleChar, char escape, boolean isMatchingCase) Creates a new operator.private
LikeFilter
(LikeFilter<R> original, Expression<? super R, ?> expression) Creates a new filter of the same type but different parameters.(package private)
Meets
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
MetBy
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
Multiply
(Expression<? super R, ? extends Number> expression1, Expression<? super R, ? extends Number> expression2) Creates a new expression for the"Multiply"
operation.(package private)
NotEqualTo
(Expression<? super R, ?> expression1, Expression<? super R, ?> expression2, boolean isMatchingCase, MatchAction matchAction) Creates a new filter.(package private)
OverlappedBy
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
Overlaps
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.(package private)
Subtract
(Expression<? super R, ? extends Number> expression1, Expression<? super R, ? extends Number> expression2) Creates a new expression for the"Subtract"
operation.(package private)
TemporalFilter
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new temporal function.(package private)
Transformed
(V value, Expression<R, ?> original) Creates a new literal holding the given constant value.(package private)
UnaryFunction
(Expression<? super R, ? extends V> expression) Creates a new unary operator. -
Uses of Expression in org.apache.sis.internal.feature
Subinterfaces of Expression in org.apache.sis.internal.featureModifier and TypeInterfaceDescriptioninterface
FeatureExpression<R,
V> OGC expressions or other functions operating on feature instances.Methods in org.apache.sis.internal.feature with parameters of type ExpressionModifier and TypeMethodDescriptionstatic FeatureExpression<?,
?> FeatureExpression.castOrCopy
(Expression<?, ?> candidate) Tries to cast or convert the given expression to aFeatureExpression
. -
Uses of Expression in org.apache.sis.internal.filter
Classes in org.apache.sis.internal.filter that implement ExpressionModifier and TypeClassDescription(package private) final class
GeometryConverter<R,
G> Expression whose results is a geometry wrapper.Fields in org.apache.sis.internal.filter declared as ExpressionModifier and TypeFieldDescription(package private) final Expression<? super R,
?> GeometryConverter.expression
The expression to be used by this operator.Fields in org.apache.sis.internal.filter with type parameters of type ExpressionModifier and TypeFieldDescriptionprivate final Map<String,
BiConsumer<Expression<R, ?>, A>> Visitor.expressions
All expressions known to this visitor.Methods in org.apache.sis.internal.filter that return ExpressionModifier and TypeMethodDescription<R> Expression<R,
?> FunctionRegister.create
(String name, Expression<? super R, ?>[] parameters) Create a new function of the given name with given parameters.GeometryConverter.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.protected static <R,
G> Expression<R, GeometryWrapper<G>> Node.toGeometryWrapper
(Geometries<G> library, Expression<R, ?> expression) Returns an expression whose results is a geometry wrapper.<N> Expression<R,
N> GeometryConverter.toValueType
(Class<N> target) Returnsthis
if the given type is assignable from the geometry root type, or throws an exception otherwise.protected static <R,
G> Expression<? super R, ?> Node.unwrap
(Expression<R, GeometryWrapper<G>> expression) If the given exception was wrapped byNode.toGeometryWrapper(Geometries, Expression)
, returns the original expression.Methods in org.apache.sis.internal.filter that return types with arguments of type ExpressionModifier and TypeMethodDescriptionprotected final BiConsumer<Expression<R,
?>, A> Visitor.getExpressionHandler
(String type) Returns the action to execute for the given type of expression.List<Expression<? super R,
?>> GeometryConverter.getParameters()
Returns the expression used as parameters for this function.Methods in org.apache.sis.internal.filter with parameters of type ExpressionModifier and TypeMethodDescription<R> Expression<R,
?> FunctionRegister.create
(String name, Expression<? super R, ?>[] parameters) Create a new function of the given name with given parameters.protected static <G> Geometries<G>
Node.getGeometryLibrary
(Expression<?, GeometryWrapper<G>> expression) Returns a handler for the library of geometric objects used by the given expression.GeometryConverter.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.protected static <R,
G> Expression<R, GeometryWrapper<G>> Node.toGeometryWrapper
(Geometries<G> library, Expression<R, ?> expression) Returns an expression whose results is a geometry wrapper.protected void
Visitor.typeNotFound
(String type, Expression<R, ?> expression, A accumulator) Adds the value to use or throws an exception when there is no action registered for a given expression type.protected static <R,
G> Expression<? super R, ?> Node.unwrap
(Expression<R, GeometryWrapper<G>> expression) If the given exception was wrapped byNode.toGeometryWrapper(Geometries, Expression)
, returns the original expression.void
Visitor.visit
(Expression<R, ?> expression, A accumulator) Executes the registered action for the given expression.Method parameters in org.apache.sis.internal.filter with type arguments of type ExpressionModifier and TypeMethodDescriptionprotected final void
Visitor.setExpressionHandler
(String type, BiConsumer<Expression<R, ?>, A> action) Sets the action to execute for the given type of expression.private void
Visitor.setExpressionHandlers
(BiConsumer<Expression<R, ?>, A> action, String... types) Sets the same action to execute for the given types of expression.protected final void
Visitor.setMathHandlers
(BiConsumer<Expression<R, ?>, A> action) Sets the same action to execute for the +, −, × and ÷ expressions.Constructors in org.apache.sis.internal.filter with parameters of type ExpressionModifierConstructorDescriptionGeometryConverter
(Geometries<G> library, Expression<? super R, ?> expression) Creates a new converter expression. -
Uses of Expression in org.apache.sis.internal.filter.sqlmm
Classes in org.apache.sis.internal.filter.sqlmm that implement ExpressionModifier and TypeClassDescription(package private) class
A function where the last argument is the identifier of a Coordinate Reference System.(package private) class
GeometryConstructor<R,
G> SQLMM spatial functions taking non-geometry operands and creating a geometry.(package private) class
GeometryParser<R,
G> SQLMM spatial functions taking non-geometry operands and parsing a geometry.(package private) class
OneGeometry<R,
G> SQLMM spatial functions taking a single geometry operand.(package private) static final class
SQLMM spatial functions taking a single geometry operand with one argument.(package private) class
Base class of SQLMM spatial functions.(package private) final class
ST_FromBinary<R,
G> Constructor for a geometry which is transformed from a Well-Known Binary (WKB) representation.(package private) final class
ST_FromText<R,
G> Constructor for a geometry which is transformed from a Well-Known Text (WKT) representation.(package private) final class
ST_Point<R,
G> An expression which creates a point geometry from coordinate values.(package private) final class
ST_Transform<R,
G> Return an geometry value transformed to the specified spatial reference system, considering z and m coordinate values in the calculations and including them in the resultant geometry.(package private) class
TwoGeometries<R,
G> SQLMM spatial functions taking two geometry operands.(package private) static final class
SQLMM spatial functions taking a single geometry operand with one argument.Fields in org.apache.sis.internal.filter.sqlmm declared as ExpressionModifier and TypeFieldDescription(package private) final Expression<? super R,
?> OneGeometry.WithArgument.argument
The first argument after the geometry.(package private) final Expression<? super R,
?> TwoGeometries.WithArgument.argument
The first argument after the geometries.(package private) final Expression<? super R,
?> GeometryConstructor.geometry
The expression giving the geometry.(package private) final Expression<? super R,
GeometryWrapper<G>> OneGeometry.geometry
The expression giving the geometry.private final Expression<? super R,
GeometryWrapper<G>> ST_Transform.geometry
The expression giving the geometry.(package private) final Expression<? super R,
GeometryWrapper<G>> TwoGeometries.geometry1
The expression giving the geometries.(package private) final Expression<? super R,
GeometryWrapper<G>> TwoGeometries.geometry2
The expression giving the geometries.private final Expression<? super R,
?>[] ST_Point.parameters
The expression giving the coordinate values.(package private) final Expression<? super R,
?> FunctionWithSRID.srid
The expression giving the spatial reference system identifier, ornull
if none.Methods in org.apache.sis.internal.filter.sqlmm that return ExpressionModifier and TypeMethodDescription<R> Expression<R,
?> Registry.create
(String name, Expression<? super R, ?>[] parameters) Create a new function of the given name with given parameters.Expression<? super R,
?> TwoGeometries.optimize
(Optimization optimization) If the CRS of the first argument is known in advance and the second argument is a literal, transforms the second geometry to the CRS of the first argument.GeometryConstructor.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.abstract Expression<R,
Object> GeometryParser.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.OneGeometry.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.OneGeometry.WithArgument.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.ST_FromBinary.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.ST_FromText.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.ST_Point.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.ST_Transform.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.TwoGeometries.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.TwoGeometries.WithArgument.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.final <N> Expression<R,
N> SpatialFunction.toValueType
(Class<N> target) Returnsthis
if this expression provides values of the specified type, or throws an exception otherwise.Methods in org.apache.sis.internal.filter.sqlmm that return types with arguments of type ExpressionModifier and TypeMethodDescriptionfinal List<Expression<? super R,
?>> GeometryConstructor.getParameters()
Returns the sub-expressions that will be evaluated to provide the parameters to the function.List<Expression<? super R,
?>> OneGeometry.getParameters()
Returns the sub-expressions that will be evaluated to provide the parameters to the function.List<Expression<? super R,
?>> OneGeometry.WithArgument.getParameters()
Returns the sub-expressions that will be evaluated to provide the parameters to the function.List<Expression<? super R,
?>> ST_Point.getParameters()
Returns the sub-expressions that will be evaluated to provide the parameters to the function.List<Expression<? super R,
?>> ST_Transform.getParameters()
Returns the sub-expressions that will be evaluated to provide the parameters to the function.List<Expression<? super R,
?>> TwoGeometries.getParameters()
Returns the sub-expressions that will be evaluated to provide the parameters to the function.List<Expression<? super R,
?>> TwoGeometries.WithArgument.getParameters()
Returns the sub-expressions that will be evaluated to provide the parameters to the function.Methods in org.apache.sis.internal.filter.sqlmm with parameters of type ExpressionModifier and TypeMethodDescription<R> Expression<R,
?> Registry.create
(String name, Expression<? super R, ?>[] parameters) Create a new function of the given name with given parameters.GeometryConstructor.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.abstract Expression<R,
Object> GeometryParser.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.OneGeometry.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.OneGeometry.WithArgument.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.ST_FromBinary.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.ST_FromText.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.ST_Point.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.ST_Transform.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.TwoGeometries.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.TwoGeometries.WithArgument.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.Constructors in org.apache.sis.internal.filter.sqlmm with parameters of type ExpressionModifierConstructorDescription(package private)
FunctionWithSRID
(SQLMM operation, Expression<? super R, ?>[] parameters, int hasSRID) Creates a new function for a geometry represented by the given parameter.(package private)
GeometryConstructor
(SQLMM operation, Expression<? super R, ?>[] parameters, Geometries<G> library) Creates a new function for the given parameters.(package private)
GeometryParser
(SQLMM operation, Expression<? super R, ?>[] parameters, Geometries<G> library) Creates a new function for the given parameters.(package private)
OneGeometry
(SQLMM operation, Expression<? super R, ?>[] parameters, Geometries<G> library) Creates a new function for a geometry represented by the given parameter.(package private)
SpatialFunction
(SQLMM operation, Expression<? super R, ?>[] parameters) Creates a new function.(package private)
ST_FromBinary
(SQLMM operation, Expression<? super R, ?>[] parameters, Geometries<G> library) Creates a new function for the given parameters.(package private)
ST_FromText
(SQLMM operation, Expression<? super R, ?>[] parameters, Geometries<G> library) Creates a new function for the given parameters.(package private)
ST_Point
(Expression<? super R, ?>[] parameters, Geometries<G> library) Creates a new function with the given parameters.(package private)
ST_Transform
(Expression<? super R, ?>[] parameters, Geometries<G> library) Creates a new function with the given parameters.(package private)
TwoGeometries
(SQLMM operation, Expression<? super R, ?>[] parameters, Geometries<G> library) Creates a new function for geometries represented by the given parameter.(package private)
WithArgument
(SQLMM operation, Expression<? super R, ?>[] parameters, Geometries<G> library) Creates a new function for a geometry represented by the given parameter.(package private)
WithArgument
(SQLMM operation, Expression<? super R, ?>[] parameters, Geometries<G> library) Creates a new function for geometries represented by the given parameter. -
Uses of Expression in org.apache.sis.internal.geoapi.filter
Subinterfaces of Expression in org.apache.sis.internal.geoapi.filterModifier and TypeInterfaceDescriptioninterface
Literal<R,
V> Placeholder for GeoAPI 3.1 interfaces (not yet released).interface
ValueReference<R,
V> Placeholder for GeoAPI 3.1 interfaces (not yet released).Classes in org.apache.sis.internal.geoapi.filter that implement ExpressionMethods in org.apache.sis.internal.geoapi.filter that return ExpressionModifier and TypeMethodDescriptionExpression<? super R,
?> FilterExpressions.get
(int index) Expression<? super R,
?> BetweenComparisonOperator.getExpression()
Expression<? super R,
?> BetweenComparisonOperator.getLowerBoundary()
Expression<? super R,
?> BinaryComparisonOperator.getOperand1()
Expression<? super R,
?> BinaryComparisonOperator.getOperand2()
Expression<? super R,
?> BetweenComparisonOperator.getUpperBoundary()
<N> Expression<R,
N> FilterExpressions.Element.toValueType
(Class<N> type) Methods in org.apache.sis.internal.geoapi.filter that return types with arguments of type ExpressionModifier and TypeMethodDescriptiondefault List<Expression<? super R,
?>> LogicalOperator.getExpressions()
List<Expression<? super R,
?>> FilterExpressions.Element.getParameters()
default List<Expression<? super R,
?>> Literal.getParameters()
-
Uses of Expression in org.apache.sis.internal.sql.feature
Methods in org.apache.sis.internal.sql.feature with parameters of type ExpressionModifier and TypeMethodDescriptionvoid
SelectionClauseWriter.Arithmetic.accept
(Expression<AbstractFeature, ?> expression, SelectionClause sql) Invoked when an arithmetic expression needs to be converted to SQL clause.protected final void
SelectionClauseWriter.typeNotFound
(String type, Expression<AbstractFeature, ?> expression, SelectionClause sql) Invoked when an unsupported expression is found.private boolean
SelectionClauseWriter.write
(SelectionClause sql, Expression<? super AbstractFeature, ?> expression) Executes the registered action for the given expression.Method parameters in org.apache.sis.internal.sql.feature with type arguments of type ExpressionModifier and TypeMethodDescriptionprivate void
SelectionClauseWriter.writeParameters
(SelectionClause sql, List<Expression<? super AbstractFeature, ?>> expressions, String separator, boolean binary) Writes the parameters of a function or a binary operator. -
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 TypeMethodDescriptionprivate static String
FeatureQuery.label
(Expression<?, ?> expression) Returns a label for the given expression for reporting to human (e.g.final 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, org.opengis.util.GenericName alias) Creates a new column with the given expression and the given name.