Class MaterializedView
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.MaterializedView
A class that wraps the
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.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic MaterializedViewfromProto(MaterializedView proto) Wraps the protobuf.getId()Gets the materialized view's id.Gets the id of the instance that owns this MaterializedView.getQuery()Gets the query of this materialized view.inthashCode()booleanReturns whether this materialized view is deletion protected.toProto()Creates the request protobuf.
-
Method Details
-
fromProto
Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications. -
getId
Gets the materialized view's id. -
getInstanceId
Gets the id of the instance that owns this MaterializedView. -
isDeletionProtected
public boolean isDeletionProtected()Returns whether this materialized view is deletion protected. -
getQuery
Gets the query of this materialized view. -
toProto
Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications. -
equals
-
hashCode
public int hashCode()
-