You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "DOYUNG YOON (JIRA)" <ji...@apache.org> on 2016/05/27 13:32:12 UTC

[jira] [Created] (S2GRAPH-76) Move orderBy, groupBy logic from PostProcess into Graph#getEdges inside.

DOYUNG YOON created S2GRAPH-76:
----------------------------------

             Summary: Move orderBy, groupBy logic from PostProcess into Graph#getEdges inside.
                 Key: S2GRAPH-76
                 URL: https://issues.apache.org/jira/browse/S2GRAPH-76
             Project: S2Graph
          Issue Type: Improvement
            Reporter: DOYUNG YOON
            Assignee: DOYUNG YOON


My suggestion in one line, is make PostProcess simply build json from result type of getEdges and make getEdges build complete query result.

Current return type of Graph#getEdges is not sufficient enough.
GroupBy, OrderBy, or merging multiple queries result is located on PostProcess, not inside of getEdges.

Followings are subtasks to resolve this issue.

1. Define better return type of getEdges.
2. Refactor getEdges to process orderBy, groupBy.
3. Define better representation of Edge that can be converted easily into Json or other type easily.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)