Package org.restheart.mongodb.db
Interface FileMetadataRepository
- All Known Implementing Classes:
FileMetadataDAO
public interface FileMetadataRepository
-
Method Summary
Modifier and TypeMethodDescriptionupdateMetadata(com.mongodb.client.ClientSession cs, String dbName, String collName, Object documentId, org.bson.BsonDocument filter, org.bson.BsonDocument shardKeys, org.bson.BsonDocument newContent, String requestEtag, boolean patching, boolean checkEtag)
-
Method Details
-
updateMetadata
OperationResult updateMetadata(com.mongodb.client.ClientSession cs, String dbName, String collName, Object documentId, org.bson.BsonDocument filter, org.bson.BsonDocument shardKeys, org.bson.BsonDocument newContent, String requestEtag, boolean patching, boolean checkEtag)- Parameters:
cs- the client sessiondbName-collName-documentId-filter-shardKeys-newContent-requestEtag-patching-checkEtag-- Returns:
-