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