public interface IndexMerger
| Modifier and Type | Interface and Description |
|---|---|
static class |
IndexMerger.DictionaryMergeIterator |
static interface |
IndexMerger.IndexSeeker |
static class |
IndexMerger.IndexSeekerWithConversion
Get old dictId from new dictId, and only support access in order
|
| Modifier and Type | Field and Description |
|---|---|
static int |
INVALID_ROW |
static Logger |
log |
static SerializerUtils |
SERIALIZER_UTILS |
static final Logger log
static final SerializerUtils SERIALIZER_UTILS
static final int INVALID_ROW
static List<String> getMergedDimensionsFromQueryableIndexes(List<QueryableIndex> indexes)
static List<IndexableAdapter> toIndexableAdapters(List<QueryableIndex> indexes)
static List<String> getMergedDimensions(List<IndexableAdapter> indexes)
@Nullable static List<String> getLongestSharedDimOrder(List<IndexableAdapter> indexes)
static List<String> getLexicographicMergedDimensions(List<IndexableAdapter> indexes)
static <T extends Comparable<? super T>> ArrayList<T> mergeIndexed(List<Iterable<T>> indexedLists)
File persist(IncrementalIndex index, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) throws IOException
IOExceptionFile persist(IncrementalIndex index, org.joda.time.Interval dataInterval, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) throws IOException
index - the IncrementalIndex to persistdataInterval - the Interval that the data representsoutDir - the directory to persist the data toIOException - if an IO error occurs persisting the indexFile persist(IncrementalIndex index, org.joda.time.Interval dataInterval, File outDir, IndexSpec indexSpec, ProgressIndicator progress, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) throws IOException
IOExceptionFile mergeQueryableIndex(List<QueryableIndex> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) throws IOException
IOExceptionFile mergeQueryableIndex(List<QueryableIndex> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec, ProgressIndicator progress, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) throws IOException
IOExceptionFile merge(List<IndexableAdapter> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec) throws IOException
IOExceptionFile convert(File inDir, File outDir, IndexSpec indexSpec) throws IOException
IOExceptionFile append(List<IndexableAdapter> indexes, AggregatorFactory[] aggregators, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) throws IOException
IOExceptionstatic TransformableRowIterator toMergedIndexRowIterator(TransformableRowIterator sourceRowIterator, int indexNumber, List<DimensionMergerV9> mergers)
DimensionMerger.convertSortedSegmentRowValuesToMergedRowValues(int, ColumnValueSelector) to
all dimension column selectors of the given sourceRowIterator, using the given index number.static TransformableRowIterator makeRowIteratorWithConvertedDimensionColumns(TransformableRowIterator sourceRowIterator, ColumnValueSelector[] convertedDimensionSelectors, ColumnValueSelector[] convertedMarkedDimensionSelectors)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.