Package org.graylog2.indexer.fieldtypes
Class IndexFieldTypesService
java.lang.Object
org.graylog2.indexer.fieldtypes.IndexFieldTypesService
Manages the "index_field_types" MongoDB collection.
-
Constructor Summary
ConstructorsConstructorDescriptionIndexFieldTypesService(MongoConnection mongoConnection, MongoJackObjectMapperProvider objectMapperProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidfieldTypeHistory(String indexSetId, String fieldName, boolean skipEntriesWithUnchangedType) findAll()findByIndexNames(Collection<String> indexNames) findForFieldNames(Collection<String> fieldNames) findForFieldNamesAndIndices(Collection<String> fieldNames, Collection<String> indexNames) findForIndexSet(String indexSetId) findForIndexSets(Collection<String> indexSetIds) findOneByIndexName(String indexName) save(IndexFieldTypesDTO dto) upsert(IndexFieldTypesDTO dto)
-
Constructor Details
-
IndexFieldTypesService
@Inject public IndexFieldTypesService(MongoConnection mongoConnection, MongoJackObjectMapperProvider objectMapperProvider)
-
-
Method Details
-
fieldTypeHistory
-
get
-
save
-
upsert
-
delete
-
findForIndexSet
-
findForIndexSets
-
findForFieldNames
-
findForFieldNamesAndIndices
public Collection<IndexFieldTypesDTO> findForFieldNamesAndIndices(Collection<String> fieldNames, Collection<String> indexNames) -
findAll
-
findOneByIndexName
-
findByIndexNames
-