public static class UnifiedIndexerAppenderatorsManager.LimitedPoolIndexMerger extends Object implements IndexMerger
AppenderatorImpl with a shared executor service. Merge/persist methods that are not used by
AppenderatorImpl will throw an exception if called.IndexMerger.DictionaryMergeIterator, IndexMerger.IndexSeeker, IndexMerger.IndexSeekerWithConversionINVALID_ROW, log, SERIALIZER_UTILS| Constructor and Description |
|---|
LimitedPoolIndexMerger(IndexMerger baseMerger,
com.google.common.util.concurrent.ListeningExecutorService mergeExecutor) |
| Modifier and Type | Method and Description |
|---|---|
File |
append(List<IndexableAdapter> indexes,
AggregatorFactory[] aggregators,
File outDir,
IndexSpec indexSpec,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) |
File |
convert(File inDir,
File outDir,
IndexSpec indexSpec) |
File |
merge(List<IndexableAdapter> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec) |
File |
mergeQueryableIndex(List<QueryableIndex> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) |
File |
mergeQueryableIndex(List<QueryableIndex> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) |
File |
persist(IncrementalIndex index,
File outDir,
IndexSpec indexSpec,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) |
File |
persist(IncrementalIndex index,
org.joda.time.Interval dataInterval,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) |
File |
persist(IncrementalIndex index,
org.joda.time.Interval dataInterval,
File outDir,
IndexSpec indexSpec,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLexicographicMergedDimensions, getLongestSharedDimOrder, getMergedDimensions, getMergedDimensionsFromQueryableIndexes, makeRowIteratorWithConvertedDimensionColumns, mergeIndexed, toIndexableAdapters, toMergedIndexRowIteratorpublic LimitedPoolIndexMerger(IndexMerger baseMerger, com.google.common.util.concurrent.ListeningExecutorService mergeExecutor)
public File mergeQueryableIndex(List<QueryableIndex> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory)
mergeQueryableIndex in interface IndexMergerpublic File persist(IncrementalIndex index, org.joda.time.Interval dataInterval, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory)
persist in interface IndexMergerpublic File merge(List<IndexableAdapter> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec)
merge in interface IndexMergerpublic File convert(File inDir, File outDir, IndexSpec indexSpec)
convert in interface IndexMergerpublic File append(List<IndexableAdapter> indexes, AggregatorFactory[] aggregators, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory)
append in interface IndexMergerpublic File persist(IncrementalIndex index, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory)
persist in interface IndexMergerpublic File persist(IncrementalIndex index, org.joda.time.Interval dataInterval, File outDir, IndexSpec indexSpec, ProgressIndicator progress, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory)
persist in interface IndexMergerpublic File mergeQueryableIndex(List<QueryableIndex> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec, ProgressIndicator progress, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory)
mergeQueryableIndex in interface IndexMergerCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.