Package com.google.cloud.bigquery
Class BigQueryResultStatsImpl
- java.lang.Object
-
- com.google.cloud.bigquery.BigQueryResultStatsImpl
-
- All Implemented Interfaces:
BigQueryResultStats
public class BigQueryResultStatsImpl extends Object implements BigQueryResultStats
-
-
Constructor Summary
Constructors Constructor Description BigQueryResultStatsImpl(JobStatistics.QueryStatistics queryStatistics, JobStatistics.SessionInfo sessionInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobStatistics.QueryStatisticsgetQueryStatistics()Returns query statistics of a query jobJobStatistics.SessionInfogetSessionInfo()Returns SessionInfo contains information about the session if this job is part of one.
-
-
-
Constructor Detail
-
BigQueryResultStatsImpl
public BigQueryResultStatsImpl(JobStatistics.QueryStatistics queryStatistics, JobStatistics.SessionInfo sessionInfo)
-
-
Method Detail
-
getQueryStatistics
public JobStatistics.QueryStatistics getQueryStatistics()
Description copied from interface:BigQueryResultStatsReturns query statistics of a query job- Specified by:
getQueryStatisticsin interfaceBigQueryResultStats
-
getSessionInfo
public JobStatistics.SessionInfo getSessionInfo()
Description copied from interface:BigQueryResultStatsReturns 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.- Specified by:
getSessionInfoin interfaceBigQueryResultStats
-
-