[
https://issues.apache.org/jira/browse/BLUR-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13556004#comment-13556004
]
Rohit commented on BLUR-46:
---------------------------
Aron,
Please guide me in implementing this story.
As per my analysis goes. Following are the steps of implementation of first
part of the story:
1. create a map in session info for queries something like this:
private Map<Integer, Query> queries = new HashMap<Integer, Query>();
Where query object will be AbstractWrapperQuery or any of its subclass.
2. we need an add function to add queries into this structure in session info
class.
public void add(int index, Query query) {
queries.put(index, query);
}
3. After having these in place we need a place holder for calling this add
function. That i think is
private Session newSession(String table, String uuid) method in BlurServer
class. But the question here is how we'll get query object here ?
4. Next steps we need to implement cancellation code/process in
AbstractWrapperQuery.
Thanks,
Rohit.
> Implement cancelQuery
> ---------------------
>
> Key: BLUR-46
> URL: https://issues.apache.org/jira/browse/BLUR-46
> Project: Apache Blur
> Issue Type: Improvement
> Affects Versions: 0.2.0
> Environment: 0.2-dev-removing-old-thrift branch
> Reporter: Aaron McCurry
> Fix For: 0.2.0
>
>
> Implement the ability to cancel any currently running queries via
> cancelQuery. The thrift api will likely evolve during implementation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira