Closed SteamShon closed 9 years ago
2edeaf9648220efc784e424b1c549a34b417885e resolving following.
Before: contains following data. Query, stepIdx, queryParam, Seq[EdgeWithScore], timestamp
After: represent edge and score and when this result built. Seq[EdgeWithScore], timestamp
before: Query, stepIdx, vertex, queryParam, prevStepScore, isInnerCall, parentEdges
after: only contains following. Query, stepIdx, vertex, QueryParam
:+1:
Currently QueryResult class contains Query, StepIndex, QueryParam and sequence of EdgeWithScore class. This make implementation easy but it is does not make sense that QueryResult. QueryRequest is also exist but these two classes have same data.
I think it would be better to split data for request to QueryRequest and only result data to QueryResult.