Class ConvertToCappedCommand
java.lang.Object
de.caluga.morphium.driver.commands.MongoCommand<T>
de.caluga.morphium.driver.commands.WriteMongoCommand<ConvertToCappedCommand>
de.caluga.morphium.driver.commands.ConvertToCappedCommand
mongo only supports conversion using the size, not max elements
also, this does not work on sharded cluster
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.caluga.morphium.driver.commands.WriteMongoCommand
execute, getBypassDocumentValidation, getWriteConcern, setBypassDocumentValidation, setWriteConcernMethods inherited from class de.caluga.morphium.driver.commands.MongoCommand
asMap, clear, executeAsync, fromMap, getColl, getComment, getConnection, getDb, getDefaultBatchSize, getMetaData, getRetriesOnNetworkError, getSleepBetweenErrorRetries, setColl, setComment, setConnection, setDb, setDefaultBatchSize, setMetaData, setMetaData, setRetriesOnNetworkError, setSleepBetweenErrorRetries
-
Constructor Details
-
ConvertToCappedCommand
-
-
Method Details
-
getSize
public int getSize() -
setSize
-
getCommandName
- Specified by:
getCommandNamein classMongoCommand<ConvertToCappedCommand>
-