Class MaterializedView (2.56.0)

public final class MaterializedView

A class that wraps the com.google.bigtable.admin.v2.MaterializedView protocol buffer object.

A MaterializedView represents subsets of a particular table based on rules. The access to each MaterializedView can be configured separately from the Table.

Users can perform read/write operation on a MaterializedView by providing a materializedView id besides a table id, in which case the semantics remain identical as reading/writing on a Table except that visibility is restricted to the subset of the Table that the MaterializedView represents.

Inheritance

Object > MaterializedView

Static Methods

fromProto(MaterializedView proto)

public static MaterializedView fromProto(MaterializedView proto)

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

Parameter
Name Description
proto com.google.bigtable.admin.v2.MaterializedView
Returns
Type Description
MaterializedView

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getId()

public String getId()

Gets the materialized view's id.

Returns
Type Description
String

getInstanceId()

public String getInstanceId()

Gets the id of the instance that owns this MaterializedView.

Returns
Type Description
String

getQuery()

public String getQuery()

Gets the query of this materialized view.

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

isDeletionProtected()

public boolean isDeletionProtected()

Returns whether this materialized view is deletion protected.

Returns
Type Description
boolean

toProto()

public MaterializedView toProto()

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

Returns
Type Description
com.google.bigtable.admin.v2.MaterializedView