Class InsertToMongodb
java.lang.Object
fr.gouv.vitam.common.database.translators.RequestToAbstract
fr.gouv.vitam.common.database.translators.mongodb.RequestToMongodb
fr.gouv.vitam.common.database.translators.mongodb.InsertToMongodb
Insert to MongoDb
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.database.translators.RequestToAbstract
requestParser
-
Constructor Summary
-
Method Summary
Methods inherited from class fr.gouv.vitam.common.database.translators.mongodb.RequestToMongodb
getInitialRoots, getNthQueries, getRequest, getRequestToMongoDb
Methods inherited from class fr.gouv.vitam.common.database.translators.RequestToAbstract
getFinalLimit, getFinalOffset, getHints, getLastDepth, getNbQueries, getNthQuery, getRequest, getRequestParser, getUsage, hasFullTextQuery, hintCache, hintNoTimeout, isMultiple, model
-
Constructor Details
-
InsertToMongodb
- Parameters:
insertParser
- AbstractParser of unknown type
-
-
Method Details
-
getFinalData
insertOne(data)- Returns:
- the projection
- Throws:
InvalidParseOperationException
- if could not parse to JSON
-