Resource: Table
Represents a table.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "deleteTime": string, "expireTime": string, "type": enum ( |
Fields | |
---|---|
name |
Output only. The resource name. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId} |
createTime |
Output only. The creation time of the table. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The last modification time of the table. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
deleteTime |
Output only. The deletion time of the table. Only set after the table is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
expireTime |
Output only. The time when this table is considered expired. Only set after the table is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
type |
The table type. |
etag |
The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations. |
Union field options . Options specified for the table type. options can be only one of the following: |
|
hiveOptions |
Options of a Hive table. |
HiveTableOptions
Options of a Hive table.
JSON representation |
---|
{
"parameters": {
string: string,
...
},
"tableType": string,
"storageDescriptor": {
object ( |
Fields | |
---|---|
parameters |
Stores user supplied Hive table parameters. An object containing a list of |
tableType |
Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE. |
storageDescriptor |
Stores physical storage information of the data. |
StorageDescriptor
Stores physical storage information of the data.
JSON representation |
---|
{
"locationUri": string,
"inputFormat": string,
"outputFormat": string,
"serdeInfo": {
object ( |
Fields | |
---|---|
locationUri |
Cloud Storage folder URI where the table data is stored, starting with "gs://". |
inputFormat |
The fully qualified Java class name of the input format. |
outputFormat |
The fully qualified Java class name of the output format. |
serdeInfo |
Serializer and deserializer information. |
SerDeInfo
Serializer and deserializer information.
JSON representation |
---|
{ "serializationLib": string } |
Fields | |
---|---|
serializationLib |
The fully qualified Java class name of the serialization library. |
Type
The table type.
Enums | |
---|---|
TYPE_UNSPECIFIED |
The type is not specified. |
HIVE |
Represents a table compatible with Hive Metastore tables. |
Methods |
|
---|---|
|
Creates a new table. |
|
Deletes an existing table specified by the table ID. |
|
Gets the table specified by the resource name. |
|
List all tables in a specified database. |
|
Updates an existing table specified by the table ID. |
|
Renames an existing table specified by the table ID. |