This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a change to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git
from d70355df3b Reintroduce the `GenericName` argument in
`MemoryGridCoverageResource`.
new aa29a64835 Add support for `IS_NAN`, `IS_FINITE` and `IS_INFINITE`
expressions. Continuation of https://issues.apache.org/jira/browse/SIS-622
new 39309d5f1f Add aliases for some mathematical functions. For example,
`CEIL` also known as `CEILING`. Note that this commit add the aliases in the
Java code only. It does not check which spelling the database actually use.
new 772ea5c3fa When possible, replace Java expressions by SQL functions in
the `SELECT` part of the query. Before this commit, such replacements were done
in the `WHERE` part only.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org.apache.sis.feature/main/module-info.java | 3 +
.../feature/internal/shared/FeatureProjection.java | 82 ++++++-
.../main/org/apache/sis/filter/Capabilities.java | 21 +-
.../main/org/apache/sis/filter/math/Function.java | 117 ++++++++--
.../math/{UnaryOperator.java => Predicate.java} | 32 +--
.../main/org/apache/sis/filter/math/Registry.java | 23 +-
.../org/apache/sis/filter/math/UnaryOperator.java | 4 +-
.../main/org/apache/sis/filter/sqlmm/Registry.java | 4 +-
.../main/org/apache/sis/filter/sqlmm/SQLMM.java | 7 +-
.../sis/filter/visitor/FunctionIdentifier.java | 56 +++++
.../apache/sis/filter/visitor/FunctionNames.java | 18 +-
.../org/apache/sis/filter/visitor/Visitor.java | 52 +++--
.../metadata/sql/internal/shared/Reflection.java | 22 ++
.../metadata/sql/internal/shared/SQLBuilder.java | 4 +-
.../metadata/sql/internal/shared/TypeMapper.java | 3 +-
.../storage/sql/duckdb/ExtendedClauseWriter.java | 16 +-
.../org/apache/sis/storage/sql/feature/Column.java | 13 +-
.../sis/storage/sql/feature/ComputedColumn.java | 88 +++++++
.../apache/sis/storage/sql/feature/Database.java | 13 +-
.../sis/storage/sql/feature/FeatureAdapter.java | 24 +-
.../sis/storage/sql/feature/FeatureIterator.java | 31 +--
.../sis/storage/sql/feature/FeatureStream.java | 83 ++++++-
.../apache/sis/storage/sql/feature/Relation.java | 2 +-
.../sis/storage/sql/feature/SelectionClause.java | 52 ++++-
.../storage/sql/feature/SelectionClauseWriter.java | 257 ++++++++++++++++-----
.../org/apache/sis/storage/sql/feature/Table.java | 11 +-
.../sis/storage/sql/feature/ValueGetter.java | 2 +-
.../storage/sql/postgis/ExtendedClauseWriter.java | 18 +-
.../apache/sis/storage/sql/postgis/Postgres.java | 6 +-
.../org/apache/sis/storage/sql/SQLStoreTest.java | 33 ++-
.../sql/feature/SelectionClauseWriterTest.java | 8 +-
.../org/apache/sis/util/collection/Containers.java | 79 ++++---
.../sis/util/internal/shared/CollectionsExt.java | 2 +-
33 files changed, 912 insertions(+), 274 deletions(-)
copy
endorsed/src/org.apache.sis.feature/main/org/apache/sis/filter/math/{UnaryOperator.java
=> Predicate.java} (74%)
create mode 100644
endorsed/src/org.apache.sis.feature/main/org/apache/sis/filter/visitor/FunctionIdentifier.java
create mode 100644
endorsed/src/org.apache.sis.storage.sql/main/org/apache/sis/storage/sql/feature/ComputedColumn.java