Class LogicalView

java.lang.Object
com.google.cloud.bigtable.admin.v2.models.LogicalView

public final class LogicalView extends Object
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 Details

    • fromProto

      @InternalApi public static LogicalView fromProto(@Nonnull LogicalView proto)
      Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
    • getId

      public String getId()
      Gets the logical view's id.
    • getInstanceId

      public String getInstanceId()
      Gets the id of the instance that owns this LogicalView.
    • getQuery

      public String getQuery()
      Gets the query of this logical view.
    • isDeletionProtected

      public boolean isDeletionProtected()
      Returns whether this logical view is deletion protected.
    • toProto

      @InternalApi public LogicalView toProto()
      Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object