Send feedback
Class SubsetView (2.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.40.0 keyboard_arrow_down
public class SubsetView implements AuthorizedView . AuthorizedViewType
Defines a simple authorized view that is a subset of the underlying Table.
Users can specify the rows in the form of row key prefixes, and specify the column families by
adding the family id along with its familySubsets rule to the family subsets map. The subset is
defined by the intersection of the specified row key prefixes and column family subsets.
Inheritance
Object >
SubsetView
Static Methods
create()
public static SubsetView create ()
fromProto(AuthorizedView.SubsetView proto)
public static SubsetView fromProto ( AuthorizedView . SubsetView 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.AuthorizedView.SubsetView
Methods
addRowPrefix(ByteString rowPrefix)
public SubsetView addRowPrefix ( ByteString rowPrefix )
Adds a new rowPrefix to the subset view.
addRowPrefix(String rowPrefix)
public SubsetView addRowPrefix ( String rowPrefix )
Adds a new rowPrefix to the subset view.
Parameter
Name
Description
rowPrefix
String
equals(Object o)
public boolean equals ( Object o )
Parameter
Name
Description
o
Object
Overrides
getFamilySubsets()
public Map<String , FamilySubsets> getFamilySubsets ()
Gets the map from familyId to familySubsets in this subset view.
getRowPrefixes()
public List<ByteString> getRowPrefixes ()
Gets the row prefixes to be included in this subset view.
hashCode()
Returns
Type
Description
int
Overrides
setFamilySubsets(String familyId, FamilySubsets familySubsets)
public SubsetView setFamilySubsets ( String familyId , FamilySubsets familySubsets )
Adds a new familyId with its familySubsets to the subset view. Please note that calling this
method with the same familyId will overwrite the previous rule set on the family.
toProto()
public AuthorizedView . SubsetView 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.AuthorizedView.SubsetView
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-24 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-24 UTC."]]