Class TableResult (2.37.2)

public class TableResult implements Page<FieldValueList>, Serializable

Inheritance

Object > TableResult

Constructors

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

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

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

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

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>
queryId String

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

getQueryId()

public String getQueryId()
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