Package graphql.relay
Interface Edge<T>
- All Known Implementing Classes:
DefaultEdge
Represents an edge in Relay which is essentially a node of data T and the cursor for that node.
See https://facebook.github.io/relay/graphql/connections.htm#sec-Edge-Types
-
Method Summary
-
Method Details
-
getNode
T getNode()- Returns:
- the node of data that this edge represents
-
getCursor
ConnectionCursor getCursor()- Returns:
- the cursor for this edge node
-