@InternalExtensionOnly public class BigtableInstanceName extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
BIGTABLE_V2_INSTANCE_FMT
Constant
BIGTABLE_V2_INSTANCE_FMT="projects/%s/instances/%s" |
static String |
TABLE_SEPARATOR
Constant
TABLE_SEPARATOR="/tables/" |
Constructor and Description |
---|
BigtableInstanceName(String projectId,
String instanceId)
For internal use only - public for technical reasons.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstanceId() |
String |
getInstanceName() |
String |
getProjectId() |
BigtableClusterName |
toClusterName(String clusterId) |
String |
toString() |
String |
toTableId(String tableName)
Transforms a tableName within this instance of the form
projects/(projectId)/instances/(instanceId)/tables/(tableId) to (tableId).
|
BigtableTableName |
toTableName(String tableId)
toTableName.
|
String |
toTableNameStr(String tableId)
toTableNameStr.
|
public static final String BIGTABLE_V2_INSTANCE_FMT
BIGTABLE_V2_INSTANCE_FMT="projects/%s/instances/%s"
public static final String TABLE_SEPARATOR
TABLE_SEPARATOR="/tables/"
public String toTableId(String tableName)
public BigtableTableName toTableName(String tableId)
tableId
- a String
object.BigtableTableName
object.public String getProjectId()
public String getInstanceId()
public String getInstanceName()
public BigtableClusterName toClusterName(String clusterId)