@Test public void testJanusGraphPredicatesAsGryo() throws SerializationException { Graph graph = EmptyGraph.instance(); GraphTraversalSource g = graph.traversal(); GraphTraversal[] traversals = { g.E().has("place", Geo.geoIntersect(Geoshape.circle(37.97, 23.72, 50))), g.E().has("place", Geo.geoWithin(Geoshape.circle(37.97, 23.72, 50))), g.E().has("place", Geo.geoDisjoint(Geoshape.circle(37.97, 23.72, 50))), g.V().has("place", Geo.geoContains(Geoshape.point(37.97, 23.72))), g.V().has("name", Text.textContains("neptune")), g.V().has("name", Text.textContainsPrefix("nep")), g.V().has("name", Text.textContainsRegex("nep.*")), g.V().has("name", Text.textPrefix("n")), g.V().has("name", Text.textRegex(".*n.*")), g.V().has("name", Text.textContainsFuzzy("neptun")), g.V().has("name", Text.textFuzzy("nepitne")) }; serializationTest(traversals); }
public static JanusGraphIoRegistry instance() { return INSTANCE; }
JanusGraphIoRegistry extends AbstractIoRegistry { public static JanusGraphIoRegistry instance() { return INSTANCE; } }
JanusGraphIoRegistry extends AbstractIoRegistry { public static JanusGraphIoRegistry instance() { return INSTANCE; } private  JanusGraphIoRegistry(); }
JanusGraphIoRegistry extends AbstractIoRegistry { public static JanusGraphIoRegistry instance() { return INSTANCE; } private  JanusGraphIoRegistry(); static JanusGraphIoRegistry instance(); @Deprecated() static JanusGraphIoRegistry getInstance(); }
JanusGraphIoRegistry extends AbstractIoRegistry { public static JanusGraphIoRegistry instance() { return INSTANCE; } private  JanusGraphIoRegistry(); static JanusGraphIoRegistry instance(); @Deprecated() static JanusGraphIoRegistry getInstance();  }