@Test public void testTinkerPopPredicatesAsGryo() throws SerializationException { assertEquals(15, Stream.of(P.class.getDeclaredMethods()).filter(m -> Modifier.isStatic(m.getModifiers())).filter(p -> { log.debug("Predicate: {}", p); return !p.isSynthetic(); }).count()); Graph graph = EmptyGraph.instance(); GraphTraversalSource g = graph.traversal(); GraphTraversal[] traversals = { g.V().has("age", within(5000)), g.V().has("age", without(5000)), g.V().has("age", within(5000, 45)), g.V().has("age", inside(45, 5000)), g.V().and(has("age", between(45, 5000)), has("name", within("pluto"))), g.V().or(has("age", between(45, 5000)), has("name", within("pluto", "neptune"))) }; 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();  }