public class IndexHelper extends Object
Constructor and Description |
---|
IndexHelper() |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
determineAffectedIndices(IndexRangeService indexRangeService,
Deflector deflector,
TimeRange range) |
static Set<IndexRange> |
determineAffectedIndicesWithRanges(IndexRangeService indexRangeService,
Deflector deflector,
TimeRange range) |
static Set<String> |
getOldestIndices(Set<String> indexNames,
int count) |
static org.elasticsearch.index.query.FilterBuilder |
getTimestampRangeFilter(TimeRange range) |
public static org.elasticsearch.index.query.FilterBuilder getTimestampRangeFilter(TimeRange range) throws InvalidRangeFormatException
InvalidRangeFormatException
public static Set<String> determineAffectedIndices(IndexRangeService indexRangeService, Deflector deflector, TimeRange range)
public static Set<IndexRange> determineAffectedIndicesWithRanges(IndexRangeService indexRangeService, Deflector deflector, TimeRange range)
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.