
target.apidocs.com.google.api.services.bigquery.model.TableDataInsertAllRequest.html Maven / Gradle / Ivy
TableDataInsertAllRequest (BigQuery API v2-rev20190423-1.28.0)
com.google.api.services.bigquery.model
Class TableDataInsertAllRequest
- 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.TableDataInsertAllRequest
-
public final class TableDataInsertAllRequest
extends com.google.api.client.json.GenericJson
Model definition for TableDataInsertAllRequest.
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
Modifier and Type
Class and Description
static class
TableDataInsertAllRequest.Rows
Model definition for TableDataInsertAllRequestRows.
-
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
TableDataInsertAllRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TableDataInsertAllRequest
clone()
Boolean
getIgnoreUnknownValues()
[Optional] Accept rows that contain values that do not match the schema.
String
getKind()
The resource type of the response.
List<TableDataInsertAllRequest.Rows>
getRows()
The rows to insert.
Boolean
getSkipInvalidRows()
[Optional] Insert all valid rows of a request, even if invalid rows exist.
String
getTemplateSuffix()
If specified, treats the destination table as a base template, and inserts the rows into an
instance table named "{destination}{templateSuffix}".
TableDataInsertAllRequest
set(String fieldName,
Object value)
TableDataInsertAllRequest
setIgnoreUnknownValues(Boolean ignoreUnknownValues)
[Optional] Accept rows that contain values that do not match the schema.
TableDataInsertAllRequest
setKind(String kind)
The resource type of the response.
TableDataInsertAllRequest
setRows(List<TableDataInsertAllRequest.Rows> rows)
The rows to insert.
TableDataInsertAllRequest
setSkipInvalidRows(Boolean skipInvalidRows)
[Optional] Insert all valid rows of a request, even if invalid rows exist.
TableDataInsertAllRequest
setTemplateSuffix(String templateSuffix)
If specified, treats the destination table as a base template, and inserts the rows into an
instance table named "{destination}{templateSuffix}".
-
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
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getIgnoreUnknownValues
public Boolean getIgnoreUnknownValues()
[Optional] Accept rows that contain values that do not match the schema. The unknown values are
ignored. Default is false, which treats unknown values as errors.
- Returns:
- value or
null
for none
-
setIgnoreUnknownValues
public TableDataInsertAllRequest setIgnoreUnknownValues(Boolean ignoreUnknownValues)
[Optional] Accept rows that contain values that do not match the schema. The unknown values are
ignored. Default is false, which treats unknown values as errors.
- Parameters:
ignoreUnknownValues
- ignoreUnknownValues or null
for none
-
getKind
public String getKind()
The resource type of the response.
- Returns:
- value or
null
for none
-
setKind
public TableDataInsertAllRequest setKind(String kind)
The resource type of the response.
- Parameters:
kind
- kind or null
for none
-
getRows
public List<TableDataInsertAllRequest.Rows> getRows()
The rows to insert.
- Returns:
- value or
null
for none
-
setRows
public TableDataInsertAllRequest setRows(List<TableDataInsertAllRequest.Rows> rows)
The rows to insert.
- Parameters:
rows
- rows or null
for none
-
getSkipInvalidRows
public Boolean getSkipInvalidRows()
[Optional] Insert all valid rows of a request, even if invalid rows exist. The default value is
false, which causes the entire request to fail if any invalid rows exist.
- Returns:
- value or
null
for none
-
setSkipInvalidRows
public TableDataInsertAllRequest setSkipInvalidRows(Boolean skipInvalidRows)
[Optional] Insert all valid rows of a request, even if invalid rows exist. The default value is
false, which causes the entire request to fail if any invalid rows exist.
- Parameters:
skipInvalidRows
- skipInvalidRows or null
for none
-
getTemplateSuffix
public String getTemplateSuffix()
If specified, treats the destination table as a base template, and inserts the rows into an
instance table named "{destination}{templateSuffix}". BigQuery will manage creation of the
instance table, using the schema of the base template table. See
https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables for
considerations when working with templates tables.
- Returns:
- value or
null
for none
-
setTemplateSuffix
public TableDataInsertAllRequest setTemplateSuffix(String templateSuffix)
If specified, treats the destination table as a base template, and inserts the rows into an
instance table named "{destination}{templateSuffix}". BigQuery will manage creation of the
instance table, using the schema of the base template table. See
https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables for
considerations when working with templates tables.
- Parameters:
templateSuffix
- templateSuffix or null
for none
-
set
public TableDataInsertAllRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TableDataInsertAllRequest clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy