Class AuthorizedViewId

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

public abstract class AuthorizedViewId extends Object implements TargetId
An implementation of a TargetId for authorized views.

See AuthorizedView for more details about an authorized view.

See Also:
  • Constructor Details

    • AuthorizedViewId

      public AuthorizedViewId()
  • Method Details

    • of

      public static AuthorizedViewId of(String tableId, String authorizedViewId)
      Constructs a new AuthorizedViewId object from the specified tableId and authorizedViewId.
    • 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