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.Flags
Constructor and Description |
---|
CsvOptions() |
Modifier and Type | Method and Description |
---|---|
CsvOptions |
clone() |
java.lang.Boolean |
getAllowJaggedRows()
[Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns.
|
java.lang.Boolean |
getAllowQuotedNewlines()
[Optional] Indicates if BigQuery should allow quoted data sections that contain newline
characters in a CSV file.
|
java.lang.String |
getEncoding()
[Optional] The character encoding of the data.
|
java.lang.String |
getFieldDelimiter()
[Optional] The separator for fields in a CSV file.
|
java.lang.String |
getQuote()
[Optional] The value that is used to quote data sections in a CSV file.
|
java.lang.Long |
getSkipLeadingRows()
[Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the
data.
|
CsvOptions |
set(java.lang.String fieldName,
java.lang.Object value) |
CsvOptions |
setAllowJaggedRows(java.lang.Boolean allowJaggedRows)
[Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns.
|
CsvOptions |
setAllowQuotedNewlines(java.lang.Boolean allowQuotedNewlines)
[Optional] Indicates if BigQuery should allow quoted data sections that contain newline
characters in a CSV file.
|
CsvOptions |
setEncoding(java.lang.String encoding)
[Optional] The character encoding of the data.
|
CsvOptions |
setFieldDelimiter(java.lang.String fieldDelimiter)
[Optional] The separator for fields in a CSV file.
|
CsvOptions |
setQuote(java.lang.String quote)
[Optional] The value that is used to quote data sections in a CSV file.
|
CsvOptions |
setSkipLeadingRows(java.lang.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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getAllowJaggedRows()
null
for nonepublic CsvOptions setAllowJaggedRows(java.lang.Boolean allowJaggedRows)
allowJaggedRows
- allowJaggedRows or null
for nonepublic java.lang.Boolean getAllowQuotedNewlines()
null
for nonepublic CsvOptions setAllowQuotedNewlines(java.lang.Boolean allowQuotedNewlines)
allowQuotedNewlines
- allowQuotedNewlines or null
for nonepublic java.lang.String getEncoding()
null
for nonepublic CsvOptions setEncoding(java.lang.String encoding)
encoding
- encoding or null
for nonepublic java.lang.String getFieldDelimiter()
null
for nonepublic CsvOptions setFieldDelimiter(java.lang.String fieldDelimiter)
fieldDelimiter
- fieldDelimiter or null
for nonepublic java.lang.String getQuote()
null
for nonepublic CsvOptions setQuote(java.lang.String quote)
quote
- quote or null
for nonepublic java.lang.Long getSkipLeadingRows()
null
for nonepublic CsvOptions setSkipLeadingRows(java.lang.Long skipLeadingRows)
skipLeadingRows
- skipLeadingRows or null
for nonepublic CsvOptions set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CsvOptions clone()
clone
in class com.google.api.client.json.GenericJson