| Modifier and Type | Method and Description |
|---|---|
IndexSetConfig |
MongoIndexSet.getConfig() |
IndexSetConfig |
IndexSet.getConfig()
The configuration for this index set.
|
IndexSetConfig |
TestIndexSet.getConfig() |
| Modifier and Type | Method and Description |
|---|---|
MongoIndexSet |
MongoIndexSet.Factory.create(IndexSetConfig config) |
default Map<String,Object> |
IndexMappingTemplate.toTemplate(IndexSetConfig indexSetConfig,
String indexPattern)
Returns the index template as a map.
|
Map<String,Object> |
EventsIndexMapping.toTemplate(IndexSetConfig indexSetConfig,
String indexPattern,
int order) |
Map<String,Object> |
IndexMappingTemplate.toTemplate(IndexSetConfig indexSetConfig,
String indexPattern,
int order)
Returns the index template as a map.
|
Map<String,Object> |
IndexMapping.toTemplate(IndexSetConfig indexSetConfig,
String indexPattern,
int order) |
Optional<IndexSetValidator.Violation> |
IndexSetValidator.validate(IndexSetConfig newConfig) |
| Constructor and Description |
|---|
MongoIndexSet(IndexSetConfig config,
Indices indices,
NodeId nodeId,
IndexRangeService indexRangeService,
AuditEventSender auditEventSender,
SystemJobManager systemJobManager,
SetIndexReadOnlyAndCalculateRangeJob.Factory jobFactory,
ActivityWriter activityWriter) |
TestIndexSet(IndexSetConfig config) |
| Modifier and Type | Method and Description |
|---|---|
abstract IndexSetConfig |
IndexSetConfig.Builder.build() |
static IndexSetConfig |
IndexSetConfig.create(String title,
String description,
boolean isWritable,
String indexPrefix,
int shards,
int replicas,
String rotationStrategyClass,
RotationStrategyConfig rotationStrategy,
String retentionStrategyClass,
RetentionStrategyConfig retentionStrategy,
ZonedDateTime creationDate,
String indexAnalyzer,
String indexTemplateName,
IndexSetConfig.TemplateType indexTemplateType,
int indexOptimizationMaxNumSegments,
boolean indexOptimizationDisabled) |
static IndexSetConfig |
IndexSetConfig.create(String title,
String description,
boolean isWritable,
String indexPrefix,
int shards,
int replicas,
String rotationStrategyClass,
RotationStrategyConfig rotationStrategy,
String retentionStrategyClass,
RetentionStrategyConfig retentionStrategy,
ZonedDateTime creationDate,
String indexAnalyzer,
String indexTemplateName,
IndexSetConfig.TemplateType indexTemplateType,
int indexOptimizationMaxNumSegments,
boolean indexOptimizationDisabled,
org.joda.time.Duration fieldTypeRefreshInterval) |
static IndexSetConfig |
IndexSetConfig.create(String id,
String title,
String description,
boolean isWritable,
String indexPrefix,
int shards,
int replicas,
String rotationStrategyClass,
RotationStrategyConfig rotationStrategy,
String retentionStrategyClass,
RetentionStrategyConfig retentionStrategy,
ZonedDateTime creationDate,
String indexAnalyzer,
String indexTemplateName,
IndexSetConfig.TemplateType indexTemplateType,
int indexOptimizationMaxNumSegments,
boolean indexOptimizationDisabled) |
static IndexSetConfig |
IndexSetConfig.create(String id,
String title,
String description,
boolean isWritable,
String indexPrefix,
int shards,
int replicas,
String rotationStrategyClass,
RotationStrategyConfig rotationStrategy,
String retentionStrategyClass,
RetentionStrategyConfig retentionStrategy,
ZonedDateTime creationDate,
String indexAnalyzer,
String indexTemplateName,
IndexSetConfig.TemplateType indexTemplateType,
int indexOptimizationMaxNumSegments,
boolean indexOptimizationDisabled,
org.joda.time.Duration fieldTypeRefreshInterval) |
static IndexSetConfig |
IndexSetConfig.create(String id,
@NotBlank String title,
String description,
Boolean isWritable,
@Pattern(regexp="^[a-z0-9][a-z0-9_+-]*$") String indexPrefix,
String indexMatchPattern,
String indexWildcard,
@Min(value=1L) int shards,
@Min(value=0L) int replicas,
String rotationStrategyClass,
@NotNull RotationStrategyConfig rotationStrategy,
String retentionStrategyClass,
@NotNull RetentionStrategyConfig retentionStrategy,
@NotNull ZonedDateTime creationDate,
String indexAnalyzer,
String indexTemplateName,
IndexSetConfig.TemplateType indexTemplateType,
Integer maxNumSegments,
Boolean indexOptimizationDisabled,
org.joda.time.Duration fieldTypeRefreshInterval) |
IndexSetConfig |
IndexSetService.getDefault()
Retrieve the default index set.
|
IndexSetConfig |
MongoIndexSetService.getDefault() |
IndexSetConfig |
IndexSetService.save(IndexSetConfig indexSetConfig)
Save the given index set.
|
IndexSetConfig |
MongoIndexSetService.save(IndexSetConfig indexSetConfig)
Save the given index set.
|
| Modifier and Type | Method and Description |
|---|---|
List<IndexSetConfig> |
IndexSetService.findAll()
Retrieve all index sets.
|
List<IndexSetConfig> |
MongoIndexSetService.findAll()
Retrieve all index sets.
|
List<IndexSetConfig> |
IndexSetService.findByIds(Set<String> ids)
Retrieve all index sets which match one of the specified IDs.
|
List<IndexSetConfig> |
MongoIndexSetService.findByIds(Set<String> ids) |
Optional<IndexSetConfig> |
IndexSetService.findOne(org.mongojack.DBQuery.Query query)
Retrieve an index set based on the given
DBQuery.Query. |
Optional<IndexSetConfig> |
MongoIndexSetService.findOne(org.mongojack.DBQuery.Query query)
Retrieve an index set based on the given
DBQuery.Query. |
List<IndexSetConfig> |
IndexSetService.findPaginated(Set<String> indexSetIds,
int limit,
int skip)
Retrieve a paginated set of index set.
|
List<IndexSetConfig> |
MongoIndexSetService.findPaginated(Set<String> indexSetIds,
int limit,
int skip)
Retrieve a paginated set of index set.
|
Optional<IndexSetConfig> |
IndexSetService.get(org.bson.types.ObjectId id)
Retrieve index set with the given ID.
|
Optional<IndexSetConfig> |
MongoIndexSetService.get(org.bson.types.ObjectId id)
Retrieve index set with the given ID.
|
Optional<IndexSetConfig> |
IndexSetService.get(String id) |
Optional<IndexSetConfig> |
MongoIndexSetService.get(String id) |
| Modifier and Type | Method and Description |
|---|---|
int |
IndexSetConfig.compareTo(IndexSetConfig o) |
IndexSetConfig |
IndexSetService.save(IndexSetConfig indexSetConfig)
Save the given index set.
|
IndexSetConfig |
MongoIndexSetService.save(IndexSetConfig indexSetConfig)
Save the given index set.
|
| Constructor and Description |
|---|
MongoIndexSetService(org.mongojack.JacksonDBCollection<IndexSetConfig,org.bson.types.ObjectId> collection,
StreamService streamService,
ClusterConfigService clusterConfigService,
ClusterEventBus clusterEventBus) |
| Modifier and Type | Method and Description |
|---|---|
abstract IndexSetConfig |
IndexSetCreatedEvent.indexSet() |
| Modifier and Type | Method and Description |
|---|---|
static IndexSetCreatedEvent |
IndexSetCreatedEvent.create(@Valid IndexSetConfig indexSet) |
| Modifier and Type | Method and Description |
|---|---|
IndexSetConfig |
IndexSetUpdateRequest.toIndexSetConfig(String id,
IndexSetConfig oldConfig) |
| Modifier and Type | Method and Description |
|---|---|
static IndexSetUpdateRequest |
IndexSetUpdateRequest.fromIndexSetConfig(IndexSetConfig indexSet) |
IndexSetConfig |
IndexSetUpdateRequest.toIndexSetConfig(String id,
IndexSetConfig oldConfig) |
| Modifier and Type | Method and Description |
|---|---|
IndexSetConfig |
IndexSetSummary.toIndexSetConfig() |
| Modifier and Type | Method and Description |
|---|---|
static IndexSetSummary |
IndexSetSummary.fromIndexSetConfig(IndexSetConfig indexSet,
boolean isDefault) |
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.