public class IndexMaker extends Object
Constructor and Description |
---|
IndexMaker() |
Modifier and Type | Method and Description |
---|---|
static File |
append(List<IndexableAdapter> adapters,
File outDir,
IndexSpec indexSpec) |
static File |
append(List<IndexableAdapter> adapters,
File outDir,
ProgressIndicator progress,
IndexSpec indexSpec) |
static File |
convert(File inDir,
File outDir,
IndexSpec indexSpec) |
static File |
convert(File inDir,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
static File |
merge(List<IndexableAdapter> adapters,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec) |
static File |
merge(List<IndexableAdapter> adapters,
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
public 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> adapters, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec) throws IOException
IOException
public static File merge(List<IndexableAdapter> adapters, 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> adapters, File outDir, IndexSpec indexSpec) throws IOException
IOException
public static File append(List<IndexableAdapter> adapters, File outDir, ProgressIndicator progress, IndexSpec indexSpec) throws IOException
IOException
Copyright © 2011–2015. All rights reserved.