Package | Description |
---|---|
org.mongodb.morphia | |
org.mongodb.morphia.utils |
Modifier and Type | Method and Description |
---|---|
<T> void |
Datastore.ensureIndex(Class<T> clazz,
String field,
IndexDirection dir)
Ensures (creating if necessary) the index and direction
|
<T> void |
DatastoreImpl.ensureIndex(Class<T> type,
String name,
IndexDirection dir) |
Modifier and Type | Method and Description |
---|---|
IndexDirection |
IndexFieldDef.getDirection()
Deprecated.
|
static IndexDirection |
IndexDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexDirection[] |
IndexDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
IndexFieldDef(String field,
IndexDirection dir)
Deprecated.
|
Copyright © 2015. All rights reserved.