public class IndexMaker extends Object
Constructor and Description |
---|
IndexMaker() |
Modifier and Type | Method and Description |
---|---|
static File |
append(List<IndexableAdapter> adapters,
File outDir) |
static File |
append(List<IndexableAdapter> adapters,
File outDir,
ProgressIndicator progress) |
static File |
merge(List<IndexableAdapter> adapters,
AggregatorFactory[] metricAggs,
File outDir) |
static File |
merge(List<IndexableAdapter> adapters,
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
IOException
public 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
public static File persist(IncrementalIndex index, org.joda.time.Interval dataInterval, File outDir, ProgressIndicator progress) throws IOException
IOException
public static File mergeQueryableIndex(List<QueryableIndex> indexes, AggregatorFactory[] metricAggs, File outDir) throws IOException
IOException
public static File mergeQueryableIndex(List<QueryableIndex> indexes, AggregatorFactory[] metricAggs, File outDir, ProgressIndicator progress) throws IOException
IOException
public static File merge(List<IndexableAdapter> adapters, AggregatorFactory[] metricAggs, File outDir) throws IOException
IOException
public static File merge(List<IndexableAdapter> adapters, AggregatorFactory[] metricAggs, File outDir, ProgressIndicator progress) throws IOException
IOException
public static File append(List<IndexableAdapter> adapters, File outDir) throws IOException
IOException
public static File append(List<IndexableAdapter> adapters, File outDir, ProgressIndicator progress) throws IOException
IOException
Copyright © 2015. All rights reserved.