Package | Description |
---|---|
org.apache.accumulo.core | |
org.apache.accumulo.core.cli | |
org.apache.accumulo.core.client | |
org.apache.accumulo.core.client.admin | |
org.apache.accumulo.core.client.impl | |
org.apache.accumulo.core.client.mapred | |
org.apache.accumulo.core.client.mapreduce | |
org.apache.accumulo.core.client.mapreduce.impl | |
org.apache.accumulo.core.client.mapreduce.lib.impl |
This package exists to store common helpers for configuring MapReduce jobs in a single location.
|
org.apache.accumulo.core.client.mapreduce.lib.util | |
org.apache.accumulo.core.client.mock |
Mock framework for Accumulo
|
org.apache.accumulo.core.client.rfile | |
org.apache.accumulo.core.constraints | |
org.apache.accumulo.core.iterators | |
org.apache.accumulo.core.iterators.system | |
org.apache.accumulo.core.iterators.user | |
org.apache.accumulo.core.security |
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 |
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 |
---|---|
Authorizations |
TabletServerBatchReader.getAuthorizations() |
Authorizations |
ScannerOptions.getAuthorizations() |
Authorizations |
ScannerImpl.getAuthorizations() |
Authorizations |
OfflineScanner.getAuthorizations() |
Authorizations |
BaseIteratorEnvironment.getAuthorizations() |
Authorizations |
ActiveScanImpl.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,
long batchTimeOut,
String classLoaderContext) |
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 tableId,
Authorizations authorizations) |
ScanState(ClientContext context,
String tableId,
Authorizations authorizations,
Range range,
SortedSet<Column> fetchedColumns,
int size,
List<IterInfo> serverSideIteratorList,
Map<String,Map<String,String>> serverSideIteratorOptions,
boolean isolated,
long readaheadThreshold,
SamplerConfiguration samplerConfig,
long batchTimeOut,
String classLoaderContext) |
TabletServerBatchDeleter(ClientContext context,
String tableId,
Authorizations authorizations,
int numQueryThreads,
BatchWriterConfig bwConfig) |
TabletServerBatchReader(ClientContext context,
String tableId,
Authorizations authorizations,
int numQueryThreads) |
TabletServerBatchReaderIterator(ClientContext context,
String tableId,
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
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 | 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 | Method and Description |
---|---|
static SortedKeyValueIterator<Key,Value> |
IteratorUtil.setupSystemScanIterators(SortedKeyValueIterator<Key,Value> source,
Set<Column> cols,
Authorizations auths,
byte[] defaultVisibility) |
Modifier and Type | Field and Description |
---|---|
protected Authorizations |
VisibilityFilter.authorizations |
Modifier and Type | Method and Description |
---|---|
static SortedKeyValueIterator<Key,Value> |
VisibilityFilter.wrap(SortedKeyValueIterator<Key,Value> source,
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–2019 The Apache Software Foundation. All rights reserved.