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
NameDescription
schemaSchema
totalRowslong
pageNoSchemaPage<FieldValueList>
jobIdJobId
queryIdString

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
NameDescription
schemaSchema
totalRowslong
pageNoSchemaPage<FieldValueList>
queryIdString

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

getQueryId()

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