public final class LogicalView extends Object
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.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static LogicalView |
fromProto(LogicalView proto)
Wraps the protobuf.
|
String |
getId()
Gets the logical view's id.
|
String |
getInstanceId()
Gets the id of the instance that owns this LogicalView.
|
String |
getQuery()
Gets the query of this logical view.
|
int |
hashCode() |
boolean |
isDeletionProtected()
Returns whether this logical view is deletion protected.
|
LogicalView |
toProto()
Creates the request protobuf.
|
@InternalApi public static LogicalView fromProto(@Nonnull LogicalView proto)
public String getId()
public String getInstanceId()
public String getQuery()
public boolean isDeletionProtected()
@InternalApi public LogicalView toProto()
Copyright © 2026 Google LLC. All rights reserved.