Package | Description |
---|---|
com.google.cloud.bigquery |
A client for BigQuery – A fully managed, petabyte scale, low cost enterprise data warehouse for
analytics.
|
Modifier and Type | Method and Description |
---|---|
abstract TableId |
SnapshotTableDefinition.getBaseTableId() |
abstract TableId |
CloneDefinition.getBaseTableId() |
TableId |
JobStatistics.QueryStatistics.getDdlTargetTable()
[BETA] For DDL queries, returns the TableID of the targeted table.
|
TableId |
WriteChannelConfiguration.getDestinationTable() |
TableId |
QueryJobConfiguration.getDestinationTable()
Returns the table where to put query results.
|
TableId |
LoadJobConfiguration.getDestinationTable() |
abstract TableId |
ConnectionSettings.getDestinationTable()
Returns the table where to put query results.
|
TableId |
LoadConfiguration.getDestinationTable()
Returns the destination table to load the data into.
|
TableId |
CopyJobConfiguration.getDestinationTable()
Returns the destination table to load the data into.
|
TableId |
Acl.View.getId()
Returns table's identity.
|
abstract TableId |
ForeignKey.getReferencedTable() |
TableId |
ExtractJobConfiguration.getSourceTable()
Returns the table to export.
|
TableId |
InsertAllRequest.getTable()
Returns the destination table for rows insert request.
|
TableId |
TableInfo.getTableId()
Returns the table identity.
|
static TableId |
TableId.of(String dataset,
String table)
Creates a table identity given dataset's and table's user-defined ids.
|
static TableId |
TableId.of(String project,
String dataset,
String table)
Creates a table identity given project's, dataset's and table's user-defined ids.
|
Modifier and Type | Method and Description |
---|---|
List<TableId> |
JobStatistics.QueryStatistics.getReferencedTables()
Referenced tables for the job.
|
List<TableId> |
CopyJobConfiguration.getSourceTables()
Returns the source tables to copy.
|
Modifier and Type | Method and Description |
---|---|
static LoadJobConfiguration.Builder |
LoadJobConfiguration.builder(TableId destinationTable,
String sourceUri)
Creates a builder for a BigQuery Load Job configuration given the destination table and source
URI.
|
Job |
Table.copy(TableId destinationTable,
BigQuery.JobOption... options)
Starts a BigQuery Job to copy the current table to the provided destination table.
|
boolean |
BigQuery.delete(TableId tableId)
Deletes the requested table.
|
com.google.cloud.Policy |
BigQuery.getIamPolicy(TableId tableId,
BigQuery.IAMOption... options)
Gets the IAM policy for a specified table.
|
Table |
BigQuery.getTable(TableId tableId,
BigQuery.TableOption... options)
Returns the requested table or
null if not found. |
List<String> |
BigQuery.listPartitions(TableId tableId) |
TableResult |
BigQuery.listTableData(TableId tableId,
BigQuery.TableDataListOption... options)
Lists the table's rows.
|
TableResult |
BigQuery.listTableData(TableId tableId,
Schema schema,
BigQuery.TableDataListOption... options)
Lists the table's rows.
|
static WriteChannelConfiguration.Builder |
WriteChannelConfiguration.newBuilder(TableId destinationTable)
Creates a builder for a BigQuery Load Configuration given the destination table.
|
static InsertAllRequest.Builder |
InsertAllRequest.newBuilder(TableId table)
Returns a builder for an
InsertAllRequest object given the destination table. |
static WriteChannelConfiguration.Builder |
WriteChannelConfiguration.newBuilder(TableId destinationTable,
FormatOptions format)
Creates a builder for a BigQuery Load Configuration given the destination table and format.
|
static InsertAllRequest.Builder |
InsertAllRequest.newBuilder(TableId table,
InsertAllRequest.RowToInsert... rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
static InsertAllRequest.Builder |
InsertAllRequest.newBuilder(TableId table,
Iterable<InsertAllRequest.RowToInsert> rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
static LoadJobConfiguration.Builder |
LoadJobConfiguration.newBuilder(TableId destinationTable,
List<String> sourceUris)
Creates a builder for a BigQuery Load Job configuration given the destination table and source
URIs.
|
static ExtractJobConfiguration.Builder |
ExtractJobConfiguration.newBuilder(TableId sourceTable,
List<String> destinationUris)
Creates a builder for a BigQuery Extract Job configuration given source table and destination
URIs.
|
static LoadJobConfiguration.Builder |
LoadJobConfiguration.newBuilder(TableId destinationTable,
List<String> sourceUris,
FormatOptions format)
Creates a builder for a BigQuery Load Job configuration given the destination table, format and
source URIs.
|
static CopyJobConfiguration.Builder |
CopyJobConfiguration.newBuilder(TableId destinationTable,
List<TableId> sourceTables)
Creates a builder for a BigQuery Copy Job configuration given destination and source tables.
|
static LoadJobConfiguration.Builder |
LoadJobConfiguration.newBuilder(TableId destinationTable,
String sourceUri)
Creates a builder for a BigQuery Load Job configuration given the destination table and source
URI.
|
static ExtractJobConfiguration.Builder |
ExtractJobConfiguration.newBuilder(TableId sourceTable,
String destinationUri)
Creates a builder for a BigQuery Extract Job configuration given source table and destination
URI.
|
static LoadJobConfiguration.Builder |
LoadJobConfiguration.newBuilder(TableId destinationTable,
String sourceUri,
FormatOptions format)
Creates a builder for a BigQuery Load Job configuration given the destination table, format and
source URI.
|
static TableInfo.Builder |
TableInfo.newBuilder(TableId tableId,
TableDefinition definition)
Returns a builder for a
TableInfo object given table identity and definition. |
static CopyJobConfiguration.Builder |
CopyJobConfiguration.newBuilder(TableId destinationTable,
TableId sourceTable)
Creates a builder for a BigQuery Copy Job configuration given destination and source table.
|
static WriteChannelConfiguration |
WriteChannelConfiguration.of(TableId destinationTable)
Returns a BigQuery Load Configuration for the given destination table.
|
static WriteChannelConfiguration |
WriteChannelConfiguration.of(TableId destinationTable,
FormatOptions format)
Returns a BigQuery Load Configuration for the given destination table and format.
|
static InsertAllRequest |
InsertAllRequest.of(TableId tableId,
InsertAllRequest.RowToInsert... rows)
Returns a
InsertAllRequest object given the destination table and the rows to insert. |
static InsertAllRequest |
InsertAllRequest.of(TableId tableId,
Iterable<InsertAllRequest.RowToInsert> rows)
Returns a
InsertAllRequest object given the destination table and the rows to insert. |
static LoadJobConfiguration |
LoadJobConfiguration.of(TableId destinationTable,
List<String> sourceUris)
Returns a BigQuery Load Job Configuration for the given destination table and source URIs.
|
static ExtractJobConfiguration |
ExtractJobConfiguration.of(TableId sourceTable,
List<String> destinationUris)
Returns a BigQuery Extract Job configuration for the given source table and destination URIs.
|
static LoadJobConfiguration |
LoadJobConfiguration.of(TableId destinationTable,
List<String> sourceUris,
FormatOptions format)
Returns a BigQuery Load Job Configuration for the given destination table, format and source
URI.
|
static ExtractJobConfiguration |
ExtractJobConfiguration.of(TableId sourceTable,
List<String> destinationUris,
String format)
Returns a BigQuery Extract Job configuration for the given source table, format and destination
URIs.
|
static CopyJobConfiguration |
CopyJobConfiguration.of(TableId destinationTable,
List<TableId> sourceTables)
Returns a BigQuery Copy Job configuration for the given destination and source tables.
|
static LoadJobConfiguration |
LoadJobConfiguration.of(TableId destinationTable,
String sourceUri)
Returns a BigQuery Load Job Configuration for the given destination table and source URI.
|
static ExtractJobConfiguration |
ExtractJobConfiguration.of(TableId sourceTable,
String destinationUri)
Returns a BigQuery Extract Job configuration for the given source table and destination URI.
|
static LoadJobConfiguration |
LoadJobConfiguration.of(TableId destinationTable,
String sourceUri,
FormatOptions format)
Returns a BigQuery Load Job Configuration for the given destination table, format and source
URI.
|
static ExtractJobConfiguration |
ExtractJobConfiguration.of(TableId sourceTable,
String destinationUri,
String format)
Returns a BigQuery Extract Job configuration for the given source table, format and destination
URI.
|
static TableInfo |
TableInfo.of(TableId tableId,
TableDefinition definition)
Returns a
TableInfo object given table identity and definition. |
static CopyJobConfiguration |
CopyJobConfiguration.of(TableId destinationTable,
TableId sourceTable)
Returns a BigQuery Copy Job configuration for the given destination and source table.
|
abstract SnapshotTableDefinition.Builder |
SnapshotTableDefinition.Builder.setBaseTableId(TableId baseTableId)
Reference describing the ID of the table that was snapshot.
|
abstract CloneDefinition.Builder |
CloneDefinition.Builder.setBaseTableId(TableId baseTableId)
Reference describing the ID of the table that was Cloned.
|
WriteChannelConfiguration.Builder |
WriteChannelConfiguration.Builder.setDestinationTable(TableId destinationTable) |
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setDestinationTable(TableId destinationTable)
Sets the table where to put query results.
|
LoadJobConfiguration.Builder |
LoadJobConfiguration.Builder.setDestinationTable(TableId destinationTable) |
abstract ConnectionSettings.Builder |
ConnectionSettings.Builder.setDestinationTable(TableId destinationTable)
Sets the table where to put query results.
|
LoadConfiguration.Builder |
LoadConfiguration.Builder.setDestinationTable(TableId destinationTable)
Sets the destination table to load the data into.
|
CopyJobConfiguration.Builder |
CopyJobConfiguration.Builder.setDestinationTable(TableId destinationTable)
Sets the destination table of the copy job.
|
com.google.cloud.Policy |
BigQuery.setIamPolicy(TableId tableId,
com.google.cloud.Policy policy,
BigQuery.IAMOption... options)
Sets the IAM policy for a specified table.
|
abstract ForeignKey.Builder |
ForeignKey.Builder.setReferencedTable(TableId referencedTable)
The table referenced by this foreign key.
|
ExtractJobConfiguration.Builder |
ExtractJobConfiguration.Builder.setSourceTable(TableId sourceTable)
Sets the table to export.
|
InsertAllRequest.Builder |
InsertAllRequest.Builder.setTable(TableId table)
Sets the destination table for rows insert request.
|
Table.Builder |
Table.Builder.setTableId(TableId tableId) |
abstract TableInfo.Builder |
TableInfo.Builder.setTableId(TableId tableId)
Sets the table identity.
|
List<String> |
BigQuery.testIamPermissions(TableId table,
List<String> permissions,
BigQuery.IAMOption... options)
Tests whether the caller holds specific permissions on a BigQuery table.
|
Modifier and Type | Method and Description |
---|---|
static CopyJobConfiguration.Builder |
CopyJobConfiguration.newBuilder(TableId destinationTable,
List<TableId> sourceTables)
Creates a builder for a BigQuery Copy Job configuration given destination and source tables.
|
static CopyJobConfiguration |
CopyJobConfiguration.of(TableId destinationTable,
List<TableId> sourceTables)
Returns a BigQuery Copy Job configuration for the given destination and source tables.
|
CopyJobConfiguration.Builder |
CopyJobConfiguration.Builder.setSourceTables(List<TableId> sourceTables)
Sets the source tables to copy.
|
Constructor and Description |
---|
View(TableId id)
Creates a View entity given the view's id.
|
Copyright © 2023 Google LLC. All rights reserved.