public class AccumuloDataStore extends BaseMapReduceDataStore implements Closeable
BaseDataStore.DeletionMode
splitsProvider
adapterStore, baseOperations, baseOptions, indexMappingStore, indexStore, internalAdapterStore, propertyStore, statisticsStore
Constructor and Description |
---|
AccumuloDataStore(AccumuloOperations accumuloOperations,
AccumuloOptions accumuloOptions) |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is not a typical resource, it references a static Accumulo connector used by all DataStore
instances with common connection parameters.
|
protected SplitsProvider |
createSplitsProvider() |
List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(CommonQueryOptions commonOptions,
DataTypeQueryOptions<?> typeOptions,
IndexQueryOptions indexOptions,
QueryConstraints constraints,
TransientAdapterStore adapterStore,
AdapterIndexMappingStore aimStore,
DataStatisticsStore statsStore,
InternalAdapterStore internalAdapterStore,
IndexStore indexStore,
org.apache.hadoop.mapreduce.JobContext context,
Integer minSplits,
Integer maxSplits) |
protected void |
initOnIndexWriterCreate(InternalDataAdapter adapter,
Index index) |
void |
prepareRecordWriter(org.apache.hadoop.conf.Configuration conf) |
createRecordReader, createRecordWriter
addEmptyStatistic, addIndex, addIndex, addStatistic, addType, addType, addType, addTypeInternal, aggregate, aggregateStatistics, copyTo, copyTo, createDataIndexWriter, createIndexWriter, createWriter, createWriter, delete, delete, delete, delete, deleteAll, deleteEverything, deleteFromDataIndex, getAdapterId, getAdapterStore, getBaseOperations, getBinnedStatisticValues, getDataTypeStatistic, getDataTypeStatistics, getFieldStatistic, getFieldStatistics, getIndex, getIndexMappingStore, getIndexStatistic, getIndexStatistics, getIndexStore, getIndices, getIndices, getInternalAdapterStore, getStatisticsStore, getStatisticValue, getType, getTypes, ingest, ingest, internalQuery, internalQuery, internalQuery, internalQueryStatistics, isReverseIterationSupported, query, query, query, queryConstraints, queryInsertionId, queryRowPrefix, queryStatistics, recalcStatistic, removeIndex, removeIndex, removeStatistic, removeType, store, store
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEmptyStatistic, addIndex, addIndex, addStatistic, addType, addType, addType, aggregate, aggregateStatistics, copyTo, copyTo, createWriter, createWriter, delete, deleteAll, getBinnedStatisticValues, getBinnedStatisticValues, getDataTypeStatistic, getDataTypeStatistics, getFieldStatistic, getFieldStatistics, getIndex, getIndexStatistic, getIndexStatistics, getIndices, getIndices, getStatisticValue, getStatisticValue, getType, getTypes, ingest, ingest, query, query, queryStatistics, recalcStatistic, removeIndex, removeIndex, removeStatistic, removeType
public AccumuloDataStore(AccumuloOperations accumuloOperations, AccumuloOptions accumuloOptions)
protected SplitsProvider createSplitsProvider()
createSplitsProvider
in class BaseMapReduceDataStore
protected void initOnIndexWriterCreate(InternalDataAdapter adapter, Index index)
initOnIndexWriterCreate
in class BaseDataStore
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public List<org.apache.hadoop.mapreduce.InputSplit> getSplits(CommonQueryOptions commonOptions, DataTypeQueryOptions<?> typeOptions, IndexQueryOptions indexOptions, QueryConstraints constraints, TransientAdapterStore adapterStore, AdapterIndexMappingStore aimStore, DataStatisticsStore statsStore, InternalAdapterStore internalAdapterStore, IndexStore indexStore, org.apache.hadoop.mapreduce.JobContext context, Integer minSplits, Integer maxSplits) throws IOException, InterruptedException
getSplits
in interface MapReduceDataStore
getSplits
in class BaseMapReduceDataStore
IOException
InterruptedException
public void prepareRecordWriter(org.apache.hadoop.conf.Configuration conf)
prepareRecordWriter
in interface MapReduceDataStore
prepareRecordWriter
in class BaseMapReduceDataStore
Copyright © 2013–2022. All rights reserved.