public class Gatherer extends Object
gather(ExecutorService)
.
gather(ExecutorService)
will call make RPC calls to multiple tservers to remotely
execute processPartition(ExecutorService, int, int)
processPartition(ExecutorService, int, int)
will make RPC calls to multiple tserver
to remotely execute
processFiles(FileSystemResolver, Map, BlockCache, BlockCache, Cache, ExecutorService)
Modifier and Type | Class and Description |
---|---|
static interface |
Gatherer.FileSystemResolver |
static class |
Gatherer.RowRange |
Constructor and Description |
---|
Gatherer(ClientContext context,
TSummaryRequest request,
AccumuloConfiguration tableConfig,
CryptoService cryptoService) |
Modifier and Type | Method and Description |
---|---|
Future<SummaryCollection> |
gather(ExecutorService es) |
Future<SummaryCollection> |
processFiles(Gatherer.FileSystemResolver volMgr,
Map<String,List<TRowRange>> files,
BlockCache summaryCache,
BlockCache indexCache,
com.google.common.cache.Cache<String,Long> fileLenCache,
ExecutorService srp)
This method will read summaries from a set of files.
|
Future<SummaryCollection> |
processPartition(ExecutorService execSrv,
int modulus,
int remainder)
This methods reads a subset of file paths into memory and groups them by location.
|
public Gatherer(ClientContext context, TSummaryRequest request, AccumuloConfiguration tableConfig, CryptoService cryptoService)
public Future<SummaryCollection> processPartition(ExecutorService execSrv, int modulus, int remainder)
public Future<SummaryCollection> processFiles(Gatherer.FileSystemResolver volMgr, Map<String,List<TRowRange>> files, BlockCache summaryCache, BlockCache indexCache, com.google.common.cache.Cache<String,Long> fileLenCache, ExecutorService srp)
public Future<SummaryCollection> gather(ExecutorService es)
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.