public final class CsvOptions
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CsvOptions() |
| Modifier and Type | Method and Description |
|---|---|
CsvOptions |
clone() |
Boolean |
getAllowJaggedRows()
[Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns.
|
Boolean |
getAllowQuotedNewlines()
[Optional] Indicates if BigQuery should allow quoted data sections that contain newline
characters in a CSV file.
|
String |
getEncoding()
[Optional] The character encoding of the data.
|
String |
getFieldDelimiter()
[Optional] The separator for fields in a CSV file.
|
String |
getQuote()
[Optional] The value that is used to quote data sections in a CSV file.
|
Long |
getSkipLeadingRows()
[Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the
data.
|
CsvOptions |
set(String fieldName,
Object value) |
CsvOptions |
setAllowJaggedRows(Boolean allowJaggedRows)
[Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns.
|
CsvOptions |
setAllowQuotedNewlines(Boolean allowQuotedNewlines)
[Optional] Indicates if BigQuery should allow quoted data sections that contain newline
characters in a CSV file.
|
CsvOptions |
setEncoding(String encoding)
[Optional] The character encoding of the data.
|
CsvOptions |
setFieldDelimiter(String fieldDelimiter)
[Optional] The separator for fields in a CSV file.
|
CsvOptions |
setQuote(String quote)
[Optional] The value that is used to quote data sections in a CSV file.
|
CsvOptions |
setSkipLeadingRows(Long skipLeadingRows)
[Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the
data.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getAllowJaggedRows()
null for nonepublic CsvOptions setAllowJaggedRows(Boolean allowJaggedRows)
allowJaggedRows - allowJaggedRows or null for nonepublic Boolean getAllowQuotedNewlines()
null for nonepublic CsvOptions setAllowQuotedNewlines(Boolean allowQuotedNewlines)
allowQuotedNewlines - allowQuotedNewlines or null for nonepublic String getEncoding()
null for nonepublic CsvOptions setEncoding(String encoding)
encoding - encoding or null for nonepublic String getFieldDelimiter()
null for nonepublic CsvOptions setFieldDelimiter(String fieldDelimiter)
fieldDelimiter - fieldDelimiter or null for nonepublic String getQuote()
null for nonepublic CsvOptions setQuote(String quote)
quote - quote or null for nonepublic Long getSkipLeadingRows()
null for nonepublic CsvOptions setSkipLeadingRows(Long skipLeadingRows)
skipLeadingRows - skipLeadingRows or null for nonepublic CsvOptions set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CsvOptions clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2018 Google. All rights reserved.