Class SimpleScanLabelGenerator
java.lang.Object
org.apache.hadoop.hbase.security.visibility.SimpleScanLabelGenerator
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,ScanLabelGenerator
This is a simple implementation for ScanLabelGenerator. It will just extract labels passed via
Scan#Authorizations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
conf
-
-
Constructor Details
-
SimpleScanLabelGenerator
public SimpleScanLabelGenerator()
-
-
Method Details
-
setConf
- Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable
-
getConf
- Specified by:
getConfin interfaceorg.apache.hadoop.conf.Configurable
-
getLabels
Description copied from interface:ScanLabelGeneratorHelps to get a list of lables associated with an UGI- Specified by:
getLabelsin interfaceScanLabelGenerator- Returns:
- The labels
-