BigtableTableName (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.grpc

Class BigtableTableName



  • public class BigtableTableName
    extends Object
    This class encapsulates a tableName. A tableName is of the form projects/(projectId)/zones/(zoneId)/clusters/(clusterId)/tables/(tableId).
    Version:
    $Id: $Id
    Author:
    sduskis
    • Constructor Detail

      • BigtableTableName

        public BigtableTableName(String tableName)
    • Method Detail

      • getProjectId

        public String getProjectId()
        Returns:
        The id of the project that contains this table. It's the first group in the table name name: "projects/{projectId}/instances/{instanceId}/tables/{tableId}".
      • getInstanceId

        public String getInstanceId()
        Returns:
        The id of the instance that contains this table. It's the second group in the table name name: "projects/{projectId}/instances/{instanceId}/tables/{tableId}".
      • getTableId

        public String getTableId()
        Returns:
        The id of the table. It's the third group in the table name name: "projects/{projectId}/instances/{instanceId}/tables/{tableId}".