Class MongoDBRuleFragmentService
java.lang.Object
org.graylog.plugins.pipelineprocessor.rulebuilder.db.MongoDBRuleFragmentService
- All Implemented Interfaces:
RuleFragmentService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMongoDBRuleFragmentService(MongoJackObjectMapperProvider objectMapperProvider, MongoConnection mongoConnection) MongoDBRuleFragmentService(JacksonDBCollection<RuleFragment, org.bson.types.ObjectId> dbCollection) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragmentService
upsert
-
Field Details
-
COLLECTION_NAME
- See Also:
-
-
Constructor Details
-
MongoDBRuleFragmentService
@Inject public MongoDBRuleFragmentService(MongoJackObjectMapperProvider objectMapperProvider, MongoConnection mongoConnection) -
MongoDBRuleFragmentService
public MongoDBRuleFragmentService(JacksonDBCollection<RuleFragment, org.bson.types.ObjectId> dbCollection)
-
-
Method Details
-
save
- Specified by:
savein interfaceRuleFragmentService
-
delete
- Specified by:
deletein interfaceRuleFragmentService
-
deleteAll
public void deleteAll()- Specified by:
deleteAllin interfaceRuleFragmentService
-
count
- Specified by:
countin interfaceRuleFragmentService
-
get
- Specified by:
getin interfaceRuleFragmentService
-
all
- Specified by:
allin interfaceRuleFragmentService
-