public DataSet < Triplet < K , VV , EV > > getTriplets ( ) { return this . getVertices ( ) . join ( this . getEdges ( ) ) . where ( 0 ) . equalTo ( 0 ) . with ( new ProjectEdgeWithSrcValue <> ( ) ) . name ( "Project edge with source value" ) . join ( this . getVertices ( ) ) . where ( 1 ) . equalTo ( 0 ) . with ( new ProjectEdgeWithVertexValues <> ( ) ) . name ( "Project edge with vertex values" ) ; }
This method allows access to the graph s edge values along with its source and target vertex values .