You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ap...@apache.org on 2018/10/25 21:02:47 UTC
atlas git commit: ATLAS-2520: Introduce JanusGraphTraversal to
deprecate use of GremlinScriptEngine (missing GremlinQuery class)
Repository: atlas
Updated Branches:
refs/heads/master 5317a7215 -> 3b64d9643
ATLAS-2520: Introduce JanusGraphTraversal to deprecate use of GremlinScriptEngine (missing GremlinQuery class)
Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/3b64d964
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/3b64d964
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/3b64d964
Branch: refs/heads/master
Commit: 3b64d964342fc2d7a2a5df73789f14a404e5b7e7
Parents: 5317a72
Author: apoorvnaik <ap...@apache.org>
Authored: Thu Oct 25 14:02:36 2018 -0700
Committer: apoorvnaik <ap...@apache.org>
Committed: Thu Oct 25 14:02:36 2018 -0700
----------------------------------------------------------------------
.../org/apache/atlas/query/GremlinQuery.java | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/atlas/blob/3b64d964/repository/src/main/java/org/apache/atlas/query/GremlinQuery.java
----------------------------------------------------------------------
diff --git a/repository/src/main/java/org/apache/atlas/query/GremlinQuery.java b/repository/src/main/java/org/apache/atlas/query/GremlinQuery.java
new file mode 100644
index 0000000..50c6784
--- /dev/null
+++ b/repository/src/main/java/org/apache/atlas/query/GremlinQuery.java
@@ -0,0 +1,19 @@
+package org.apache.atlas.query;
+
+public class GremlinQuery {
+ private final String queryStr;
+ private final boolean hasSelect;
+
+ public GremlinQuery(String text, boolean hasSelect) {
+ this.queryStr = text;
+ this.hasSelect = hasSelect;
+ }
+
+ public String queryStr() {
+ return queryStr;
+ }
+
+ public boolean hasSelectList() {
+ return hasSelect;
+ }
+}
\ No newline at end of file