Class FieldTypeMappingsService
java.lang.Object
org.graylog2.indexer.fieldtypes.mapping.FieldTypeMappingsService
-
Constructor Summary
ConstructorsConstructorDescriptionFieldTypeMappingsService(IndexSetService indexSetService, MongoIndexSet.Factory mongoIndexSetFactory, MongoIndexSetService mongoIndexSetService, IndexFieldTypeProfileService profileService) -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeFieldType(CustomFieldMapping customMapping, Set<String> indexSetsIds, boolean rotateImmediately) removeCustomMappingForFields(List<String> fieldNames, Set<String> indexSetsIds, boolean rotateImmediately) voidremoveProfileFromIndexSets(Set<String> indexSetsIds, boolean rotateImmediately) voidsetProfile(Set<String> indexSetsIds, String profileId, boolean rotateImmediately)
-
Constructor Details
-
FieldTypeMappingsService
@Inject public FieldTypeMappingsService(IndexSetService indexSetService, MongoIndexSet.Factory mongoIndexSetFactory, MongoIndexSetService mongoIndexSetService, IndexFieldTypeProfileService profileService)
-
-
Method Details
-
changeFieldType
public void changeFieldType(CustomFieldMapping customMapping, Set<String> indexSetsIds, boolean rotateImmediately) -
setProfile
-
removeProfileFromIndexSets
-
removeCustomMappingForFields
-