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

Daniel Wong commented on PHOENIX-5085:
--------------------------------------

I didn't see a Jira for this improvement so I opened this.  

High level I'm thinking of approaching this by introducing 2 new components, A 
new interface or two for interacting with statistics in BaseResultIterators, 
the implementation of which could either be backed by existing data structures 
or my current preference a new data structure.  
A new factory class that provides an instance of the above and handles the 
loading/transforming of the data from client cache/query stats table.
Finally refactoring BaseResultIterators to use them.

> Disentangle BaseResultIterators from the backing Guidepost Data structure
> -------------------------------------------------------------------------
>
>                 Key: PHOENIX-5085
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5085
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Daniel Wong
>            Assignee: Daniel Wong
>            Priority: Major
>              Labels: Statistics, StatsImprovement
>
> Disentangle BaseResultIterators.getParallelScans from the backing Guidepost 
> Data structure.  This will provide the abstraction for possible new stats 
> data structures in https://issues.apache.org/jira/browse/PHOENIX-4925
>  Will heavily affect changes in 
> https://issues.apache.org/jira/browse/PHOENIX-4926 and 
> https://issues.apache.org/jira/browse/PHOENIX-4594.  [~Bin Shi] 
> [~karanmehta93]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to