public final class Table extends 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Table() |
Modifier and Type | Method and Description |
---|---|
Table |
clone() |
Long |
getCreationTime()
[Output-only] The time when this table was created, in milliseconds since the epoch.
|
String |
getDescription()
[Optional] A user-friendly description of this table.
|
String |
getEtag()
[Output-only] A hash of this resource.
|
Long |
getExpirationTime()
[Optional] The time when this table expires, in milliseconds since the epoch.
|
String |
getFriendlyName()
[Optional] A descriptive name for this table.
|
String |
getId()
[Output-only] An opaque ID uniquely identifying the table.
|
String |
getKind()
[Output-only] The type of the resource.
|
Long |
getLastModifiedTime()
[Output-only] The time when this table was last modified, in milliseconds since the epoch.
|
Long |
getNumBytes()
[Output-only] The size of the table in bytes.
|
BigInteger |
getNumRows()
[Output-only] The number of rows of data in this table.
|
TableSchema |
getSchema()
[Optional] Describes the schema of this table.
|
String |
getSelfLink()
[Output-only] A URL that can be used to access this resource again.
|
TableReference |
getTableReference()
[Required] Reference describing the ID of this table.
|
Table |
set(String fieldName,
Object value) |
Table |
setCreationTime(Long creationTime)
[Output-only] The time when this table was created, in milliseconds since the epoch.
|
Table |
setDescription(String description)
[Optional] A user-friendly description of this table.
|
Table |
setEtag(String etag)
[Output-only] A hash of this resource.
|
Table |
setExpirationTime(Long expirationTime)
[Optional] The time when this table expires, in milliseconds since the epoch.
|
Table |
setFriendlyName(String friendlyName)
[Optional] A descriptive name for this table.
|
Table |
setId(String id)
[Output-only] An opaque ID uniquely identifying the table.
|
Table |
setKind(String kind)
[Output-only] The type of the resource.
|
Table |
setLastModifiedTime(Long lastModifiedTime)
[Output-only] The time when this table was last modified, in milliseconds since the epoch.
|
Table |
setNumBytes(Long numBytes)
[Output-only] The size of the table in bytes.
|
Table |
setNumRows(BigInteger numRows)
[Output-only] The number of rows of data in this table.
|
Table |
setSchema(TableSchema schema)
[Optional] Describes the schema of this table.
|
Table |
setSelfLink(String selfLink)
[Output-only] A URL that can be used to access this resource again.
|
Table |
setTableReference(TableReference tableReference)
[Required] Reference describing the ID of this table.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Long getCreationTime()
null
for nonepublic Table setCreationTime(Long creationTime)
creationTime
- creationTime or null
for nonepublic String getDescription()
null
for nonepublic Table setDescription(String description)
description
- description or null
for nonepublic String getEtag()
null
for nonepublic Table setEtag(String etag)
etag
- etag or null
for nonepublic Long getExpirationTime()
null
for nonepublic Table setExpirationTime(Long expirationTime)
expirationTime
- expirationTime or null
for nonepublic String getFriendlyName()
null
for nonepublic Table setFriendlyName(String friendlyName)
friendlyName
- friendlyName or null
for nonepublic String getId()
null
for nonepublic Table setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Table setKind(String kind)
kind
- kind or null
for nonepublic Long getLastModifiedTime()
null
for nonepublic Table setLastModifiedTime(Long lastModifiedTime)
lastModifiedTime
- lastModifiedTime or null
for nonepublic Long getNumBytes()
null
for nonepublic Table setNumBytes(Long numBytes)
numBytes
- numBytes or null
for nonepublic BigInteger getNumRows()
null
for nonepublic Table setNumRows(BigInteger numRows)
numRows
- numRows or null
for nonepublic TableSchema getSchema()
null
for nonepublic Table setSchema(TableSchema schema)
schema
- schema or null
for nonepublic String getSelfLink()
null
for nonepublic Table setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic TableReference getTableReference()
null
for nonepublic Table setTableReference(TableReference tableReference)
tableReference
- tableReference or null
for nonepublic Table set(String fieldName, Object value)
set
in class GenericJson
public Table clone()
clone
in class GenericJson