| Package | Description |
|---|---|
| org.hibernate.ogm.datastore.mongodb.options | |
| org.hibernate.ogm.datastore.mongodb.options.navigation |
| Modifier and Type | Method and Description |
|---|---|
static ReadPreferenceType |
ReadPreferenceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadPreferenceType[] |
ReadPreferenceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
MongoDBGlobalContext |
MongoDBGlobalContext.readPreference(ReadPreferenceType readPreference)
Defines the type of read preference to be
applied when performing read operations against the datastore.
|
MongoDBPropertyContext |
MongoDBPropertyContext.readPreference(ReadPreferenceType readPreference)
Defines the type of read preference to be
applied when performing read operations in case the current property represents an association.
|
MongoDBEntityContext |
MongoDBEntityContext.readPreference(ReadPreferenceType readPreference)
Defines the type of read preference to be
applied when performing read operations against the datastore.
|
Copyright © 2010-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.