[
https://issues.apache.org/jira/browse/CALCITE-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364483#comment-15364483
]
Josh Elser commented on CALCITE-1301:
-------------------------------------
I took a look at
https://github.com/julianhyde/calcite/commit/65b0fd3ee972eef7c0aefd8df2078691fe44a1c5.
AtomicBoolean makes sense to me.
> Add cancel flag to AvaticaResultSet
> -----------------------------------
>
> Key: CALCITE-1301
> URL: https://issues.apache.org/jira/browse/CALCITE-1301
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
>
> Add cancel flag to AvaticaResultSet. The flag was added to CalciteResultSet
> as part of CALCITE-1227, but would be useful in the Avatica base class.
> It is currently of type {{CancelFlag}} but maybe it should become
> {{AtomicBoolean}}.
> To complete implementation of java.sql.Statement#cancel we would need a
> Cancel command; that is out of scope of this case, and would be covered by
> CALCITE-520.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)