public final class ExportContext
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 Cloud SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
ExportContext.BakExportOptions
Options for exporting BAK files (SQL Server-only)
|
static class |
ExportContext.CsvExportOptions
Options for exporting data as CSV.
|
static class |
ExportContext.SqlExportOptions
Options for exporting data as SQL statements.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ExportContext() |
| Modifier and Type | Method and Description |
|---|---|
ExportContext |
clone() |
ExportContext.BakExportOptions |
getBakExportOptions()
Options for exporting BAK files (SQL Server-only)
|
ExportContext.CsvExportOptions |
getCsvExportOptions()
Options for exporting data as CSV.
|
List<String> |
getDatabases()
Databases to be exported.
|
String |
getFileType()
The file type for the specified uri.
|
String |
getKind()
This is always `sql#exportContext`.
|
Boolean |
getOffload()
Option for export offload.
|
ExportContext.SqlExportOptions |
getSqlExportOptions()
Options for exporting data as SQL statements.
|
String |
getUri()
The path to the file in Google Cloud Storage where the export will be stored.
|
ExportContext |
set(String fieldName,
Object value) |
ExportContext |
setBakExportOptions(ExportContext.BakExportOptions bakExportOptions)
Options for exporting BAK files (SQL Server-only)
|
ExportContext |
setCsvExportOptions(ExportContext.CsvExportOptions csvExportOptions)
Options for exporting data as CSV.
|
ExportContext |
setDatabases(List<String> databases)
Databases to be exported.
|
ExportContext |
setFileType(String fileType)
The file type for the specified uri.
|
ExportContext |
setKind(String kind)
This is always `sql#exportContext`.
|
ExportContext |
setOffload(Boolean offload)
Option for export offload.
|
ExportContext |
setSqlExportOptions(ExportContext.SqlExportOptions sqlExportOptions)
Options for exporting data as SQL statements.
|
ExportContext |
setUri(String uri)
The path to the file in Google Cloud Storage where the export will be stored.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ExportContext.BakExportOptions getBakExportOptions()
null for nonepublic ExportContext setBakExportOptions(ExportContext.BakExportOptions bakExportOptions)
bakExportOptions - bakExportOptions or null for nonepublic ExportContext.CsvExportOptions getCsvExportOptions()
null for nonepublic ExportContext setCsvExportOptions(ExportContext.CsvExportOptions csvExportOptions)
csvExportOptions - csvExportOptions or null for nonepublic List<String> getDatabases()
null for nonepublic ExportContext setDatabases(List<String> databases)
databases - databases or null for nonepublic String getFileType()
null for nonepublic ExportContext setFileType(String fileType)
fileType - fileType or null for nonepublic String getKind()
null for nonepublic ExportContext setKind(String kind)
kind - kind or null for nonepublic Boolean getOffload()
null for nonepublic ExportContext setOffload(Boolean offload)
offload - offload or null for nonepublic ExportContext.SqlExportOptions getSqlExportOptions()
null for nonepublic ExportContext setSqlExportOptions(ExportContext.SqlExportOptions sqlExportOptions)
sqlExportOptions - sqlExportOptions or null for nonepublic String getUri()
null for nonepublic ExportContext setUri(String uri)
uri - uri or null for nonepublic ExportContext set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ExportContext clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.