kakao / s2graph

This code base is retained for historical interest only, please visit Apache Incubator Repo for latest one
https://github.com/apache/incubator-s2graph
Other
250 stars 32 forks source link

Feature/refactor #168

Closed SteamShon closed 8 years ago

SteamShon commented 8 years ago

decouple following logics from graph client.

  1. build storage backend system specific mutations. now storage.MutationBuilder should be implemented for specific storage backend.
  2. build fetch request and deserialize storage specific data into Edge/Vertex. now storage.QueryBuilder should be implemented for specific storage backend.

I think actual retry logic on hbase graph can be shared through multiple implementation when we add more backend system, but for now, I think above 2 was biggest point to seperate HBase specific codes from Edge/Vertex/Graph.

@daewon plz review this.