public class TableInfo extends Object implements Serializable
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.Modifier and Type | Class and Description |
---|---|
static class |
TableInfo.Builder
A builder for
TableInfo objects. |
Modifier and Type | Method and Description |
---|---|
static TableInfo.Builder |
builder(TableId tableId,
TableDefinition definition)
Deprecated.
|
Long |
creationTime()
Deprecated.
|
<T extends TableDefinition> |
definition()
Deprecated.
|
String |
description()
Deprecated.
|
boolean |
equals(Object obj) |
String |
etag()
Deprecated.
|
Long |
expirationTime()
Deprecated.
|
String |
friendlyName()
Deprecated.
|
String |
generatedId()
Deprecated.
|
Long |
getCreationTime()
Returns the time when this table was created, in milliseconds since the epoch.
|
<T extends TableDefinition> |
getDefinition()
Returns the table definition.
|
String |
getDescription()
Returns a user-friendly description for the table.
|
String |
getEtag()
Returns the hash of the table resource.
|
Long |
getExpirationTime()
Returns the time when this table expires, in milliseconds since the epoch.
|
String |
getFriendlyName()
Returns a user-friendly name for the table.
|
String |
getGeneratedId()
Returns the service-generated id for the table.
|
Long |
getLastModifiedTime()
Returns the time when this table was last modified, in milliseconds since the epoch.
|
String |
getSelfLink()
Returns an URL that can be used to access the resource again.
|
TableId |
getTableId()
Returns the table identity.
|
int |
hashCode() |
Long |
lastModifiedTime()
Deprecated.
|
static TableInfo.Builder |
newBuilder(TableId tableId,
TableDefinition definition)
Returns a builder for a
TableInfo object given table identity and definition. |
static TableInfo |
of(TableId tableId,
TableDefinition definition)
Returns a
TableInfo object given table identity and definition. |
String |
selfLink()
Deprecated.
|
TableId |
tableId()
Deprecated.
|
TableInfo.Builder |
toBuilder()
Returns a builder for the table object.
|
String |
toString() |
@Deprecated public String etag()
public String getEtag()
@Deprecated public String generatedId()
public String getGeneratedId()
@Deprecated public String selfLink()
public String getSelfLink()
@Deprecated public TableId tableId()
public TableId getTableId()
@Deprecated public String friendlyName()
public String getFriendlyName()
@Deprecated public String description()
public String getDescription()
@Deprecated public Long creationTime()
public Long getCreationTime()
@Deprecated public Long expirationTime()
public Long getExpirationTime()
@Deprecated public Long lastModifiedTime()
public Long getLastModifiedTime()
@Deprecated public <T extends TableDefinition> T definition()
public <T extends TableDefinition> T getDefinition()
public TableInfo.Builder toBuilder()
@Deprecated public static TableInfo.Builder builder(TableId tableId, TableDefinition definition)
TableInfo
object given table identity and definition. Use
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.public static TableInfo.Builder newBuilder(TableId tableId, TableDefinition definition)
TableInfo
object given table identity and definition. Use
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.public static TableInfo of(TableId tableId, TableDefinition definition)
TableInfo
object given table identity and definition. Use
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.Copyright © 2016 Google. All rights reserved.