Class MaterializedViewId (2.56.0)

public abstract class MaterializedViewId implements TargetId

An implementation of a TargetId for materialized views.

See com.google.cloud.bigtable.admin.v2.models.MaterializedView for more details about an materialized view.

Inheritance

java.lang.Object > MaterializedViewId

Implements

TargetId

Static Methods

of(String materializedViewId)

public static MaterializedViewId of(String materializedViewId)

Constructs a new MaterializedViewId object from the specified materializedViewId.

Parameter
Name Description
materializedViewId String
Returns
Type Description
MaterializedViewId

Constructors

MaterializedViewId()

public MaterializedViewId()

Methods

scopedForAuthorizedView()

public boolean scopedForAuthorizedView()

Returns true if this TargetId object represents id for an authorized view (rather than a table/materialized view).

Returns
Type Description
boolean

scopedForMaterializedView()

public boolean scopedForMaterializedView()

Returns true if this TargetId object represents id for an materialized view (rather than a table/authorized view).

Returns
Type Description
boolean

toResourceName(String projectId, String instanceId)

public String 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.

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

Parameters
Name Description
projectId String
instanceId String
Returns
Type Description
String