You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Guocheng Zhu (JIRA)" <ji...@apache.org> on 2019/07/11 02:20:00 UTC
[jira] [Created] (TINKERPOP-2263) Could TinkerGraph be used in
Android?
Guocheng Zhu created TINKERPOP-2263:
---------------------------------------
Summary: Could TinkerGraph be used in Android?
Key: TINKERPOP-2263
URL: https://issues.apache.org/jira/browse/TINKERPOP-2263
Project: TinkerPop
Issue Type: Improvement
Reporter: Guocheng Zhu
*I have a project that want to use in-memory graph database in Android. I use to tinkerGraph, but I meet GC problem for a while. Will the following statement cause a lot of GC?*
1)List<Vertex> children = g.V(id).out("HAS").has("state", statId).not(in("NEXT").has("state", statId)).union(identity(),repeat(out("NEXT").has("state", statId)).emit()).toList();
2)g.V(id).out("Visible").repeat(out("HAS")).emit().or(has("package", "com.android.settings").has("text", P.within(forbidList)),has("class", "android.widget.CheckBox")
).repeat(in("HAS")).until(in("HAS").has("class", "android.widget.ListView")).repeat(out("HAS"))
.emit().property("forbid", "true").iterate();
3)path = g.withComputer().V(v).shortestPath().with(ShortestPath.edges, Direction.OUT).with(target, __.hasId(id)).simplePath().next();
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)