public class BigQueryStrings
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DATASET_AND_TABLE_REGEX |
| Constructor and Description |
|---|
BigQueryStrings() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.api.services.bigquery.model.TableReference |
parseTableReference(java.lang.String tableRefString)
Parses a string into a TableReference; projectId may be omitted if the caller defines a
"default" project; in such a case, getProjectId() of the returned TableReference will
return null.
|
static java.lang.String |
toString(com.google.api.services.bigquery.model.TableReference tableRef)
Returns a String representation of the TableReference suitable for interop with other bigquery
tools and for passing back into
parseTableReference(String). |
public static final java.lang.String DATASET_AND_TABLE_REGEX
public static java.lang.String toString(com.google.api.services.bigquery.model.TableReference tableRef)
parseTableReference(String).tableRef - A TableReference which contains at least DatasetId and TableId.public static com.google.api.services.bigquery.model.TableReference parseTableReference(java.lang.String tableRefString)
tableRefString - A string of the form [projectId]:[datasetId].[tableId].Copyright © 2019. All rights reserved.