Class GafferVertexUtils


  • public final class GafferVertexUtils
    extends Object
    • 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 associated Vertex or Entity the current graph. These vertices exist only on an edge.
        Parameters:
        result - The results from a Gaffer query
        graph - The GafferPop graph being queried
        vertexIds - The vertexIds that have been used as seeds in the query
        Returns:
        Iterable of 'orphan' Vertex's