public abstract static class TableInfo.Builder extends Object
TableInfo objects.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract TableInfo |
build()
Creates a
TableInfo object. |
abstract TableInfo.Builder |
setDefinition(TableDefinition definition)
Sets the table definition.
|
abstract TableInfo.Builder |
setDescription(String description)
Sets a user-friendly description for the table.
|
abstract TableInfo.Builder |
setEncryptionConfiguration(EncryptionConfiguration configuration) |
abstract TableInfo.Builder |
setExpirationTime(Long expirationTime)
Sets the time when this table expires, in milliseconds since the epoch.
|
abstract TableInfo.Builder |
setFriendlyName(String friendlyName)
Sets a user-friendly name for the table.
|
abstract TableInfo.Builder |
setLabels(Map<String,String> labels)
Sets the labels applied to this table.
|
abstract TableInfo.Builder |
setTableId(TableId tableId)
Sets the table identity.
|
public abstract TableInfo.Builder setDescription(String description)
public abstract TableInfo.Builder setExpirationTime(Long expirationTime)
public abstract TableInfo.Builder setFriendlyName(String friendlyName)
public abstract TableInfo.Builder setTableId(TableId tableId)
public abstract TableInfo.Builder setDefinition(TableDefinition definition)
StandardTableDefinition to create simple BigQuery
table. Use ViewDefinition to create a BigQuery view. Use ExternalTableDefinition to create a BigQuery a table backed by external data.@BetaApi public abstract TableInfo.Builder setLabels(Map<String,String> labels)
Unstable, because labels are experimental.
When used with BigQuery.update(TableInfo, TableOption...), setting labels
to null removes all labels; otherwise all keys that are mapped to null values
are removed and other keys are updated to their respective values.
public abstract TableInfo build()
TableInfo object.public abstract TableInfo.Builder setEncryptionConfiguration(EncryptionConfiguration configuration)
Copyright © 2019 Google LLC. All rights reserved.