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/12/11 12:45:58 UTC

[jira] [Created] (S2GRAPH-146) Merge two IndexEdgeDeserializable under tall, wide package into one.

DOYUNG YOON created S2GRAPH-146:
-----------------------------------

             Summary: Merge two IndexEdgeDeserializable under tall, wide package into one.
                 Key: S2GRAPH-146
                 URL: https://issues.apache.org/jira/browse/S2GRAPH-146
             Project: S2Graph
          Issue Type: Improvement
    Affects Versions: 0.2.0
            Reporter: DOYUNG YOON
            Assignee: DOYUNG YOON


Currently we have two IndexEdgeDeserializable class both for tall/wide schema.

I suggest to refactor these so we can just call one single IndexEdgeDeserializable without knowing which label we are traversing on. 

Currently, caller should pass QueryParam which specify {{Label}} we are searching for, but to deal with `search for all available {{Label}}` get complicated with this restriction. If user want to fetch all edges stored, then things get complicated.

It would be better for {{Deserializable}} to know which {{Label}} we are deserializing while deserialize {{KeyValue}} from storage rather than depending on parameter passed from caller. 



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