BigQuery API v2 (revision 77)



com.google.api.services.bigquery.model
Class JobStatistics

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.bigquery.model.JobStatistics
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class JobStatistics
extends GenericJson

Model definition for JobStatistics.

This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
JobStatistics()
           
 
Method Summary
 JobStatistics clone()
           
 Long getEndTime()
          [Output-only] End time of this job, in milliseconds since the epoch.
 JobStatistics3 getLoad()
          [Output-only] Statistics for a load job.
 JobStatistics2 getQuery()
          [Output-only] Statistics for a query job.
 Long getStartTime()
          [Output-only] Start time of this job, in milliseconds since the epoch.
 Long getTotalBytesProcessed()
          [Output-only] [Deprecated] Use the bytes processed in the query statistics instead.
 JobStatistics set(String fieldName, Object value)
           
 JobStatistics setEndTime(Long endTime)
          [Output-only] End time of this job, in milliseconds since the epoch.
 JobStatistics setLoad(JobStatistics3 load)
          [Output-only] Statistics for a load job.
 JobStatistics setQuery(JobStatistics2 query)
          [Output-only] Statistics for a query job.
 JobStatistics setStartTime(Long startTime)
          [Output-only] Start time of this job, in milliseconds since the epoch.
 JobStatistics setTotalBytesProcessed(Long totalBytesProcessed)
          [Output-only] [Deprecated] Use the bytes processed in the query statistics instead.
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobStatistics

public JobStatistics()
Method Detail

getEndTime

public Long getEndTime()
[Output-only] End time of this job, in milliseconds since the epoch.

Returns:
value or null for none

setEndTime

public JobStatistics setEndTime(Long endTime)
[Output-only] End time of this job, in milliseconds since the epoch.

Parameters:
endTime - endTime or null for none

getLoad

public JobStatistics3 getLoad()
[Output-only] Statistics for a load job.

Returns:
value or null for none

setLoad

public JobStatistics setLoad(JobStatistics3 load)
[Output-only] Statistics for a load job.

Parameters:
load - load or null for none

getQuery

public JobStatistics2 getQuery()
[Output-only] Statistics for a query job.

Returns:
value or null for none

setQuery

public JobStatistics setQuery(JobStatistics2 query)
[Output-only] Statistics for a query job.

Parameters:
query - query or null for none

getStartTime

public Long getStartTime()
[Output-only] Start time of this job, in milliseconds since the epoch.

Returns:
value or null for none

setStartTime

public JobStatistics setStartTime(Long startTime)
[Output-only] Start time of this job, in milliseconds since the epoch.

Parameters:
startTime - startTime or null for none

getTotalBytesProcessed

public Long getTotalBytesProcessed()
[Output-only] [Deprecated] Use the bytes processed in the query statistics instead.

Returns:
value or null for none

setTotalBytesProcessed

public JobStatistics setTotalBytesProcessed(Long totalBytesProcessed)
[Output-only] [Deprecated] Use the bytes processed in the query statistics instead.

Parameters:
totalBytesProcessed - totalBytesProcessed or null for none

set

public JobStatistics set(String fieldName,
                         Object value)
Overrides:
set in class GenericJson

clone

public JobStatistics clone()
Overrides:
clone in class GenericJson