Class TableResult (2.23.2)

public class TableResult implements Page<FieldValueList>, Serializable

Inheritance

Object > TableResult

Constructors

TableResult(Schema schema, long totalRows, Page<FieldValueList> pageNoSchema)

public TableResult(Schema schema, long totalRows, Page<FieldValueList> pageNoSchema)

If schema is non-null, TableResult adds the schema to FieldValueLists when iterating through them. pageNoSchema must not be null.

Parameters
NameDescription
schemaSchema
totalRowslong
pageNoSchemaPage<FieldValueList>

Methods

equals(Object obj)

public final boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getNextPage()

public TableResult getNextPage()
Returns
TypeDescription
TableResult

getNextPageToken()

public String getNextPageToken()
Returns
TypeDescription
String

getSchema()

public Schema getSchema()

Returns the schema of the results. Null if the schema is not supplied.

Returns
TypeDescription
Schema

getTotalRows()

public 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().

Returns
TypeDescription
long

getValues()

public Iterable<FieldValueList> getValues()
Returns
TypeDescription
Iterable<FieldValueList>

hasNextPage()

public boolean hasNextPage()
Returns
TypeDescription
boolean

hashCode()

public final int hashCode()
Returns
TypeDescription
int
Overrides

iterateAll()

public Iterable<FieldValueList> iterateAll()
Returns
TypeDescription
Iterable<FieldValueList>

toString()

public String toString()
Returns
TypeDescription
String
Overrides