public final class TimePartitioning
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 |
---|
TimePartitioning() |
Modifier and Type | Method and Description |
---|---|
TimePartitioning |
clone() |
java.lang.Long |
getExpirationMs()
[Optional] Number of milliseconds for which to keep the storage for a partition.
|
java.lang.String |
getType()
[Required] The only type supported is DAY, which will generate one partition per day based on
data loading time.
|
TimePartitioning |
set(java.lang.String fieldName,
java.lang.Object value) |
TimePartitioning |
setExpirationMs(java.lang.Long expirationMs)
[Optional] Number of milliseconds for which to keep the storage for a partition.
|
TimePartitioning |
setType(java.lang.String type)
[Required] The only type supported is DAY, which will generate one partition per day based on
data loading time.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Long getExpirationMs()
null
for nonepublic TimePartitioning setExpirationMs(java.lang.Long expirationMs)
expirationMs
- expirationMs or null
for nonepublic java.lang.String getType()
null
for nonepublic TimePartitioning setType(java.lang.String type)
type
- type or null
for nonepublic TimePartitioning set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TimePartitioning clone()
clone
in class com.google.api.client.json.GenericJson