java.lang.Object
com.google.cloud.bigtable.data.v2.models.TableId
All Implemented Interfaces:
TargetId, Serializable

public abstract class TableId extends Object implements TargetId
An implementation of a TargetId for tables.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static TableId
    of(String tableId)
    Constructs a new TableId object for the specified table id.
    boolean
    Returns true if this TargetId object represents id for an authorized view (rather than a table/materialized view).
    boolean
    Returns true if this TargetId object represents id for an materialized view (rather than a table/authorized view).
    toResourceName(String projectId, String instanceId)
    Combines the table or authorized view id with the projectId and instanceId to form the actual resource name in the request protobuf.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TableId

      public TableId()
  • Method Details

    • of

      public static TableId of(String tableId)
      Constructs a new TableId object for the specified table id.
    • toResourceName

      @InternalApi public String toResourceName(String projectId, String instanceId)
      Description copied from interface: TargetId
      Combines the table or authorized view id with the projectId and instanceId to form the actual resource name in the request protobuf.

      This method is considered an internal implementation detail and not meant to be used by applications.

      Specified by:
      toResourceName in interface TargetId
    • scopedForAuthorizedView

      @InternalApi public boolean scopedForAuthorizedView()
      Description copied from interface: TargetId
      Returns true if this TargetId object represents id for an authorized view (rather than a table/materialized view).
      Specified by:
      scopedForAuthorizedView in interface TargetId
    • scopedForMaterializedView

      @InternalApi public boolean scopedForMaterializedView()
      Description copied from interface: TargetId
      Returns true if this TargetId object represents id for an materialized view (rather than a table/authorized view).
      Specified by:
      scopedForMaterializedView in interface TargetId