Package | Description |
---|---|
org.springframework.data.mongodb.core |
MongoDB core support.
|
Modifier and Type | Method and Description |
---|---|
MongoActionOperation |
MongoDataIntegrityViolationException.getActionOperation()
Returns the
MongoActionOperation in which the current exception occured. |
MongoActionOperation |
MongoAction.getMongoActionOperation() |
static MongoActionOperation |
MongoActionOperation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MongoActionOperation[] |
MongoActionOperation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MongoTemplate.handleAnyWriteResultErrors(com.mongodb.WriteResult writeResult,
com.mongodb.DBObject query,
MongoActionOperation operation)
Handles
WriteResult errors based on the configured WriteResultChecking . |
Constructor and Description |
---|
MongoAction(com.mongodb.WriteConcern defaultWriteConcern,
MongoActionOperation mongoActionOperation,
String collectionName,
Class<?> entityType,
com.mongodb.DBObject document,
com.mongodb.DBObject query)
Create an instance of a
MongoAction . |
MongoDataIntegrityViolationException(String message,
com.mongodb.WriteResult writeResult,
MongoActionOperation actionOperation)
Creates a new
MongoDataIntegrityViolationException using the given message and WriteResult . |
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.