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 Iterable<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 associatedVertex
orEntity
the current graph.
-
-
-
Method Detail
-
getOrphanVertices
public static Iterable<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 associatedVertex
orEntity
the 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:
- Iterable of 'orphan'
Vertex
's
-
-