Modifier and Type | Method and Description |
---|---|
Authorizations |
ScannerBase.getAuthorizations()
Returns the authorizations that have been set on the scanner
|
Authorizations |
ConditionalWriterConfig.getAuthorizations() |
Authorizations |
ClientSideIteratorScanner.getAuthorizations() |
Modifier and Type | Method and Description |
---|---|
abstract BatchDeleter |
Connector.createBatchDeleter(String tableName,
Authorizations authorizations,
int numQueryThreads,
BatchWriterConfig config) |
abstract BatchDeleter |
Connector.createBatchDeleter(String tableName,
Authorizations authorizations,
int numQueryThreads,
long maxMemory,
long maxLatency,
int maxWriteThreads)
Deprecated.
since 1.5.0; Use
Connector.createBatchDeleter(String, Authorizations, int, BatchWriterConfig)
instead. |
abstract BatchScanner |
Connector.createBatchScanner(String tableName,
Authorizations authorizations,
int numQueryThreads)
Factory method to create a BatchScanner connected to Accumulo.
|
abstract Scanner |
Connector.createScanner(String tableName,
Authorizations authorizations)
Factory method to create a Scanner connected to Accumulo.
|
ConditionalWriterConfig |
ConditionalWriterConfig.setAuthorizations(Authorizations auths)
A set of authorization labels that will be checked against the column visibility of each key in
order to filter data.
|
Modifier and Type | Method and Description |
---|---|
abstract Authorizations |
ActiveScan.getAuthorizations() |
Authorizations |
SecurityOperations.getUserAuthorizations(String principal)
Retrieves the user's authorizations for scanning
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityOperations.changeUserAuthorizations(String principal,
Authorizations authorizations)
Set the user's record-level authorizations
|
void |
SecurityOperations.createUser(String user,
byte[] password,
Authorizations authorizations)
Deprecated.
since 1.5.0; use
SecurityOperations.createLocalUser(String, PasswordToken) or the user
management functions of your configured authenticator instead. |
org.apache.hadoop.io.Text |
TableOperations.getMaxRow(String tableName,
Authorizations auths,
org.apache.hadoop.io.Text startRow,
boolean startInclusive,
org.apache.hadoop.io.Text endRow,
boolean endInclusive)
Finds the max row within a given range.
|
Modifier and Type | Method and Description |
---|---|
protected static Authorizations |
AbstractInputFormat.getScanAuthorizations(org.apache.hadoop.mapred.JobConf job)
Gets the authorizations to set for the scans from the configuration.
|
Modifier and Type | Method and Description |
---|---|
static void |
AbstractInputFormat.setScanAuthorizations(org.apache.hadoop.mapred.JobConf job,
Authorizations auths)
Sets the
Authorizations used to scan. |
Modifier and Type | Method and Description |
---|---|
Authorizations |
RangeInputSplit.getAuths() |
protected static Authorizations |
AbstractInputFormat.getScanAuthorizations(org.apache.hadoop.mapreduce.JobContext context)
Gets the authorizations to set for the scans from the configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
RangeInputSplit.setAuths(Authorizations auths) |
static void |
AbstractInputFormat.setScanAuthorizations(org.apache.hadoop.mapreduce.Job job,
Authorizations auths)
Sets the
Authorizations used to scan. |
Modifier and Type | Method and Description |
---|---|
static Authorizations |
InputConfigurator.getScanAuthorizations(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf)
Deprecated.
since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat.
|
Modifier and Type | Method and Description |
---|---|
static void |
InputConfigurator.setScanAuthorizations(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf,
Authorizations auths)
Deprecated.
since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat.
|
Modifier and Type | Field and Description |
---|---|
protected Authorizations |
MockScannerBase.auths
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Authorizations |
MockScannerBase.getAuthorizations()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BatchDeleter |
MockConnector.createBatchDeleter(String tableName,
Authorizations authorizations,
int numQueryThreads,
BatchWriterConfig config)
Deprecated.
|
BatchDeleter |
MockConnector.createBatchDeleter(String tableName,
Authorizations authorizations,
int numQueryThreads,
long maxMemory,
long maxLatency,
int maxWriteThreads)
Deprecated.
|
BatchScanner |
MockAccumulo.createBatchScanner(String tableName,
Authorizations authorizations)
Deprecated.
|
BatchScanner |
MockConnector.createBatchScanner(String tableName,
Authorizations authorizations,
int numQueryThreads)
Deprecated.
|
Scanner |
MockConnector.createScanner(String tableName,
Authorizations authorizations)
Deprecated.
|
Constructor and Description |
---|
MockBatchDeleter(MockAccumulo acc,
String tableName,
Authorizations auths)
Deprecated.
Create a
BatchDeleter for the specified instance on the specified table where the
writer uses the specified Authorizations . |
MockBatchScanner(MockTable mockTable,
Authorizations authorizations)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RFile.ScannerOptions |
RFile.ScannerOptions.withAuthorizations(Authorizations auths)
The authorizations passed here will be used to filter Keys, from the
Scanner , based
on the content of the column visibility field. |
Modifier and Type | Field and Description |
---|---|
static Authorizations |
Authorizations.EMPTY
An empty set of authorizations.
|
Constructor and Description |
---|
VisibilityEvaluator(Authorizations authorizations)
Creates a new evaluator for the given collection of authorizations.
|
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.