Send feedback
Class SpannerRpc.Paginated<T> (6.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.55.0 keyboard_arrow_down
public static final class SpannerRpc . Paginated<T>
Represents results from paginated RPCs, i.e., those where up to a maximum number of items is
returned from each call and a followup call must be made to fetch more.
Type Parameter Name Description T
Constructors
Paginated(Iterable<T> results, String nextPageToken)
public Paginated ( Iterable<T> results , String nextPageToken )
Creates a new page of results.
Parameters Name Description results
Iterable <T >
the result, or null for no results.
nextPageToken
String
the token for the next page of results, or null if no more pages exist
Methods
getNextPageToken()
public String getNextPageToken ()
Returns the token to use in the request for the next page, or null if this is the last page.
getResults()
public Iterable<T> getResults ()
Returns the current page of results. Always returns non-null; if a null "results" was passed
to the constructor, a default empty Iterable
will be returned.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2024-08-21 UTC.",
"confidential": False
}