Class LogicalView
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.LogicalView
A class that wraps the
LogicalView protocol buffer object.
A LogicalView represents subsets of a particular table based on rules. The access to each LogicalView can be configured separately from the Table.
Users can perform read/write operation on a LogicalView by providing a logicalView 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 LogicalView represents.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LogicalViewfromProto(LogicalView proto) Wraps the protobuf.getId()Gets the logical view's id.Gets the id of the instance that owns this LogicalView.getQuery()Gets the query of this logical view.inthashCode()booleanReturns whether this logical 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 logical view's id. -
getInstanceId
Gets the id of the instance that owns this LogicalView. -
getQuery
Gets the query of this logical view. -
isDeletionProtected
public boolean isDeletionProtected()Returns whether this logical view is deletion protected. -
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()
-