Is there a gremlin query which could help us return the value of a property of particular node in the graphReturn subset of properties from a node through Gremlin queryBasic Gremlin: look up node properties?Gremlin can't seem to query by node propertyGremlin query which find paths (with node and edges properties) in between two nodesHow to query titan graph with gremlin queries based on integer propertiesHow can I collect property values while traversing a graph with gremlin in Java?gremlin query if-else-then in the graph traversalgremlin filter() in query is applied on PROPERTY as wellApache Tinkerpop Gremlin Returns Query Results using Select Values AsSlow Gremlin Query returning 21K node properties
Is there a general term for the items in a directory?
Can an alphabet for a Turing machine contain subsets of other alphabets?
Protect a 6 inch air hose from physical damage
Map vs. Table for index-specific operations on 2D arrays
Should 2FA be enabled on service accounts?
What sort of solar system / atmospheric conditions, if any, would allow for a very cold planet that still receives plenty of light from its sun?
How to avoid a lengthy conversation with someone from the neighborhood I don't share interests with
Transistor design with beta variation
How did Biff return to 2015 from 1955 without a lightning strike?
Is this popular optical illusion made of a grey-scale image with coloured lines?
What is the difference between "logical equivalence" and "material equivalence"?
What is the difference between 2/4 and 4/4 when it comes the accented beats?
Define tcolorbox in math mode
What's the term for a group of people who enjoy literary works?
Accurately recalling the key - can everyone do it?
Why are prop blades not shaped like household fan blades?
Word for pulling a punch in karate
Applied Meditation
Applying for mortgage when living together but only one will be on the mortgage
Return last number in sub-sequences in a list of integers
In Haskell, when using the XStrict language extension, is if short-circuiting?
How to structure presentation to avoid getting questions that will be answered later in the presentation?
How to draw twisted cuves?
Adding a (stair/baby) gate without facing walls
Is there a gremlin query which could help us return the value of a property of particular node in the graph
Return subset of properties from a node through Gremlin queryBasic Gremlin: look up node properties?Gremlin can't seem to query by node propertyGremlin query which find paths (with node and edges properties) in between two nodesHow to query titan graph with gremlin queries based on integer propertiesHow can I collect property values while traversing a graph with gremlin in Java?gremlin query if-else-then in the graph traversalgremlin filter() in query is applied on PROPERTY as wellApache Tinkerpop Gremlin Returns Query Results using Select Values AsSlow Gremlin Query returning 21K node properties
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Trying to get value of property of node.
Node:
id: 5
status: true
name: MyNode
Expected result is to achieve the value of status based on node id which is 5.
gremlin
add a comment |
Trying to get value of property of node.
Node:
id: 5
status: true
name: MyNode
Expected result is to achieve the value of status based on node id which is 5.
gremlin
add a comment |
Trying to get value of property of node.
Node:
id: 5
status: true
name: MyNode
Expected result is to achieve the value of status based on node id which is 5.
gremlin
Trying to get value of property of node.
Node:
id: 5
status: true
name: MyNode
Expected result is to achieve the value of status based on node id which is 5.
gremlin
gremlin
asked Mar 27 at 0:23
HEART94HEART94
577 bronze badges
577 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It would be good to study the documentation or other materials available to learn Gremlin. This is a very simple query.
g.V('5').values('status')
Cheers
Kelvin
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55368052%2fis-there-a-gremlin-query-which-could-help-us-return-the-value-of-a-property-of-p%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It would be good to study the documentation or other materials available to learn Gremlin. This is a very simple query.
g.V('5').values('status')
Cheers
Kelvin
add a comment |
It would be good to study the documentation or other materials available to learn Gremlin. This is a very simple query.
g.V('5').values('status')
Cheers
Kelvin
add a comment |
It would be good to study the documentation or other materials available to learn Gremlin. This is a very simple query.
g.V('5').values('status')
Cheers
Kelvin
It would be good to study the documentation or other materials available to learn Gremlin. This is a very simple query.
g.V('5').values('status')
Cheers
Kelvin
edited Mar 27 at 2:42
answered Mar 27 at 2:29
Kelvin LawrenceKelvin Lawrence
8815 silver badges12 bronze badges
8815 silver badges12 bronze badges
add a comment |
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55368052%2fis-there-a-gremlin-query-which-could-help-us-return-the-value-of-a-property-of-p%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown