public final class LogicalView
A class that wraps the com.google.bigtable.admin.v2.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.
Static Methods
fromProto(LogicalView proto)
public static LogicalView fromProto(LogicalView 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.LogicalView |
Returns | |
---|---|
Type | Description |
LogicalView |
Methods
equals(Object o)
public boolean equals(Object o)
Parameter | |
---|---|
Name | Description |
o |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getId()
public String getId()
Gets the logical view's id.
Returns | |
---|---|
Type | Description |
String |
getInstanceId()
public String getInstanceId()
Gets the id of the instance that owns this LogicalView.
Returns | |
---|---|
Type | Description |
String |
getQuery()
public String getQuery()
Gets the query of this logical view.
Returns | |
---|---|
Type | Description |
String |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
toProto()
public LogicalView 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.LogicalView |