target.apidocs.com.google.api.services.bigquery.model.LoadQueryStatistics.html Maven / Gradle / Ivy
LoadQueryStatistics (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class LoadQueryStatistics
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.LoadQueryStatistics
-
public final class LoadQueryStatistics
extends com.google.api.client.json.GenericJson
Statistics for a LOAD query.
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:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
LoadQueryStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
LoadQueryStatistics
clone()
Long
getBadRecords()
Output only.
Long
getBytesTransferred()
Output only.
Long
getInputFileBytes()
Output only.
Long
getInputFiles()
Output only.
Long
getOutputBytes()
Output only.
Long
getOutputRows()
Output only.
LoadQueryStatistics
set(String fieldName,
Object value)
LoadQueryStatistics
setBadRecords(Long badRecords)
Output only.
LoadQueryStatistics
setBytesTransferred(Long bytesTransferred)
Output only.
LoadQueryStatistics
setInputFileBytes(Long inputFileBytes)
Output only.
LoadQueryStatistics
setInputFiles(Long inputFiles)
Output only.
LoadQueryStatistics
setOutputBytes(Long outputBytes)
Output only.
LoadQueryStatistics
setOutputRows(Long outputRows)
Output only.
-
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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBadRecords
public Long getBadRecords()
Output only. The number of bad records encountered while processing a LOAD query. Note that if
the job has failed because of more bad records encountered than the maximum allowed in the load
job configuration, then this number can be less than the total number of bad records present in
the input data.
- Returns:
- value or
null
for none
-
setBadRecords
public LoadQueryStatistics setBadRecords(Long badRecords)
Output only. The number of bad records encountered while processing a LOAD query. Note that if
the job has failed because of more bad records encountered than the maximum allowed in the load
job configuration, then this number can be less than the total number of bad records present in
the input data.
- Parameters:
badRecords
- badRecords or null
for none
-
getBytesTransferred
public Long getBytesTransferred()
Output only. This field is deprecated. The number of bytes of source data copied over the
network for a `LOAD` query. `transferred_bytes` has the canonical value for physical
transferred bytes, which is used for BigQuery Omni billing.
- Returns:
- value or
null
for none
-
setBytesTransferred
public LoadQueryStatistics setBytesTransferred(Long bytesTransferred)
Output only. This field is deprecated. The number of bytes of source data copied over the
network for a `LOAD` query. `transferred_bytes` has the canonical value for physical
transferred bytes, which is used for BigQuery Omni billing.
- Parameters:
bytesTransferred
- bytesTransferred or null
for none
-
getInputFileBytes
public Long getInputFileBytes()
Output only. Number of bytes of source data in a LOAD query.
- Returns:
- value or
null
for none
-
setInputFileBytes
public LoadQueryStatistics setInputFileBytes(Long inputFileBytes)
Output only. Number of bytes of source data in a LOAD query.
- Parameters:
inputFileBytes
- inputFileBytes or null
for none
-
getInputFiles
public Long getInputFiles()
Output only. Number of source files in a LOAD query.
- Returns:
- value or
null
for none
-
setInputFiles
public LoadQueryStatistics setInputFiles(Long inputFiles)
Output only. Number of source files in a LOAD query.
- Parameters:
inputFiles
- inputFiles or null
for none
-
getOutputBytes
public Long getOutputBytes()
Output only. Size of the loaded data in bytes. Note that while a LOAD query is in the running
state, this value may change.
- Returns:
- value or
null
for none
-
setOutputBytes
public LoadQueryStatistics setOutputBytes(Long outputBytes)
Output only. Size of the loaded data in bytes. Note that while a LOAD query is in the running
state, this value may change.
- Parameters:
outputBytes
- outputBytes or null
for none
-
getOutputRows
public Long getOutputRows()
Output only. Number of rows imported in a LOAD query. Note that while a LOAD query is in the
running state, this value may change.
- Returns:
- value or
null
for none
-
setOutputRows
public LoadQueryStatistics setOutputRows(Long outputRows)
Output only. Number of rows imported in a LOAD query. Note that while a LOAD query is in the
running state, this value may change.
- Parameters:
outputRows
- outputRows or null
for none
-
set
public LoadQueryStatistics set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public LoadQueryStatistics clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.