Class BigQueryResultStatsImpl (2.33.2)

public class BigQueryResultStatsImpl implements BigQueryResultStats

Inheritance

java.lang.Object > BigQueryResultStatsImpl

Implements

BigQueryResultStats

Constructors

BigQueryResultStatsImpl(JobStatistics.QueryStatistics queryStatistics, JobStatistics.SessionInfo sessionInfo)

public BigQueryResultStatsImpl(JobStatistics.QueryStatistics queryStatistics, JobStatistics.SessionInfo sessionInfo)
Parameters
NameDescription
queryStatisticsJobStatistics.QueryStatistics
sessionInfoJobStatistics.SessionInfo

Methods

getQueryStatistics()

public JobStatistics.QueryStatistics getQueryStatistics()

Returns query statistics of a query job

Returns
TypeDescription
JobStatistics.QueryStatistics

getSessionInfo()

public JobStatistics.SessionInfo getSessionInfo()

Returns SessionInfo contains information about the session if this job is part of one. JobStatistics2 model class does not allow setSessionInfo so this cannot be set as part of QueryStatistics when we use jobs.query API.

Returns
TypeDescription
JobStatistics.SessionInfo