OResultSet - edgeStream()

Retrieves a stream of edges from the result-set.

Streaming Edges

In cases where your result-set contains a number of elements, some of which are vertices and some of which are edges, you can use this method to filter OResultSet to only return those records that are OEdge instances.

Syntax

default Stream<OEdge> OResultSet().edgeStream()

Return Value

This method returns a Stream of OEdge instances contained in the result-set.