Modifier and Type | Field and Description |
---|---|
static Authorizations |
Constants.NO_AUTHS
Deprecated.
since 1.6.0; Use
EMPTY instead |
Modifier and Type | Field and Description |
---|---|
Authorizations |
ClientOpts.auths |
Modifier and Type | Method and Description |
---|---|
Authorizations |
ClientOpts.AuthConverter.convert(String value) |
Modifier and Type | Method and Description |
---|---|
Authorizations |
ClientSideIteratorScanner.getAuthorizations() |
Authorizations |
ScannerBase.getAuthorizations()
Returns the authorizations that have been set on the scanner
|
Authorizations |
ConditionalWriterConfig.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 |
---|---|
Authorizations |
TabletServerBatchReader.getAuthorizations() |
Authorizations |
ActiveScanImpl.getAuthorizations() |
Authorizations |
ScannerOptions.getAuthorizations() |
Authorizations |
OfflineScanner.getAuthorizations() |
Authorizations |
ScannerImpl.getAuthorizations() |
Authorizations |
SecurityOperationsImpl.getUserAuthorizations(String principal) |
Modifier and Type | Method and Description |
---|---|
void |
SecurityOperationsImpl.changeUserAuthorizations(String principal,
Authorizations authorizations) |
BatchDeleter |
ConnectorImpl.createBatchDeleter(String tableName,
Authorizations authorizations,
int numQueryThreads,
BatchWriterConfig config) |
BatchDeleter |
ConnectorImpl.createBatchDeleter(String tableName,
Authorizations authorizations,
int numQueryThreads,
long maxMemory,
long maxLatency,
int maxWriteThreads)
Deprecated.
|
BatchScanner |
ConnectorImpl.createBatchScanner(String tableName,
Authorizations authorizations,
int numQueryThreads) |
Scanner |
ConnectorImpl.createScanner(String tableName,
Authorizations authorizations) |
void |
SecurityOperationsImpl.createUser(String user,
byte[] password,
Authorizations authorizations)
Deprecated.
|
static void |
TabletServerBatchReaderIterator.doLookup(ClientContext context,
String server,
Map<KeyExtent,List<Range>> requested,
Map<KeyExtent,List<Range>> failures,
Map<KeyExtent,List<Range>> unscanned,
TabletServerBatchReaderIterator.ResultReceiver receiver,
List<Column> columns,
ScannerOptions options,
Authorizations authorizations) |
static boolean |
ThriftScanner.getBatchFromServer(ClientContext context,
Range range,
KeyExtent extent,
String server,
SortedMap<Key,Value> results,
SortedSet<Column> fetchedColumns,
List<IterInfo> serverSideIteratorList,
Map<String,Map<String,String>> serverSideIteratorOptions,
int size,
Authorizations authorizations,
boolean retry) |
org.apache.hadoop.io.Text |
TableOperationsImpl.getMaxRow(String tableName,
Authorizations auths,
org.apache.hadoop.io.Text startRow,
boolean startInclusive,
org.apache.hadoop.io.Text endRow,
boolean endInclusive) |
Constructor and Description |
---|
OfflineScanner(Instance instance,
Credentials credentials,
String tableId,
Authorizations authorizations) |
ScannerImpl(ClientContext context,
String table,
Authorizations authorizations) |
ScanState(ClientContext context,
org.apache.hadoop.io.Text tableId,
Authorizations authorizations,
Range range,
SortedSet<Column> fetchedColumns,
int size,
List<IterInfo> serverSideIteratorList,
Map<String,Map<String,String>> serverSideIteratorOptions,
boolean isolated) |
ScanState(ClientContext context,
org.apache.hadoop.io.Text tableId,
Authorizations authorizations,
Range range,
SortedSet<Column> fetchedColumns,
int size,
List<IterInfo> serverSideIteratorList,
Map<String,Map<String,String>> serverSideIteratorOptions,
boolean isolated,
long readaheadThreshold) |
TabletServerBatchDeleter(ClientContext context,
String tableId,
Authorizations authorizations,
int numQueryThreads,
BatchWriterConfig bwConfig) |
TabletServerBatchReader(ClientContext context,
String table,
Authorizations authorizations,
int numQueryThreads) |
TabletServerBatchReaderIterator(ClientContext context,
String table,
Authorizations authorizations,
ArrayList<Range> ranges,
int numThreads,
ExecutorService queryThreadPool,
ScannerOptions scannerOptions,
long timeout) |
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 void |
SplitUtils.updateSplit(RangeInputSplit split,
Instance instance,
InputTableConfig tableConfig,
String principal,
AuthenticationToken token,
Authorizations auths,
org.apache.log4j.Level logLevel)
Central place to set common split configuration not handled by split constructors.
|
Modifier and Type | Method and Description |
---|---|
static Authorizations |
InputConfigurator.getScanAuthorizations(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf)
Gets the authorizations to set for the scans from the configuration.
|
Modifier and Type | Method and Description |
---|---|
static void |
InputConfigurator.setScanAuthorizations(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf,
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 |
Modifier and Type | Method and Description |
---|---|
Authorizations |
MockScannerBase.getAuthorizations() |
Modifier and Type | Method and Description |
---|---|
BatchDeleter |
MockConnector.createBatchDeleter(String tableName,
Authorizations authorizations,
int numQueryThreads,
BatchWriterConfig config) |
BatchDeleter |
MockConnector.createBatchDeleter(String tableName,
Authorizations authorizations,
int numQueryThreads,
long maxMemory,
long maxLatency,
int maxWriteThreads)
Deprecated.
|
BatchScanner |
MockAccumulo.createBatchScanner(String tableName,
Authorizations authorizations) |
BatchScanner |
MockConnector.createBatchScanner(String tableName,
Authorizations authorizations,
int numQueryThreads) |
Scanner |
MockConnector.createScanner(String tableName,
Authorizations authorizations) |
Constructor and Description |
---|
MockBatchDeleter(MockAccumulo acc,
String tableName,
Authorizations auths)
Create a
BatchDeleter for the specified instance on the specified table where the writer uses the specified Authorizations . |
MockBatchScanner(MockTable mockTable,
Authorizations authorizations) |
Modifier and Type | Method and Description |
---|---|
Authorizations |
Constraint.Environment.getAuthorizations()
Deprecated.
Use
Constraint.Environment.getAuthorizationsContainer() instead. |
Modifier and Type | Method and Description |
---|---|
Authorizations |
IteratorEnvironment.getAuthorizations() |
Modifier and Type | Field and Description |
---|---|
protected Authorizations |
VisibilityFilter.authorizations |
Constructor and Description |
---|
VisibilityFilter(SortedKeyValueIterator<Key,Value> iterator,
Authorizations authorizations,
byte[] defaultVisibility) |
Modifier and Type | Method and Description |
---|---|
static void |
VisibilityFilter.setAuthorizations(IteratorSetting setting,
Authorizations auths) |
static void |
TransformingIterator.setAuthorizations(IteratorSetting config,
Authorizations auths)
Configure authorizations used for post transformation filtering.
|
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–2016 The Apache Software Foundation. All rights reserved.