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.QueryStatistics
getQueryStatistics()
Returns query statistics of a query jobJobStatistics.SessionInfo
getSessionInfo()
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:BigQueryResultStats
Returns query statistics of a query job- Specified by:
getQueryStatistics
in interfaceBigQueryResultStats
-
getSessionInfo
public JobStatistics.SessionInfo getSessionInfo()
Description copied from interface:BigQueryResultStats
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.- Specified by:
getSessionInfo
in interfaceBigQueryResultStats
-
-