GraphTraversal<Vertex, Vertex> pipe = new GraphTraversalSource(getGraphContext().getGraph()).V(rootProjectModel.getElement()); pipe.in(ApplicationReportModel.REPORT_TO_PROJECT_MODEL); pipe.has(ApplicationReportModel.MAIN_APPLICATION_REPORT, true);
GraphTraversal<Vertex, Vertex> pipe = new GraphTraversalSource(getGraphContext().getGraph()).V(rootProjectModel.getElement()); pipe.in(ApplicationReportModel.REPORT_TO_PROJECT_MODEL); pipe.has(ApplicationReportModel.MAIN_APPLICATION_REPORT, true);