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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CsvOptions() |
Modifier and Type | Method and Description |
---|---|
CsvOptions |
clone() |
Boolean |
getAllowJaggedRows()
Optional.
|
Boolean |
getAllowQuotedNewlines()
Optional.
|
String |
getEncoding()
Optional.
|
String |
getFieldDelimiter()
Optional.
|
String |
getNullMarker()
[Optional] A custom string that will represent a NULL value in CSV import data.
|
Boolean |
getPreserveAsciiControlCharacters()
Optional.
|
String |
getQuote()
Optional.
|
Long |
getSkipLeadingRows()
Optional.
|
CsvOptions |
set(String fieldName,
Object value) |
CsvOptions |
setAllowJaggedRows(Boolean allowJaggedRows)
Optional.
|
CsvOptions |
setAllowQuotedNewlines(Boolean allowQuotedNewlines)
Optional.
|
CsvOptions |
setEncoding(String encoding)
Optional.
|
CsvOptions |
setFieldDelimiter(String fieldDelimiter)
Optional.
|
CsvOptions |
setNullMarker(String nullMarker)
[Optional] A custom string that will represent a NULL value in CSV import data.
|
CsvOptions |
setPreserveAsciiControlCharacters(Boolean preserveAsciiControlCharacters)
Optional.
|
CsvOptions |
setQuote(String quote)
Optional.
|
CsvOptions |
setSkipLeadingRows(Long skipLeadingRows)
Optional.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 getNullMarker()
null
for nonepublic CsvOptions setNullMarker(String nullMarker)
nullMarker
- nullMarker or null
for nonepublic Boolean getPreserveAsciiControlCharacters()
null
for nonepublic CsvOptions setPreserveAsciiControlCharacters(Boolean preserveAsciiControlCharacters)
preserveAsciiControlCharacters
- preserveAsciiControlCharacters 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.GenericJson
public CsvOptions clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.