Class TableResult (2.73.0)

public abstract class TableResult implements Page<FieldValueList>, Serializable

Inheritance

Object > TableResult

Static Methods

newBuilder()

public static TableResult.Builder newBuilder()
Returns
Type Description
TableResult.Builder

Constructors

TableResult()

public TableResult()

Methods

equals(Object obj)

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

getJobCreationReason()

public abstract @Nullable JobCreationReason getJobCreationReason()
Returns
Type Description
@org.jspecify.annotations.Nullable com.google.cloud.bigquery.JobCreationReason

getJobId()

public abstract @Nullable JobId getJobId()
Returns
Type Description
@org.jspecify.annotations.Nullable com.google.cloud.bigquery.JobId

getNextPage()

public TableResult getNextPage()
Returns
Type Description
TableResult

getNextPageToken()

public String getNextPageToken()
Returns
Type Description
String

getNumDmlAffectedRows()

public abstract @Nullable Long getNumDmlAffectedRows()

Returns the number of rows affected by a DML statement (INSERT, UPDATE, DELETE, MERGE).

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

number of affected rows for DML queries, or null if not populated by the service

getPageNoSchema()

public abstract Page<FieldValueList> getPageNoSchema()
Returns
Type Description
Page<FieldValueList>

getQueryId()

public abstract @Nullable String getQueryId()
Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.String

getRowsInPage()

public abstract @Nullable Long getRowsInPage()

Returns the number of rows in the current page of results.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

getSchema()

public abstract @Nullable Schema getSchema()

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

Returns
Type Description
@org.jspecify.annotations.Nullable com.google.cloud.bigquery.Schema

getSessionInfo()

public abstract @Nullable JobStatistics.SessionInfo getSessionInfo()

Returns information about the BigQuery session if this query was executed within or created a session.

Returns
Type Description
@org.jspecify.annotations.Nullable com.google.cloud.bigquery.JobStatistics.SessionInfo

session information, or null if not populated by the service

getStatementType()

public abstract @Nullable JobStatistics.QueryStatistics.StatementType getStatementType()

Returns the statement type of the query (e.g. SELECT, INSERT, UPDATE, DDL, SCRIPT).

Returns
Type Description
@org.jspecify.annotations.Nullable com.google.cloud.bigquery.JobStatistics.QueryStatistics.StatementType

statement type, or null if not populated by the service

getTotalBytesBilled()

public abstract @Nullable Long getTotalBytesBilled()

Returns the total number of bytes billed for the query.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

total bytes billed, or null if not populated by the service

getTotalBytesProcessed()

public abstract @Nullable Long getTotalBytesProcessed()

Returns the total number of bytes processed by the query.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

total bytes processed, or null if not populated by the service

getTotalRows()

public abstract 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. If no rows are returned, this value can still be greater than 0 if any rows were affected by the query, such as INSERT, UPDATE, or DELETE queries.

Returns
Type Description
long

getTotalSlotMs()

public abstract @Nullable Long getTotalSlotMs()

Returns the total slot milliseconds consumed by the query.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

total slot milliseconds, or null if not populated by the service

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>

toBuilder()

public abstract TableResult.Builder toBuilder()
Returns
Type Description
TableResult.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides