Class GafferVertexUtils
- java.lang.Object
-
- uk.gov.gchq.gaffer.tinkerpop.process.traversal.util.GafferVertexUtils
-
public final class GafferVertexUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<org.apache.tinkerpop.gremlin.structure.Vertex>getOrphanVertices(Iterable<? extends Element> result, GafferPopGraph graph, Object... vertexIds)Util method to extract vertices that are vertices on an edge but do not have an associatedVertexorEntitythe current graph.
-
-
-
Method Detail
-
getOrphanVertices
public static Collection<org.apache.tinkerpop.gremlin.structure.Vertex> getOrphanVertices(Iterable<? extends Element> result, GafferPopGraph graph, Object... vertexIds)
Util method to extract vertices that are vertices on an edge but do not have an associatedVertexorEntitythe current graph. These vertices exist only on an edge.- Parameters:
result- The results from a Gaffer querygraph- The GafferPop graph being queriedvertexIds- The vertexIds that have been used as seeds in the query- Returns:
Collectionof 'orphan'Vertex's
-
-