public class TableResult extends Object implements com.google.api.gax.paging.Page<FieldValueList>, Serializable
| Constructor and Description |
|---|
TableResult(Schema schema,
long totalRows,
com.google.api.gax.paging.Page<FieldValueList> pageNoSchema)
If
schema is non-null, TableResult adds the schema to FieldValueLists
when iterating through them. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TableResult |
getNextPage() |
String |
getNextPageToken() |
Schema |
getSchema()
Returns the schema of the results.
|
long |
getTotalRows()
Returns the total number of rows in the complete result set, which can be more than the number
of rows in the first page of results returned by
getValues(). |
Iterable<FieldValueList> |
getValues() |
int |
hashCode() |
boolean |
hasNextPage() |
Iterable<FieldValueList> |
iterateAll() |
String |
toString() |
@InternalApi(value="Exposed for testing") public TableResult(Schema schema, long totalRows, com.google.api.gax.paging.Page<FieldValueList> pageNoSchema)
schema is non-null, TableResult adds the schema to FieldValueLists
when iterating through them. pageNoSchema must not be null.public Schema getSchema()
public long getTotalRows()
getValues().public boolean hasNextPage()
hasNextPage in interface com.google.api.gax.paging.Page<FieldValueList>public String getNextPageToken()
getNextPageToken in interface com.google.api.gax.paging.Page<FieldValueList>public TableResult getNextPage()
getNextPage in interface com.google.api.gax.paging.Page<FieldValueList>public Iterable<FieldValueList> iterateAll()
iterateAll in interface com.google.api.gax.paging.Page<FieldValueList>public Iterable<FieldValueList> getValues()
getValues in interface com.google.api.gax.paging.Page<FieldValueList>Copyright © 2019 Google LLC. All rights reserved.