public class IndexMergerV9 extends Object implements IndexMerger
IndexMerger.DictionaryMergeIterator, IndexMerger.IndexSeeker, IndexMerger.IndexSeekerWithConversion| Modifier and Type | Field and Description |
|---|---|
static ColumnCapabilities.CoercionLogic |
DIMENSION_CAPABILITY_MERGE_LOGIC |
static ColumnCapabilities.CoercionLogic |
METRIC_CAPABILITY_MERGE_LOGIC |
INVALID_ROW, SERIALIZER_UTILS, UNLIMITED_MAX_COLUMNS_TO_MERGE| Constructor and Description |
|---|
IndexMergerV9(com.fasterxml.jackson.databind.ObjectMapper mapper,
IndexIO indexIO,
SegmentWriteOutMediumFactory defaultSegmentWriteOutMediumFactory) |
| 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,
int maxColumnsToMerge) |
File |
mergeQueryableIndex(List<QueryableIndex> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
DimensionsSpec dimensionsSpec,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory,
int maxColumnsToMerge) |
File |
mergeQueryableIndex(List<QueryableIndex> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
DimensionsSpec dimensionsSpec,
File outDir,
IndexSpec indexSpec,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory,
int maxColumnsToMerge) |
File |
mergeQueryableIndex(List<QueryableIndex> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory,
int maxColumnsToMerge) |
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)
This is *not* thread-safe and havok will ensue if this is called and writes are still occurring
on the IncrementalIndex object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLexicographicMergedDimensions, getLongestSharedDimOrder, getMergedDimensions, getMergedDimensionsFromQueryableIndexes, isDimensionOrderingValid, makeRowIteratorWithConvertedDimensionColumns, mergeIndexed, toIndexableAdapters, toMergedIndexRowIteratorpublic static final ColumnCapabilities.CoercionLogic DIMENSION_CAPABILITY_MERGE_LOGIC
public static final ColumnCapabilities.CoercionLogic METRIC_CAPABILITY_MERGE_LOGIC
@Inject
public IndexMergerV9(com.fasterxml.jackson.databind.ObjectMapper mapper,
IndexIO indexIO,
SegmentWriteOutMediumFactory defaultSegmentWriteOutMediumFactory)
public File persist(IncrementalIndex index, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) throws IOException
persist in interface IndexMergerIOExceptionpublic File persist(IncrementalIndex index, org.joda.time.Interval dataInterval, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) throws IOException
IndexMergerpersist in interface IndexMergerindex - the IncrementalIndex to persistdataInterval - the Interval that the data representsoutDir - the directory to persist the data toIOException - if an IO error occurs persisting the indexpublic File persist(IncrementalIndex index, org.joda.time.Interval dataInterval, File outDir, IndexSpec indexSpec, ProgressIndicator progress, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) throws IOException
persist in interface IndexMergerIOExceptionpublic File mergeQueryableIndex(List<QueryableIndex> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory, int maxColumnsToMerge) throws IOException
mergeQueryableIndex in interface IndexMergerIOExceptionpublic File mergeQueryableIndex(List<QueryableIndex> indexes, boolean rollup, AggregatorFactory[] metricAggs, @Nullable DimensionsSpec dimensionsSpec, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory, int maxColumnsToMerge) throws IOException
mergeQueryableIndex in interface IndexMergerIOExceptionpublic File mergeQueryableIndex(List<QueryableIndex> indexes, boolean rollup, AggregatorFactory[] metricAggs, @Nullable DimensionsSpec dimensionsSpec, File outDir, IndexSpec indexSpec, ProgressIndicator progress, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory, int maxColumnsToMerge) throws IOException
mergeQueryableIndex in interface IndexMergerIOExceptionpublic File merge(List<IndexableAdapter> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec, int maxColumnsToMerge) throws IOException
merge in interface IndexMergerIOExceptionpublic File convert(File inDir, File outDir, IndexSpec indexSpec) throws IOException
convert in interface IndexMergerIOExceptionpublic File append(List<IndexableAdapter> indexes, AggregatorFactory[] aggregators, File outDir, IndexSpec indexSpec, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory) throws IOException
append in interface IndexMergerIOExceptionCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.