[infinispan-issues] [JBoss JIRA] (ISPN-11790) Deprecate CacheQuery
Gustavo Fernandes (Jira)
issues at jboss.org
Thu May 7 10:46:06 EDT 2020
[ https://issues.redhat.com/browse/ISPN-11790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082323#comment-14082323 ]
Gustavo Fernandes edited comment on ISPN-11790 at 5/7/20 10:45 AM:
-------------------------------------------------------------------
CacheQuery behaviour should be deprecated so that org.infinispan.query.dsl.Query is the only supported query object. This involves:
* Supporting ResultIterator in org.infinispan.query.dsl.Query;
* Introducing a QueryResult object to org.infinispan.query.dsl.Query containing info about the results, such as number of hits (OptionalLong) and the list of results. In the future it could hold more info about the resultset, such as explanation and scores.
* Deprecate Query.getProjection()
was (Author: gustavonalle):
CacheQuery behaviour should be deprecated so that org.infinispan.query.dsl.Query is the only supported query object. This involves:
* Supporting ResultIterator in org.infinispan.query.dsl.Query;
* Introducing a QueryResult object to org.infinispan.query.dsl.Query containing info about the results, such as maxResults (Optional<Long>) and the list of results. In the future it could hold more info about the resultset, such as explanation and scores.
* Deprecate Query.getProjection()
> Deprecate CacheQuery
> --------------------
>
> Key: ISPN-11790
> URL: https://issues.redhat.com/browse/ISPN-11790
> Project: Infinispan
> Issue Type: Enhancement
> Components: Embedded Querying
> Affects Versions: 11.0.0.Dev05
> Reporter: Gustavo Fernandes
> Priority: Major
> Labels: query-ispn11
> Fix For: 11.0.0.Final
>
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list