Class MongoDbPipelineService
java.lang.Object
org.graylog.plugins.pipelineprocessor.db.mongodb.MongoDbPipelineService
- All Implemented Interfaces:
PipelineService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMongoDbPipelineService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper, ClusterEventBus clusterBus) -
Method Summary
Modifier and TypeMethodDescriptionlongcount(org.mongojack.DBQuery.Query query) voidloadAll()loadByName(String name) save(PipelineDao pipeline)
-
Field Details
-
COLLECTION
- See Also:
-
-
Constructor Details
-
MongoDbPipelineService
@Inject public MongoDbPipelineService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper, ClusterEventBus clusterBus)
-
-
Method Details
-
save
- Specified by:
savein interfacePipelineService
-
load
- Specified by:
loadin interfacePipelineService- Throws:
NotFoundException
-
loadByName
- Specified by:
loadByNamein interfacePipelineService- Throws:
NotFoundException
-
loadAll
- Specified by:
loadAllin interfacePipelineService
-
delete
- Specified by:
deletein interfacePipelineService
-
count
public long count(org.mongojack.DBQuery.Query query) - Specified by:
countin interfacePipelineService
-