Package graphql.relay

Interface ConnectionCursor

All Known Implementing Classes:
DefaultConnectionCursor

@PublicApi public interface ConnectionCursor
Represents a connection cursor in Relay which is an opaque string that the server understands. Often this is base64 encoded but the spec only mandates that it be an opaque cursor so meaning can't be inferred from it (to prevent cheating like pre calculating the next cursor on the client say) See https://facebook.github.io/relay/graphql/connections.htm#sec-Cursor
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • getValue

      String getValue()
      Returns:
      an opaque string that represents this cursor.