Class TableResult (2.35.0)

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>

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

public TableResult(Schema schema, long totalRows, Page<FieldValueList> pageNoSchema, JobId jobId)
Parameters
NameDescription
schemaSchema
totalRowslong
pageNoSchemaPage<FieldValueList>
jobIdJobId

Methods

equals(Object obj)

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

getJobId()

public JobId getJobId()
Returns
TypeDescription
JobId

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