public class IndexMerger extends Object
| Constructor and Description |
|---|
IndexMerger() |
| Modifier and Type | Method and Description |
|---|---|
static File |
append(List<IndexableAdapter> indexes,
File outDir) |
static File |
append(List<IndexableAdapter> indexes,
File outDir,
ProgressIndicator progress) |
static void |
createIndexDrdFile(byte versionId,
File inDir,
GenericIndexed<String> availableDimensions,
GenericIndexed<String> availableMetrics,
org.joda.time.Interval dataInterval) |
static File |
merge(List<IndexableAdapter> indexes,
AggregatorFactory[] metricAggs,
File outDir) |
static File |
merge(List<IndexableAdapter> indexes,
AggregatorFactory[] metricAggs,
File outDir,
ProgressIndicator progress) |
static File |
mergeQueryableIndex(List<QueryableIndex> indexes,
AggregatorFactory[] metricAggs,
File outDir) |
static File |
mergeQueryableIndex(List<QueryableIndex> indexes,
AggregatorFactory[] metricAggs,
File outDir,
ProgressIndicator progress) |
static File |
persist(IncrementalIndex index,
File outDir) |
static File |
persist(IncrementalIndex index,
org.joda.time.Interval dataInterval,
File outDir)
This is *not* thread-safe and havok will ensue if this is called and writes are still occurring
on the IncrementalIndex object.
|
static File |
persist(IncrementalIndex index,
org.joda.time.Interval dataInterval,
File outDir,
ProgressIndicator progress) |
public static File persist(IncrementalIndex index, File outDir) throws IOException
IOExceptionpublic static File persist(IncrementalIndex index, org.joda.time.Interval dataInterval, File outDir) 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 indexpublic static File persist(IncrementalIndex index, org.joda.time.Interval dataInterval, File outDir, ProgressIndicator progress) throws IOException
IOExceptionpublic static File mergeQueryableIndex(List<QueryableIndex> indexes, AggregatorFactory[] metricAggs, File outDir) throws IOException
IOExceptionpublic static File mergeQueryableIndex(List<QueryableIndex> indexes, AggregatorFactory[] metricAggs, File outDir, ProgressIndicator progress) throws IOException
IOExceptionpublic static File merge(List<IndexableAdapter> indexes, AggregatorFactory[] metricAggs, File outDir) throws IOException
IOExceptionpublic static File merge(List<IndexableAdapter> indexes, AggregatorFactory[] metricAggs, File outDir, ProgressIndicator progress) throws IOException
IOExceptionpublic static File append(List<IndexableAdapter> indexes, File outDir) throws IOException
IOExceptionpublic static File append(List<IndexableAdapter> indexes, File outDir, ProgressIndicator progress) throws IOException
IOExceptionpublic static void createIndexDrdFile(byte versionId,
File inDir,
GenericIndexed<String> availableDimensions,
GenericIndexed<String> availableMetrics,
org.joda.time.Interval dataInterval)
throws IOException
IOExceptionCopyright © 2015. All rights reserved.