public final class Table
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 |
|---|
Table() |
| Modifier and Type | Method and Description |
|---|---|
Table |
clone() |
java.lang.Long |
getCreationTime()
[Output-only] The time when this table was created, in milliseconds since the epoch.
|
java.lang.String |
getDescription()
[Optional] A user-friendly description of this table.
|
java.lang.String |
getEtag()
[Output-only] A hash of this resource.
|
java.lang.Long |
getExpirationTime()
[Optional] The time when this table expires, in milliseconds since the epoch.
|
ExternalDataConfiguration |
getExternalDataConfiguration()
[Optional] Describes the data format, location, and other properties of a table stored outside
of BigQuery.
|
java.lang.String |
getFriendlyName()
[Optional] A descriptive name for this table.
|
java.lang.String |
getId()
[Output-only] An opaque ID uniquely identifying the table.
|
java.lang.String |
getKind()
[Output-only] The type of the resource.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
[Experimental] The labels associated with this table.
|
java.math.BigInteger |
getLastModifiedTime()
[Output-only] The time when this table was last modified, in milliseconds since the epoch.
|
java.lang.String |
getLocation()
[Output-only] The geographic location where the table resides.
|
java.lang.Long |
getNumBytes()
[Output-only] The size of this table in bytes, excluding any data in the streaming buffer.
|
java.lang.Long |
getNumLongTermBytes()
[Output-only] The number of bytes in the table that are considered "long-term storage".
|
java.math.BigInteger |
getNumRows()
[Output-only] The number of rows of data in this table, excluding any data in the streaming
buffer.
|
TableSchema |
getSchema()
[Optional] Describes the schema of this table.
|
java.lang.String |
getSelfLink()
[Output-only] A URL that can be used to access this resource again.
|
Streamingbuffer |
getStreamingBuffer()
[Output-only] Contains information regarding this table's streaming buffer, if one is present.
|
TableReference |
getTableReference()
[Required] Reference describing the ID of this table.
|
TimePartitioning |
getTimePartitioning()
[Experimental] If specified, configures time-based partitioning for this table.
|
java.lang.String |
getType()
[Output-only] Describes the table type.
|
ViewDefinition |
getView()
[Optional] The view definition.
|
Table |
set(java.lang.String fieldName,
java.lang.Object value) |
Table |
setCreationTime(java.lang.Long creationTime)
[Output-only] The time when this table was created, in milliseconds since the epoch.
|
Table |
setDescription(java.lang.String description)
[Optional] A user-friendly description of this table.
|
Table |
setEtag(java.lang.String etag)
[Output-only] A hash of this resource.
|
Table |
setExpirationTime(java.lang.Long expirationTime)
[Optional] The time when this table expires, in milliseconds since the epoch.
|
Table |
setExternalDataConfiguration(ExternalDataConfiguration externalDataConfiguration)
[Optional] Describes the data format, location, and other properties of a table stored outside
of BigQuery.
|
Table |
setFriendlyName(java.lang.String friendlyName)
[Optional] A descriptive name for this table.
|
Table |
setId(java.lang.String id)
[Output-only] An opaque ID uniquely identifying the table.
|
Table |
setKind(java.lang.String kind)
[Output-only] The type of the resource.
|
Table |
setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
[Experimental] The labels associated with this table.
|
Table |
setLastModifiedTime(java.math.BigInteger lastModifiedTime)
[Output-only] The time when this table was last modified, in milliseconds since the epoch.
|
Table |
setLocation(java.lang.String location)
[Output-only] The geographic location where the table resides.
|
Table |
setNumBytes(java.lang.Long numBytes)
[Output-only] The size of this table in bytes, excluding any data in the streaming buffer.
|
Table |
setNumLongTermBytes(java.lang.Long numLongTermBytes)
[Output-only] The number of bytes in the table that are considered "long-term storage".
|
Table |
setNumRows(java.math.BigInteger numRows)
[Output-only] The number of rows of data in this table, excluding any data in the streaming
buffer.
|
Table |
setSchema(TableSchema schema)
[Optional] Describes the schema of this table.
|
Table |
setSelfLink(java.lang.String selfLink)
[Output-only] A URL that can be used to access this resource again.
|
Table |
setStreamingBuffer(Streamingbuffer streamingBuffer)
[Output-only] Contains information regarding this table's streaming buffer, if one is present.
|
Table |
setTableReference(TableReference tableReference)
[Required] Reference describing the ID of this table.
|
Table |
setTimePartitioning(TimePartitioning timePartitioning)
[Experimental] If specified, configures time-based partitioning for this table.
|
Table |
setType(java.lang.String type)
[Output-only] Describes the table type.
|
Table |
setView(ViewDefinition view)
[Optional] The view definition.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getCreationTime()
null for nonepublic Table setCreationTime(java.lang.Long creationTime)
creationTime - creationTime or null for nonepublic java.lang.String getDescription()
null for nonepublic Table setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getEtag()
null for nonepublic Table setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.Long getExpirationTime()
null for nonepublic Table setExpirationTime(java.lang.Long expirationTime)
expirationTime - expirationTime or null for nonepublic ExternalDataConfiguration getExternalDataConfiguration()
null for nonepublic Table setExternalDataConfiguration(ExternalDataConfiguration externalDataConfiguration)
externalDataConfiguration - externalDataConfiguration or null for nonepublic java.lang.String getFriendlyName()
null for nonepublic Table setFriendlyName(java.lang.String friendlyName)
friendlyName - friendlyName or null for nonepublic java.lang.String getId()
null for nonepublic Table setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Table setKind(java.lang.String kind)
kind - kind or null for nonepublic java.util.Map<java.lang.String,java.lang.String> getLabels()
null for nonepublic Table setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
labels - labels or null for nonepublic java.math.BigInteger getLastModifiedTime()
null for nonepublic Table setLastModifiedTime(java.math.BigInteger lastModifiedTime)
lastModifiedTime - lastModifiedTime or null for nonepublic java.lang.String getLocation()
null for nonepublic Table setLocation(java.lang.String location)
location - location or null for nonepublic java.lang.Long getNumBytes()
null for nonepublic Table setNumBytes(java.lang.Long numBytes)
numBytes - numBytes or null for nonepublic java.lang.Long getNumLongTermBytes()
null for nonepublic Table setNumLongTermBytes(java.lang.Long numLongTermBytes)
numLongTermBytes - numLongTermBytes or null for nonepublic java.math.BigInteger getNumRows()
null for nonepublic Table setNumRows(java.math.BigInteger numRows)
numRows - numRows or null for nonepublic TableSchema getSchema()
null for nonepublic Table setSchema(TableSchema schema)
schema - schema or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Table setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic Streamingbuffer getStreamingBuffer()
null for nonepublic Table setStreamingBuffer(Streamingbuffer streamingBuffer)
streamingBuffer - streamingBuffer or null for nonepublic TableReference getTableReference()
null for nonepublic Table setTableReference(TableReference tableReference)
tableReference - tableReference or null for nonepublic TimePartitioning getTimePartitioning()
null for nonepublic Table setTimePartitioning(TimePartitioning timePartitioning)
timePartitioning - timePartitioning or null for nonepublic java.lang.String getType()
null for nonepublic Table setType(java.lang.String type)
type - type or null for nonepublic ViewDefinition getView()
null for nonepublic Table setView(ViewDefinition view)
view - view or null for nonepublic Table set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Table clone()
clone in class com.google.api.client.json.GenericJson