| Package | Description |
|---|---|
| com.google.cloud.hadoop.io.bigquery | |
| com.google.cloud.hadoop.io.bigquery.output |
| Modifier and Type | Method and Description |
|---|---|
static BigQueryFileFormat |
BigQueryFileFormat.fromName(java.lang.String name)
Deserializes the name of a BigQueryFileFormat.
|
static BigQueryFileFormat |
BigQueryFileFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BigQueryFileFormat[] |
BigQueryFileFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BigQueryHelper.importFederatedFromGcs(java.lang.String projectId,
com.google.api.services.bigquery.model.TableReference tableRef,
com.google.api.services.bigquery.model.TableSchema schema,
BigQueryFileFormat sourceFormat,
java.util.List<java.lang.String> gcsPaths)
Performs a federated import on data from GCS into BigQuery via a table insert.
|
void |
BigQueryHelper.importFromGcs(java.lang.String projectId,
com.google.api.services.bigquery.model.TableReference tableRef,
com.google.api.services.bigquery.model.TableSchema schema,
java.lang.String kmsKeyName,
BigQueryFileFormat sourceFormat,
java.lang.String writeDisposition,
java.util.List<java.lang.String> gcsPaths,
boolean awaitCompletion)
Imports data from GCS into BigQuery via a load job.
|
void |
BigQueryHelper.importFromGcs(java.lang.String projectId,
com.google.api.services.bigquery.model.TableReference tableRef,
com.google.api.services.bigquery.model.TableSchema schema,
com.google.api.services.bigquery.model.TimePartitioning timePartitioning,
java.lang.String kmsKeyName,
BigQueryFileFormat sourceFormat,
java.lang.String writeDisposition,
java.util.List<java.lang.String> gcsPaths,
boolean awaitCompletion)
Imports data from GCS into BigQuery via a load job.
|
| Modifier and Type | Method and Description |
|---|---|
static BigQueryFileFormat |
BigQueryOutputConfiguration.getFileFormat(org.apache.hadoop.conf.Configuration conf)
Gets the stored output
BigQueryFileFormat in the configuration. |
| Modifier and Type | Method and Description |
|---|---|
static void |
BigQueryOutputConfiguration.configure(org.apache.hadoop.conf.Configuration conf,
java.lang.String qualifiedOutputTableId,
BigQueryTableSchema outputTableSchema,
java.lang.String outputGcsPath,
BigQueryFileFormat outputFileFormat,
java.lang.Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat> outputFormatClass)
A helper function to set the required output keys in the given configuration.
|
static void |
BigQueryOutputConfiguration.configure(org.apache.hadoop.conf.Configuration conf,
java.lang.String qualifiedOutputTableId,
java.lang.String outputTableSchemaJson,
java.lang.String outputGcsPath,
BigQueryFileFormat outputFileFormat,
java.lang.Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat> outputFormatClass)
A helper function to set the required output keys in the given configuration.
|
static void |
BigQueryOutputConfiguration.configureWithAutoSchema(org.apache.hadoop.conf.Configuration conf,
java.lang.String qualifiedOutputTableId,
java.lang.String outputGcsPath,
BigQueryFileFormat outputFileFormat,
java.lang.Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat> outputFormatClass)
A helper function to set the required output keys in the given configuration.
|
Copyright © 2019. All rights reserved.