public enum MongoDbOperation extends Enum<MongoDbOperation>
Enum Constant and Description |
---|
aggregate |
bulkWrite |
command |
count |
findAll |
findById |
findDistinct |
findOneByQuery |
getColStats |
getDbStats |
insert |
remove |
save |
update |
Modifier and Type | Method and Description |
---|---|
static MongoDbOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MongoDbOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MongoDbOperation findById
public static final MongoDbOperation findOneByQuery
public static final MongoDbOperation findAll
public static final MongoDbOperation findDistinct
public static final MongoDbOperation insert
public static final MongoDbOperation save
public static final MongoDbOperation update
public static final MongoDbOperation remove
public static final MongoDbOperation bulkWrite
public static final MongoDbOperation aggregate
public static final MongoDbOperation getDbStats
public static final MongoDbOperation getColStats
public static final MongoDbOperation count
public static final MongoDbOperation command
public static MongoDbOperation[] values()
for (MongoDbOperation c : MongoDbOperation.values()) System.out.println(c);
public static MongoDbOperation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullApache Camel