Class CreateCommand
java.lang.Object
de.caluga.morphium.driver.commands.MongoCommand<CreateCommand>
de.caluga.morphium.driver.commands.CreateCommand
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()getMax()getSize()setCollation(Map<String, Object> collation) setExpireAfterSeconds(Integer expireAfterSeconds) setIndexOptionDefaults(Map<String, Object> indexOptionDefaults) setPipeline(List<Map<String, Object>> pipeline) setStorageEngine(Map<String, Object> storageEngine) setTimeseries(Map<String, String> timeseries) setTimeseriesMetaField(String field) setTimeseriesTimeField(String field) setValidationAction(String validationAction) setValidationLevel(String validationLevel) setValidator(Map<String, Object> validator) setWriteConcern(Map<String, Object> writeConcern) Methods 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
-
CreateCommand
-
-
Method Details
-
getCommandName
- Specified by:
getCommandNamein classMongoCommand<CreateCommand>
-
getCapped
-
setCapped
-
getTimeseries
-
setTimeseries
-
setTimeseriesTimeField
-
setTimeseriesMetaField
-
setTimeseriesGranularity
-
getExpireAfterSeconds
-
setExpireAfterSeconds
-
getSize
-
setSize
-
getMax
-
setMax
-
getStorageEngine
-
setStorageEngine
-
getValidator
-
setValidator
-
getValidationLevel
-
setValidationLevel
-
getValidationAction
-
setValidationAction
-
getIndexOptionDefaults
-
setIndexOptionDefaults
-
getViewOn
-
setViewOn
-
getPipeline
-
setPipeline
-
getCollation
-
setCollation
-
getWriteConcern
-
setWriteConcern
-
execute
- Throws:
MorphiumDriverException
-