Groups
Groups
Sign in
Groups
Groups
Neo4j
Conversations
About
Send feedback
Help
May plugin return List<List<Node>> ?
66 views
Skip to first unread message
Eugeny Kozhanov
unread,
Oct 4, 2012, 12:25:44 PM
10/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
May plugin return List<List<Node>> ?
This:
Iterable
<
Iterable
<
Node
>>
resTest
=
new
ArrayList
<
List
<
Node
>>();
get error "type mismatch".
TIA, Eugeny.
Peter Neubauer
unread,
Oct 4, 2012, 5:40:48 PM
10/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
Yeah.
In that case, you would pass back a Representation object, see
http://docs.neo4j.org/chunked/snapshot/server-plugins.html
It then can be a ListRepresentation of ListRepresentations containing Nodes.
Cheers,
/peter neubauer
G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L:
http://www.linkedin.com/in/neubauer
T: @peterneubauer
Neo4j 1.8 GA -
http://www.dzone.com/links/neo4j_18_release_fluent_graph_literacy.html
> --
>
>
Eugeny Kozhanov
unread,
Oct 6, 2012, 4:39:11 AM
10/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
Can you take me an example of use ListRepresentation?
TIA.
Eugeny Kozhanov
unread,
Oct 8, 2012, 3:00:09 AM
10/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
List<List<Node>> is unnecessary now. I using org.neo4j.shell.util.json.JSONArray for convert Java-object (List<List<Map>>) to string.
Peter Neubauer
unread,
Oct 8, 2012, 3:16:41 AM
10/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
Ok,
coolio. Otherwise, you are right about having a Representation
returning example in the docs. Thanks for bringing it up.
Cheers,
/peter neubauer
G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L:
http://www.linkedin.com/in/neubauer
T: @peterneubauer
Neo4j 1.8 GA -
http://www.dzone.com/links/neo4j_18_release_fluent_graph_literacy.html
> --
>
>
Reply all
Reply to author
Forward
0 new messages