Package org.graylog2.indexer.fieldtypes
Class IndexFieldTypesService
java.lang.Object
org.graylog2.indexer.fieldtypes.IndexFieldTypesService
Manages the "index_field_types" MongoDB collection.
-
Constructor Summary
ConstructorDescriptionIndexFieldTypesService
(MongoConnection mongoConnection, StreamService streamService, MongoJackObjectMapperProvider objectMapperProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
findAll()
findForFieldNames
(Collection<String> fieldNames) findForFieldNamesAndIndices
(Collection<String> fieldNames, Collection<String> indexNames) findForIndexSet
(String indexSetId) findForIndexSets
(Collection<String> indexSetIds) findForStreamIds
(Collection<String> streamIds) save
(IndexFieldTypesDTO dto) upsert
(IndexFieldTypesDTO dto)
-
Constructor Details
-
IndexFieldTypesService
@Inject public IndexFieldTypesService(MongoConnection mongoConnection, StreamService streamService, MongoJackObjectMapperProvider objectMapperProvider)
-
-
Method Details
-
get
-
save
-
upsert
-
delete
-
findForIndexSet
-
findForIndexSets
-
findForFieldNames
-
findForFieldNamesAndIndices
public Collection<IndexFieldTypesDTO> findForFieldNamesAndIndices(Collection<String> fieldNames, Collection<String> indexNames) -
findForStreamIds
-
findAll
-