[ 
https://issues.apache.org/jira/browse/PHOENIX-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16236840#comment-16236840
 ] 

James Taylor commented on PHOENIX-4342:
---------------------------------------

My preference would be to either:
- add MutationPlan.getQueryPlan() or
- derive MutationPlan from QueryPlan (could use DelegateQueryPlan to help with 
that)

For the cases that don't issue a query, we could use a new EmptyQueryPlan (or 
null). Otherwise, we'll end up with lots of {{mutationPlan instanceof 
DeleteMutationPlan}} checks.

> Surface QueryPlan in MutationPlan
> ---------------------------------
>
>                 Key: PHOENIX-4342
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4342
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: James Taylor
>            Assignee: Geoffrey Jacoby
>            Priority: Minor
>         Attachments: PHOENIX-4342.patch
>
>
> For DELETE statements, it'd be good to be able to get at the QueryPlan 
> through the MutationPlan so we can get more structured information at compile 
> time.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to