public class BigQueryHelpers
extends java.lang.Object
BigQueryIO
.Constructor and Description |
---|
BigQueryHelpers() |
Modifier and Type | Method and Description |
---|---|
static TableReference |
parseTableSpec(java.lang.String tableSpec)
Parse a table specification in the form
"[project_id]:[dataset_id].[table_id]" or
"[dataset_id].[table_id]" . |
static java.lang.String |
stripPartitionDecorator(java.lang.String tableSpec)
Strip off any partition decorator information from a tablespec.
|
static java.lang.String |
toTableSpec(TableReference ref)
Returns a canonical string representation of the
TableReference . |
public static java.lang.String toTableSpec(TableReference ref)
TableReference
.public static TableReference parseTableSpec(java.lang.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.
public static java.lang.String stripPartitionDecorator(java.lang.String tableSpec)