public class BigQueryHelpers extends Object
BigQueryIO.| Constructor and Description |
|---|
BigQueryHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.api.services.bigquery.model.TableReference |
parseTableSpec(String tableSpec)
Parse a table specification in the form
"[project_id]:[dataset_id].[table_id]" or
"[dataset_id].[table_id]". |
static String |
stripPartitionDecorator(String tableSpec)
Strip off any partition decorator information from a tablespec.
|
static String |
toTableSpec(com.google.api.services.bigquery.model.TableReference ref)
Returns a canonical string representation of the
TableReference. |
public static String toTableSpec(com.google.api.services.bigquery.model.TableReference ref)
TableReference.public static com.google.api.services.bigquery.model.TableReference parseTableSpec(String tableSpec)
"[project_id]:[dataset_id].[table_id]" or
"[dataset_id].[table_id]".
If the project id is omitted, the default project id is used.
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.