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 |
---|---|
Schema |
JobStatistics.QueryStatistics.getSchema()
Returns the schema for the query result.
|
Schema |
LoadJobConfiguration.getSchema() |
Schema |
WriteChannelConfiguration.getSchema() |
Schema |
LoadConfiguration.getSchema()
Returns the schema for the destination table, if set.
|
abstract Schema |
TableDefinition.getSchema()
Returns the table's schema.
|
Schema |
TableResult.getSchema()
Returns the schema of the results.
|
static Schema |
Schema.of(Field... fields)
Creates a
Schema object given some fields. |
static Schema |
Schema.of(Iterable<Field> fields)
Creates a
Schema object given a list of fields. |
Modifier and Type | Method and Description |
---|---|
TableResult |
Table.list(Schema schema,
BigQuery.TableDataListOption... options)
Returns the paginated list rows in this table.
|
TableResult |
BigQuery.listTableData(String datasetId,
String tableId,
Schema schema,
BigQuery.TableDataListOption... options)
Lists the table's rows.
|
TableResult |
BigQuery.listTableData(TableId tableId,
Schema schema,
BigQuery.TableDataListOption... options)
Lists the table's rows.
|
static ExternalTableDefinition.Builder |
ExternalTableDefinition.newBuilder(List<String> sourceUris,
Schema schema,
FormatOptions format)
Creates a builder for an ExternalTableDefinition object.
|
static ExternalTableDefinition.Builder |
ExternalTableDefinition.newBuilder(String sourceUri,
Schema schema,
FormatOptions format)
Creates a builder for an ExternalTableDefinition object.
|
static ExternalTableDefinition |
ExternalTableDefinition.of(List<String> sourceUris,
Schema schema,
FormatOptions format)
Creates an ExternalTableDefinition object.
|
static StandardTableDefinition |
StandardTableDefinition.of(Schema schema)
Creates a BigQuery standard table definition given its schema.
|
static ExternalTableDefinition |
ExternalTableDefinition.of(String sourceUri,
Schema schema,
FormatOptions format)
Creates an ExternalTableDefinition object.
|
LoadJobConfiguration.Builder |
LoadJobConfiguration.Builder.setSchema(Schema schema) |
abstract ViewDefinition.Builder |
ViewDefinition.Builder.setSchema(Schema schema)
Sets the table schema.
|
WriteChannelConfiguration.Builder |
WriteChannelConfiguration.Builder.setSchema(Schema schema) |
LoadConfiguration.Builder |
LoadConfiguration.Builder.setSchema(Schema schema)
Sets the schema for the destination table.
|
abstract B |
TableDefinition.Builder.setSchema(Schema schema)
Sets the table schema.
|
abstract StandardTableDefinition.Builder |
StandardTableDefinition.Builder.setSchema(Schema schema)
Sets the table schema.
|
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setSchema(Schema schema)
Sets the table schema.
|
Constructor and Description |
---|
EmptyTableResult(Schema schema)
An empty
TableResult to avoid making API requests to unlistable tables. |
TableResult(Schema schema,
long totalRows,
Page<FieldValueList> pageNoSchema)
If
schema is non-null, TableResult adds the schema to FieldValueList s
when iterating through them. |
Copyright © 2019 Google LLC. All rights reserved.