Class TableResult (2.34.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
Name Description
schema Schema
totalRows long
pageNoSchema Page<FieldValueList>

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

public TableResult(Schema schema, long totalRows, Page<FieldValueList> pageNoSchema, JobId jobId)
Parameters
Name Description
schema Schema
totalRows long
pageNoSchema Page<FieldValueList>
jobId JobId

Methods

equals(Object obj)

public final boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getJobId()

public JobId getJobId()
Returns
Type Description
JobId

getNextPage()

public TableResult getNextPage()
Returns
Type Description
TableResult

getNextPageToken()

public String getNextPageToken()
Returns
Type Description
String

getSchema()

public Schema getSchema()

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

Returns
Type Description
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
Type Description
long

getValues()

public Iterable<FieldValueList> getValues()
Returns
Type Description
Iterable<FieldValueList>

hasNextPage()

public boolean hasNextPage()
Returns
Type Description
boolean

hashCode()

public final int hashCode()
Returns
Type Description
int
Overrides

iterateAll()

public Iterable<FieldValueList> iterateAll()
Returns
Type Description
Iterable<FieldValueList>

toString()

public String toString()
Returns
Type Description
String
Overrides