sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <>
Subject [jira] [Commented] (SIS-423) Query DataStore using scripting languages
Date Wed, 11 Jul 2018 10:20:00 GMT


Martin Desruisseaux commented on SIS-423:

{{QueriedFeatureSet}} removed in commit 892d108b024147709888bed655f2a7bc5beb8d86. We can take
it back from history later as a starting point for working on this issue.

> Query DataStore using scripting languages
> -----------------------------------------
>                 Key: SIS-423
>                 URL:
>             Project: Spatial Information Systems
>          Issue Type: Improvement
>          Components: Storage
>            Reporter: Martin Desruisseaux
>            Priority: Major
> As of Apache SIS 1.0, the {{Feature}} instances read by a {{DataStore}} can be filtered
by a call to {{FeatureSet.subset(Query)}}. The only {{Query}} implementation currently provided
is {{}} (that class may move to public API
later if experience shows that its API is okay). We should consider adding another subclass,
something like {{ScriptedQuery}}, for adding the capability to specify the query in a scripting
language. The list of supported languages would be provided by the {{DataStore}}. This list
may include {{SQL}} and {{CQL}}. An empty list of supported languages would mean that the
{{Query}} argument can not be an instance of {{ScriptedQuery}}.
> The {{SQLStore}} class defined in {{}} is an obvious example
of {{DataStore}} supporting {{ScriptedQuery}}, with SQL as the supported language. But we
could also define a separated module using Apache Calcite for adding SQL support to any {{DataStore}}
that do not natively support SQL. When this optional module is present on the classpath, SQL
would be automatically be added to the list of supported languages for {{DataStore}}.

This message was sent by Atlassian JIRA

View raw message