public class IndexMerger extends Object
Constructor and Description |
---|
IndexMerger() |
Modifier and Type | Method and Description |
---|---|
static File |
append(List<IndexableAdapter> indexes,
File outDir,
IndexSpec indexSpec) |
static File |
append(List<IndexableAdapter> indexes,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
static File |
convert(File inDir,
File outDir,
IndexSpec indexSpec) |
static File |
convert(File inDir,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
static void |
createIndexDrdFile(byte versionId,
File inDir,
GenericIndexed<String> availableDimensions,
GenericIndexed<String> availableMetrics,
org.joda.time.Interval dataInterval,
BitmapSerdeFactory bitmapSerdeFactory) |
static File |
merge(List<IndexableAdapter> indexes,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec) |
static File |
merge(List<IndexableAdapter> indexes,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
static File |
mergeQueryableIndex(List<QueryableIndex> indexes,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec) |
static File |
mergeQueryableIndex(List<QueryableIndex> indexes,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
static File |
persist(IncrementalIndex index,
File outDir,
IndexSpec indexSpec) |
static File |
persist(IncrementalIndex index,
org.joda.time.Interval dataInterval,
File outDir,
IndexSpec indexSpec)
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,
IndexSpec indexSpec,
ProgressIndicator progress) |
public static File persist(IncrementalIndex index, File outDir, IndexSpec indexSpec) throws IOException
IOException
public static File persist(IncrementalIndex index, org.joda.time.Interval dataInterval, File outDir, IndexSpec indexSpec) 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, IndexSpec indexSpec, ProgressIndicator progress) throws IOException
IOException
public static File mergeQueryableIndex(List<QueryableIndex> indexes, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec) throws IOException
IOException
public static File mergeQueryableIndex(List<QueryableIndex> indexes, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec, ProgressIndicator progress) throws IOException
IOException
public static File merge(List<IndexableAdapter> indexes, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec) throws IOException
IOException
public static File merge(List<IndexableAdapter> indexes, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec, ProgressIndicator progress) throws IOException
IOException
public static File convert(File inDir, File outDir, IndexSpec indexSpec) throws IOException
IOException
public static File convert(File inDir, File outDir, IndexSpec indexSpec, ProgressIndicator progress) throws IOException
IOException
public static File append(List<IndexableAdapter> indexes, File outDir, IndexSpec indexSpec) throws IOException
IOException
public static File append(List<IndexableAdapter> indexes, File outDir, IndexSpec indexSpec, ProgressIndicator progress) throws IOException
IOException
public static void createIndexDrdFile(byte versionId, File inDir, GenericIndexed<String> availableDimensions, GenericIndexed<String> availableMetrics, org.joda.time.Interval dataInterval, BitmapSerdeFactory bitmapSerdeFactory) throws IOException
IOException
Copyright © 2011–2015. All rights reserved.