Class ExportDatabaseOperation
java.lang.Object
org.apache.camel.component.nitrite.AbstractNitriteOperation
org.apache.camel.component.nitrite.operation.common.ExportDatabaseOperation
- All Implemented Interfaces:
CollectionOperation,CommonOperation,RepositoryOperation
Export full database to JSON and stores result in body - see Nitrite docs for details about format
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(org.apache.camel.Exchange exchange, NitriteEndpoint endpoint)
-
Constructor Details
-
ExportDatabaseOperation
public ExportDatabaseOperation() -
ExportDatabaseOperation
public ExportDatabaseOperation(org.dizitart.no2.tool.ExportOptions options)
-
-
Method Details
-
execute
protected void execute(org.apache.camel.Exchange exchange, NitriteEndpoint endpoint) throws Exception - Specified by:
executein classAbstractNitriteOperation- Throws:
Exception
-