Class BigQueryResultStatsImpl (2.45.0)

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
Name Description
queryStatistics JobStatistics.QueryStatistics
sessionInfo JobStatistics.SessionInfo

Methods

getQueryStatistics()

public JobStatistics.QueryStatistics getQueryStatistics()

Returns query statistics of a query job

Returns
Type Description
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
Type Description
JobStatistics.SessionInfo