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
-
Constructor Summary
-
Method Summary
-
Field Details
-
conf
-
-
Constructor Details
-
SimpleScanLabelGenerator
public SimpleScanLabelGenerator()
-
-
Method Details
-
setConf
- Specified by:
setConf
in interfaceorg.apache.hadoop.conf.Configurable
-
getConf
- Specified by:
getConf
in interfaceorg.apache.hadoop.conf.Configurable
-
getLabels
Description copied from interface:ScanLabelGenerator
Helps to get a list of lables associated with an UGI- Specified by:
getLabels
in interfaceScanLabelGenerator
- Returns:
- The labels
-