[S2GRAPH-207]: Provides a way to query data with the value of the Vertex
property in a GraphQL query.
JIRA:
[S2GRAPH-207] https://issues.apache.org/jira/browse/S2GRAPH-207
Pull Request:
Closes #159
Author
daewon <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/a07c4d2d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/a07c4d2d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/a07c4d2d
Branch: refs/heads/master
Commit: a07c4d2d3114118c202f74e0132e1037a6d30015
Parents: 9dc39ee 52087a0
Author: DO YUNG YOON <[email protected]>
Authored: Mon Apr 23 13:23:51 2018 +0900
Committer: DO YUNG YOON <[email protected]>
Committed: Mon Apr 23 13:28:08 2018 +0900
----------------------------------------------------------------------
CHANGES | 1 +
.../org/apache/s2graph/core/QueryParam.scala | 91 ++++++++-----
.../scala/org/apache/s2graph/core/S2Graph.scala | 33 ++++-
.../s2graph/core/index/ESIndexProvider.scala | 67 +++++-----
.../s2graph/core/index/IndexProvider.scala | 3 +-
.../core/index/LuceneIndexProvider.scala | 125 ++++++++++-------
.../s2graph/core/parsers/WhereParser.scala | 64 ++++-----
.../s2graph/core/rest/RequestParser.scala | 2 +-
.../s2graph/core/Integrate/QueryTest.scala | 2 +-
.../s2graph/core/index/IndexProviderTest.scala | 23 ++--
.../s2graph/core/parsers/WhereParserTest.scala | 11 +-
.../graphql/repository/GraphRepository.scala | 48 ++++---
.../s2graph/graphql/types/FieldResolver.scala | 28 ++--
.../apache/s2graph/graphql/types/S2Type.scala | 28 ++--
.../apache/s2graph/graphql/ScenarioTest.scala | 134 +++++++++++++------
15 files changed, 397 insertions(+), 263 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/a07c4d2d/CHANGES
----------------------------------------------------------------------
diff --cc CHANGES
index f61461c,5d8b5e9..1c1933f
--- a/CHANGES
+++ b/CHANGES
@@@ -71,6 -70,6 +71,7 @@@ Release Notes - S2Graph - Version 0.2.
* [S2GRAPH-199] - Changing query more intuitively by using `columnName`
instead of `from/to` in label field name.
* [S2GRAPH-200] - docker image could not include extra jars.
* [S2GRAPH-204] - Avoid N + 1 queries in GraphQL
++ * [S2GRAPH-207] - Provides a way to query data with the value of the
Vertex property in a GraphQL query
** New Feature
* [S2GRAPH-123] - Support different index on out/in direction.
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/a07c4d2d/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/FieldResolver.scala
----------------------------------------------------------------------