Aiman
Explore posts from serversATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
Thank you @spmallette
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
Based on the data type i need to perform some operations from the code.
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
Let me brief out about my problem statement. I want to create a vertex which has property values of different data types [ex: List, String ,Map] . When I retrieve a vertex, alter gremlin command such that it returns its data type.
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
I've restarted the janusgraph server and ran these
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
How was
location
created ? Since I'm getting an error while creating32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
@triggan What are the prerequisites to be followed before executing the query?
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
I've restarted the JanusGraph Server and followed the below steps
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
I'm confused. I've done the same thing
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
g.addV('domain').property('language', ['English', 'Hindi']).property('name', 'aim').next()
This is the query i used32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
What was your create query?
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
g.addV('domain').property('language', ['English', 'Hindi']).property('name', 'aim').next()
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
I want it to return its respective Data Type . In the query I've added a List to a property
language
and a String
to a property name
. My expectations are if its language
it should return ArrayList
and if its name
it should return String
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
32 replies
ATApache TinkerPop
•Created by Aiman on 6/19/2024 in #questions
Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
Can't use
toList()
because even if the property value is a String it is going to convert it to ArrayList
And this is the error if I use next(n)
32 replies