A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCESS_ERROR - io.realm.exceptions.RealmFileException.Kind
-
Thrown for any I/O related exception scenarios when a Realm is opened.
- ACCOUNT_NAME_IN_USE - io.realm.mongodb.ErrorCode
- ACTIVE - io.realm.mongodb.sync.SyncSession.State
-
The Realm is open and data will be synchronized between the device and the server if the underlying connection is
ConnectionState.CONNECTED
. - add(int, E) - Method in class io.realm.RealmList
-
Inserts the specified object into this List at the specified location.
- add(E) - Method in class io.realm.RealmList
-
Adds the specified object at the end of this List.
- add(E) - Method in class io.realm.RealmSet
- add(RealmLogger) - Static method in class io.realm.log.RealmLog
-
Adds a logger implementation that will be notified on log events.
- add(Subscription) - Method in interface io.realm.mongodb.sync.MutableSubscriptionSet
-
Adds a new unmanaged subscription to the subscription set.
- addAll(Collection<? extends E>) - Method in class io.realm.RealmSet
- addAuthenticationListener(AuthenticationListener) - Method in class io.realm.mongodb.App
-
Sets a global authentication listener that will be notified about User events like login and logout.
- addChangeListener(E, RealmChangeListener<E>) - Static method in class io.realm.RealmObject
-
Adds a change listener to a RealmObject that will be triggered if any value field or referenced RealmObject field is changed, or the RealmList field itself is changed.
- addChangeListener(E, RealmObjectChangeListener<E>) - Static method in class io.realm.RealmObject
-
Adds a change listener to a RealmObject to get detailed information about the changes.
- addChangeListener(MapChangeListener<K, V>) - Method in class io.realm.RealmMap
-
Adds a change listener to this
RealmMap
. - addChangeListener(OrderedRealmCollectionChangeListener<RealmList<E>>) - Method in class io.realm.RealmList
-
Adds a change listener to this
RealmList
. - addChangeListener(OrderedRealmCollectionChangeListener<RealmResults<E>>) - Method in class io.realm.RealmResults
-
Adds a change listener to this
RealmResults
. - addChangeListener(RealmChangeListener<E>) - Method in class io.realm.RealmObject
-
Adds a change listener to this RealmObject that will be triggered if any value field or referenced RealmObject field is changed, or the RealmList field itself is changed.
- addChangeListener(RealmChangeListener<DynamicRealm>) - Method in class io.realm.DynamicRealm
-
Adds a change listener to the Realm.
- addChangeListener(RealmChangeListener<Realm>) - Method in class io.realm.Realm
-
Adds a change listener to the Realm.
- addChangeListener(RealmChangeListener<RealmList<E>>) - Method in class io.realm.RealmList
-
Adds a change listener to this
RealmList
. - addChangeListener(RealmChangeListener<RealmMap<K, V>>) - Method in class io.realm.RealmMap
-
Adds a change listener to this
RealmMap
. - addChangeListener(RealmChangeListener<RealmResults<E>>) - Method in class io.realm.RealmResults
-
Adds a change listener to this
RealmResults
. - addChangeListener(RealmChangeListener<RealmSet<E>>) - Method in class io.realm.RealmSet
-
Adds a change listener to this
RealmSet
. - addChangeListener(RealmObjectChangeListener<E>) - Method in class io.realm.ProxyState
- addChangeListener(RealmObjectChangeListener<E>) - Method in class io.realm.RealmObject
-
Adds a change listener to this RealmObject to get detailed information about changes.
- addChangeListener(SetChangeListener<E>) - Method in class io.realm.RealmSet
-
Adds a change listener to this
RealmSet
. - addConnectionChangeListener(ConnectionListener) - Method in class io.realm.mongodb.sync.SyncSession
-
Adds a listener tracking changes to the connection backing this session.
- addCustomRequestHeader(String, String) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Adds an extra HTTP header to append to every request to a Realm Object Server.
- addCustomRequestHeaders(Map<String, String>) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Adds extra HTTP headers to append to every request to a Realm Object Server.
- addDownloadProgressListener(ProgressMode, ProgressListener) - Method in class io.realm.mongodb.sync.SyncSession
-
Adds a progress listener tracking changes that need to be downloaded from the Realm Object Server.
- addField(String, Class<?>, FieldAttribute...) - Method in class io.realm.RealmObjectSchema
-
Adds a new simple field to the RealmObject class.
- addIndex(String) - Method in class io.realm.RealmObjectSchema
-
Adds an index to a given field.
- addModule(Object) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Adds a module to the already defined modules.
- addModule(Object) - Method in class io.realm.RealmConfiguration.Builder
-
FIXME: Temporary visible DEBUG method.
- addOrUpdate(Subscription) - Method in interface io.realm.mongodb.sync.MutableSubscriptionSet
-
Add a new subscription or update an existing named subscription.
- addPrimaryKey(String) - Method in class io.realm.RealmObjectSchema
-
Adds a primary key to a given field.
- addRealmDictionaryField(String, RealmObjectSchema) - Method in class io.realm.RealmObjectSchema
-
Adds a new field that contains a
RealmDictionary
with references to other Realm model classes. - addRealmDictionaryField(String, Class<?>) - Method in class io.realm.RealmObjectSchema
-
Adds a new field that references a
RealmDictionary
with primitive values. - addRealmListField(String, RealmObjectSchema) - Method in class io.realm.RealmObjectSchema
-
Adds a new field that contains a
RealmList
with references to other Realm model classes. - addRealmListField(String, Class<?>) - Method in class io.realm.RealmObjectSchema
-
Adds a new field that references a
RealmList
with primitive values. - addRealmObjectField(String, RealmObjectSchema) - Method in class io.realm.RealmObjectSchema
-
Adds a new field that references another
RealmObject
. - addRealmSetField(String, RealmObjectSchema) - Method in class io.realm.RealmObjectSchema
-
Adds a new field that contains a
RealmSet
with references to other Realm model classes. - addRealmSetField(String, Class<?>) - Method in class io.realm.RealmObjectSchema
-
Adds a new field that references a
RealmSet
with primitive values. - addUploadProgressListener(ProgressMode, ProgressListener) - Method in class io.realm.mongodb.sync.SyncSession
-
Adds a progress listener tracking changes that need to be uploaded from the device to the Realm Object Server.
- aggregate(List<? extends Bson>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Aggregates documents according to the specified aggregation pipeline.
- aggregate(List<? extends Bson>, Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Aggregates documents according to the specified aggregation pipeline specifying an output class.
- AggregateIterable<ResultT> - Class in io.realm.mongodb.mongo.iterable
-
Specific iterable for
MongoCollection.aggregate(List)
operations. - AggregateIterable(ThreadPoolExecutor, OsMongoCollection<?>, CodecRegistry, Class<ResultT>, List<? extends Bson>) - Constructor for class io.realm.mongodb.mongo.iterable.AggregateIterable
- ALL - Static variable in class io.realm.log.LogLevel
-
The ALL has the lowest possible rank and is intended to turn on all logging.
- allClasses() - Method in annotation type io.realm.annotations.RealmModule
-
Instead of adding all Realm classes manually to a module, set this boolean to true to automatically include all Realm classes in this project.
- allowQueriesOnUiThread(boolean) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets whether or not
RealmQueries
are allowed from the UI thread. - allowQueriesOnUiThread(boolean) - Method in class io.realm.RealmConfiguration.Builder
-
Sets whether or not a
RealmQuery
can be launched from the UI thread. - allowWritesOnUiThread(boolean) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets whether or not calls to
Realm.executeTransaction(io.realm.Realm.Transaction)
are allowed from the UI thread. - allowWritesOnUiThread(boolean) - Method in class io.realm.RealmConfiguration.Builder
-
Sets whether or not calls to
Realm.executeTransaction(io.realm.Realm.Transaction)
are allowed from the UI thread. - allUsers() - Method in class io.realm.mongodb.App
-
Returns all known users that are either
User.State.LOGGED_IN
orUser.State.LOGGED_OUT
. - alwaysFalse() - Method in class io.realm.RealmQuery
-
This predicate will never match, resulting in the query always returning 0 results.
- alwaysTrue() - Method in class io.realm.RealmQuery
-
This predicate will always match.
- and() - Method in class io.realm.RealmQuery
-
Logical-and two conditions Realm automatically applies logical-and between all query statements, so this is intended only as a mean to increase readability.
- anonymous() - Static method in class io.realm.mongodb.Credentials
-
Creates credentials representing an anonymous user.
- ANONYMOUS - io.realm.mongodb.Credentials.Provider
- API_KEY - io.realm.mongodb.Credentials.Provider
- API_KEY_ALREADY_EXISTS - io.realm.mongodb.ErrorCode
- API_KEY_NOT_FOUND - io.realm.mongodb.ErrorCode
- apiKey(String) - Static method in class io.realm.mongodb.Credentials
-
Creates credentials representing a login using a user API key.
- ApiKey - Class in io.realm.mongodb.auth
-
Class representing an API key for a
User
. - ApiKeyAuth - Class in io.realm.mongodb.auth
-
This class exposes functionality for a user to manage API keys under their control.
- App - Class in io.realm.mongodb
-
An App is the main client-side entry point for interacting with a MongoDB Realm App.
- App(AppConfiguration) - Constructor for class io.realm.mongodb.App
-
Constructor for creating an App according to the given AppConfiguration.
- App(String) - Constructor for class io.realm.mongodb.App
- App.Callback<T> - Interface in io.realm.mongodb
-
Callback for async methods available to the
App
. - App.Result<T> - Class in io.realm.mongodb
-
Result class representing the result of an async request from this app towards MongoDB Realm.
- AppConfiguration - Class in io.realm.mongodb
-
A AppConfiguration is used to setup a MongoDB Realm application.
- AppConfiguration.Builder - Class in io.realm.mongodb
-
Builder used to construct instances of a
AppConfiguration
in a fluent manner. - AppException - Exception in io.realm.mongodb
-
This class is a wrapper for all errors happening when communicating with a MongoDB Realm app.
- AppException(ErrorCode, String) - Constructor for exception io.realm.mongodb.AppException
-
Create an error caused by an error in the protocol when communicating with the Object Server.
- AppException(ErrorCode, String, int, String, Throwable) - Constructor for exception io.realm.mongodb.AppException
- AppException(ErrorCode, String, String) - Constructor for exception io.realm.mongodb.AppException
-
Errors happening while trying to authenticate a user.
- AppException(ErrorCode, String, Throwable) - Constructor for exception io.realm.mongodb.AppException
-
Generic error happening that could happen anywhere.
- AppException(ErrorCode, Throwable) - Constructor for exception io.realm.mongodb.AppException
-
Create an error caused by an an exception when communicating with the Object Server.
- AppException(String, int, String) - Constructor for exception io.realm.mongodb.AppException
-
Creates an unknown error that could not be mapped to any known error case.
- apple(String) - Static method in class io.realm.mongodb.Credentials
-
Creates credentials representing a login using an Apple ID token.
- APPLE - io.realm.mongodb.Credentials.Provider
- apply(DynamicRealmObject) - Method in interface io.realm.RealmObjectSchema.Function
- appName(String) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Sets the apps name.
- appVersion(String) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Sets the apps version.
- ARGUMENTS_NOT_ALLOWED - io.realm.mongodb.ErrorCode
- asBinary() - Method in class io.realm.RealmAny
-
Gets this value as a byte[] if it is one, otherwise throws exception.
- asBoolean() - Method in class io.realm.RealmAny
-
Gets this value as a Boolean if it is one, otherwise throws exception.
- asByte() - Method in class io.realm.RealmAny
-
Gets this value as a Byte if it is one, otherwise throws exception.
- ASCENDING - io.realm.Sort
- asChangesetObservable() - Method in class io.realm.RealmList
-
Returns an Rx Observable that monitors changes to this RealmList.
- asChangesetObservable() - Method in class io.realm.RealmObject
-
Returns an Rx Observable that monitors changes to this RealmObject.
- asChangesetObservable() - Method in class io.realm.RealmResults
-
Returns an Rx Observable that monitors changes to this RealmResults.
- asChangesetObservable(E) - Static method in class io.realm.RealmObject
-
Returns an Rx Observable that monitors changes to this RealmObject.
- asDate() - Method in class io.realm.RealmAny
-
Gets this value as a Date if it is one, otherwise throws exception.
- asDecimal128() - Method in class io.realm.RealmAny
-
Gets this value as a Decimal128 if it is one, otherwise throws exception.
- asDouble() - Method in class io.realm.RealmAny
-
Gets this value as a Double if it is one, otherwise throws exception.
- asFloat() - Method in class io.realm.RealmAny
-
Gets this value as a Float if it is one, otherwise throws exception.
- asFlowable() - Method in class io.realm.DynamicRealm
-
Returns an RxJava Flowable that monitors changes to this Realm.
- asFlowable() - Method in class io.realm.Realm
-
Returns an RxJava Flowable that monitors changes to this Realm.
- asFlowable() - Method in class io.realm.RealmList
-
Returns an Rx Flowable that monitors changes to this RealmList.
- asFlowable() - Method in class io.realm.RealmObject
-
Returns an RxJava Flowable that monitors changes to this RealmObject.
- asFlowable() - Method in class io.realm.RealmResults
-
Returns an Rx Flowable that monitors changes to this RealmResults.
- asFlowable(E) - Static method in class io.realm.RealmObject
-
Returns an RxJava Flowable that monitors changes to this RealmObject.
- asInteger() - Method in class io.realm.RealmAny
-
Gets this value as a Integer if it is one, otherwise throws exception.
- asJson() - Method in class io.realm.mongodb.Credentials
-
Returns the credentials object serialized as a json string.
- asJSON() - Method in class io.realm.RealmResults
-
Returns a JSON representation of the matches of a
RealmQuery
. - asLong() - Method in class io.realm.RealmAny
-
Gets this value as a Long if it is one, otherwise throws exception.
- asObjectId() - Method in class io.realm.RealmAny
-
Gets this value as a ObjectId if it is one, otherwise throws exception.
- asRealmModel(Class<T>) - Method in class io.realm.RealmAny
-
Gets this value as a RealmModel if it is one, otherwise throws exception.
- assetFile(String) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
When opening the Realm for the first time, instead of creating an empty file, the Realm file will be copied from the provided asset file and used instead.
- assetFile(String) - Method in class io.realm.RealmConfiguration.Builder
-
Copies the Realm file from the given asset file path.
- asShort() - Method in class io.realm.RealmAny
-
Gets this value as a Short if it is one, otherwise throws exception.
- asString() - Method in class io.realm.RealmAny
-
Gets this value as a String if it is one, otherwise throws exception.
- asUUID() - Method in class io.realm.RealmAny
-
Gets this value as a UUID if it is one, otherwise throws exception.
- AUTH - Static variable in class io.realm.mongodb.ErrorCode.Type
- AUTH_CODE - io.realm.mongodb.auth.GoogleAuthType
- AUTH_ERROR - io.realm.mongodb.ErrorCode
- AUTH_PROVIDER_ALREADY_EXISTS - io.realm.mongodb.ErrorCode
- AUTH_PROVIDER_DUPLICATE_NAME - io.realm.mongodb.ErrorCode
- AUTH_PROVIDER_NOT_FOUND - io.realm.mongodb.ErrorCode
- AuthenticationListener - Interface in io.realm.mongodb
-
Interface describing events related to Users and their authentication
- authorizationHeaderName(String) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Sets the name of the HTTP header used to send authorization data in when making requests to MongoDB Realm.
- AUTO_CLIENT_RESET_FAILURE - io.realm.mongodb.ErrorCode
- average(String) - Method in interface io.realm.RealmCollection
-
Returns the average of a given field.
- average(String) - Method in class io.realm.RealmList
-
Returns the average of a given field.
- average(String) - Method in class io.realm.RealmQuery
-
Returns the average of a given field.
- average(String) - Method in class io.realm.RealmSet
-
Returns the average of a given field.
- averageDecimal128(String) - Method in class io.realm.RealmQuery
-
Returns the average of a given field.
- averageRealmAny(String) - Method in class io.realm.RealmQuery
-
Returns the average of a given field.
- AWS_ERROR - io.realm.mongodb.ErrorCode
B
- BAD_AUTHENTICATION - io.realm.mongodb.ErrorCode
- BAD_CHANGESET - io.realm.mongodb.ErrorCode
- BAD_CHANGESET_HEADER_SYNTAX - io.realm.mongodb.ErrorCode
- BAD_CHANGESET_SIZE - io.realm.mongodb.ErrorCode
- BAD_CHANGESETS - io.realm.mongodb.ErrorCode
- BAD_CLIENT_FILE - io.realm.mongodb.ErrorCode
- BAD_CLIENT_FILE_IDENT - io.realm.mongodb.ErrorCode
- BAD_CLIENT_VERSION - io.realm.mongodb.ErrorCode
- BAD_DECOMPRESSION - io.realm.mongodb.ErrorCode
- BAD_GATEWAY - io.realm.mongodb.ErrorCode
- BAD_HISTORY - io.realm.exceptions.RealmFileException.Kind
-
Thrown if the history type of the on-disk Realm is unexpected or incompatible.
- BAD_MESSAGE_ORDER - io.realm.mongodb.ErrorCode
- BAD_ORIGIN_FILE_IDENT - io.realm.mongodb.ErrorCode
- BAD_QUERY - io.realm.mongodb.ErrorCode
- BAD_REQUEST - io.realm.mongodb.ErrorCode
- BAD_SERVER_FILE_IDENT - io.realm.mongodb.ErrorCode
- BAD_SERVER_VERSION - io.realm.mongodb.ErrorCode
- BAD_SESSION_IDENT - io.realm.mongodb.ErrorCode
- BAD_SYNTAX - io.realm.mongodb.ErrorCode
- BaseChangeEvent<DocumentT> - Class in io.realm.mongodb.mongo.events
-
Represents the set of properties that exist on all MongoDB realm change events produced by watch streams in this SDK.
- BaseChangeEvent.OperationType - Enum in io.realm.mongodb.mongo.events
-
Represents the different MongoDB operations that can occur.
- baseRealm - Variable in class io.realm.RealmList
-
The
BaseRealm
instance in which this list resides. - baseUrl(String) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Sets the base url for the MongoDB Realm Application.
- beginGroup() - Method in class io.realm.RealmQuery
-
Begin grouping of conditions ("left parenthesis").
- beginsWith(String, RealmAny) - Method in class io.realm.RealmQuery
-
Condition that the value of field begins with the specified string.
- beginsWith(String, RealmAny, Case) - Method in class io.realm.RealmQuery
-
Condition that the value of field begins with the specified substring.
- beginsWith(String, String) - Method in class io.realm.RealmQuery
-
Condition that the value of field begins with the specified string.
- beginsWith(String, String, Case) - Method in class io.realm.RealmQuery
-
Condition that the value of field begins with the specified substring.
- Beta - Annotation Type in io.realm.annotations
-
This annotation is added to classes, constructors or methods which are considered in beta phase.
- between(String, double, double) - Method in class io.realm.RealmQuery
-
Between condition.
- between(String, float, float) - Method in class io.realm.RealmQuery
-
Between condition.
- between(String, int, int) - Method in class io.realm.RealmQuery
-
Between condition.
- between(String, long, long) - Method in class io.realm.RealmQuery
-
Between condition.
- between(String, RealmAny, RealmAny) - Method in class io.realm.RealmQuery
-
Between condition.
- between(String, Date, Date) - Method in class io.realm.RealmQuery
-
Between condition.
- between(String, Decimal128, Decimal128) - Method in class io.realm.RealmQuery
-
Between condition.
- BINARY - io.realm.RealmAny.Type
- BINARY - io.realm.RealmFieldType
- BINARY_LIST - io.realm.RealmFieldType
- BINARY_SET - io.realm.RealmFieldType
- BOOLEAN - io.realm.RealmAny.Type
- BOOLEAN - io.realm.RealmFieldType
- BOOLEAN_LIST - io.realm.RealmFieldType
- BOOLEAN_SET - io.realm.RealmFieldType
- BOOTSTRAPPING - io.realm.mongodb.sync.SubscriptionSet.State
-
A subscription set was accepted by the server and initial data is being sent to the device.
- BOUND_IN_OTHER_SESSION - io.realm.mongodb.ErrorCode
- BSON_CODEC_NOT_FOUND - io.realm.mongodb.ErrorCode
- BSON_DECODING - io.realm.mongodb.ErrorCode
- BSON_ENCODING - io.realm.mongodb.ErrorCode
- build() - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Creates the AppConfiguration.
- build() - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Creates the RealmConfiguration based on the builder parameters.
- build() - Method in class io.realm.RealmConfiguration.Builder
-
Creates the RealmConfiguration based on the builder parameters.
- Builder() - Constructor for class io.realm.RealmConfiguration.Builder
-
Creates an instance of the Builder for the RealmConfiguration.
- Builder(User) - Constructor for class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Creates an instance of the builder for a Flexible Sync SyncConfiguration with the given user.
- Builder(User, Integer) - Constructor for class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Creates an instance of the builder for a Partition-based Sync SyncConfiguration with the given user and partition value.
- Builder(User, Long) - Constructor for class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Creates an instance of the builder for a Partition-based Sync SyncConfiguration with the given user and partition value.
- Builder(User, String) - Constructor for class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Creates an instance of the builder for a Partition-based Sync SyncConfiguration with the given user and partition value.
- Builder(User, UUID) - Constructor for class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Creates an instance of the builder for a Partition-based Sync SyncConfiguration with the given user and partition value.
- Builder(User, ObjectId) - Constructor for class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Creates an instance of the builder for a Partition-based Sync SyncConfiguration with the given user and partition value.
- Builder(String) - Constructor for class io.realm.mongodb.AppConfiguration.Builder
-
Creates an instance of the Builder for the AppConfiguration.
C
- Callback() - Constructor for class io.realm.DynamicRealm.Callback
- Callback() - Constructor for class io.realm.DynamicRealm.Transaction.Callback
- Callback() - Constructor for class io.realm.Realm.Callback
- Callback() - Constructor for class io.realm.Realm.Transaction.Callback
- callFunction(String, List<?>, Class<ResultT>) - Method in class io.realm.mongodb.functions.Functions
-
Call a MongoDB Realm function synchronously with default codec registry encoding/decoding arguments/results.
- callFunction(String, List<?>, Class<ResultT>, CodecRegistry) - Method in class io.realm.mongodb.functions.Functions
-
Call a MongoDB Realm function synchronously with custom codec registry encoding/decoding arguments/results.
- callFunction(String, List<?>, Decoder<ResultT>) - Method in class io.realm.mongodb.functions.Functions
-
Call a MongoDB Realm function synchronously with custom result decoder.
- callFunctionAsync(String, List<?>, Class<T>, App.Callback<T>) - Method in class io.realm.mongodb.functions.Functions
-
Call a MongoDB Realm function asynchronously with custom codec registry for encoding/decoding arguments/results.
- callFunctionAsync(String, List<?>, Class<T>, CodecRegistry, App.Callback<T>) - Method in class io.realm.mongodb.functions.Functions
-
Call a MongoDB Realm function asynchronously with custom codec registry for encoding/decoding arguments/results.
- callFunctionAsync(String, List<?>, Decoder<T>, App.Callback<T>) - Method in class io.realm.mongodb.functions.Functions
-
Call a MongoDB Realm function asynchronously with custom result decoder.
- callRawPredicate(TableQuery, OsKeyPathMapping, String, RealmAny...) - Method in class io.realm.RealmAnyNativeFunctionsImpl
- callResetPasswordFunction(String, String, Object...) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Call the reset password function configured to the
Credentials.Provider.EMAIL_PASSWORD
provider. - callResetPasswordFunctionAsync(String, String, Object[], App.Callback<Void>) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Call the reset password function configured to the
Credentials.Provider.EMAIL_PASSWORD
provider. - CAMEL_CASE - io.realm.annotations.RealmNamingPolicy
-
The name in the Java model class is converted to camelCase, i.e.
- cancel() - Method in interface io.realm.RealmAsyncTask
-
Attempts to cancel execution of this transaction (if it hasn't already completed or previously cancelled).
- Case - Enum in io.realm
-
This class describes the Case settings used in Realm queries.
- changesetFrom(DynamicRealm, DynamicRealmObject) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aDynamicRealmObject
. - changesetFrom(DynamicRealm, DynamicRealmObject) - Method in class io.realm.coroutines.RealmFlowFactory
- changesetFrom(DynamicRealm, RealmList<T>) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealmList
. - changesetFrom(DynamicRealm, RealmList<T>) - Method in class io.realm.coroutines.RealmFlowFactory
- changesetFrom(DynamicRealm, RealmResults<T>) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealmResults
instance. - changesetFrom(DynamicRealm, RealmResults<T>) - Method in class io.realm.coroutines.RealmFlowFactory
- changesetFrom(Realm, RealmList<T>) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealmList
. - changesetFrom(Realm, RealmList<T>) - Method in class io.realm.coroutines.RealmFlowFactory
- changesetFrom(Realm, RealmResults<T>) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealmResults
instance. - changesetFrom(Realm, RealmResults<T>) - Method in class io.realm.coroutines.RealmFlowFactory
- changesetFrom(Realm, T) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealmObject
. - changesetFrom(Realm, T) - Method in class io.realm.coroutines.RealmFlowFactory
- changesetsFrom(DynamicRealm, DynamicRealmObject) - Method in class io.realm.rx.RealmObservableFactory
- changesetsFrom(DynamicRealm, DynamicRealmObject) - Method in interface io.realm.rx.RxObservableFactory
-
Creates an Observable for a
RealmObject
. - changesetsFrom(DynamicRealm, RealmList<E>) - Method in class io.realm.rx.RealmObservableFactory
- changesetsFrom(DynamicRealm, RealmList<E>) - Method in interface io.realm.rx.RxObservableFactory
-
Creates an Observable for a
RealmList
. - changesetsFrom(DynamicRealm, RealmResults<E>) - Method in class io.realm.rx.RealmObservableFactory
- changesetsFrom(DynamicRealm, RealmResults<E>) - Method in interface io.realm.rx.RxObservableFactory
-
Creates an Observable for a
RealmResults
. - changesetsFrom(Realm, E) - Method in class io.realm.rx.RealmObservableFactory
- changesetsFrom(Realm, E) - Method in interface io.realm.rx.RxObservableFactory
-
Creates an Observable for a
RealmObject
. - changesetsFrom(Realm, RealmList<E>) - Method in class io.realm.rx.RealmObservableFactory
- changesetsFrom(Realm, RealmList<E>) - Method in interface io.realm.rx.RxObservableFactory
-
Creates an Observable for a
RealmList
. - changesetsFrom(Realm, RealmResults<E>) - Method in class io.realm.rx.RealmObservableFactory
- changesetsFrom(Realm, RealmResults<E>) - Method in interface io.realm.rx.RxObservableFactory
-
Creates an Observable for a
RealmResults
. - CHECK_SAME_VALUES_BEFORE_SET - io.realm.ImportFlag
-
With this flag enabled, fields will not be written to the Realm file if they contain the same value as the value already present in the Realm.
- checkCollectionNameValidity(String) - Static method in class io.realm.mongodb.mongo.MongoNamespace
-
Check the validity of the given collection name.
- checkDatabaseNameValidity(String) - Static method in class io.realm.mongodb.mongo.MongoNamespace
-
Check the validity of the given database name.
- checkForAddRemoveListener(BaseRealm, Object, boolean) - Static method in class io.realm.CollectionUtils
-
Checks whether it is possible to add or remove a provided listener.
- checkIfAttached() - Method in enum io.realm.FrozenPendingRow
- checkValidObject(BaseRealm) - Method in class io.realm.RealmAnyOperator
- checkValidObject(RealmModel) - Method in class io.realm.ProxyState
-
Check that object is a valid and managed object by this Realm.
- classes() - Method in annotation type io.realm.annotations.RealmModule
-
Specifies the classes extending RealmObject that should be part of this module.
- classNamingPolicy() - Method in annotation type io.realm.annotations.RealmModule
-
The naming policy applied to all classes part of this module.
- clear() - Static method in class io.realm.log.RealmLog
-
Removes all loggers.
- clear() - Method in class io.realm.RealmList
-
Removes all elements from this list, leaving it empty.
- clear() - Method in class io.realm.RealmMap
- clear() - Method in class io.realm.RealmSet
- CLIENT_BAD_CHANGESET - io.realm.mongodb.ErrorCode
- CLIENT_BAD_CHANGESET_HEADER_SYNTAX - io.realm.mongodb.ErrorCode
- CLIENT_BAD_CHANGESET_SIZE - io.realm.mongodb.ErrorCode
- CLIENT_BAD_CLIENT_FILE_IDENT - io.realm.mongodb.ErrorCode
- CLIENT_BAD_CLIENT_FILE_IDENT_SALT - io.realm.mongodb.ErrorCode
- CLIENT_BAD_CLIENT_VERSION_DOWNLOAD - io.realm.mongodb.ErrorCode
- CLIENT_BAD_COMPRESSION - io.realm.mongodb.ErrorCode
- CLIENT_BAD_ERROR_CODE - io.realm.mongodb.ErrorCode
- CLIENT_BAD_MESSAGE_ORDER - io.realm.mongodb.ErrorCode
- CLIENT_BAD_OBJECT_ID_SUBSTITUTIONS - io.realm.mongodb.ErrorCode
- CLIENT_BAD_ORIGIN_FILE_IDENT - io.realm.mongodb.ErrorCode
- CLIENT_BAD_PROGRESS - io.realm.mongodb.ErrorCode
- CLIENT_BAD_PROTOCOL_FROM_SERVER - io.realm.mongodb.ErrorCode
- CLIENT_BAD_REQUEST_IDENT - io.realm.mongodb.ErrorCode
- CLIENT_BAD_SERIAL_TRANSACT_STATUS - io.realm.mongodb.ErrorCode
- CLIENT_BAD_SERVER_VERSION - io.realm.mongodb.ErrorCode
- CLIENT_BAD_SESSION_IDENT - io.realm.mongodb.ErrorCode
- CLIENT_BAD_STATE_MESSAGE - io.realm.mongodb.ErrorCode
- CLIENT_BAD_TIMESTAMP - io.realm.mongodb.ErrorCode
- CLIENT_CONNECT_TIMEOUT - io.realm.mongodb.ErrorCode
- CLIENT_CONNECTION_CLOSED - io.realm.mongodb.ErrorCode
- CLIENT_FILE_BLACKLISTED - io.realm.mongodb.ErrorCode
- CLIENT_FILE_EXPIRED - io.realm.mongodb.ErrorCode
- CLIENT_FILE_IDENT - io.realm.mongodb.ErrorCode
- CLIENT_HTTP_TUNNEL_FAILED - io.realm.mongodb.ErrorCode
- CLIENT_LIMITS_EXCEEDED - io.realm.mongodb.ErrorCode
- CLIENT_MISSING_PROTOCOL_FEATURE - io.realm.mongodb.ErrorCode
- CLIENT_PONG_TIMEOUT - io.realm.mongodb.ErrorCode
- CLIENT_PROTOCOL_MISMATCH - io.realm.mongodb.ErrorCode
- CLIENT_RESET - io.realm.mongodb.ErrorCode
- CLIENT_SSL_SERVER_CERT_REJECTED - io.realm.mongodb.ErrorCode
- CLIENT_TOO_NEW_FOR_SERVER - io.realm.mongodb.ErrorCode
- CLIENT_TOO_OLD_FOR_SERVER - io.realm.mongodb.ErrorCode
- CLIENT_UNKNOWN_MESSAGE - io.realm.mongodb.ErrorCode
- clientResetHandler(SyncSession.ClientResetHandler) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Deprecated.
- ClientResetRequiredError - Exception in io.realm.mongodb.sync
-
Class encapsulating information needed for handling a Client Reset event.
- close() - Method in class io.realm.mongodb.mongo.iterable.MongoCursor
- codecRegistry(CodecRegistry) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Set the default codec registry used to encode and decode BSON arguments and results when calling remote Realm
Functions
and accessing a remoteMongoDatabase
. - coercedEquals(RealmAny) - Method in class io.realm.RealmAny
- CollectionChange<E extends OrderedRealmCollection> - Class in io.realm.rx
-
Container wrapping the result of a
OrderedRealmCollectionChangeListener
being triggered. - CollectionChange(E, OrderedCollectionChangeSet) - Constructor for class io.realm.rx.CollectionChange
-
Constructor for a CollectionChange.
- CollectionUtils - Class in io.realm
- CollectionUtils() - Constructor for class io.realm.CollectionUtils
- COMMAND_COLLECTION_NAME - Static variable in class io.realm.mongodb.mongo.MongoNamespace
- compactOnLaunch() - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Setting this will cause Realm to compact the Realm file if the Realm file has grown too large and a significant amount of space can be recovered.
- compactOnLaunch() - Method in class io.realm.RealmConfiguration.Builder
-
Setting this will cause Realm to compact the Realm file if the Realm file has grown too large and a significant amount of space can be recovered.
- compactOnLaunch(CompactOnLaunchCallback) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets this to determine if the Realm file should be compacted before returned to the user.
- compactOnLaunch(CompactOnLaunchCallback) - Method in class io.realm.RealmConfiguration.Builder
-
Sets this to determine if the Realm file should be compacted before returned to the user.
- CompactOnLaunchCallback - Interface in io.realm
-
This interface is used to determine if a Realm file should be compacted the first time the file is opened and before the instance is returned.
- compactRealm(RealmConfiguration) - Static method in class io.realm.Realm
-
Compacts a Realm file.
- compareTo(MutableRealmInteger) - Method in class io.realm.MutableRealmInteger
-
MutableRealmInteger
s compare strictly by their values. - COMPLETE - io.realm.mongodb.sync.SubscriptionSet.State
-
A subscription set is actively synchronizing data between the server and the device.
- configure(Realm, MutableSubscriptionSet) - Method in interface io.realm.mongodb.sync.SyncConfiguration.InitialFlexibleSyncSubscriptions
- confirmUser(String, String) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Confirms a user with the given token and token id.
- confirmUserAsync(String, String, App.Callback<Void>) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Confirms a user with the given token and token id.
- CONFLICT - io.realm.mongodb.ErrorCode
- CONNECTED - io.realm.mongodb.sync.ConnectionState
-
A connection was successfully established to the server.
- CONNECTING - io.realm.mongodb.sync.ConnectionState
-
A connection is currently in progress of being established.
- CONNECTION - Static variable in class io.realm.mongodb.ErrorCode.Type
- CONNECTION_ADDRESS_IN_USE - io.realm.mongodb.ErrorCode
- CONNECTION_CLOSED - io.realm.mongodb.ErrorCode
- CONNECTION_CONNECTION_ABORTED - io.realm.mongodb.ErrorCode
- CONNECTION_REFUSED - io.realm.mongodb.ErrorCode
- CONNECTION_RESET_BY_PEER - io.realm.mongodb.ErrorCode
- CONNECTION_SOCKET_SHUTDOWN - io.realm.mongodb.ErrorCode
- ConnectionListener - Interface in io.realm.mongodb.sync
-
Interface used when reporting changes that happened to the connection used by the session.
- ConnectionState - Enum in io.realm.mongodb.sync
-
Enum describing the states of the underlying connection used by a
SyncSession
. - contains(Object) - Method in interface io.realm.RealmCollection
-
Tests whether this
Collection
contains the specified object. - contains(Object) - Method in class io.realm.RealmList
-
Returns
true
if the list contains the specified element when attached to a Realm. - contains(Object) - Method in class io.realm.RealmSet
-
Tests whether this
Collection
contains the specified object. - contains(String) - Method in class io.realm.RealmSchema
-
Checks if a given class already exists in the schema.
- contains(String, RealmAny) - Method in class io.realm.RealmQuery
-
Condition that value of field contains the specified substring.
- contains(String, RealmAny, Case) - Method in class io.realm.RealmQuery
-
Condition that value of field contains the specified substring.
- contains(String, String) - Method in class io.realm.RealmQuery
-
Condition that value of field contains the specified substring.
- contains(String, String, Case) - Method in class io.realm.RealmQuery
-
Condition that value of field contains the specified substring.
- containsAll(Collection<?>) - Method in class io.realm.RealmSet
- containsEntry(String, Map.Entry<String, ?>) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified entry.
- containsKey(Object) - Method in class io.realm.RealmMap
- containsKey(String, String) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified key.
- containsValue(Object) - Method in class io.realm.RealmMap
- containsValue(String, byte[]) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, RealmAny) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, RealmModel) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, Boolean) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, Byte) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, Double) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, Float) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, Integer) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, Long) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, Short) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, String) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, Date) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, UUID) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, Decimal128) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- containsValue(String, ObjectId) - Method in class io.realm.RealmQuery
-
Condition that value, if a dictionary field, contains the specified value.
- copyFromRealm(E) - Method in class io.realm.Realm
-
Makes an unmanaged in-memory copy of an already persisted
RealmObject
. - copyFromRealm(E, int) - Method in class io.realm.Realm
-
Makes an unmanaged in-memory copy of an already persisted
RealmObject
. - copyFromRealm(Iterable<E>) - Method in class io.realm.Realm
-
Makes an unmanaged in-memory copy of already persisted RealmObjects.
- copyFromRealm(Iterable<E>, int) - Method in class io.realm.Realm
-
Makes an unmanaged in-memory copy of already persisted RealmObjects.
- copyToRealm(E, ImportFlag...) - Method in class io.realm.Realm
-
Copies a RealmObject to the Realm instance and returns the copy.
- copyToRealm(BaseRealm, E) - Static method in class io.realm.CollectionUtils
-
Called by both list and dictionary operators to copy a RealmModel to Realm in case it has been deemed necessary.
- copyToRealm(Iterable<E>, ImportFlag...) - Method in class io.realm.Realm
-
Copies a collection of RealmObjects to the Realm instance and returns their copy.
- copyToRealmOrUpdate(E, ImportFlag...) - Method in class io.realm.Realm
-
Updates an existing RealmObject that is identified by the same
PrimaryKey
or creates a new copy if no existing object could be found. - copyToRealmOrUpdate(Iterable<E>, ImportFlag...) - Method in class io.realm.Realm
-
Updates a list of existing RealmObjects that is identified by their
PrimaryKey
or creates a new copy if no existing object could be found. - count() - Method in class io.realm.mongodb.mongo.MongoCollection
-
Counts the number of documents in the collection.
- count() - Method in class io.realm.RealmQuery
-
Counts the number of objects that fulfill the query conditions.
- count(Bson) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Counts the number of documents in the collection according to the given options.
- count(Bson, CountOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Counts the number of documents in the collection according to the given options.
- CountOptions - Class in io.realm.mongodb.mongo.options
-
The options for a count operation.
- CountOptions() - Constructor for class io.realm.mongodb.mongo.options.CountOptions
- create(RealmQuery) - Static method in interface io.realm.mongodb.sync.Subscription
-
Create an unmanaged anonymous subscription for a flexible sync enabled Realm.
- create(String) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Creates a user API key that can be used to authenticate as the user.
- create(String) - Method in class io.realm.RealmSchema
-
Adds a new class to the Realm.
- create(String, RealmQuery) - Static method in interface io.realm.mongodb.sync.Subscription
-
Create an unmanaged named subscription for a flexible sync enabled Realm.
- createAllFromJson(Class<E>, InputStream) - Method in class io.realm.Realm
-
Creates a Realm object for each object in a JSON array.
- createAllFromJson(Class<E>, String) - Method in class io.realm.Realm
-
Creates a Realm object for each object in a JSON array.
- createAllFromJson(Class<E>, JSONArray) - Method in class io.realm.Realm
-
Creates a Realm object for each object in a JSON array.
- createAsync(String, App.Callback<ApiKey>) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Asynchronously creates a user API key that can be used to authenticate as the user.
- createEmbeddedObject(long, RealmFieldType) - Method in enum io.realm.FrozenPendingRow
- createEmbeddedObject(Class<E>, RealmModel, String) - Method in class io.realm.Realm
-
Instantiates and adds a new embedded object to the Realm.
- createEmbeddedObject(String, DynamicRealmObject, String) - Method in class io.realm.DynamicRealm
-
Instantiates and adds a new embedded object to the Realm.
- createKeyPathMapping() - Method in class io.realm.RealmSchema
-
Create the underlying keypath mapping.
- createObject(Class<E>) - Method in class io.realm.Realm
-
Instantiates and adds a new object to the Realm.
- createObject(Class<E>, Object) - Method in class io.realm.Realm
-
Instantiates and adds a new object to the Realm with the primary key value already set.
- createObject(String) - Method in class io.realm.DynamicRealm
-
Instantiates and adds a new object to the Realm.
- createObject(String, Object) - Method in class io.realm.DynamicRealm
-
Creates an object with a given primary key.
- createObjectFromJson(Class<E>, InputStream) - Method in class io.realm.Realm
-
Creates a Realm object pre-filled with data from a JSON object.
- createObjectFromJson(Class<E>, String) - Method in class io.realm.Realm
-
Creates a Realm object pre-filled with data from a JSON object.
- createObjectFromJson(Class<E>, JSONObject) - Method in class io.realm.Realm
-
Creates a Realm object pre-filled with data from a JSON object.
- createOrUpdateAllFromJson(Class<E>, InputStream) - Method in class io.realm.Realm
-
Tries to update a list of existing objects identified by their primary key with new JSON data.
- createOrUpdateAllFromJson(Class<E>, String) - Method in class io.realm.Realm
-
Tries to update a list of existing objects identified by their primary key with new JSON data.
- createOrUpdateAllFromJson(Class<E>, JSONArray) - Method in class io.realm.Realm
-
Tries to update a list of existing objects identified by their primary key with new JSON data.
- createOrUpdateObjectFromJson(Class<E>, InputStream) - Method in class io.realm.Realm
-
Tries to update an existing object defined by its primary key with new JSON data.
- createOrUpdateObjectFromJson(Class<E>, String) - Method in class io.realm.Realm
-
Tries to update an existing object defined by its primary key with new JSON data.
- createOrUpdateObjectFromJson(Class<E>, JSONObject) - Method in class io.realm.Realm
-
Tries to update an existing object defined by its primary key with new JSON data.
- createSnapshot() - Method in interface io.realm.OrderedRealmCollection
-
Creates a snapshot from this
OrderedRealmCollection
. - createSnapshot() - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Creates a snapshot from this
OrderedRealmCollection
. - createSnapshot() - Method in class io.realm.RealmList
-
Creates a snapshot from this
OrderedRealmCollection
. - createWithPrimaryKeyField(String, String, Class<?>, FieldAttribute...) - Method in class io.realm.RealmSchema
-
Adds a new class to the Realm with a primary key field defined.
- Credentials - Class in io.realm.mongodb
-
Credentials represent a login with a given login provider, and are used by the MongoDB Realm to verify the user and grant access.
- Credentials.Provider - Enum in io.realm.mongodb
-
This enum contains the list of identity providers supported by MongoDB Realm.
- CURRENT_CHANGES - io.realm.mongodb.sync.ProgressMode
-
When registering the
ProgressListener
, it will record the current size of changes, and will only continue to report progress updates until those changes have been either downloaded or uploaded. - currentUser() - Method in class io.realm.mongodb.App
-
Returns the current user that is logged in and still valid.
- CUSTOM_FUNCTION - io.realm.mongodb.Credentials.Provider
- customFunction(Document) - Static method in class io.realm.mongodb.Credentials
-
Creates credentials representing a remote function from MongoDB Realm using a
Document
which will be parsed as an argument to the remote function, so the keys must match the format and names the function expects.
D
- DATE - io.realm.RealmAny.Type
- DATE - io.realm.RealmFieldType
- DATE_LIST - io.realm.RealmFieldType
- DATE_SET - io.realm.RealmFieldType
- debug(String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.DEBUG
event. - debug(Throwable) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.DEBUG
exception. - debug(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.DEBUG
event. - Debug() - Constructor for class io.realm.mongodb.sync.Sync.Debug
- DEBUG - Static variable in class io.realm.log.LogLevel
-
The DEBUG level designates fine-grained informational events that are mostly useful to debug an application.
- DECIMAL128 - io.realm.RealmAny.Type
- DECIMAL128 - io.realm.RealmFieldType
- DECIMAL128_LIST - io.realm.RealmFieldType
- DECIMAL128_SET - io.realm.RealmFieldType
- decrement(long) - Method in class io.realm.MutableRealmInteger
-
Decrements the
MutableRealmInteger
, subtracting the value of the argument. - DEFAULT_AUTHORIZATION_HEADER_NAME - Static variable in class io.realm.mongodb.AppConfiguration
-
The default header name used to carry authorization data when making network requests towards MongoDB Realm.
- DEFAULT_BASE_URL - Static variable in class io.realm.mongodb.AppConfiguration
-
The default url for MongoDB Realm applications.
- DEFAULT_BSON_CODEC_REGISTRY - Static variable in class io.realm.mongodb.AppConfiguration
-
Default BSON codec registry for encoding/decoding arguments and results to/from MongoDB Realm backend.
- DEFAULT_REALM_NAME - Static variable in class io.realm.Realm
- DEFAULT_REALM_NAME - Static variable in class io.realm.RealmConfiguration
- DEFAULT_REQUEST_TIMEOUT - Static variable in class io.realm.mongodb.AppConfiguration
-
The default request timeout for network requests towards MongoDB Realm in seconds.
- defaultClientResetHandler(SyncSession.ClientResetHandler) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Deprecated.
- DefaultCompactOnLaunchCallback - Class in io.realm
-
The default implementation for determining if a file should be compacted or not.
- DefaultCompactOnLaunchCallback() - Constructor for class io.realm.DefaultCompactOnLaunchCallback
- defaultConfig(User) - Static method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns a default Flexible Sync configuration for the given user.
- defaultConfig(User, Integer) - Static method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns a default Partition-based Sync configuration for the given user and partition value.
- defaultConfig(User, Long) - Static method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns a default Partition-based Sync configuration for the given user and partition value.
- defaultConfig(User, String) - Static method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns a default Partition-based Sync configuration for the given user and partition value.
- defaultConfig(User, UUID) - Static method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns a default Partition-based Sync configuration for the given user and partition value.
- defaultConfig(User, ObjectId) - Static method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns a default Partition-based Sync configuration for the given user and partition value.
- defaultSyncClientResetStrategy(DiscardUnsyncedChangesStrategy) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Sets the default sync client reset strategy used by Synced Realms when they report a Client Reset.
- defaultSyncClientResetStrategy(ManuallyRecoverUnsyncedChangesStrategy) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Sets the default sync client reset strategy used by Synced Realms when they report a Client Reset.
- defaultSyncErrorHandler(SyncSession.ErrorHandler) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Sets the default error handler used by Synced Realms when reporting errors with their session.
- delete(Class<? extends RealmModel>) - Method in class io.realm.Realm
-
Deletes all objects of the specified class from the Realm.
- delete(String) - Method in class io.realm.DynamicRealm
-
Deletes all objects of the specified class from the Realm.
- delete(ObjectId) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Deletes a specific API key created by the user.
- DELETE - io.realm.mongodb.mongo.events.BaseChangeEvent.OperationType
- deleteAllFromRealm() - Method in class io.realm.OrderedRealmCollectionSnapshot
-
This deletes all objects in the collection from the underlying Realm.
- deleteAllFromRealm() - Method in interface io.realm.RealmCollection
-
This deletes all objects in the collection from the underlying Realm as well as from the collection.
- deleteAllFromRealm() - Method in class io.realm.RealmList
-
This deletes all objects in the collection from the underlying Realm as well as from the collection.
- deleteAllFromRealm() - Method in class io.realm.RealmSet
-
This deletes all objects in the collection from the underlying Realm as well as from the collection.
- deleteAsync(ObjectId, App.Callback<Void>) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Deletes a specific API key created by the user.
- deleteFirstFromRealm() - Method in interface io.realm.OrderedRealmCollection
-
Deletes the first object from the Realm.
- deleteFirstFromRealm() - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Deletes the first object from the Realm.
- deleteFirstFromRealm() - Method in class io.realm.RealmList
-
Deletes the first object from the Realm.
- deleteFromRealm() - Method in class io.realm.RealmObject
-
Deletes the object from the Realm it is currently associated to.
- deleteFromRealm(int) - Method in interface io.realm.OrderedRealmCollection
-
Deletes the object at the given index from the Realm.
- deleteFromRealm(int) - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Deletes the object at the given index from the Realm.
- deleteFromRealm(int) - Method in class io.realm.RealmList
-
Deletes the object at the given index from the Realm.
- deleteFromRealm(E) - Static method in class io.realm.RealmObject
-
Deletes the object from the Realm it is currently associated with.
- deleteLastFromRealm() - Method in interface io.realm.OrderedRealmCollection
-
Deletes the last object from the Realm.
- deleteLastFromRealm() - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Deletes the last object from the Realm.
- deleteLastFromRealm() - Method in class io.realm.RealmList
-
Deletes the last object from the Realm.
- deleteMany(Bson) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Removes all documents from the collection that match the given query filter.
- deleteOne(Bson) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Removes at most one document from the collection that matches the given filter.
- deleteRealm(RealmConfiguration) - Static method in class io.realm.Realm
-
Deletes the Realm file along with the related temporary files specified by the given
RealmConfiguration
from the filesystem. - deleteRealmIfMigrationNeeded() - Method in class io.realm.RealmConfiguration.Builder
-
Setting this will change the behavior of how migration exceptions are handled.
- DeleteResult - Class in io.realm.mongodb.mongo.result
-
The result of a delete operation.
- DeleteResult(long) - Constructor for class io.realm.mongodb.mongo.result.DeleteResult
-
Constructs a result.
- DEPRECATED - Static variable in class io.realm.mongodb.ErrorCode.Type
- deregisterDevice() - Method in class io.realm.mongodb.push.Push
-
Deregisters the FCM registration token bound to the currently logged in user's device on MongoDB Realm.
- deregisterDeviceAsync(App.Callback<Void>) - Method in class io.realm.mongodb.push.Push
-
Deregisters the FCM registration token bound to the currently logged in user's device on MongoDB Realm.
- DESCENDING - io.realm.Sort
- DICTIONARY_TYPE - Static variable in class io.realm.CollectionUtils
- diff(BsonDocument, BsonDocument) - Static method in class io.realm.mongodb.mongo.events.UpdateDescription
-
Find the diff between two documents.
- directory(File) - Method in class io.realm.RealmConfiguration.Builder
-
Specifies the directory where the Realm file will be saved.
- disable(ObjectId) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Disables a specific API key created by the user.
- disableAsync(ObjectId, App.Callback<Void>) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Disables a specific API key created by the user.
- DISABLED_SESSION - io.realm.mongodb.ErrorCode
- DiscardUnsyncedChangesStrategy - Interface in io.realm.mongodb.sync
-
Strategy that automatically resolves a Client Reset by discarding any unsynced data, but otherwise keep the Realm open.
- DISCONNECTED - io.realm.mongodb.sync.ConnectionState
-
No connection to the server exists.
- distinct(String, String...) - Method in class io.realm.RealmQuery
-
Selects a distinct set of objects of a specific class.
- DIVERGING_HISTORIES - io.realm.mongodb.ErrorCode
- DOMAIN_NOT_ALLOWED - io.realm.mongodb.ErrorCode
- DOUBLE - io.realm.RealmAny.Type
- DOUBLE - io.realm.RealmFieldType
- DOUBLE_LIST - io.realm.RealmFieldType
- DOUBLE_SET - io.realm.RealmFieldType
- downloadAllServerChanges() - Method in class io.realm.mongodb.sync.SyncSession
-
Calling this method will block until all known remote changes have been downloaded and applied to the Realm.
- downloadAllServerChanges(long, TimeUnit) - Method in class io.realm.mongodb.sync.SyncSession
-
Calling this method will block until all known remote changes have been downloaded and applied to the Realm or the specified timeout is hit.
- DownloadingRealmInterruptedException - Exception in io.realm.exceptions
-
Exception class used when a Realm was interrupted while downloading the initial data set.
- DownloadingRealmInterruptedException(SyncConfiguration, String) - Constructor for exception io.realm.exceptions.DownloadingRealmInterruptedException
- DownloadingRealmInterruptedException(SyncConfiguration, Throwable) - Constructor for exception io.realm.exceptions.DownloadingRealmInterruptedException
- DYING - io.realm.mongodb.sync.SyncSession.State
-
The Realm was closed, but still contains data that needs to be synchronized to the server.
- DynamicRealm - Class in io.realm
-
DynamicRealm is a dynamic variant of
Realm
. - DynamicRealm.Callback - Class in io.realm
-
The Callback used when reporting back the result of loading a Realm asynchronously using either
Realm.getInstanceAsync(RealmConfiguration, Realm.Callback)
orDynamicRealm.getInstanceAsync(RealmConfiguration, DynamicRealm.Callback)
. - DynamicRealm.Transaction - Interface in io.realm
-
Encapsulates a Realm transaction.
- DynamicRealm.Transaction.Callback - Class in io.realm
-
Callback invoked to notify the caller thread.
- DynamicRealm.Transaction.OnError - Interface in io.realm
-
Callback invoked to notify the caller thread about error during the transaction.
- DynamicRealm.Transaction.OnSuccess - Interface in io.realm
-
Callback invoked to notify the caller thread about the success of the transaction.
- DynamicRealmObject - Class in io.realm
-
Class that wraps a normal RealmObject in order to allow dynamic access instead of a typed interface.
- DynamicRealmObject(RealmModel) - Constructor for class io.realm.DynamicRealmObject
-
Creates a dynamic Realm object based on an existing object.
E
- EMAIL_PASSWORD - io.realm.mongodb.Credentials.Provider
- emailPassword(String, String) - Static method in class io.realm.mongodb.Credentials
-
Creates credentials representing a login using email and password.
- EmailPasswordAuth - Class in io.realm.mongodb.auth
-
Class encapsulating functionality provided when
User
's are logged in through theCredentials.Provider.EMAIL_PASSWORD
provider. - embedded() - Method in annotation type io.realm.annotations.RealmClass
-
Define objects of this type as "Embedded".
- enable(ObjectId) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Enables a specific API key created by the user.
- enableAsync(ObjectId, App.Callback<Void>) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Enables a specific API key created by the user.
- ENCRYPTION_KEY_LENGTH - Static variable in class io.realm.Realm
-
The required length for encryption keys used to encrypt Realm data.
- encryptionKey(byte[]) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Sets the encryption key used to encrypt user meta data only.
- encryptionKey(byte[]) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the 64 bytes key used to encrypt and decrypt the Realm file.
- encryptionKey(byte[]) - Method in class io.realm.RealmConfiguration.Builder
-
Sets the 64 byte key used to encrypt and decrypt the Realm file.
- endGroup() - Method in class io.realm.RealmQuery
-
End grouping of conditions ("right parenthesis") which was opened by a call to
beginGroup()
. - endsWith(String, RealmAny) - Method in class io.realm.RealmQuery
-
Condition that the value of field ends with the specified string.
- endsWith(String, RealmAny, Case) - Method in class io.realm.RealmQuery
-
Condition that the value of field ends with the specified substring.
- endsWith(String, String) - Method in class io.realm.RealmQuery
-
Condition that the value of field ends with the specified string.
- endsWith(String, String, Case) - Method in class io.realm.RealmQuery
-
Condition that the value of field ends with the specified substring.
- entrySet() - Method in class io.realm.RealmMap
- equals(Object) - Method in class io.realm.DynamicRealmObject
- equals(Object) - Method in class io.realm.mongodb.App
-
Two Apps are considered equal and will share their underlying state if they both refer to the same
AppConfiguration.getAppId()
. - equals(Object) - Method in class io.realm.mongodb.AppConfiguration
- equals(Object) - Method in class io.realm.mongodb.auth.ApiKey
- equals(Object) - Method in class io.realm.mongodb.auth.ApiKeyAuth
- equals(Object) - Method in class io.realm.mongodb.log.obfuscator.HttpLogObfuscator
- equals(Object) - Method in class io.realm.mongodb.mongo.events.UpdateDescription
- equals(Object) - Method in class io.realm.mongodb.mongo.MongoNamespace
- equals(Object) - Method in class io.realm.mongodb.sync.Progress
- equals(Object) - Method in class io.realm.mongodb.sync.SyncConfiguration
- equals(Object) - Method in class io.realm.mongodb.User
-
Two Users are considered equal if they have the same user identity and are associated with the same app.
- equals(Object) - Method in class io.realm.mongodb.UserIdentity
- equals(Object) - Method in class io.realm.mongodb.UserProfile
- equals(Object) - Method in class io.realm.MutableRealmInteger
-
Two
MutableRealmInteger
s are.equals
if and only if theirlongValues
are equal. - equals(Object) - Method in class io.realm.RealmAny
-
Two
RealmAny
s are.equals
if and only if their contents are equal. - equals(Object) - Method in class io.realm.RealmConfiguration
- equals(Object) - Method in class io.realm.rx.CollectionChange
- equals(Object) - Method in class io.realm.rx.ObjectChange
- equals(Object) - Method in class io.realm.rx.RealmObservableFactory
- equalTo(String, byte[]) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, RealmAny) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, RealmAny, Case) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, Boolean) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, Byte) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, Double) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, Float) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, Integer) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, Long) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, Short) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, String) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, String, Case) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, Date) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, UUID) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, Decimal128) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- equalTo(String, ObjectId) - Method in class io.realm.RealmQuery
-
Equal-to comparison.
- error(String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs an
LogLevel.ERROR
event. - error(Throwable) - Static method in class io.realm.log.RealmLog
-
Logs an
LogLevel.ERROR
exception. - error(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs an
LogLevel.ERROR
event. - ERROR - io.realm.mongodb.sync.SubscriptionSet.State
-
An error occurred in the subscription set or one of the subscriptions.
- ERROR - io.realm.OrderedCollectionChangeSet.State
-
This state is used if some error occurred on the background evaluating the query.
- ERROR - Static variable in class io.realm.log.LogLevel
-
The ERROR level designates error events that might still allow the application to continue running.
- ErrorCode - Enum in io.realm.mongodb
-
This class enumerate all potential errors related to using the Object Server or synchronizing data.
- ErrorCode.Category - Enum in io.realm.mongodb
- ErrorCode.Type - Class in io.realm.mongodb
- errorHandler(SyncSession.ErrorHandler) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the error handler used by this configuration.
- EVENT_DESERIALIZING - io.realm.mongodb.ErrorCode
- execute(DynamicRealm) - Method in interface io.realm.DynamicRealm.Transaction
- execute(Realm) - Method in interface io.realm.Realm.Transaction
- executeClientReset() - Method in exception io.realm.mongodb.sync.ClientResetRequiredError
-
Calling this method will execute the Client Reset manually instead of waiting until next app restart.
- executeTransaction(DynamicRealm.Transaction) - Method in class io.realm.DynamicRealm
-
Executes a given transaction on the DynamicRealm.
- executeTransaction(Realm.Transaction) - Method in class io.realm.Realm
-
Executes a given transaction on the Realm.
- executeTransactionAsync(DynamicRealm.Transaction) - Method in class io.realm.DynamicRealm
-
Similar to
DynamicRealm.executeTransaction(Transaction)
but runs asynchronously on a worker thread. - executeTransactionAsync(DynamicRealm.Transaction, DynamicRealm.Transaction.OnError) - Method in class io.realm.DynamicRealm
-
Similar to
DynamicRealm.executeTransactionAsync(Transaction)
, but also accepts an OnError callback. - executeTransactionAsync(DynamicRealm.Transaction, DynamicRealm.Transaction.OnSuccess) - Method in class io.realm.DynamicRealm
-
Similar to
DynamicRealm.executeTransactionAsync(Transaction)
, but also accepts an OnSuccess callback. - executeTransactionAsync(DynamicRealm.Transaction, DynamicRealm.Transaction.OnSuccess, DynamicRealm.Transaction.OnError) - Method in class io.realm.DynamicRealm
-
Similar to
DynamicRealm.executeTransactionAsync(Transaction)
, but also accepts an OnSuccess and OnError callbacks. - executeTransactionAsync(Realm.Transaction) - Method in class io.realm.Realm
-
Similar to
Realm.executeTransaction(Transaction)
but runs asynchronously on a worker thread. - executeTransactionAsync(Realm.Transaction, Realm.Transaction.OnError) - Method in class io.realm.Realm
-
Similar to
Realm.executeTransactionAsync(Transaction)
, but also accepts an OnError callback. - executeTransactionAsync(Realm.Transaction, Realm.Transaction.OnSuccess) - Method in class io.realm.Realm
-
Similar to
Realm.executeTransactionAsync(Transaction)
, but also accepts an OnSuccess callback. - executeTransactionAsync(Realm.Transaction, Realm.Transaction.OnSuccess, Realm.Transaction.OnError) - Method in class io.realm.Realm
-
Similar to
Realm.executeTransactionAsync(Transaction)
, but also accepts an OnSuccess and OnError callbacks. - EXECUTION_TIME_LIMIT_EXCEEDED - io.realm.mongodb.ErrorCode
- EXISTS - io.realm.exceptions.RealmFileException.Kind
-
Thrown if the destination file exists but it is not supposed to.
- EXPECTATION_FAILED - io.realm.mongodb.ErrorCode
F
- facebook(String) - Static method in class io.realm.mongodb.Credentials
-
Creates credentials representing a login using a Facebook access token.
- FACEBOOK - io.realm.mongodb.Credentials.Provider
- FAILED_DEPENDENCY - io.realm.mongodb.ErrorCode
- fatal(String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs an
LogLevel.FATAL
event. - fatal(Throwable) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.FATAL
exception. - fatal(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.FATAL
event. - FATAL - io.realm.mongodb.ErrorCode.Category
- FATAL - Static variable in class io.realm.log.LogLevel
-
The FATAL level designates very severe error events that will presumably lead the application to abort.
- fetch(ObjectId) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Fetches a specific user API key associated with the user.
- fetchAll() - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Fetches all API keys associated with the user.
- fetchAll(App.Callback<List<ApiKey>>) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Fetches all API keys associated with the user.
- fetchAsync(ObjectId, App.Callback<ApiKey>) - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Fetches a specific user API key associated with the user.
- FieldAttribute - Enum in io.realm
-
This class contains all Realm attributes for a Realm field.
- fieldNamingPolicy() - Method in annotation type io.realm.annotations.RealmClass
-
The naming policy applied to all fields in this class.
- fieldNamingPolicy() - Method in annotation type io.realm.annotations.RealmModule
-
The naming policy applied to all field names in all classes part of this module.
- filter(Bson) - Method in class io.realm.mongodb.mongo.iterable.FindIterable
-
Sets the query filter to apply to the query.
- find() - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds all documents in the collection.
- find(FindOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds all documents in the collection using
FindOptions
to build the query. - find(RealmQuery) - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
Find the first subscription that contains the given query.
- find(Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds all documents in the collection specifying an output class.
- find(Class<ResultT>, FindOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds all documents in the collection specifying an output class and also using
FindOptions
to build the query. - find(String) - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
Find the subscription with a given name.
- find(Bson) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds all documents in the collection that match the given filter.
- find(Bson, FindOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds all documents in the collection that match the given filter using
FindOptions
to build the query. - find(Bson, Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds all documents in the collection that match the given filter specifying an output class.
- find(Bson, Class<ResultT>, FindOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds all documents in the collection that match the given filter specifying an output class and also using
FindOptions
to build the query. - findAll() - Method in class io.realm.RealmQuery
-
Finds all objects that fulfill the query conditions.
- findAllAsync() - Method in class io.realm.RealmQuery
-
Finds all objects that fulfill the query conditions.
- findFirst() - Method in class io.realm.RealmQuery
-
Finds the first object that fulfills the query conditions.
- findFirstAsync() - Method in class io.realm.RealmQuery
-
Similar to
RealmQuery.findFirst()
but runs asynchronously on a worker thread. - FindIterable<ResultT> - Class in io.realm.mongodb.mongo.iterable
-
Specific iterable for
MongoCollection.find()
operations. - FindIterable(ThreadPoolExecutor, OsMongoCollection<?>, CodecRegistry, Class<ResultT>) - Constructor for class io.realm.mongodb.mongo.iterable.FindIterable
- findOne() - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection.
- findOne(Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection.
- findOne(Bson) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection.
- findOne(Bson, FindOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection.
- findOne(Bson, FindOptions, Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection.
- findOne(Bson, Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection.
- findOneAndDelete(Bson) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and delete it.
- findOneAndDelete(Bson, FindOneAndModifyOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and delete it.
- findOneAndDelete(Bson, FindOneAndModifyOptions, Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and delete it.
- findOneAndDelete(Bson, Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and delete it.
- FindOneAndModifyOptions - Class in io.realm.mongodb.mongo.options
-
The options to apply to a findOneAndUpdate, findOneAndReplace, or findOneAndDelete operation (also commonly referred to as findOneAndModify operations).
- FindOneAndModifyOptions() - Constructor for class io.realm.mongodb.mongo.options.FindOneAndModifyOptions
- findOneAndReplace(Bson, Bson) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and replaces it with the given document.
- findOneAndReplace(Bson, Bson, FindOneAndModifyOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and replaces it with the given document.
- findOneAndReplace(Bson, Bson, FindOneAndModifyOptions, Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and replaces it with the given document.
- findOneAndReplace(Bson, Bson, Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and replaces it with the given document.
- findOneAndUpdate(Bson, Bson) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and performs the given update.
- findOneAndUpdate(Bson, Bson, FindOneAndModifyOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and performs the given update.
- findOneAndUpdate(Bson, Bson, FindOneAndModifyOptions, Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and performs the given update.
- findOneAndUpdate(Bson, Bson, Class<ResultT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Finds a document in the collection and performs the given update.
- FindOptions - Class in io.realm.mongodb.mongo.options
-
The options to apply to a find operation (also commonly referred to as a query).
- FindOptions() - Constructor for class io.realm.mongodb.mongo.options.FindOptions
-
Construct a new instance.
- first() - Method in class io.realm.mongodb.mongo.iterable.MongoIterable
-
Helper to return the first item in the iterator or null.
- first() - Method in interface io.realm.OrderedRealmCollection
-
Gets the first object from the collection.
- first() - Method in class io.realm.RealmList
-
Gets the first object from the collection.
- first(E) - Method in interface io.realm.OrderedRealmCollection
-
Gets the first object from the collection.
- first(E) - Method in class io.realm.RealmList
-
Gets the first object from the collection.
- FLOAT - io.realm.RealmAny.Type
- FLOAT - io.realm.RealmFieldType
- FLOAT_LIST - io.realm.RealmFieldType
- FLOAT_SET - io.realm.RealmFieldType
- flowFactory(FlowFactory) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the
FlowFactory
used to create coroutines Flows from Realm objects. - flowFactory(FlowFactory) - Method in class io.realm.RealmConfiguration.Builder
-
Sets the
FlowFactory
used to create coroutines Flows from Realm objects. - FlowFactory - Interface in io.realm.coroutines
-
Factory interface for creating Kotlin
Flow
s for Realm classes. - FORBIDDEN - io.realm.mongodb.ErrorCode
- FORMAT_UPGRADE_REQUIRED - io.realm.exceptions.RealmFileException.Kind
-
Thrown if the file needs to be upgraded to a new format, but upgrades have been explicitly disabled.
- forRecovery(String) - Static method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns a
RealmConfiguration
appropriate to open a read-only, non-synced Realm to recover any pending changes. - forRecovery(String, byte[], Object...) - Static method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns a
RealmConfiguration
appropriate to open a read-only, non-synced Realm to recover any pending changes. - FOUND - io.realm.mongodb.ErrorCode
- freeze() - Method in class io.realm.DynamicRealm
-
Returns a frozen snapshot of the current Realm.
- freeze() - Method in class io.realm.OrderedRealmCollectionSnapshot
- freeze() - Method in class io.realm.Realm
-
Returns a frozen snapshot of the current Realm.
- freeze() - Method in class io.realm.RealmList
- freeze() - Method in class io.realm.RealmMap
- freeze() - Method in class io.realm.RealmObject
-
Returns a frozen snapshot of this object.
- freeze() - Method in class io.realm.RealmResults
- freeze() - Method in class io.realm.RealmSet
- freeze(E) - Static method in class io.realm.RealmObject
-
Returns a frozen snapshot of this object.
- freeze(OsSharedRealm) - Method in enum io.realm.FrozenPendingRow
- from(DynamicRealm) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aDynamicRealm
. - from(DynamicRealm) - Method in class io.realm.coroutines.RealmFlowFactory
- from(DynamicRealm) - Method in class io.realm.rx.RealmObservableFactory
- from(DynamicRealm) - Method in interface io.realm.rx.RxObservableFactory
-
Creates a Flowable for a
DynamicRealm
. - from(DynamicRealm, DynamicRealmObject) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aDynamicRealmObject
. - from(DynamicRealm, DynamicRealmObject) - Method in class io.realm.coroutines.RealmFlowFactory
- from(DynamicRealm, DynamicRealmObject) - Method in class io.realm.rx.RealmObservableFactory
- from(DynamicRealm, DynamicRealmObject) - Method in interface io.realm.rx.RxObservableFactory
-
Creates a Flowable for a
DynamicRealmObject
. - from(DynamicRealm, RealmList<E>) - Method in class io.realm.rx.RealmObservableFactory
- from(DynamicRealm, RealmList<E>) - Method in interface io.realm.rx.RxObservableFactory
-
Creates a Flowable for a
RealmList
. - from(DynamicRealm, RealmList<T>) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealmList
. - from(DynamicRealm, RealmList<T>) - Method in class io.realm.coroutines.RealmFlowFactory
- from(DynamicRealm, RealmQuery<E>) - Method in class io.realm.rx.RealmObservableFactory
- from(DynamicRealm, RealmQuery<E>) - Method in interface io.realm.rx.RxObservableFactory
-
Creates a Single from a
RealmQuery
. - from(DynamicRealm, RealmResults<E>) - Method in class io.realm.rx.RealmObservableFactory
- from(DynamicRealm, RealmResults<E>) - Method in interface io.realm.rx.RxObservableFactory
-
Creates a Flowable for a
RealmResults
. - from(DynamicRealm, RealmResults<T>) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealmResults
. - from(DynamicRealm, RealmResults<T>) - Method in class io.realm.coroutines.RealmFlowFactory
- from(Realm) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealm
. - from(Realm) - Method in class io.realm.coroutines.RealmFlowFactory
- from(Realm) - Method in class io.realm.rx.RealmObservableFactory
- from(Realm) - Method in interface io.realm.rx.RxObservableFactory
-
Creates a Flowable for a
Realm
. - from(Realm, E) - Method in class io.realm.rx.RealmObservableFactory
- from(Realm, E) - Method in interface io.realm.rx.RxObservableFactory
-
Creates a Flowable for a
RealmObject
. - from(Realm, RealmList<E>) - Method in class io.realm.rx.RealmObservableFactory
- from(Realm, RealmList<E>) - Method in interface io.realm.rx.RxObservableFactory
-
Creates an Observable for a
RealmList
. - from(Realm, RealmList<T>) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealmList
. - from(Realm, RealmList<T>) - Method in class io.realm.coroutines.RealmFlowFactory
- from(Realm, RealmQuery<E>) - Method in class io.realm.rx.RealmObservableFactory
- from(Realm, RealmQuery<E>) - Method in interface io.realm.rx.RxObservableFactory
-
Creates a Single from a
RealmQuery
. - from(Realm, RealmResults<E>) - Method in class io.realm.rx.RealmObservableFactory
- from(Realm, RealmResults<E>) - Method in interface io.realm.rx.RxObservableFactory
-
Creates a Flowable for a
RealmResults
. - from(Realm, RealmResults<T>) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealmResults
. - from(Realm, RealmResults<T>) - Method in class io.realm.coroutines.RealmFlowFactory
- from(Realm, T) - Method in interface io.realm.coroutines.FlowFactory
-
Creates a
Flow
for aRealmObject
. - from(Realm, T) - Method in class io.realm.coroutines.RealmFlowFactory
- fromBsonDocument(BsonDocument) - Static method in class io.realm.mongodb.mongo.events.UpdateDescription
-
Converts an update description BSON document from a MongoDB Change Event into an UpdateDescription object.
- fromId(String) - Static method in enum io.realm.mongodb.Credentials.Provider
-
Create the identity provider from the ID string returned by MongoDB Realm.
- fromNativeError(String, int) - Static method in enum io.realm.mongodb.ErrorCode
-
Converts a native error to the appropriate Java equivalent
- fromNativeValue(int) - Static method in enum io.realm.RealmAny.Type
- fromNativeValue(int) - Static method in enum io.realm.RealmFieldType
-
Converts the underlying value used by the storage engine to the proper Realm type.
- fromNativeValue(long) - Static method in enum io.realm.mongodb.sync.SubscriptionSet.State
- FrozenPendingRow - Enum in io.realm
-
A PendingRow that has been frozen.
- FUNCTION_ALREADY_EXISTS - io.realm.mongodb.ErrorCode
- FUNCTION_DUPLICATE_NAME - io.realm.mongodb.ErrorCode
- FUNCTION_EXECUTION_ERROR - io.realm.mongodb.ErrorCode
- FUNCTION_INVALID - io.realm.mongodb.ErrorCode
- FUNCTION_NOT_FOUND - io.realm.mongodb.ErrorCode
- FUNCTION_SYNTAX_ERROR - io.realm.mongodb.ErrorCode
- Functions - Class in io.realm.mongodb.functions
-
A Functions manager to call remote Realm functions for the associated Realm App.
G
- GATEWAY_TIMEOUT - io.realm.mongodb.ErrorCode
- GCM_ERROR - io.realm.mongodb.ErrorCode
- get() - Method in class io.realm.mongodb.App.Result
-
Returns the response in case the request was a success.
- get() - Method in interface io.realm.mongodb.RealmResultTask
-
Blocks the thread on which the call is made until the result of the operation arrives.
- get() - Method in class io.realm.MutableRealmInteger
-
Gets the
MutableRealmInteger
value. - get(int) - Method in class io.realm.RealmList
-
Returns the element at the specified location in this list.
- get(App.Callback<BaseChangeEvent<T>>) - Method in interface io.realm.mongodb.RealmEventStreamAsyncTask
-
Provides a way to subscribe to asynchronous operations via a callback, which handles both results and errors.
- get(Object) - Method in class io.realm.RealmMap
- get(String) - Method in class io.realm.DynamicRealmObject
-
Returns the value for the given field.
- get(String) - Method in class io.realm.RealmSchema
-
Returns the
RealmObjectSchema
for a given class. - getAcceptDefaultValue$realm() - Method in class io.realm.ProxyState
- getAccessToken() - Method in class io.realm.mongodb.User
-
Returns the current access token for the user.
- getAll() - Method in class io.realm.RealmSchema
-
Returns the
RealmObjectSchema
s for all RealmObject classes that can be saved in this Realm. - getAllSessions() - Method in class io.realm.mongodb.sync.Sync
-
Gets a collection of all the cached
SyncSession
. - getApiKeys() - Method in class io.realm.mongodb.User
-
Returns a wrapper for managing API keys controlled by the current user.
- getApp() - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Returns the
App
that this instance in associated with. - getApp() - Method in class io.realm.mongodb.functions.Functions
-
Returns the
App
that this instance in associated with. - getApp() - Method in class io.realm.mongodb.User
-
Returns the
App
this user is associated with. - getAppId() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the unique app id that identities the Realm application.
- getApplicationContext() - Static method in class io.realm.Realm
-
Get the application context used when initializing Realm with
Realm.init(Context)
orRealm.init(Context, String)
. - getAppName() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the name used to describe the Realm application.
- getAppVersion() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the version of this Realm application.
- getAssetFilePath() - Method in class io.realm.RealmConfiguration
-
Returns the path to the Realm asset file.
- getAsync(App.Callback<T>) - Method in interface io.realm.mongodb.RealmResultTask
-
Provides a way to subscribe to asynchronous operations via a callback, which handles both results and errors.
- getAuthorizationHeaderName() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the name of the header used to carry authentication data when making network requests towards MongoDB Realm.
- getBackupFile() - Method in exception io.realm.mongodb.sync.ClientResetRequiredError
-
Returns the location of the backed up Realm file.
- getBackupRealmConfiguration() - Method in exception io.realm.mongodb.sync.ClientResetRequiredError
-
The configuration that can be used to open the backup Realm offline.
- getBaseUrl() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the base url for this Realm application.
- getBinaryByteArray(long) - Method in enum io.realm.FrozenPendingRow
- getBirthday() - Method in class io.realm.mongodb.UserProfile
-
Returns the birthday of the user.
- getBlob(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
byte[]
value for a given field. - getBoolean(long) - Method in enum io.realm.FrozenPendingRow
- getBoolean(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
boolean
value for a given field. - getByte(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
byte
value for a given field. - getCategory() - Method in exception io.realm.mongodb.AppException
-
Returns the
ErrorCode.Category
category for this error. - getCategory() - Method in enum io.realm.mongodb.ErrorCode
-
Returns the getCategory of the error.
- getChangedFields() - Method in interface io.realm.ObjectChangeSet
- getChangeRanges() - Method in interface io.realm.OrderedCollectionChangeSet
-
The modified ranges of objects in the new version of the collection.
- getChanges() - Method in interface io.realm.MapChangeSet
-
Array containing the keys that have been modified in the previous version of the map.
- getChanges() - Method in interface io.realm.OrderedCollectionChangeSet
-
The modified indices in the new version of the collection.
- getChangeset() - Method in class io.realm.rx.CollectionChange
-
Returns the changeset describing the update.
- getChangeset() - Method in class io.realm.rx.ObjectChange
-
Returns the changeset describing the update.
- getClassName() - Method in class io.realm.RealmObjectSchema
-
Returns the name of the RealmObject class being represented by this schema.
- getClientResetHandler() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Deprecated.replaced by
SyncConfiguration.getSyncClientResetStrategy()
- getCodecRegistry() - Method in class io.realm.mongodb.mongo.MongoCollection
-
Gets the codec registry for the MongoCollection.
- getCollection() - Method in class io.realm.rx.CollectionChange
-
Returns the collection that was updated.
- getCollection(String) - Method in class io.realm.mongodb.mongo.MongoDatabase
-
Gets a collection.
- getCollection(String, Class<DocumentT>) - Method in class io.realm.mongodb.mongo.MongoDatabase
-
Gets a collection, with a specific default document class.
- getCollectionName() - Method in class io.realm.mongodb.mongo.MongoNamespace
-
Gets the collection name.
- getColumnCount() - Method in enum io.realm.FrozenPendingRow
- getColumnKey(String) - Method in enum io.realm.FrozenPendingRow
- getColumnNames() - Method in enum io.realm.FrozenPendingRow
- getColumnType(long) - Method in enum io.realm.FrozenPendingRow
- getCompactOnLaunchCallback() - Method in class io.realm.RealmConfiguration
-
Returns a callback to determine if the Realm file should be compacted before being returned to the user.
- getConfiguration() - Method in class io.realm.mongodb.App
-
Returns the configuration object for this app.
- getConfiguration() - Method in class io.realm.mongodb.sync.SyncSession
-
Returns the
SyncConfiguration
that is responsible for controlling the session. - getConnectionState() - Method in class io.realm.mongodb.sync.SyncSession
-
Get the current state of the connection used by the session as defined in
ConnectionState
. - getCreatedAt() - Method in interface io.realm.mongodb.sync.Subscription
-
Returns the timestamp for when this subscription was persisted.
- getCustomData() - Method in class io.realm.mongodb.User
-
Return the custom user data associated with the user in the Realm App.
- getCustomRequestHeaders() - Method in class io.realm.mongodb.AppConfiguration
-
Returns any custom configured headers that will be sent alongside other headers when making network requests towards MongoDB Realm.
- getDatabase(String) - Method in class io.realm.mongodb.mongo.MongoClient
-
Gets a
MongoDatabase
instance for the given database name. - getDatabaseName() - Method in class io.realm.mongodb.mongo.MongoNamespace
-
Gets the database name.
- getDate(long) - Method in enum io.realm.FrozenPendingRow
- getDate(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
Date
value for a given field. - getDecimal128(long) - Method in enum io.realm.FrozenPendingRow
- getDecimal128(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
Decimal128
value for a given field. - getDefaultClientResetHandler() - Method in class io.realm.mongodb.AppConfiguration
-
Deprecated.
- getDefaultCodecRegistry() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the default codec registry used to encode and decode BSON arguments and results when calling remote Realm
Functions
and accessing a remoteMongoDatabase
. - getDefaultCodecRegistry() - Method in class io.realm.mongodb.functions.Functions
-
Returns the default codec registry used for encoding arguments and decoding results for this Realm functions instance.
- getDefaultConfiguration() - Static method in class io.realm.Realm
-
Returns the default configuration for
Realm.getDefaultInstance()
. - getDefaultErrorHandler() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the default error handler used by synced Realms if there are problems with their
SyncSession
. - getDefaultInstance() - Static method in class io.realm.Realm
-
Realm static constructor that returns the Realm instance defined by the
RealmConfiguration
set byRealm.setDefaultConfiguration(RealmConfiguration)
- getDefaultModule() - Static method in class io.realm.Realm
-
Returns the default Realm module.
- getDefaultSyncClientResetStrategy() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the default sync client reset strategy used by synced Realms if there are problems with their
SyncSession
. - getDeletedCount() - Method in class io.realm.mongodb.mongo.result.DeleteResult
-
Gets the number of documents deleted.
- getDeletionRanges() - Method in interface io.realm.OrderedCollectionChangeSet
-
The deleted ranges of objects in the previous version of the collection.
- getDeletions() - Method in interface io.realm.MapChangeSet
-
The number of entries that have been deleted in the previous version of the map.
- getDeletions() - Method in interface io.realm.OrderedCollectionChangeSet
-
The deleted indices in the previous version of the collection.
- getDescription() - Method in class io.realm.RealmQuery
-
Returns a textual description of this query.
- getDeviceId() - Method in class io.realm.mongodb.User
-
Returns a unique identifier for the device the user logged in to.
- getDictionary(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
RealmDictionary
ofDynamicRealmObject
s being linked from the given field. - getDictionary(String, Class<E>) - Method in class io.realm.DynamicRealmObject
-
Returns the
RealmDictionary
containing only primitive values. - getDocumentClass() - Method in class io.realm.mongodb.mongo.MongoCollection
-
Gets the class of documents stored in this collection.
- getDocumentKey() - Method in class io.realm.mongodb.mongo.events.BaseChangeEvent
-
The unique identifier for the document that was actually changed.
- getDouble(long) - Method in enum io.realm.FrozenPendingRow
- getDouble(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
double
value for a given field. - getDurability() - Method in class io.realm.RealmConfiguration
- getDynamicRealm() - Method in class io.realm.DynamicRealmObject
-
Returns
DynamicRealm
instance where thisDynamicRealmObject
belongs. - getEmail() - Method in class io.realm.mongodb.UserProfile
-
Returns the email address of the user.
- getEmailPassword() - Method in class io.realm.mongodb.App
-
Returns a wrapper for interacting with functionality related to users either being created or logged in using the
Credentials.Provider.EMAIL_PASSWORD
identity provider. - getEncryptionKey() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the encryption key, if any, that is used to encrypt Realm users meta data on this device.
- getEncryptionKey() - Method in class io.realm.RealmConfiguration
- getError() - Method in class io.realm.mongodb.App.Result
-
Returns the error in case of a failed request.
- getError() - Method in interface io.realm.OrderedCollectionChangeSet
-
Returns any error that happened.
- getErrorCode() - Method in exception io.realm.mongodb.AppException
-
Returns the
ErrorCode
identifying the type of error. - getErrorHandler() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns the error handler for this SyncConfiguration.
- getErrorIntValue() - Method in exception io.realm.mongodb.AppException
-
Returns an integer representing this specific type of error.
- getErrorMessage() - Method in exception io.realm.mongodb.AppException
-
Returns a more detailed error message about the cause of this error.
- getErrorMessage() - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
If
SubscriptionSet.getState()
returnsSubscriptionSet.State.ERROR
, this method will return the reason. - getErrorType() - Method in exception io.realm.mongodb.AppException
-
Returns a string describing the type of error it is.
- getException() - Method in exception io.realm.mongodb.AppException
-
Returns the underlying exception causing this error, if any.
- getExcludeFields$realm() - Method in class io.realm.ProxyState
- getFieldNames() - Method in class io.realm.DynamicRealmObject
-
Returns the list of field names on this object.
- getFieldNames() - Method in class io.realm.RealmObjectSchema
-
Returns all fields in this class.
- getFieldType(String) - Method in class io.realm.DynamicRealmObject
-
Returns the type used by the underlying storage engine to represent this field.
- getFieldType(String) - Method in class io.realm.RealmObjectSchema
-
Returns the type used by the underlying storage engine to represent this field.
- getFirstName() - Method in class io.realm.mongodb.UserProfile
-
Return the first name of the user.
- getFloat(long) - Method in enum io.realm.FrozenPendingRow
- getFloat(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
float
value for a given field. - getFlowFactory() - Method in class io.realm.RealmConfiguration
-
Returns the
FlowFactory
that is used to create Kotlin Flows from Realm objects. - getFractionTransferred() - Method in class io.realm.mongodb.sync.Progress
-
The fraction of bytes transferred out of all transferable bytes.
- getFullDocument() - Method in class io.realm.mongodb.mongo.events.BaseChangeEvent
-
The full document at some point after the change has been applied.
- getFullName() - Method in class io.realm.mongodb.mongo.MongoNamespace
-
Gets the full name, which is the database name and the collection name, separated by a period.
- getFunctions() - Method in class io.realm.mongodb.User
-
Returns a functions manager for invoking MongoDB Realm Functions.
- getFunctions(User) - Method in class io.realm.mongodb.App
-
Returns a Functions manager for invoking the Realm App's Realm Functions.
- getFunctions(User, CodecRegistry) - Method in class io.realm.mongodb.App
-
Returns a Functions manager for invoking the Realm App's Realm Functions with a custom codec registry for encoding and decoding arguments and results.
- getFunctions(CodecRegistry) - Method in class io.realm.mongodb.User
-
Returns a functions manager for invoking Realm Functions with custom codec registry for encoding and decoding arguments and results.
- getGender() - Method in class io.realm.mongodb.UserProfile
-
Returns the gender of the user.
- getGlobalInstanceCount(RealmConfiguration) - Static method in class io.realm.Realm
-
Returns the current number of open Realm instances across all threads in current process that are using this configuration.
- getHttpLogObfuscator() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the
HttpLogObfuscator
used in the app, which keeps sensitive information in HTTP requests from being displayed in the logcat. - getId() - Method in class io.realm.mongodb.auth.ApiKey
-
Returns the unique identifier for this key.
- getId() - Method in enum io.realm.mongodb.Credentials.Provider
-
Return the string presentation of this identity provider.
- getId() - Method in class io.realm.mongodb.User
-
Returns the server id of the user.
- getId() - Method in class io.realm.mongodb.UserIdentity
-
Returns a unique identifier for this identity.
- getIdentities() - Method in class io.realm.mongodb.User
-
Returns a new list of the user's identities.
- getIdentityProvider() - Method in class io.realm.mongodb.Credentials
-
Returns the identity provider used to authenticate with.
- getInitialRemoteDataTimeout(TimeUnit) - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns the timeout defined when downloading any initial data the first time the Realm is opened.
- getInitialSubscriptionsHandler() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns the configured initial subscription handler for this realm.
- getInsertedId() - Method in class io.realm.mongodb.mongo.result.InsertOneResult
-
Returns the _id of the inserted document.
- getInsertedIds() - Method in class io.realm.mongodb.mongo.options.InsertManyResult
-
Returns the _ids of the inserted documents arranged by the index of the document from the operation and its corresponding id.
- getInsertionRanges() - Method in interface io.realm.OrderedCollectionChangeSet
-
The inserted ranges of objects in the new version of the collection.
- getInsertions() - Method in interface io.realm.MapChangeSet
-
Array containing the keys that have been inserted in the previous version of the map.
- getInsertions() - Method in interface io.realm.OrderedCollectionChangeSet
-
The inserted indices in the new version of the collection.
- getInstance(RealmConfiguration) - Static method in class io.realm.DynamicRealm
-
Realm static constructor that returns a dynamic variant of the Realm instance defined by provided
RealmConfiguration
. - getInstance(RealmConfiguration) - Static method in class io.realm.Realm
-
Realm static constructor that returns the Realm instance defined by provided
RealmConfiguration
- getInstanceAsync(RealmConfiguration, DynamicRealm.Callback) - Static method in class io.realm.DynamicRealm
-
The creation of the first Realm instance per
RealmConfiguration
in a process can take some time as all initialization code need to run at that point (Setting up the Realm, validating schemas and creating initial data). - getInstanceAsync(RealmConfiguration, Realm.Callback) - Static method in class io.realm.Realm
-
The creation of the first Realm instance per
RealmConfiguration
in a process can take some time as all initialization code need to run at that point (setting up the Realm, validating schemas and creating initial data). - getInt(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
int
value for a given field. - getKind() - Method in exception io.realm.exceptions.RealmFileException
-
Gets the
RealmFileException.kind
of this exception. - getLastName() - Method in class io.realm.mongodb.UserProfile
-
Return the last name of the user.
- getLevel() - Static method in class io.realm.log.RealmLog
-
Get the current
LogLevel
. - getLimit() - Method in class io.realm.mongodb.mongo.options.CountOptions
-
Gets the limit to apply.
- getLimit() - Method in class io.realm.mongodb.mongo.options.FindOptions
-
Gets the limit to apply.
- getLink(long) - Method in enum io.realm.FrozenPendingRow
- getList(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
RealmList
ofDynamicRealmObject
s being linked from the given field. - getList(String, Class<E>) - Method in class io.realm.DynamicRealmObject
-
Returns the
RealmList
containing only primitive values. - getLocalInstanceCount(RealmConfiguration) - Static method in class io.realm.Realm
-
Returns the current number of open Realm instances on the thread calling this method.
- getLong(long) - Method in enum io.realm.FrozenPendingRow
- getLong(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
long
value for a given field. - getMatchedCount() - Method in class io.realm.mongodb.mongo.result.UpdateResult
-
Returns the number of documents matched by the query.
- getMaxAge() - Method in class io.realm.mongodb.UserProfile
-
Returns the maximum age of the user.
- getMaxNumberOfActiveVersions() - Method in class io.realm.RealmConfiguration
- getMigration() - Method in class io.realm.RealmConfiguration
- getMinAge() - Method in class io.realm.mongodb.UserProfile
-
Returns the minimum age of the user.
- getModelList(long) - Method in enum io.realm.FrozenPendingRow
- getModelMap(long) - Method in enum io.realm.FrozenPendingRow
- getModelSet(long) - Method in enum io.realm.FrozenPendingRow
- getModifiedCount() - Method in class io.realm.mongodb.mongo.result.UpdateResult
-
Returns the number of documents modified.
- getMongoClient(String) - Method in class io.realm.mongodb.User
-
Returns a
MongoClient
instance for accessing documents in the database. - getName() - Method in class io.realm.mongodb.auth.ApiKey
-
Returns the name of this key.
- getName() - Method in class io.realm.mongodb.mongo.MongoCollection
-
Gets the name of this collection
- getName() - Method in class io.realm.mongodb.mongo.MongoDatabase
-
Gets the name of the database.
- getName() - Method in interface io.realm.mongodb.sync.Subscription
-
Returns the name of subscription or
null
if no name was defined. - getName() - Method in class io.realm.mongodb.UserProfile
-
Returns the name of the user.
- getNamespace() - Method in class io.realm.mongodb.mongo.MongoCollection
-
Gets the namespace of this collection, i.e.
- getNativeRealmAny(long) - Method in enum io.realm.FrozenPendingRow
- getNativeValue() - Method in enum io.realm.RealmFieldType
-
Returns the native value representing this type.
- getNext() - Method in interface io.realm.mongodb.RealmEventStreamTask
-
Blocks the thread on which the call is made until the result of the operation arrives.
- getNumberOfDeletions() - Method in class io.realm.SetChangeSet
-
The number of entries that have been deleted
- getNumberOfInsertions() - Method in class io.realm.SetChangeSet
-
The number of entries that have been inserted.
- getObject() - Method in class io.realm.rx.ObjectChange
- getObject(String) - Method in class io.realm.DynamicRealmObject
-
Returns the object being linked to from this field.
- getObjectId(long) - Method in enum io.realm.FrozenPendingRow
- getObjectId(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
ObjectId
value for a given field. - getObjectKey() - Method in enum io.realm.FrozenPendingRow
- getObjectType() - Method in interface io.realm.mongodb.sync.Subscription
-
Returns the type that is being queried.
- getOperationType() - Method in class io.realm.mongodb.mongo.events.BaseChangeEvent
-
Returns the operation type of the change that triggered the change event.
- getOrCreateSession(SyncConfiguration) - Method in class io.realm.mongodb.sync.Sync
-
Gets any cached
SyncSession
for the givenSyncConfiguration
or create a new one if no one exists. - getOrDefault(T) - Method in class io.realm.mongodb.App.Result
-
Returns the response if the request was a success.
- getOriginalFile() - Method in exception io.realm.mongodb.sync.ClientResetRequiredError
-
Returns the location of the original Realm file.
- getOrThrow() - Method in class io.realm.mongodb.App.Result
-
If the request was successful the response is returned, otherwise the provided error is thrown.
- getPartitionValue() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns the value this Realm is partitioned on.
- getPath() - Method in exception io.realm.exceptions.RealmMigrationNeededException
-
Returns the canonical path to the Realm file that needs to be migrated.
- getPath() - Method in class io.realm.RealmConfiguration
-
Returns the absolute path to where the Realm file will be saved.
- getPictureUrl() - Method in class io.realm.mongodb.UserProfile
-
Returns the picture URL of the user.
- getPrimaryKey() - Method in class io.realm.RealmObjectSchema
-
Returns the name of the primary key field.
- getProfile() - Method in class io.realm.mongodb.User
-
Returns the profile for this user.
- getProjection() - Method in class io.realm.mongodb.mongo.options.FindOneAndModifyOptions
-
Gets a document describing the fields to return for all matching documents.
- getProjection() - Method in class io.realm.mongodb.mongo.options.FindOptions
-
Gets a document describing the fields to return for all matching documents.
- getProvider() - Method in class io.realm.mongodb.UserIdentity
-
Returns the provider defining this identity.
- getProviderType() - Method in class io.realm.mongodb.User
-
Returns the provider type used to log the user
- getPush(String) - Method in class io.realm.mongodb.User
-
Returns the
Push
instance for managing push notification registrations. - getQuery() - Method in interface io.realm.mongodb.sync.Subscription
-
Returns the subscription query that is running on objects of type
Subscription.getObjectType()
. - getQueryPointer() - Method in class io.realm.RealmQuery
-
Returns the pointer to the underlying C++ query.
- getRealm() - Method in class io.realm.RealmList
-
Returns the
Realm
instance to which this collection belongs. - getRealm() - Method in class io.realm.RealmObject
-
Returns
Realm
instance where thisRealmObject
belongs. - getRealm() - Method in class io.realm.RealmQuery
-
Returns the
Realm
instance to which this query belongs. - getRealm(RealmModel) - Static method in class io.realm.RealmObject
-
returns
Realm
instance where themodel
belongs. - getRealm$realm() - Method in class io.realm.ProxyState
- getRealmAny(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
RealmAny
value for a given field. - getRealmAnyMap(long) - Method in enum io.realm.FrozenPendingRow
- getRealmAnySet(long) - Method in enum io.realm.FrozenPendingRow
- getRealmDirectory() - Method in class io.realm.RealmConfiguration
- getRealmFileName() - Method in class io.realm.RealmConfiguration
- getRealmObjectClasses() - Method in class io.realm.RealmConfiguration
-
Returns the unmodifiable
Set
of model classes that make up the schema for this Realm. - getRealmSet(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
RealmSet
ofDynamicRealmObject
s being linked from the given field. - getRealmSet(String, Class<E>) - Method in class io.realm.DynamicRealmObject
-
Returns the
RealmSet
containing only primitive values. - getRefreshToken() - Method in class io.realm.mongodb.User
-
Returns the current refresh token for the user.
- getRemovedFields() - Method in class io.realm.mongodb.mongo.events.UpdateDescription
-
Returns a
List
containing the field names that have been removed in the corresponding update. - getRequestTimeoutMs() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the default timeout for network requests against the Realm application in milliseconds.
- getRow$realm() - Method in class io.realm.ProxyState
- getRxFactory() - Method in class io.realm.RealmConfiguration
-
Returns the
RxObservableFactory
that is used to create Rx Observables from Realm objects. - getSchema() - Method in class io.realm.DynamicRealm
-
Returns the mutable schema for this Realm.
- getSchema() - Method in class io.realm.Realm
-
Returns the schema for this Realm.
- getSchemaVersion() - Method in class io.realm.RealmConfiguration
- getServerUrl() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns the server URI for the remote MongoDB Realm the local Realm is synchronizing with.
- getServerUrl() - Method in class io.realm.mongodb.sync.SyncSession
-
Returns the
URI
describing the remote Realm which this session connects to and synchronizes changes with. - getServiceName() - Method in class io.realm.mongodb.mongo.MongoClient
-
Returns the service name for this client.
- getSession(SyncConfiguration) - Method in class io.realm.mongodb.sync.Sync
-
Gets a cached
SyncSession
for the givenSyncConfiguration
or throw if no one exists yet. - getSessionStopPolicy() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
NOTE: Only for internal usage.
- getShort(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
short
value for a given field. - getSort() - Method in class io.realm.mongodb.mongo.options.FindOneAndModifyOptions
-
Gets the sort criteria to apply to the query.
- getSort() - Method in class io.realm.mongodb.mongo.options.FindOptions
-
Gets the sort criteria to apply to the query.
- getState() - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
Returns the current state of the SubscriptionSet.
- getState() - Method in class io.realm.mongodb.sync.SyncSession
-
Get the current session's state, as defined in
SyncSession.State
. - getState() - Method in class io.realm.mongodb.User
-
Returns the
User.State
the user is in. - getState() - Method in interface io.realm.OrderedCollectionChangeSet
-
Returns the state represented by this change.
- getString(long) - Method in enum io.realm.FrozenPendingRow
- getString(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
String
value for a given field. - getSync() - Method in class io.realm.mongodb.App
-
Returns the Sync instance managing the ongoing Realm Sync sessions synchronizing data between the local and the remote Realm App associated with this app.
- getSyncClientResetStrategy() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns the sync client reset strategy for this SyncConfiguration.
- getSyncRootDirectory() - Method in class io.realm.mongodb.AppConfiguration
-
Returns the root folder containing all files and Realms used when synchronizing data between the device and MongoDB Realm.
- getTable() - Method in enum io.realm.FrozenPendingRow
- getTransferableBytes() - Method in class io.realm.mongodb.sync.Progress
-
Returns the total number of transferable bytes (bytes that have been transferred + bytes pending transfer).
- getTransferredBytes() - Method in class io.realm.mongodb.sync.Progress
-
Returns the total number of bytes that has been transferred since the
ProgressListener
was added. - getType() - Method in class io.realm.DynamicRealmObject
-
Returns the type of object.
- getType() - Method in enum io.realm.mongodb.ErrorCode
-
Returns the type of error.
- getType() - Method in class io.realm.RealmAny
-
Gets the inner type of this RealmAny object.
- getTypedClass() - Method in enum io.realm.RealmAny.Type
- getTypeQueried() - Method in class io.realm.RealmQuery
-
Returns the internal Realm name of the type being queried.
- getUpdatedAt() - Method in interface io.realm.mongodb.sync.Subscription
-
Returns the timestamp for when a persisted subscription was updated.
- getUpdateDescription() - Method in class io.realm.mongodb.mongo.events.BaseChangeEvent
-
In the case of an update, the description of which fields have been added, removed or updated.
- getUpdatedFields() - Method in class io.realm.mongodb.mongo.events.UpdateDescription
-
Returns a
BsonDocument
containing keys and values representing (respectively) the fields that have changed in the corresponding update and their new values. - getUpsertedId() - Method in class io.realm.mongodb.mongo.result.UpdateResult
-
If the replace resulted in an inserted document, gets the _id of the inserted document, otherwise null.
- getUrlPrefix() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns the url prefix used when establishing a sync connection to the Realm Object Server.
- getUser() - Method in class io.realm.mongodb.auth.ApiKeyAuth
-
Returns the
User
that this instance in associated with. - getUser() - Method in class io.realm.mongodb.functions.Functions
-
Returns the
User
that this instance in associated with. - getUser() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns the user.
- getUser() - Method in class io.realm.mongodb.sync.SyncSession
-
Returns the
User
defined by theSyncConfiguration
that is used to connect to MongoDB Realm. - getUser() - Method in class io.realm.mongodb.UserProfile
-
Returns the
User
that this instance in associated with. - getUUID(long) - Method in enum io.realm.FrozenPendingRow
- getUUID(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
UUID
value for a given field. - getValue() - Method in enum io.realm.Case
-
Returns the value for this setting that is used by the underlying query engine.
- getValue() - Method in class io.realm.mongodb.auth.ApiKey
-
Returns this keys value.
- getValue() - Method in enum io.realm.Sort
-
Returns the value for this setting that is used by the underlying query engine.
- getValueClass() - Method in class io.realm.RealmAny
-
Returns the Java class that represents the inner value wrapped by this RealmAny value.
- getValueClass() - Method in class io.realm.RealmSet
- getValueClassName() - Method in class io.realm.RealmSet
- getValueList(long, RealmFieldType) - Method in enum io.realm.FrozenPendingRow
- getValueMap(long, RealmFieldType) - Method in enum io.realm.FrozenPendingRow
- getValueSet(long, RealmFieldType) - Method in enum io.realm.FrozenPendingRow
- GONE - io.realm.mongodb.ErrorCode
- google(String) - Static method in class io.realm.mongodb.Credentials
-
Deprecated.Use
Credentials.google(String, GoogleAuthType)
instead. - google(String, GoogleAuthType) - Static method in class io.realm.mongodb.Credentials
-
Creates credentials representing a login using a Google access token of a given
GoogleAuthType
. - GOOGLE - io.realm.mongodb.Credentials.Provider
- GoogleAuthType - Enum in io.realm.mongodb.auth
-
This enum contains the list of Google authentication types supported by MongoDB Realm.
- greaterThan(String, double) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThan(String, float) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThan(String, int) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThan(String, long) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThan(String, RealmAny) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThan(String, Date) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThan(String, UUID) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThan(String, Decimal128) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThan(String, ObjectId) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThanOrEqualTo(String, double) - Method in class io.realm.RealmQuery
-
Greater-than-or-equal-to comparison.
- greaterThanOrEqualTo(String, float) - Method in class io.realm.RealmQuery
-
Greater-than-or-equal-to comparison.
- greaterThanOrEqualTo(String, int) - Method in class io.realm.RealmQuery
-
Greater-than-or-equal-to comparison.
- greaterThanOrEqualTo(String, long) - Method in class io.realm.RealmQuery
-
Greater-than-or-equal-to comparison.
- greaterThanOrEqualTo(String, RealmAny) - Method in class io.realm.RealmQuery
-
Greater-than-or-equal-to comparison.
- greaterThanOrEqualTo(String, Date) - Method in class io.realm.RealmQuery
-
Greater-than-or-equal-to comparison.
- greaterThanOrEqualTo(String, UUID) - Method in class io.realm.RealmQuery
-
Greater-than-or-equal-to comparison.
- greaterThanOrEqualTo(String, Decimal128) - Method in class io.realm.RealmQuery
-
Greater-than-or-equal-to comparison.
- greaterThanOrEqualTo(String, ObjectId) - Method in class io.realm.RealmQuery
-
Greater-than-or-equal-to comparison.
H
- handleItem(long, RealmAny) - Method in class io.realm.RealmAnyNativeFunctionsImpl
- handleItem(long, Map.Entry<String, RealmAny>) - Method in class io.realm.RealmAnyNativeFunctionsImpl
- hasAssetFile() - Method in class io.realm.RealmConfiguration
-
Indicates if an asset file has been configured for this configuration.
- hasColumn(String) - Method in enum io.realm.FrozenPendingRow
- hasField(String) - Method in class io.realm.DynamicRealmObject
-
Checks whether an object has the given field or not.
- hasField(String) - Method in class io.realm.RealmObjectSchema
-
Tests if the class has field defined with the given name.
- hashCode() - Method in class io.realm.DynamicRealmObject
-
Returns a hash code value for the
DynamicRealmObject
object. - hashCode() - Method in class io.realm.mongodb.App
- hashCode() - Method in class io.realm.mongodb.AppConfiguration
- hashCode() - Method in class io.realm.mongodb.auth.ApiKey
- hashCode() - Method in class io.realm.mongodb.auth.ApiKeyAuth
- hashCode() - Method in class io.realm.mongodb.log.obfuscator.HttpLogObfuscator
- hashCode() - Method in class io.realm.mongodb.mongo.events.UpdateDescription
- hashCode() - Method in class io.realm.mongodb.mongo.MongoNamespace
- hashCode() - Method in class io.realm.mongodb.sync.Progress
- hashCode() - Method in class io.realm.mongodb.sync.SyncConfiguration
- hashCode() - Method in class io.realm.mongodb.User
- hashCode() - Method in class io.realm.mongodb.UserIdentity
- hashCode() - Method in class io.realm.mongodb.UserProfile
- hashCode() - Method in class io.realm.MutableRealmInteger
-
A
MutableRealmInteger
's hash code is, exactly, the hash code of its value. - hashCode() - Method in class io.realm.RealmAny
-
A
RealmAny
's hash code is, exactly, the hash code of its value. - hashCode() - Method in class io.realm.RealmConfiguration
- hashCode() - Method in class io.realm.rx.CollectionChange
- hashCode() - Method in class io.realm.rx.ObjectChange
- hashCode() - Method in class io.realm.rx.RealmObservableFactory
- hasIndex(String) - Method in class io.realm.RealmObjectSchema
-
Checks if a given field has an index defined.
- hasNext() - Method in class io.realm.mongodb.mongo.iterable.MongoCursor
- hasPrimaryKey() - Method in class io.realm.RealmObjectSchema
-
Checks if the class has a primary key defined.
- hasUncommittedWrites() - Method in class io.realm.mongodb.mongo.events.BaseChangeEvent
-
Indicates a local change event that has not yet been synchronized with a remote data store.
- HTTP - Static variable in class io.realm.mongodb.ErrorCode.Type
- HTTP_BAD_REQUEST - io.realm.mongodb.ErrorCode
- HTTP_ERROR - io.realm.mongodb.ErrorCode
- HTTP_VERSION_NOT_SUPPORTED - io.realm.mongodb.ErrorCode
- httpLogObfuscator(HttpLogObfuscator) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Sets the
HttpLogObfuscator
used to keep sensitive information in HTTP requests from being displayed in the logcat. - HttpLogObfuscator - Class in io.realm.mongodb.log.obfuscator
-
The HttpLogObfuscator keeps sensitive information from being displayed in Logcat.
- HttpLogObfuscator(String, Map<String, RegexPatternObfuscator>) - Constructor for class io.realm.mongodb.log.obfuscator.HttpLogObfuscator
-
Constructor for creating an HTTP log obfuscator.
I
- ID_TOKEN - io.realm.mongodb.auth.GoogleAuthType
- IDENTITY - io.realm.annotations.RealmNamingPolicy
-
The name in the Java model class is used as is internally.
- Ignore - Annotation Type in io.realm.annotations
- ILLEGAL_REALM_PATH - io.realm.mongodb.ErrorCode
- ImportFlag - Enum in io.realm
-
This class describe how data is saved to Realm when saving whole objects.
- in(String, RealmAny[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Boolean[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Byte[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Double[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Float[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Integer[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Long[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Short[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, String[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, String[], Case) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Date[]) - Method in class io.realm.RealmQuery
-
In comparison.
- INACTIVE - io.realm.mongodb.sync.SyncSession.State
-
This is the initial state.
- INCOMING_WEBHOOK_ALREADY_EXISTS - io.realm.mongodb.ErrorCode
- INCOMING_WEBHOOK_AUTH_FAILED - io.realm.mongodb.ErrorCode
- INCOMING_WEBHOOK_DUPLICATE_NAME - io.realm.mongodb.ErrorCode
- INCOMING_WEBHOOK_NOT_FOUND - io.realm.mongodb.ErrorCode
- INCOMPATIBLE_LOCK_FILE - io.realm.exceptions.RealmFileException.Kind
-
Thrown if the database file is currently open in another process which cannot share with the current process due to an architecture mismatch.
- INCOMPATIBLE_SYNC_FILE - io.realm.exceptions.RealmFileException.Kind
-
Thrown if an attempt was made to open an Realm file created with Realm Object Server 1.*, which is not compatible with Realm Object Server 2.*.
- increment(long) - Method in class io.realm.MutableRealmInteger
-
Increments the
MutableRealmInteger
, adding the value of the argument. - INDEFINITELY - io.realm.mongodb.sync.ProgressMode
-
A
ProgressListener
registered in this mode, will continue to report progress changes, even if changes are being added after the listener was registered. - Index - Annotation Type in io.realm.annotations
-
This annotation will add a search index to the field.
- INDEXED - io.realm.FieldAttribute
-
Marks a field as indexed.
- info(String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs an
LogLevel.INFO
event. - info(Throwable) - Static method in class io.realm.log.RealmLog
-
Logs an
LogLevel.INFO
exception. - info(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs an
LogLevel.INFO
event. - INFO - Static variable in class io.realm.log.LogLevel
-
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
- init(Context) - Static method in class io.realm.Realm
-
Initializes the Realm library and creates a default configuration that is ready to use.
- init(Context, String) - Static method in class io.realm.Realm
-
Initializes the Realm library and creates a default configuration that is ready to use.
- INITIAL - io.realm.OrderedCollectionChangeSet.State
-
This state is used first time the callback is invoked.
- INITIAL_SYNC_NOT_COMPLETE - io.realm.mongodb.ErrorCode
- initialData(Realm.Transaction) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the initial data in
Realm
. - initialData(Realm.Transaction) - Method in class io.realm.RealmConfiguration.Builder
-
Sets the initial data in
Realm
. - initialSubscriptions(SyncConfiguration.InitialFlexibleSyncSubscriptions) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the initial
Subscription
s for theRealm
. - inMemory() - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Setting this will create an in-memory Realm instead of saving it to disk.
- inMemory() - Method in class io.realm.RealmConfiguration.Builder
-
Setting this will create an in-memory Realm instead of saving it to disk.
- INSENSITIVE - io.realm.Case
- insert(RealmModel) - Method in class io.realm.Realm
-
Inserts an unmanaged RealmObject.
- insert(Collection<? extends RealmModel>) - Method in class io.realm.Realm
-
Inserts a list of an unmanaged RealmObjects.
- INSERT - io.realm.mongodb.mongo.events.BaseChangeEvent.OperationType
- insertMany(List<? extends DocumentT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Inserts one or more documents.
- InsertManyResult - Class in io.realm.mongodb.mongo.options
-
The result of an insert many operation.
- InsertManyResult(Map<Long, BsonValue>) - Constructor for class io.realm.mongodb.mongo.options.InsertManyResult
-
Constructs a result.
- insertOne(DocumentT) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Inserts the provided document.
- InsertOneResult - Class in io.realm.mongodb.mongo.result
-
The result of an insert one operation.
- InsertOneResult(BsonValue) - Constructor for class io.realm.mongodb.mongo.result.InsertOneResult
-
Constructs a result.
- insertOrUpdate(RealmModel) - Method in class io.realm.Realm
-
Inserts or updates an unmanaged RealmObject.
- insertOrUpdate(Collection<? extends RealmModel>) - Method in class io.realm.Realm
-
Inserts or updates a list of unmanaged RealmObjects.
- INSTANCE - io.realm.FrozenPendingRow
- INSUFFICIENT_STORAGE - io.realm.mongodb.ErrorCode
- INTEGER - io.realm.RealmAny.Type
- INTEGER - io.realm.RealmFieldType
- INTEGER_LIST - io.realm.RealmFieldType
- INTEGER_SET - io.realm.RealmFieldType
- INTERNAL_SERVER_ERROR - io.realm.mongodb.ErrorCode
- intValue() - Method in enum io.realm.mongodb.ErrorCode
-
Returns the numerical value for this error code.
- INVALID_EMAIL_PASSWORD - io.realm.mongodb.ErrorCode
- INVALID_PARAMETER - io.realm.mongodb.ErrorCode
- INVALID_SCHEMA_CHANGE - io.realm.mongodb.ErrorCode
- INVALID_SESSION - io.realm.mongodb.ErrorCode
- io.realm - package io.realm
- io.realm.annotations - package io.realm.annotations
- io.realm.coroutines - package io.realm.coroutines
- io.realm.exceptions - package io.realm.exceptions
- io.realm.log - package io.realm.log
- io.realm.mongodb - package io.realm.mongodb
- io.realm.mongodb.auth - package io.realm.mongodb.auth
- io.realm.mongodb.functions - package io.realm.mongodb.functions
- io.realm.mongodb.log.obfuscator - package io.realm.mongodb.log.obfuscator
- io.realm.mongodb.mongo - package io.realm.mongodb.mongo
- io.realm.mongodb.mongo.events - package io.realm.mongodb.mongo.events
- io.realm.mongodb.mongo.iterable - package io.realm.mongodb.mongo.iterable
- io.realm.mongodb.mongo.options - package io.realm.mongodb.mongo.options
- io.realm.mongodb.mongo.result - package io.realm.mongodb.mongo.result
- io.realm.mongodb.push - package io.realm.mongodb.push
- io.realm.mongodb.sync - package io.realm.mongodb.sync
- io.realm.rx - package io.realm.rx
- isAllowQueriesOnUiThread() - Method in class io.realm.RealmConfiguration
-
Returns whether a
RealmQuery
is allowed to be launched from the UI thread. - isAllowWritesOnUiThread() - Method in class io.realm.RealmConfiguration
-
Returns whether calls to
Realm.executeTransaction(io.realm.Realm.Transaction)
can be done on the UI thread. - isCancelled() - Method in interface io.realm.RealmAsyncTask
-
Checks whether an attempt to cancel the transaction was performed.
- isConnected() - Method in class io.realm.mongodb.sync.SyncSession
-
Checks if the session is connected to the server and can synchronize data.
- isDeleted() - Method in interface io.realm.ObjectChangeSet
- isEmbedded() - Method in class io.realm.RealmObjectSchema
-
Returns
true
if objects of this type are considered "embedded". - isEmpty() - Method in class io.realm.DynamicRealm
-
Checks if this
Realm
contains any objects. - isEmpty() - Method in interface io.realm.MapChangeSet
-
Whether the change set is empty or not.
- isEmpty() - Method in class io.realm.mongodb.mongo.events.UpdateDescription
-
Determines whether this update description is empty.
- isEmpty() - Method in class io.realm.Realm
-
Checks if this
Realm
contains any objects. - isEmpty() - Method in class io.realm.RealmMap
- isEmpty() - Method in class io.realm.RealmSet
- isEmpty() - Method in class io.realm.SetChangeSet
-
Whether the change set is empty or not.
- isEmpty(String) - Method in class io.realm.RealmQuery
-
Condition that finds values that are considered "empty" i.e., an empty list, the 0-length string or byte array.
- isEnabled() - Method in class io.realm.mongodb.auth.ApiKey
-
Returns whether or not this key is currently enabled.
- isFieldChanged(String) - Method in interface io.realm.ObjectChangeSet
-
Checks if a given field has been changed.
- isFlexibleSyncConfiguration() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns whether or not this configuration is for opening a Realm configured for Flexible Sync.
- isFrozen() - Method in class io.realm.OrderedRealmCollectionSnapshot
- isFrozen() - Method in class io.realm.RealmList
- isFrozen() - Method in class io.realm.RealmMap
- isFrozen() - Method in class io.realm.RealmObject
-
Returns whether or not this RealmObject is frozen.
- isFrozen() - Method in class io.realm.RealmResults
- isFrozen() - Method in class io.realm.RealmSet
- isFrozen(E) - Static method in class io.realm.RealmObject
-
Returns whether or not this RealmObject is frozen.
- isLoaded() - Method in enum io.realm.FrozenPendingRow
- isLoaded() - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Checks if a collection has finished loading its data yet.
- isLoaded() - Method in class io.realm.ProxyState
- isLoaded() - Method in interface io.realm.RealmCollection
-
Checks if a collection has finished loading its data yet.
- isLoaded() - Method in class io.realm.RealmList
-
Checks if a collection has finished loading its data yet.
- isLoaded() - Method in class io.realm.RealmObject
-
Checks if the query used to find this RealmObject has completed.
- isLoaded() - Method in class io.realm.RealmResults
-
Returns
false
if the results are not yet loaded,true
if they are loaded. - isLoaded() - Method in class io.realm.RealmSet
-
Checks if a collection has finished loading its data yet.
- isLoaded(E) - Static method in class io.realm.RealmObject
-
Checks if the query used to find this RealmObject has completed.
- isLoggedIn() - Method in class io.realm.mongodb.User
-
Returns true if the user is currently logged in.
- isManaged() - Method in interface io.realm.RealmCollection
-
Checks if the collection is managed by Realm.
- isManaged() - Method in class io.realm.RealmList
-
Checks if the collection is managed by Realm.
- isManaged() - Method in class io.realm.RealmMap
- isManaged() - Method in class io.realm.RealmObject
-
Checks if this object is managed by Realm.
- isManaged() - Method in class io.realm.RealmSet
-
Checks if the collection is managed by Realm.
- isManaged(E) - Static method in class io.realm.RealmObject
-
Checks if this object is managed by Realm.
- isNotEmpty(String) - Method in class io.realm.RealmQuery
-
Condition that finds values that are considered "Not-empty" i.e., a list, a string or a byte array with not-empty values.
- isNotNull(String) - Method in class io.realm.RealmQuery
-
Tests if a field is not
null
. - isNull() - Method in class io.realm.MutableRealmInteger
- isNull() - Method in class io.realm.RealmAny
-
Returns true if the inner value is null, false otherwise.
- isNull(long) - Method in enum io.realm.FrozenPendingRow
- isNull(String) - Method in class io.realm.DynamicRealmObject
-
Checks if the value of a given field is
null
. - isNull(String) - Method in class io.realm.RealmQuery
-
Tests if a field is
null
. - isNullable(String) - Method in class io.realm.RealmObjectSchema
-
Checks if a given field is nullable i.e., it is allowed to contain
null
values. - isNullLink(long) - Method in enum io.realm.FrozenPendingRow
- isOpen() - Method in interface io.realm.mongodb.RealmEventStreamAsyncTask
-
Whether or not the stream is currently open.
- isOpen() - Method in interface io.realm.mongodb.RealmEventStreamTask
-
Whether or not the stream is currently open.
- isPartitionBasedSyncConfiguration() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns whether or not this configuration is for opening a Realm configured for Partition-based Sync.
- isPrimaryKey(String) - Method in class io.realm.RealmObjectSchema
-
Checks if a given field is the primary key field.
- isReadOnly() - Method in class io.realm.RealmConfiguration
-
Returns whether this Realm is read-only or not.
- isRecoveryConfiguration() - Method in class io.realm.RealmConfiguration
- isRequired(String) - Method in class io.realm.RealmObjectSchema
-
Checks if a given field is required i.e., it is not allowed to contain
null
values. - isReturnNewDocument() - Method in class io.realm.mongodb.mongo.options.FindOneAndModifyOptions
-
Returns true if the findOneAndModify operation should return the new document.
- isSuccess() - Method in class io.realm.mongodb.App.Result
-
Returns whether or not request was successful
- isTransferComplete() - Method in class io.realm.mongodb.sync.Progress
-
Returns
true
when all pending bytes have been transferred. - isUnderConstruction() - Method in class io.realm.ProxyState
- isUpsert() - Method in class io.realm.mongodb.mongo.options.FindOneAndModifyOptions
-
Returns true if a new document should be inserted if there are no matches to the query filter.
- isUpsert() - Method in class io.realm.mongodb.mongo.options.UpdateOptions
-
Returns true if a new document should be inserted if there are no matches to the query filter.
- isValid() - Method in enum io.realm.FrozenPendingRow
- isValid() - Method in interface io.realm.RealmCollection
-
Checks if the collection is still valid to use, i.e., the
Realm
instance hasn't been closed. - isValid() - Method in class io.realm.RealmList
-
Checks if the collection is still valid to use, i.e., the
Realm
instance hasn't been closed. - isValid() - Method in class io.realm.RealmMap
- isValid() - Method in class io.realm.RealmObject
-
Checks if the RealmObject is still valid to use i.e., the RealmObject hasn't been deleted nor has the
Realm
been closed. - isValid() - Method in class io.realm.RealmQuery
-
Checks if
RealmQuery
is still valid to use i.e., theRealm
instance hasn't been closed and any parentRealmResults
is still valid. - isValid() - Method in class io.realm.RealmSet
-
Checks if the collection is still valid to use, i.e., the
Realm
instance hasn't been closed. - isValid(E) - Static method in class io.realm.RealmObject
-
Checks if the RealmObject is still valid to use i.e., the RealmObject hasn't been deleted nor has the
Realm
been closed. - isValid(Object) - Method in enum io.realm.RealmFieldType
-
Checks if the given Java object can be converted to the underlying Realm type.
- iterator() - Method in class io.realm.mongodb.mongo.iterable.MongoIterable
-
Returns a cursor of the operation represented by this iterable.
- iterator() - Method in class io.realm.RealmList
- iterator() - Method in class io.realm.RealmSet
J
- JAVA - Static variable in class io.realm.mongodb.ErrorCode.Type
- JSON - Static variable in class io.realm.mongodb.ErrorCode.Type
- jwt(String) - Static method in class io.realm.mongodb.Credentials
-
Creates credentials representing a login using a JWT Token.
- JWT - io.realm.mongodb.Credentials.Provider
K
L
- last() - Method in interface io.realm.OrderedRealmCollection
-
Gets the last object from the collection.
- last() - Method in class io.realm.RealmList
-
Gets the last object from the collection.
- last(E) - Method in interface io.realm.OrderedRealmCollection
-
Gets the last object from the collection.
- last(E) - Method in class io.realm.RealmList
-
Gets the last object from the collection.
- length - Variable in class io.realm.OrderedCollectionChangeSet.Range
-
How many elements are inside this range.
- LENGTH_REQUIRED - io.realm.mongodb.ErrorCode
- lessThan(String, double) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThan(String, float) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThan(String, int) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThan(String, long) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThan(String, RealmAny) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThan(String, Date) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThan(String, UUID) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThan(String, Decimal128) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThan(String, ObjectId) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThanOrEqualTo(String, double) - Method in class io.realm.RealmQuery
-
Less-than-or-equal-to comparison.
- lessThanOrEqualTo(String, float) - Method in class io.realm.RealmQuery
-
Less-than-or-equal-to comparison.
- lessThanOrEqualTo(String, int) - Method in class io.realm.RealmQuery
-
Less-than-or-equal-to comparison.
- lessThanOrEqualTo(String, long) - Method in class io.realm.RealmQuery
-
Less-than-or-equal-to comparison.
- lessThanOrEqualTo(String, RealmAny) - Method in class io.realm.RealmQuery
-
Less-than-or-equal-to comparison.
- lessThanOrEqualTo(String, Date) - Method in class io.realm.RealmQuery
-
Less-than-or-equal-to comparison.
- lessThanOrEqualTo(String, UUID) - Method in class io.realm.RealmQuery
-
Less-than-or-equal-to comparison.
- lessThanOrEqualTo(String, Decimal128) - Method in class io.realm.RealmQuery
-
Less-than-or-equal-to comparison.
- lessThanOrEqualTo(String, ObjectId) - Method in class io.realm.RealmQuery
-
Less-than-or-equal-to comparison.
- library() - Method in annotation type io.realm.annotations.RealmModule
-
Setting this to true will mark this module as a library module.
- like(String, RealmAny) - Method in class io.realm.RealmQuery
-
Condition that the value of field matches with the specified substring, with wildcards: '*' matches [0, n] unicode chars '?' matches a single unicode char.
- like(String, RealmAny, Case) - Method in class io.realm.RealmQuery
-
Condition that the value of field matches with the specified substring, with wildcards: '*' matches [0, n] unicode chars '?' matches a single unicode char.
- like(String, String) - Method in class io.realm.RealmQuery
-
Condition that the value of field matches with the specified substring, with wildcards: '*' matches [0, n] unicode chars '?' matches a single unicode char.
- like(String, String, Case) - Method in class io.realm.RealmQuery
-
Condition that the value of field matches with the specified substring, with wildcards: '*' matches [0, n] unicode chars '?' matches a single unicode char.
- limit(int) - Method in class io.realm.mongodb.mongo.iterable.FindIterable
-
Sets the limit to apply.
- limit(int) - Method in class io.realm.mongodb.mongo.options.CountOptions
-
Sets the limit to apply.
- limit(int) - Method in class io.realm.mongodb.mongo.options.FindOptions
-
Sets the limit to apply.
- limit(long) - Method in class io.realm.RealmQuery
-
Limits the number of objects returned in case the query matched more objects.
- LIMITS_EXCEEDED - io.realm.mongodb.ErrorCode
- LINK_SET - io.realm.RealmFieldType
- linkCredentials(Credentials) - Method in class io.realm.mongodb.User
-
Links the current user with a new user identity represented by the given credentials.
- linkCredentialsAsync(Credentials, App.Callback<User>) - Method in class io.realm.mongodb.User
-
Links the current user with a new user identity represented by the given credentials.
- LINKING_OBJECTS - io.realm.RealmFieldType
- linkingObjects(String, String) - Method in class io.realm.DynamicRealmObject
-
Returns
RealmResults
containing allsrcClassName
class objects that have a relationship to this object fromsrcFieldName
field. - LinkingObjects - Annotation Type in io.realm.annotations
-
Annotation for defining a reverse relationship from one class to another.
- LIST - io.realm.RealmFieldType
- LIST_TYPE - Static variable in class io.realm.CollectionUtils
- listIterator() - Method in class io.realm.RealmList
- listIterator(int) - Method in class io.realm.RealmList
- load() - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Blocks the collection until all data are available.
- load() - Method in class io.realm.ProxyState
- load() - Method in interface io.realm.RealmCollection
-
Blocks the collection until all data are available.
- load() - Method in class io.realm.RealmList
-
Blocks the collection until all data are available.
- load() - Method in class io.realm.RealmObject
-
Makes an asynchronous query blocking.
- load() - Method in class io.realm.RealmResults
-
Makes an asynchronous query blocking.
- load() - Method in class io.realm.RealmSet
-
Blocks the collection until all data are available.
- load(E) - Static method in class io.realm.RealmObject
-
Makes an asynchronous query blocking.
- LOCKED - io.realm.mongodb.ErrorCode
- log(int, String, Throwable, String) - Method in interface io.realm.log.RealmLogger
-
Handles a log event.
- LOGGED_IN - io.realm.mongodb.User.State
- LOGGED_OUT - io.realm.mongodb.User.State
- loggedIn(User) - Method in interface io.realm.mongodb.AuthenticationListener
-
A user was logged into the Object Server
- loggedOut(User) - Method in interface io.realm.mongodb.AuthenticationListener
-
A user was successfully logged out from the Object Server.
- login(Credentials) - Method in class io.realm.mongodb.App
-
Logs in as a user with the given credentials associated with an authentication provider.
- loginAsync(Credentials, App.Callback<User>) - Method in class io.realm.mongodb.App
-
Logs in as a user with the given credentials associated with an authentication provider.
- loginObfuscators - Static variable in class io.realm.mongodb.AppConfiguration
-
Default obfuscators for login requests used in a MongoDB Realm app.
- LogLevel - Class in io.realm.log
-
The Log levels defined and used by Realm when logging events in the API.
- LogLevel() - Constructor for class io.realm.log.LogLevel
- logOut() - Method in class io.realm.mongodb.User
-
Log the user out of the Realm App.
- logOutAsync(App.Callback<User>) - Method in class io.realm.mongodb.User
-
Log the user out of the Realm App asynchronously.
- LOOP_DETECTED - io.realm.mongodb.ErrorCode
- LOWER_CASE_WITH_UNDERSCORES - io.realm.annotations.RealmNamingPolicy
-
The name in the Java model class is converted lowercase with each word separated by
_
.
M
- ManuallyRecoverUnsyncedChangesStrategy - Interface in io.realm.mongodb.sync
-
Strategy to manually resolve a Client Reset, determined by the error code
ErrorCode.CLIENT_RESET
. - MapChangeListener<K,V> - Interface in io.realm
-
MapChangeListener
can be registered with aRealmMap
to receive a notification with aMapChangeSet
to describe the details of what have been changed in the map since last time. - MapChangeSet<T> - Interface in io.realm
-
This interface describes the changes made to a map during the last update.
- max(String) - Method in interface io.realm.RealmCollection
-
Finds the maximum value of a field.
- max(String) - Method in class io.realm.RealmList
-
Finds the maximum value of a field.
- max(String) - Method in class io.realm.RealmQuery
-
Finds the maximum value of a field.
- max(String) - Method in class io.realm.RealmSet
-
Finds the maximum value of a field.
- maxDate(String) - Method in interface io.realm.RealmCollection
-
Finds the maximum date.
- maxDate(String) - Method in class io.realm.RealmList
-
Finds the maximum date.
- maxDate(String) - Method in class io.realm.RealmSet
-
Finds the maximum date.
- maximumDate(String) - Method in class io.realm.RealmQuery
-
Finds the maximum value of a field.
- maxNumberOfActiveVersions(long) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the maximum number of live versions in the Realm file before an
IllegalStateException
is thrown when attempting to write more data. - maxNumberOfActiveVersions(long) - Method in class io.realm.RealmConfiguration.Builder
-
Sets the maximum number of live versions in the Realm file before an
IllegalStateException
is thrown when attempting to write more data. - maxRealmAny(String) - Method in class io.realm.RealmQuery
-
Finds the maximum value of a
RealmAny
field. - merge(UpdateDescription) - Method in class io.realm.mongodb.mongo.events.UpdateDescription
-
Unilaterally merge an update description into this update description.
- METHOD_NOT_ALLOWED - io.realm.mongodb.ErrorCode
- migrate(DynamicRealm, long, long) - Method in interface io.realm.RealmMigration
-
This method will be called if a migration is needed.
- migrateRealm(RealmConfiguration) - Static method in class io.realm.Realm
-
Manually triggers the migration associated with a given RealmConfiguration.
- migrateRealm(RealmConfiguration, RealmMigration) - Static method in class io.realm.Realm
-
Manually triggers a migration on a RealmMigration.
- migration(RealmMigration) - Method in class io.realm.RealmConfiguration.Builder
-
Sets the
RealmMigration
to be run if a migration is needed. - min(String) - Method in interface io.realm.RealmCollection
-
Finds the minimum value of a field.
- min(String) - Method in class io.realm.RealmList
-
Finds the minimum value of a field.
- min(String) - Method in class io.realm.RealmQuery
-
Finds the minimum value of a field.
- min(String) - Method in class io.realm.RealmSet
-
Finds the minimum value of a field.
- minDate(String) - Method in interface io.realm.RealmCollection
-
Finds the minimum date.
- minDate(String) - Method in class io.realm.RealmList
-
Finds the minimum date.
- minDate(String) - Method in class io.realm.RealmSet
-
Finds the minimum date.
- minimumDate(String) - Method in class io.realm.RealmQuery
-
Finds the minimum value of a field.
- minRealmAny(String) - Method in class io.realm.RealmQuery
-
Finds the minimum value of a
RealmAny
field. - MISC - Static variable in class io.realm.mongodb.ErrorCode.Type
- MISC_DELIMITER_NOT_FOUND - io.realm.mongodb.ErrorCode
- MISC_END_OF_INPUT - io.realm.mongodb.ErrorCode
- MISC_PREMATURE_END_OF_INPUT - io.realm.mongodb.ErrorCode
- MISDIRECTED_REQUEST - io.realm.mongodb.ErrorCode
- MISSING_PARAMETER - io.realm.mongodb.ErrorCode
- MIXED - io.realm.RealmFieldType
- MIXED_LIST - io.realm.RealmFieldType
- MIXED_SET - io.realm.RealmFieldType
- modules(Iterable<Object>) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Replaces the existing module(s) with one or more
RealmModule
s. - modules(Object, Object...) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Replaces the existing module(s) with one or more
RealmModule
s. - modules(Object, Object...) - Method in class io.realm.RealmConfiguration.Builder
-
Replaces the existing module(s) with one or more
RealmModule
s. - MongoClient - Class in io.realm.mongodb.mongo
-
The remote MongoClient used for working with data in MongoDB remotely via Realm.
- MongoCollection<DocumentT> - Class in io.realm.mongodb.mongo
-
The MongoCollection interface provides read and write access to documents.
- MongoCursor<ResultT> - Class in io.realm.mongodb.mongo.iterable
-
The Mongo Cursor class is fundamentally an
Iterator
containing an additionaltryNext()
method for convenience. - MongoDatabase - Class in io.realm.mongodb.mongo
-
The RemoteMongoDatabase provides access to its
Document
MongoCollection
s. - MONGODB_ERROR - io.realm.mongodb.ErrorCode
- MongoIterable<ResultT> - Class in io.realm.mongodb.mongo.iterable
-
The MongoIterable is the results from an operation, such as a
find()
or anaggregate()
query. - MongoNamespace - Class in io.realm.mongodb.mongo
-
A MongoDB namespace, which includes a database name and collection name.
- MongoNamespace(String) - Constructor for class io.realm.mongodb.mongo.MongoNamespace
-
Construct an instance for the given full name.
- MongoNamespace(String, String) - Constructor for class io.realm.mongodb.mongo.MongoNamespace
-
Construct an instance from the given database name and collection name.
- move(int, int) - Method in class io.realm.RealmList
-
Moves an object from one position to another, while maintaining a fixed sized list.
- MOVED_PERMANENTLY - io.realm.mongodb.ErrorCode
- MULTIPLE_CHOICES - io.realm.mongodb.ErrorCode
- MutableRealmInteger - Class in io.realm
-
A
MutableRealmInteger
is a mutable,Long
-like numeric quantity. - MutableSubscriptionSet - Interface in io.realm.mongodb.sync
-
A mutable subscription set is available when calling
SubscriptionSet.update(UpdateCallback)
This is the only way to modify aSubscriptionSet
.
N
- name() - Method in annotation type io.realm.annotations.RealmClass
-
Manually set the internal name used by Realm for this class.
- name() - Method in annotation type io.realm.annotations.RealmField
-
Manually set the internal name used by Realm for this field.
- name(String) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the filename for the Realm file on this device.
- name(String) - Method in class io.realm.RealmConfiguration.Builder
-
Sets the filename for the Realm file.
- NETWORK_AUTHENTICATION_REQUIRED - io.realm.mongodb.ErrorCode
- NETWORK_INTERRUPTED - io.realm.mongodb.ErrorCode
- NETWORK_IO_EXCEPTION - io.realm.mongodb.ErrorCode
- NETWORK_POOL_EXECUTOR - Static variable in class io.realm.mongodb.App
-
Thread pool used when doing network requests against MongoDB Realm.
- NETWORK_UNKNOWN - io.realm.mongodb.ErrorCode
- next() - Method in class io.realm.mongodb.mongo.iterable.MongoCursor
- NO_MATCHING_RULE_FOUND - io.realm.mongodb.ErrorCode
- NO_POLICY - io.realm.annotations.RealmNamingPolicy
-
No policy is applied.
- NO_SUCH_PATH - io.realm.mongodb.ErrorCode
- not() - Method in class io.realm.RealmQuery
-
Negate condition.
- NOT_ACCEPTABLE - io.realm.mongodb.ErrorCode
- NOT_CALLABLE - io.realm.mongodb.ErrorCode
- NOT_EXTENDED - io.realm.mongodb.ErrorCode
- NOT_FOUND - io.realm.exceptions.RealmFileException.Kind
-
Thrown if the relevant file cannot be found.
- NOT_FOUND - io.realm.mongodb.ErrorCode
- NOT_IMPLEMENTED - io.realm.mongodb.ErrorCode
- NOT_MODIFIED - io.realm.mongodb.ErrorCode
- notEqualTo(String, byte[]) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, RealmAny) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, RealmAny, Case) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, Boolean) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, Byte) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, Double) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, Float) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, Integer) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, Long) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, Short) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, String) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, String, Case) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, Date) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, UUID) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, Decimal128) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- notEqualTo(String, ObjectId) - Method in class io.realm.RealmQuery
-
Not-equal-to comparison.
- NULL - io.realm.RealmAny.Type
- nullifyLink(long) - Method in enum io.realm.FrozenPendingRow
- nullValue() - Static method in class io.realm.RealmAny
-
Creates a new RealmAny of a null value.
O
- obfuscate(List<String>, String) - Method in class io.realm.mongodb.log.obfuscator.HttpLogObfuscator
-
Obfuscates a logcat entry or not depending on whether the request being sent matches the specified feature.
- OBJECT - io.realm.RealmAny.Type
- OBJECT - io.realm.RealmFieldType
- OBJECT_ALREADY_EXISTS - io.realm.mongodb.ErrorCode
- OBJECT_ID - io.realm.RealmAny.Type
- OBJECT_ID - io.realm.RealmFieldType
- OBJECT_ID_LIST - io.realm.RealmFieldType
- OBJECT_ID_SET - io.realm.RealmFieldType
- ObjectChange<E extends RealmModel> - Class in io.realm.rx
-
Container wrapping the result of a
RealmObjectChangeListener
being triggered. - ObjectChange(E, ObjectChangeSet) - Constructor for class io.realm.rx.ObjectChange
-
Constructor for a ObjectChange.
- ObjectChangeSet - Interface in io.realm
-
Information about the changes made to an object.
- OFF - Static variable in class io.realm.log.LogLevel
-
The OFF has the highest possible rank and is intended to turn off logging.
- ofNull() - Static method in class io.realm.MutableRealmInteger
-
Creates a new, unmanaged
MutableRealmInteger
whose value isnull
. - onAfterReset(Realm, Realm) - Method in interface io.realm.mongodb.sync.DiscardUnsyncedChangesStrategy
-
Callback invoked once the Client Reset happens.
- onBeforeReset(Realm) - Method in interface io.realm.mongodb.sync.DiscardUnsyncedChangesStrategy
-
Callback that indicates a Client Reset is about to happen.
- onChange(ConnectionState, ConnectionState) - Method in interface io.realm.mongodb.sync.ConnectionListener
-
A change in the connection to the server was detected.
- onChange(Progress) - Method in interface io.realm.mongodb.sync.ProgressListener
-
This method will be called periodically from the underlying Object Server Client responsible for uploading and downloading changes from the remote Object Server.
- onChange(RealmMap<K, V>, MapChangeSet<K>) - Method in interface io.realm.MapChangeListener
-
This will be called when the async query is finished the first time or the collection of objects has changed.
- onChange(RealmSet<T>, SetChangeSet) - Method in interface io.realm.SetChangeListener
- onChange(T) - Method in interface io.realm.RealmChangeListener
-
Called when a transaction is committed.
- onChange(T, ObjectChangeSet) - Method in interface io.realm.RealmObjectChangeListener
-
When this gets called to return the results of an asynchronous query made by
RealmQuery.findFirstAsync()
,changeSet
will benull
. - onChange(T, OrderedCollectionChangeSet) - Method in interface io.realm.OrderedRealmCollectionChangeListener
-
This will be called when the async query is finished the first time or the collection of objects has changed.
- onClientReset(SyncSession, ClientResetRequiredError) - Method in interface io.realm.mongodb.sync.ManuallyRecoverUnsyncedChangesStrategy
-
Callback that indicates a Client Reset has happened.
- onError(SyncSession, AppException) - Method in interface io.realm.mongodb.sync.SyncSession.ErrorHandler
-
Callback for errors on a session object.
- onError(SyncSession, ClientResetRequiredError) - Method in interface io.realm.mongodb.sync.DiscardUnsyncedChangesStrategy
-
Callback that indicates the seamless Client reset couldn't complete.
- onError(Exception) - Method in class io.realm.DynamicRealm.Transaction.Callback
- onError(Exception) - Method in class io.realm.Realm.Transaction.Callback
- onError(Throwable) - Method in class io.realm.DynamicRealm.Callback
-
Deliver an error happens when creating the Realm instance to the caller thread.
- onError(Throwable) - Method in interface io.realm.DynamicRealm.Transaction.OnError
- onError(Throwable) - Method in interface io.realm.mongodb.sync.SubscriptionSet.StateChangeCallback
- onError(Throwable) - Method in interface io.realm.mongodb.sync.SubscriptionSet.UpdateAsyncCallback
- onError(Throwable) - Method in class io.realm.Realm.Callback
-
Deliver an error happens when creating the Realm instance to the caller thread.
- onError(Throwable) - Method in interface io.realm.Realm.Transaction.OnError
- onQueryFinished(Row) - Method in class io.realm.ProxyState
- onResult(App.Result<T>) - Method in interface io.realm.mongodb.App.Callback
-
Returns the result of the request when available.
- onStateChange(SubscriptionSet) - Method in interface io.realm.mongodb.sync.SubscriptionSet.StateChangeCallback
- onSuccess() - Method in class io.realm.DynamicRealm.Transaction.Callback
- onSuccess() - Method in interface io.realm.DynamicRealm.Transaction.OnSuccess
- onSuccess() - Method in class io.realm.Realm.Transaction.Callback
- onSuccess() - Method in interface io.realm.Realm.Transaction.OnSuccess
- onSuccess(DynamicRealm) - Method in class io.realm.DynamicRealm.Callback
-
Deliver a Realm instance to the caller thread.
- onSuccess(SubscriptionSet) - Method in interface io.realm.mongodb.sync.SubscriptionSet.UpdateAsyncCallback
- onSuccess(Realm) - Method in class io.realm.Realm.Callback
-
Deliver a Realm instance to the caller thread.
- or() - Method in class io.realm.RealmQuery
-
Logical-or two conditions.
- OrderedCollectionChangeSet - Interface in io.realm
-
This interface describes the changes made to a collection during the last update.
- OrderedCollectionChangeSet.Range - Class in io.realm
- OrderedCollectionChangeSet.State - Enum in io.realm
-
State describing the nature of the changeset.
- OrderedRealmCollection<E> - Interface in io.realm
-
An
OrderedRealmCollection
is a collection which maintains an ordering for its elements. - OrderedRealmCollectionChangeListener<T> - Interface in io.realm
-
OrderedRealmCollectionChangeListener
can be registered with aRealmResults
to receive a notification with aOrderedCollectionChangeSet
to describe the details of what have been changed in the collection since last time. - OrderedRealmCollectionSnapshot<E> - Class in io.realm
-
An
OrderedRealmCollectionSnapshot
is a special type ofOrderedRealmCollection
. - OTHER_ERROR - io.realm.mongodb.ErrorCode
- OTHER_SESSION_ERROR - io.realm.mongodb.ErrorCode
P
- PARTIAL_SYNC_DISABLED - io.realm.mongodb.ErrorCode
- PASCAL_CASE - io.realm.annotations.RealmNamingPolicy
-
The name in the Java model class is converted to PascalCase, i.e.
- PAYLOAD_TOO_LARGE - io.realm.mongodb.ErrorCode
- PAYMENT_REQUIRED - io.realm.mongodb.ErrorCode
- PENDING - io.realm.mongodb.sync.SubscriptionSet.State
-
A subscription set has been modified locally, but is still waiting to be sent to the server.
- PERMANENT_REDIRECT - io.realm.mongodb.ErrorCode
- PERMISSION_DENIED - io.realm.exceptions.RealmFileException.Kind
-
Thrown if the user does not have permission to open or create the specified file in the specified access mode when the Realm is opened.
- PERMISSION_DENIED - io.realm.mongodb.ErrorCode
- PRECONDITION_FAILED - io.realm.mongodb.ErrorCode
- PRECONDITION_REQUIRED - io.realm.mongodb.ErrorCode
- PRIMARY_KEY - io.realm.FieldAttribute
-
Marks a field as a primary key.
- PrimaryKey - Annotation Type in io.realm.annotations
-
The @PrimaryKey annotation will mark a field as a primary key inside Realm.
- Progress - Class in io.realm.mongodb.sync
-
Class used to encapsulate progress notifications when either downloading or uploading Realm data.
- ProgressListener - Interface in io.realm.mongodb.sync
-
Interface used when interested in updates on data either being uploaded to or downloaded from a Realm Object Server.
- ProgressMode - Enum in io.realm.mongodb.sync
-
Enum describing how to listen to progress changes.
- projection(Bson) - Method in class io.realm.mongodb.mongo.iterable.FindIterable
-
Sets a document describing the fields to return for all matching documents.
- projection(Bson) - Method in class io.realm.mongodb.mongo.options.FindOneAndModifyOptions
-
Sets a document describing the fields to return for all matching documents.
- projection(Bson) - Method in class io.realm.mongodb.mongo.options.FindOptions
-
Sets a document describing the fields to return for all matching documents.
- PROTOCOL - Static variable in class io.realm.mongodb.ErrorCode.Type
- PROXY_AUTHENTICATION_REQUIRED - io.realm.mongodb.ErrorCode
- ProxyState<E extends RealmModel> - Class in io.realm
-
This implements
RealmObjectProxy
interface, to eliminate copying logic betweenRealmObject
andDynamicRealmObject
. - ProxyState() - Constructor for class io.realm.ProxyState
- ProxyState(E) - Constructor for class io.realm.ProxyState
- Push - Class in io.realm.mongodb.push
-
The Push client allows to register/deregister for push notifications from a client app.
- Push(OsPush) - Constructor for class io.realm.mongodb.push.Push
- put(K, V) - Method in class io.realm.RealmMap
- putAll(Map<? extends K, ? extends V>) - Method in class io.realm.RealmMap
R
- Range(int, int) - Constructor for class io.realm.OrderedCollectionChangeSet.Range
-
Creates a
OrderedCollectionChangeSet.Range
with given start index and length. - RANGE_NOT_SATISFIABLE - io.realm.mongodb.ErrorCode
- rawPredicate(String, Object...) - Method in class io.realm.RealmQuery
-
Create a text-based predicate using the Realm Query Language.
- READ_SIZE_LIMIT_EXCEEDED - io.realm.mongodb.ErrorCode
- readOnly() - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Setting this will cause the Realm to become read only and all write transactions made against this Realm will fail with an
IllegalStateException
. - readOnly() - Method in class io.realm.RealmConfiguration.Builder
-
Setting this will cause the Realm to become read only and all write transactions made against this Realm will fail with an
IllegalStateException
. - Realm - Class in io.realm
-
The Realm class is the storage and transactional manager of your object persistent store.
- Realm.Callback - Class in io.realm
-
The Callback used when reporting back the result of loading a Realm asynchronously using either
Realm.getInstanceAsync(RealmConfiguration, Realm.Callback)
orDynamicRealm.getInstanceAsync(RealmConfiguration, DynamicRealm.Callback)
. - Realm.Transaction - Interface in io.realm
-
Encapsulates a Realm transaction.
- Realm.Transaction.Callback - Class in io.realm
-
Callback invoked to notify the caller thread.
- Realm.Transaction.OnError - Interface in io.realm
-
Callback invoked to notify the caller thread about error during the transaction.
- Realm.Transaction.OnSuccess - Interface in io.realm
-
Callback invoked to notify the caller thread about the success of the transaction.
- realm$injectObjectContext() - Method in class io.realm.DynamicRealmObject
- RealmAny - Class in io.realm
-
RealmAny
is used to represent a polymorphic Realm value. - RealmAny.Type - Enum in io.realm
-
Enum describing all the types supported by RealmAny.
- RealmAnyNativeFunctionsImpl - Class in io.realm
- RealmAnyNativeFunctionsImpl() - Constructor for class io.realm.RealmAnyNativeFunctionsImpl
- RealmAnyOperator - Class in io.realm
- RealmAsyncTask - Interface in io.realm
-
Represents a pending asynchronous Realm task, like asynchronous transactions.
- RealmChangeListener<T> - Interface in io.realm
-
RealmChangeListener can be registered with a
Realm
,RealmResults
orRealmObject
to receive a notification about updates. - RealmClass - Annotation Type in io.realm.annotations
-
Interface used to mark a class that can be persisted by Realm.
- RealmCollection<E> - Interface in io.realm
-
RealmCollection
is the root of the collection hierarchy that Realm supports. - RealmConfiguration - Class in io.realm
-
A RealmConfiguration is used to setup a specific Realm instance.
- RealmConfiguration.Builder - Class in io.realm
-
RealmConfiguration.Builder used to construct instances of a RealmConfiguration in a fluent manner.
- RealmDictionary<V> - Class in io.realm
-
Specialization of
RealmMap
s whose keys are strings. - RealmDictionary() - Constructor for class io.realm.RealmDictionary
-
Instantiates a RealmDictionary in unmanaged mode.
- RealmDictionary(Map<String, V>) - Constructor for class io.realm.RealmDictionary
-
Instantiates a RealmDictionary in unmanaged mode with an initial dictionary.
- RealmError - Error in io.realm.exceptions
-
RealmError is Realm specific Error used when unrecoverable problems happen in the underlying storage engine.
- RealmError(String) - Constructor for error io.realm.exceptions.RealmError
- RealmEventStreamAsyncTask<T> - Interface in io.realm.mongodb
-
The RealmEventStreamAsyncTask is a specific version of
RealmAsyncTask
that provides a non-blocking mechanism to work with asynchronous operations carried out against MongoDB Realm that yield stream results. - RealmEventStreamTask<T> - Interface in io.realm.mongodb
-
The RealmEventStreamTask is a specific version of
RealmAsyncTask
that provides a blocking mechanism to work with asynchronous operations carried out against MongoDB Realm that yield stream results. - RealmException - Exception in io.realm.exceptions
-
RealmException is Realm specific exceptions.
- RealmException(String) - Constructor for exception io.realm.exceptions.RealmException
- RealmException(String, Throwable) - Constructor for exception io.realm.exceptions.RealmException
- RealmField - Annotation Type in io.realm.annotations
-
Annotation used on fields in Realm model classes.
- RealmFieldType - Enum in io.realm
-
List of the types used by Realm's underlying storage engine.
- RealmFileException - Exception in io.realm.exceptions
-
Class for reporting problems when accessing the Realm related files.
- RealmFileException(byte, String) - Constructor for exception io.realm.exceptions.RealmFileException
- RealmFileException(RealmFileException.Kind, String) - Constructor for exception io.realm.exceptions.RealmFileException
- RealmFileException(RealmFileException.Kind, String, Throwable) - Constructor for exception io.realm.exceptions.RealmFileException
- RealmFileException(RealmFileException.Kind, Throwable) - Constructor for exception io.realm.exceptions.RealmFileException
- RealmFileException.Kind - Enum in io.realm.exceptions
-
The specific kind of this
RealmFileException
. - RealmFlowFactory - Class in io.realm.coroutines
-
Factory class used to create coroutine
Flow
s. - RealmFlowFactory(Boolean) - Constructor for class io.realm.coroutines.RealmFlowFactory
-
Constructor for the Flow factory.
- realmGet$proxyState() - Method in class io.realm.DynamicRealmObject
- RealmList<E> - Class in io.realm
-
RealmList is used to model one-to-many relationships in a
RealmObject
. - RealmList() - Constructor for class io.realm.RealmList
-
Creates a RealmList in unmanaged mode, where the elements are not controlled by a Realm.
- RealmList(E...) - Constructor for class io.realm.RealmList
-
Creates a RealmList in unmanaged mode with an initial list of elements.
- RealmLog - Class in io.realm.log
-
Global logger used by all Realm components.
- RealmLog() - Constructor for class io.realm.log.RealmLog
- RealmLogger - Interface in io.realm.log
-
Interface for custom loggers that can be registered at
RealmLog.add(RealmLogger)
. - RealmMap<K,V> - Class in io.realm
-
RealmMap is used to map keys to values.
- RealmMigration - Interface in io.realm
-
The RealmMigration class is used to perform the migration of one Realm schema to another.
- RealmMigrationNeededException - Exception in io.realm.exceptions
- RealmMigrationNeededException(String, String) - Constructor for exception io.realm.exceptions.RealmMigrationNeededException
- RealmModel - Interface in io.realm
-
Interface for marking classes as RealmObjects, it can be used instead of extending
RealmObject
. - RealmModule - Annotation Type in io.realm.annotations
-
By default a Realm can store all classes extending RealmObject in a project.
- RealmNamingPolicy - Enum in io.realm.annotations
-
This enum defines the possible ways class and field names can be mapped from what is used in Java to the name used internally in the Realm file.
- RealmObject - Class in io.realm
-
In Realm you define your RealmObject classes by sub-classing RealmObject and adding fields to be persisted.
- RealmObject() - Constructor for class io.realm.RealmObject
- RealmObjectChangeListener<T extends RealmModel> - Interface in io.realm
-
RealmObjectChangeListener
can be registered on aRealmModel
orRealmObject
to receive detailed notifications when an object changes. - RealmObjectSchema - Class in io.realm
-
Class for interacting with the schema for a given RealmObject class.
- RealmObjectSchema.Function - Interface in io.realm
-
Function interface, used when traversing all objects of the current class and apply a function on each.
- RealmObservableFactory - Class in io.realm.rx
-
Factory class for creating Observables for RxJava (<=2.0.*).
- RealmObservableFactory(boolean) - Constructor for class io.realm.rx.RealmObservableFactory
-
Constructs the factory for creating Realm observables for RxJava.
- RealmPrimaryKeyConstraintException - Exception in io.realm.exceptions
-
Class for reporting problems when the primary key constraint is being broken.
- RealmPrimaryKeyConstraintException(String) - Constructor for exception io.realm.exceptions.RealmPrimaryKeyConstraintException
- RealmQuery<E> - Class in io.realm
-
A RealmQuery encapsulates a query on a
Realm
or aRealmResults
using the Builder pattern. - RealmResults<E> - Class in io.realm
-
This class holds all the matches of a
RealmQuery
for a given Realm. - RealmResultTask<T> - Interface in io.realm.mongodb
-
The RealmResultTask is a specific version of
RealmAsyncTask
that provides a mechanism to work with asynchronous operations carried out against MongoDB Realm that yield a result. - RealmSchema - Class in io.realm
-
Class for interacting with the Realm schema.
- RealmSet<E> - Class in io.realm
-
RealmSet is a collection that contains no duplicate elements.
- RealmSet() - Constructor for class io.realm.RealmSet
-
Instantiates a RealmSet in unmanaged mode.
- RealmSet(BaseRealm, OsSet, Class<E>) - Constructor for class io.realm.RealmSet
-
Instantiates a RealmSet in managed mode.
- RealmSet(BaseRealm, OsSet, String) - Constructor for class io.realm.RealmSet
-
Instantiates a RealmSet in managed mode.
- RealmSet(Collection<E>) - Constructor for class io.realm.RealmSet
-
Instantiates a RealmSet in unmanaged mode with another collection.
- reconnect() - Method in class io.realm.mongodb.sync.Sync
-
Realm will automatically detect when a device gets connectivity after being offline and resume syncing.
- RECOVERABLE - io.realm.mongodb.ErrorCode.Category
- refreshCustomData() - Method in class io.realm.mongodb.User
-
Re-fetch custom user data from the Realm App.
- refreshCustomData(App.Callback<Document>) - Method in class io.realm.mongodb.User
-
Re-fetch custom user data from the Realm App asynchronously.
- registerDefaultLogger() - Static method in class io.realm.log.RealmLog
-
Adds default native logger if it has been removed before.
- registerDevice(String) - Method in class io.realm.mongodb.push.Push
-
Registers the given FCM registration token with the currently logged in user's device on MongoDB Realm.
- registerDeviceAsync(String, App.Callback<Void>) - Method in class io.realm.mongodb.push.Push
-
Registers the given FCM registration token with the currently logged in user's device on MongoDB Realm.
- registerUser(String, String) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Registers a new user with the given email and password.
- registerUserAsync(String, String, App.Callback<Void>) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Registers a new user with the given email and password.
- remove() - Method in class io.realm.mongodb.User
-
Calling this will remove the user and any Realms the user has from the device.
- remove(int) - Method in class io.realm.RealmList
-
Removes the object at the specified location from this list.
- remove(RealmLogger) - Static method in class io.realm.log.RealmLog
-
Removes the given logger if it is currently added.
- remove(Subscription) - Method in interface io.realm.mongodb.sync.MutableSubscriptionSet
-
Remove a managed subscription.
- remove(Object) - Method in class io.realm.RealmList
-
Removes one instance of the specified object from this
Collection
if one is contained. - remove(Object) - Method in class io.realm.RealmMap
- remove(Object) - Method in class io.realm.RealmSet
- remove(String) - Method in interface io.realm.mongodb.sync.MutableSubscriptionSet
-
Remove a named subscription.
- remove(String) - Method in class io.realm.RealmSchema
-
Removes a class from the Realm.
- removeAll() - Method in interface io.realm.mongodb.sync.MutableSubscriptionSet
-
Remove all current managed subscriptions.
- removeAll(Class<T>) - Method in interface io.realm.mongodb.sync.MutableSubscriptionSet
-
Remove all subscriptions with queries on a given given model class.
- removeAll(String) - Method in interface io.realm.mongodb.sync.MutableSubscriptionSet
-
Remove all subscriptions on a given
Subscription.getObjectType()
. - removeAll(Collection<?>) - Method in class io.realm.RealmList
-
Removes all occurrences in this
Collection
of each object in the specifiedCollection
. - removeAll(Collection<?>) - Method in class io.realm.RealmSet
- removeAllChangeListeners() - Method in class io.realm.DynamicRealm
-
Removes all user-defined change listeners.
- removeAllChangeListeners() - Method in class io.realm.ProxyState
- removeAllChangeListeners() - Method in class io.realm.Realm
-
Removes all user-defined change listeners.
- removeAllChangeListeners() - Method in class io.realm.RealmList
-
Removes all user-defined change listeners.
- removeAllChangeListeners() - Method in class io.realm.RealmMap
-
Removes all user-defined change listeners.
- removeAllChangeListeners() - Method in class io.realm.RealmObject
-
Removes all registered listeners.
- removeAllChangeListeners() - Method in class io.realm.RealmResults
-
Removes all user-defined change listeners.
- removeAllChangeListeners() - Method in class io.realm.RealmSet
-
Removes all user-defined change listeners.
- removeAllChangeListeners(E) - Static method in class io.realm.RealmObject
-
Removes all registered listeners from the given RealmObject.
- removeAsync(App.Callback<User>) - Method in class io.realm.mongodb.User
-
Calling this will asynchronously remove the user and any Realms the user has from the device.
- removeAuthenticationListener(AuthenticationListener) - Method in class io.realm.mongodb.App
-
Removes the provided global authentication listener.
- removeChangeListener(E, RealmChangeListener<E>) - Static method in class io.realm.RealmObject
-
Removes a previously registered listener on the given RealmObject.
- removeChangeListener(E, RealmObjectChangeListener) - Static method in class io.realm.RealmObject
-
Removes a previously registered listener on the given RealmObject.
- removeChangeListener(MapChangeListener<K, V>) - Method in class io.realm.RealmMap
-
Removes the specified change listener.
- removeChangeListener(OrderedRealmCollectionChangeListener<RealmList<E>>) - Method in class io.realm.RealmList
-
Removes the specified change listener.
- removeChangeListener(OrderedRealmCollectionChangeListener<RealmResults<E>>) - Method in class io.realm.RealmResults
-
Removes the specified change listener.
- removeChangeListener(RealmChangeListener) - Method in class io.realm.RealmObject
-
Removes a previously registered listener.
- removeChangeListener(RealmChangeListener<DynamicRealm>) - Method in class io.realm.DynamicRealm
-
Removes the specified change listener.
- removeChangeListener(RealmChangeListener<Realm>) - Method in class io.realm.Realm
-
Removes the specified change listener.
- removeChangeListener(RealmChangeListener<RealmList<E>>) - Method in class io.realm.RealmList
-
Removes the specified change listener.
- removeChangeListener(RealmChangeListener<RealmMap<K, V>>) - Method in class io.realm.RealmMap
-
Removes the specified change listener.
- removeChangeListener(RealmChangeListener<RealmResults<E>>) - Method in class io.realm.RealmResults
-
Removes the specified change listener.
- removeChangeListener(RealmChangeListener<RealmSet<E>>) - Method in class io.realm.RealmSet
-
Removes the specified change listener.
- removeChangeListener(RealmObjectChangeListener) - Method in class io.realm.RealmObject
-
Removes a previously registered listener.
- removeChangeListener(RealmObjectChangeListener<E>) - Method in class io.realm.ProxyState
- removeChangeListener(SetChangeListener<E>) - Method in class io.realm.RealmSet
-
Removes the specified change listener.
- removeConnectionChangeListener(ConnectionListener) - Method in class io.realm.mongodb.sync.SyncSession
-
Removes a previously registered
ConnectionListener
. - REMOVED - io.realm.mongodb.User.State
- removeDefaultConfiguration() - Static method in class io.realm.Realm
-
Removes the current default configuration (if any).
- removeField(String) - Method in class io.realm.RealmObjectSchema
-
Removes a field from the class.
- removeIndex(String) - Method in class io.realm.RealmObjectSchema
-
Removes an index from a given field.
- removePrimaryKey() - Method in class io.realm.RealmObjectSchema
-
Removes the primary key from this class.
- removeProgressListener(ProgressListener) - Method in class io.realm.mongodb.sync.SyncSession
-
Removes a progress listener.
- removeUser(User) - Method in class io.realm.mongodb.App
-
Removes a users credentials from this device.
- rename(String, String) - Method in class io.realm.RealmSchema
-
Renames a class already in the Realm.
- renameField(String, String) - Method in class io.realm.RealmObjectSchema
-
Renames a field from one name to another.
- REPLACE - io.realm.mongodb.mongo.events.BaseChangeEvent.OperationType
- REQUEST_HEADER_FIELDS_TOO_LARGE - io.realm.mongodb.ErrorCode
- REQUEST_TIMEOUT - io.realm.mongodb.ErrorCode
- requestTimeout(long, TimeUnit) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Sets the default timeout used by network requests against the MongoDB Realm application.
- Required - Annotation Type in io.realm.annotations
-
This annotation will mark the field or the element in
io.realm.RealmList
as not nullable. - REQUIRED - io.realm.FieldAttribute
-
Marks a field as explicitly not allowing null values.
- resendConfirmationEmail(String) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Resend the confirmation for a user to the given email.
- resendConfirmationEmailAsync(String, App.Callback<Void>) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Resend the confirmation for a user to the given email.
- resetPassword(String, String, String) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Resets the password of a user with the given token, token id, and new password.
- resetPasswordAsync(String, String, String, App.Callback<Void>) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Resets the newPassword of a user with the given token, token id, and new password.
- RESTRICTED_HOST - io.realm.mongodb.ErrorCode
- retainAll(Collection<?>) - Method in class io.realm.RealmSet
- retryCustomConfirmation(String) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Retries the custom confirmation on a user for a given email.
- retryCustomConfirmationAsync(String, App.Callback<Void>) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Retries the custom confirmation on a user for a given email.
- returnNewDocument(boolean) - Method in class io.realm.mongodb.mongo.options.FindOneAndModifyOptions
-
Set to true if findOneAndModify operations should return the new updated document.
- REUSE_OF_SESSION_IDENT - io.realm.mongodb.ErrorCode
- RULE_ALREADY_EXISTS - io.realm.mongodb.ErrorCode
- RULE_DUPLICATE_NAME - io.realm.mongodb.ErrorCode
- RULE_NOT_FOUND - io.realm.mongodb.ErrorCode
- rxFactory(RxObservableFactory) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the
RxObservableFactory
used to create Rx Observables from Realm objects. - rxFactory(RxObservableFactory) - Method in class io.realm.RealmConfiguration.Builder
-
Sets the
RxObservableFactory
used to create Rx Observables from Realm objects. - RxObservableFactory - Interface in io.realm.rx
-
Factory interface for creating Rx Observables for Realm classes.
S
- schemaVersion(long) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the schema version of the Realm.
- schemaVersion(long) - Method in class io.realm.RealmConfiguration.Builder
-
Sets the schema version of the Realm.
- SEE_OTHER - io.realm.mongodb.ErrorCode
- sendResetPasswordEmail(String) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Sends a user a password reset email for the given email.
- sendResetPasswordEmailAsync(String, App.Callback<Void>) - Method in class io.realm.mongodb.auth.EmailPasswordAuth
-
Sends a user a password reset email for the given email.
- SENSITIVE - io.realm.Case
- separatedDirForSyncManager - Static variable in class io.realm.mongodb.sync.Sync.Debug
-
Set this to true to init a SyncManager with a directory named by the process ID.
- SERVER_FILE_DELETED - io.realm.mongodb.ErrorCode
- SERVER_PERMISSIONS_CHANGED - io.realm.mongodb.ErrorCode
- SERVICE - Static variable in class io.realm.mongodb.ErrorCode.Type
- SERVICE_ALREADY_EXISTS - io.realm.mongodb.ErrorCode
- SERVICE_COMMAND_NOT_FOUND - io.realm.mongodb.ErrorCode
- SERVICE_INTERNAL_SERVER_ERROR - io.realm.mongodb.ErrorCode
- SERVICE_NONE - io.realm.mongodb.ErrorCode
- SERVICE_NOT_FOUND - io.realm.mongodb.ErrorCode
- SERVICE_TYPE_NOT_FOUND - io.realm.mongodb.ErrorCode
- SERVICE_UNAVAILABLE - io.realm.mongodb.ErrorCode
- SERVICE_UNKNOWN - io.realm.mongodb.ErrorCode
- SESSION - Static variable in class io.realm.mongodb.ErrorCode.Type
- SESSION_CLOSED - io.realm.mongodb.ErrorCode
- set(int, E) - Method in class io.realm.RealmList
-
Replaces the element at the specified location in this list with the specified object.
- set(long) - Method in class io.realm.MutableRealmInteger
-
Sets the
MutableRealmInteger
value. - set(Long) - Method in class io.realm.MutableRealmInteger
-
Sets the
MutableRealmInteger
value. - set(String, Object) - Method in class io.realm.DynamicRealmObject
-
Sets the value for the given field.
- SET_TYPE - Static variable in class io.realm.CollectionUtils
- setAcceptDefaultValue$realm(boolean) - Method in class io.realm.ProxyState
- setBinaryByteArray(long, byte[]) - Method in enum io.realm.FrozenPendingRow
- setBlob(String, byte[]) - Method in class io.realm.DynamicRealmObject
-
Sets the binary value of the given field.
- setBlob(String, byte[]) - Method in class io.realm.RealmResults
-
Sets the binary value of the given field in all of the objects in the collection.
- setBoolean(long, boolean) - Method in enum io.realm.FrozenPendingRow
- setBoolean(String, boolean) - Method in class io.realm.DynamicRealmObject
-
Sets the
boolean
value of the given field. - setBoolean(String, boolean) - Method in class io.realm.RealmResults
-
Sets the
boolean
value of the given field in all of the objects in the collection. - setByte(String, byte) - Method in class io.realm.DynamicRealmObject
-
Sets the
byte
value of the given field. - setByte(String, byte) - Method in class io.realm.RealmResults
-
Sets the
byte
value of the given field in all of the objects in the collection. - SetChangeListener<T> - Interface in io.realm
-
SetChangeListener
can be registered with aRealmSet
to receive a notification with aSetChangeSet
to describe the details of what have been changed in the set since last time. - SetChangeSet - Class in io.realm
-
This class describes the changes made to a set during the last update.
- SetChangeSet(OsCollectionChangeSet) - Constructor for class io.realm.SetChangeSet
- setClassName(String) - Method in class io.realm.RealmObjectSchema
-
Sets a new name for this RealmObject class.
- setConstructionFinished() - Method in class io.realm.ProxyState
- setDate(long, Date) - Method in enum io.realm.FrozenPendingRow
- setDate(String, Date) - Method in class io.realm.DynamicRealmObject
-
Sets the
Date
value of the given field. - setDate(String, Date) - Method in class io.realm.RealmResults
-
Sets the
Date
value of the given field in all of the objects in the collection. - setDecimal128(long, Decimal128) - Method in enum io.realm.FrozenPendingRow
- setDecimal128(String, Decimal128) - Method in class io.realm.DynamicRealmObject
-
Sets the
Decimal128
value of the given field. - setDecimal128(String, Decimal128) - Method in class io.realm.RealmResults
-
Sets the
Decimal128
value of the given field in all of the objects in the collection. - setDefaultConfiguration(RealmConfiguration) - Static method in class io.realm.Realm
-
Sets the
RealmConfiguration
used when callingRealm.getDefaultInstance()
. - setDictionary(String, RealmDictionary<E>) - Method in class io.realm.DynamicRealmObject
-
Sets the reference to a
RealmDictionary
on the given field. - setDouble(long, double) - Method in enum io.realm.FrozenPendingRow
- setDouble(String, double) - Method in class io.realm.DynamicRealmObject
-
Sets the
double
value of the given field. - setDouble(String, double) - Method in class io.realm.RealmResults
-
Sets the
double
value of the given field in all of the objects in the collection. - setEmbedded(boolean) - Method in class io.realm.RealmObjectSchema
-
Converts the class to be embedded or not.
- setExcludeFields$realm(List<String>) - Method in class io.realm.ProxyState
- setFloat(long, float) - Method in enum io.realm.FrozenPendingRow
- setFloat(String, float) - Method in class io.realm.DynamicRealmObject
-
Sets the
float
value of the given field. - setFloat(String, float) - Method in class io.realm.RealmResults
-
Sets the
float
value of the given field in all of the objects in the collection. - setInt(String, int) - Method in class io.realm.DynamicRealmObject
-
Sets the
int
value of the given field. - setInt(String, int) - Method in class io.realm.RealmResults
-
Sets the
int
value of the given field in all of the objects in the collection. - setLevel(int) - Static method in class io.realm.log.RealmLog
-
Sets the current
LogLevel
. - setLink(long, long) - Method in enum io.realm.FrozenPendingRow
- setList(String, RealmList<E>) - Method in class io.realm.DynamicRealmObject
-
Sets the reference to a
RealmList
on the given field. - setList(String, RealmList<T>) - Method in class io.realm.RealmResults
-
Replaces the RealmList at the given field on all objects in this collection.
- setLong(long, long) - Method in enum io.realm.FrozenPendingRow
- setLong(String, long) - Method in class io.realm.DynamicRealmObject
-
Sets the
long
value of the given field. - setLong(String, long) - Method in class io.realm.RealmResults
-
Sets the
long
value of the given field in all of the objects in the collection. - setNull(long) - Method in enum io.realm.FrozenPendingRow
- setNull(String) - Method in class io.realm.DynamicRealmObject
-
Sets the value to
null
for the given field. - setNull(String) - Method in class io.realm.RealmResults
-
Sets the value to
null
for the given field in all of the objects in the collection. - setNullable(String, boolean) - Method in class io.realm.RealmObjectSchema
-
Sets a field to be nullable i.e., it should be able to hold
null
values. - setObject(String, DynamicRealmObject) - Method in class io.realm.DynamicRealmObject
-
Sets a reference to another object on the given field.
- setObject(String, RealmModel) - Method in class io.realm.RealmResults
-
Sets a reference to another object on the given field in all of the objects in the collection.
- setObjectId(long, ObjectId) - Method in enum io.realm.FrozenPendingRow
- setObjectId(String, ObjectId) - Method in class io.realm.DynamicRealmObject
-
Sets the
ObjectId
value of the given field. - setObjectId(String, ObjectId) - Method in class io.realm.RealmResults
-
Sets the
ObjectId
value of the given field in all of the objects in the collection. - setRealm$realm(BaseRealm) - Method in class io.realm.ProxyState
- setRealmAny(long, long) - Method in enum io.realm.FrozenPendingRow
- setRealmAny(String, RealmAny) - Method in class io.realm.DynamicRealmObject
-
Sets the
RealmAny
value of the given field. - setRealmSet(String, RealmSet<E>) - Method in class io.realm.DynamicRealmObject
-
Sets the reference to a
RealmSet
on the given field. - setRequired(String, boolean) - Method in class io.realm.RealmObjectSchema
-
Sets a field to be required i.e., it is not allowed to hold
null
values. - setRow$realm(Row) - Method in class io.realm.ProxyState
- setShort(String, short) - Method in class io.realm.DynamicRealmObject
-
Sets the
short
value of the given field. - setShort(String, short) - Method in class io.realm.RealmResults
-
Sets the
short
value of the given field in all of the objects in the collection. - setString(long, String) - Method in enum io.realm.FrozenPendingRow
- setString(String, String) - Method in class io.realm.DynamicRealmObject
-
Sets the
String
value of the given field. - setString(String, String) - Method in class io.realm.RealmResults
-
Sets the
String
value of the given field in all of the objects in the collection. - setUUID(long, UUID) - Method in enum io.realm.FrozenPendingRow
- setUUID(String, UUID) - Method in class io.realm.DynamicRealmObject
-
Sets the
UUID
value of the given field. - setUUID(String, UUID) - Method in class io.realm.RealmResults
-
Sets the
UUID
value of the given field in all of the objects in the collection. - setValue(String, Object) - Method in class io.realm.RealmResults
-
Updates the field given by
fieldName
in all objects inside the query result. - shouldCompact(long, long) - Method in interface io.realm.CompactOnLaunchCallback
-
This method determines if the Realm file should be compacted before opened and returned to the user.
- shouldCompact(long, long) - Method in class io.realm.DefaultCompactOnLaunchCallback
- shouldDeleteRealmIfMigrationNeeded() - Method in class io.realm.RealmConfiguration
- shouldDeleteRealmOnLogout() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns
true
if the Realm file must be deleted once theUser
owning it logs out. - shouldWaitForInitialRemoteData() - Method in class io.realm.mongodb.sync.SyncConfiguration
-
Returns
true
if the Realm will download all known changes from the remote server before being opened the first time. - size() - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
Returns how many subscriptions are currently in this subscription set.
- size() - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Returns the number of elements in this query result.
- size() - Method in class io.realm.RealmList
-
Returns the number of elements in this
List
. - size() - Method in class io.realm.RealmMap
- size() - Method in class io.realm.RealmSet
- skipOnlineChecking - Static variable in class io.realm.mongodb.sync.Sync.Debug
-
Set this to true to bypass checking if the device is offline before making HTTP requests.
- sort(String) - Method in interface io.realm.OrderedRealmCollection
-
Sorts a collection based on the provided field in ascending order.
- sort(String) - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Not supported by
OrderedRealmCollectionSnapshot
. - sort(String) - Method in class io.realm.RealmList
-
Sorts a collection based on the provided field in ascending order.
- sort(String) - Method in class io.realm.RealmQuery
-
Sorts the query result by the specific field name in ascending order.
- sort(String[], Sort[]) - Method in interface io.realm.OrderedRealmCollection
-
Sorts a collection based on the provided fields and sort orders.
- sort(String[], Sort[]) - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Not supported by
OrderedRealmCollectionSnapshot
. - sort(String[], Sort[]) - Method in class io.realm.RealmList
-
Sorts a collection based on the provided fields and sort orders.
- sort(String[], Sort[]) - Method in class io.realm.RealmQuery
-
Sorts the query result by the specific field names in the provided orders.
- sort(String, Sort) - Method in interface io.realm.OrderedRealmCollection
-
Sorts a collection based on the provided field and sort order.
- sort(String, Sort) - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Not supported by
OrderedRealmCollectionSnapshot
. - sort(String, Sort) - Method in class io.realm.RealmList
-
Sorts a collection based on the provided field and sort order.
- sort(String, Sort) - Method in class io.realm.RealmQuery
-
Sorts the query result by the specified field name and order.
- sort(String, Sort, String, Sort) - Method in interface io.realm.OrderedRealmCollection
-
Sorts a collection based on the provided fields and sort orders.
- sort(String, Sort, String, Sort) - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Not supported by
OrderedRealmCollectionSnapshot
. - sort(String, Sort, String, Sort) - Method in class io.realm.RealmList
-
Sorts a collection based on the provided fields and sort orders.
- sort(String, Sort, String, Sort) - Method in class io.realm.RealmQuery
-
Sorts the query result by the specific field names in the provided orders.
- sort(String, Sort, String, Sort) - Method in class io.realm.RealmResults
-
Sorts a collection based on the provided fields and sort orders.
- sort(Bson) - Method in class io.realm.mongodb.mongo.iterable.FindIterable
-
Sets the sort criteria to apply to the query.
- sort(Bson) - Method in class io.realm.mongodb.mongo.options.FindOneAndModifyOptions
-
Sets the sort criteria to apply to the query.
- sort(Bson) - Method in class io.realm.mongodb.mongo.options.FindOptions
-
Sets the sort criteria to apply to the query.
- Sort - Enum in io.realm
-
This class describes the sorting order used in Realm queries.
- start() - Method in class io.realm.mongodb.sync.SyncSession
-
Attempts to start the session and enable synchronization with the Realm Object Server.
- startIndex - Variable in class io.realm.OrderedCollectionChangeSet.Range
-
The start index of this change range.
- stop() - Method in class io.realm.mongodb.sync.SyncSession
-
Stops any synchronization with the Realm Object Server until the Realm is re-opened again after fully closing it.
- STRING - io.realm.RealmAny.Type
- STRING - io.realm.RealmFieldType
- STRING_LIST - io.realm.RealmFieldType
- STRING_SET - io.realm.RealmFieldType
- STRING_TO_BINARY_MAP - io.realm.RealmFieldType
- STRING_TO_BOOLEAN_MAP - io.realm.RealmFieldType
- STRING_TO_DATE_MAP - io.realm.RealmFieldType
- STRING_TO_DECIMAL128_MAP - io.realm.RealmFieldType
- STRING_TO_DOUBLE_MAP - io.realm.RealmFieldType
- STRING_TO_FLOAT_MAP - io.realm.RealmFieldType
- STRING_TO_INTEGER_MAP - io.realm.RealmFieldType
- STRING_TO_LINK_MAP - io.realm.RealmFieldType
- STRING_TO_MIXED_MAP - io.realm.RealmFieldType
- STRING_TO_OBJECT_ID_MAP - io.realm.RealmFieldType
- STRING_TO_STRING_MAP - io.realm.RealmFieldType
- STRING_TO_UUID_MAP - io.realm.RealmFieldType
- Subscription - Interface in io.realm.mongodb.sync
-
A subscription defines a specific server query and its metadata.
- SubscriptionSet - Interface in io.realm.mongodb.sync
-
A subscription set is an immutable view of all current
Subscription
s for a given Realm that has been configured for flexible sync. - SubscriptionSet.State - Enum in io.realm.mongodb.sync
-
The possible states a subscription set can be in.
- SubscriptionSet.StateChangeCallback - Interface in io.realm.mongodb.sync
-
Callback used when asynchronously waiting for the server to process the subscription set.
- SubscriptionSet.UpdateAsyncCallback - Interface in io.realm.mongodb.sync
-
Callback used when asynchronously updating a subscription set.
- SubscriptionSet.UpdateCallback - Interface in io.realm.mongodb.sync
-
Interface used when modifying a subscription set.
- success() - Static method in class io.realm.mongodb.App.Result
-
Creates a successful request result with no return value.
- sum(String) - Method in interface io.realm.RealmCollection
-
Calculates the sum of a given field.
- sum(String) - Method in class io.realm.RealmList
-
Calculates the sum of a given field.
- sum(String) - Method in class io.realm.RealmQuery
-
Calculates the sum of a given field.
- sum(String) - Method in class io.realm.RealmSet
-
Calculates the sum of a given field.
- SUPERSEDED - io.realm.mongodb.sync.SubscriptionSet.State
-
Another subscription set was stored before this one, the changes made to this set are ignorde by the server.
- switchUser(User) - Method in class io.realm.mongodb.App
-
Switch current user.
- Sync - Class in io.realm.mongodb.sync
-
A sync manager handling synchronization of local Realms with remote Realm Apps.
- Sync.Debug - Class in io.realm.mongodb.sync
-
Debugging related options.
- syncClientResetStrategy(DiscardUnsyncedChangesStrategy) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the handler for when a Client Reset occurs.
- syncClientResetStrategy(ManuallyRecoverUnsyncedChangesStrategy) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Sets the handler for when a Client Reset occurs.
- SyncClientResetStrategy - Interface in io.realm.mongodb.sync
-
Interface that defines a generic sync client reset strategy, it could be either
ManuallyRecoverUnsyncedChangesStrategy
orDiscardUnsyncedChangesStrategy
. - SyncConfiguration - Class in io.realm.mongodb.sync
-
A
SyncConfiguration
is used to setup a Realm Database that can be synchronized between devices using MongoDB Realm. - SyncConfiguration.Builder - Class in io.realm.mongodb.sync
-
Builder used to construct instances of a SyncConfiguration in a fluent manner.
- SyncConfiguration.InitialFlexibleSyncSubscriptions - Interface in io.realm.mongodb.sync
-
Interface for configuring the initial set of of subscriptions.
- syncRootDirectory(File) - Method in class io.realm.mongodb.AppConfiguration.Builder
-
Configures the root folder containing all files and Realms used when synchronizing data between the device and MongoDB Realm.
- SyncSession - Class in io.realm.mongodb.sync
-
A session controls how data is synchronized between a single Realm on the device and the server Realm on the Realm Object Server.
- SyncSession.ClientResetHandler - Interface in io.realm.mongodb.sync
-
Deprecated.replaced by
ManuallyRecoverUnsyncedChangesStrategy
- SyncSession.ErrorHandler - Interface in io.realm.mongodb.sync
-
Interface used to report any session errors.
- SyncSession.State - Enum in io.realm.mongodb.sync
-
Enum describing the states a SyncSession can be in.
T
- TEMPORARY_REDIRECT - io.realm.mongodb.ErrorCode
- toArray() - Method in class io.realm.RealmSet
- toArray(T[]) - Method in class io.realm.RealmSet
- toBsonDocument() - Method in class io.realm.mongodb.mongo.events.BaseChangeEvent
-
Converts the change event to a BSON representation, as it would look on a MongoDB realm change stream, or a Realm compact watch stream.
- toBsonDocument() - Method in class io.realm.mongodb.mongo.events.UpdateDescription
-
Converts this update description to its document representation as it would appear in a MongoDB Change Event.
- TOKEN_EXPIRED - io.realm.mongodb.ErrorCode
- TOO_MANY_REQUESTS - io.realm.mongodb.ErrorCode
- TOO_MANY_SESSIONS - io.realm.mongodb.ErrorCode
- toString() - Method in class io.realm.DynamicRealmObject
- toString() - Method in exception io.realm.exceptions.RealmFileException
- toString() - Method in exception io.realm.mongodb.AppException
- toString() - Method in class io.realm.mongodb.auth.ApiKey
- toString() - Method in class io.realm.mongodb.auth.ApiKeyAuth
- toString() - Method in enum io.realm.mongodb.ErrorCode
- toString() - Method in class io.realm.mongodb.mongo.MongoNamespace
-
Returns the standard MongoDB representation of a namespace, which is
<database>.<collection>
. - toString() - Method in class io.realm.mongodb.mongo.options.CountOptions
- toString() - Method in class io.realm.mongodb.mongo.options.FindOneAndModifyOptions
- toString() - Method in class io.realm.mongodb.mongo.options.FindOptions
- toString() - Method in class io.realm.mongodb.mongo.options.UpdateOptions
- toString() - Method in class io.realm.mongodb.sync.Progress
- toString() - Method in class io.realm.mongodb.sync.SyncConfiguration
- toString() - Method in class io.realm.mongodb.UserIdentity
- toString() - Method in class io.realm.mongodb.UserProfile
- toString() - Method in class io.realm.OrderedCollectionChangeSet.Range
- toString() - Method in class io.realm.RealmAny
- toString() - Method in class io.realm.RealmConfiguration
- toString() - Method in class io.realm.RealmList
- toString() - Method in class io.realm.rx.ObjectChange
- toUpdateDocument() - Method in class io.realm.mongodb.mongo.events.UpdateDescription
-
Convert this update description to an update document.
- trace(String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.TRACE
event. - trace(Throwable) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.TRACE
exception. - trace(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.TRACE
event. - TRACE - Static variable in class io.realm.log.LogLevel
-
The TRACE level designates finer-grained informational events than DEBUG.
- TRANSACT_BEFORE_UPLOAD - io.realm.mongodb.ErrorCode
- transform(RealmObjectSchema.Function) - Method in class io.realm.RealmObjectSchema
-
Runs a transformation function on each RealmObject instance of the current class.
- tryNext() - Method in class io.realm.mongodb.mongo.iterable.MongoCursor
-
A special
next()
case that returns the next document if available or null. - TWILIO_ERROR - io.realm.mongodb.ErrorCode
- Type() - Constructor for class io.realm.mongodb.ErrorCode.Type
- TYPED_LINK - io.realm.RealmFieldType
U
- UNAUTHORIZED - io.realm.mongodb.ErrorCode
- UNAVAILABLE_FOR_LEGAL_REASONS - io.realm.mongodb.ErrorCode
- UNCOMMITTED - io.realm.mongodb.sync.SubscriptionSet.State
-
The initial state of subscriptions when opening a new Realm or when entering a
SubscriptionSet.update(UpdateCallback)
. - UNKNOWN - io.realm.mongodb.Credentials.Provider
- UNKNOWN - io.realm.mongodb.ErrorCode
- UNKNOWN - io.realm.mongodb.mongo.events.BaseChangeEvent.OperationType
- UNKNOWN - Static variable in class io.realm.mongodb.ErrorCode.Type
- UNKNOWN_MESSAGE - io.realm.mongodb.ErrorCode
- UNPROCESSABLE_ENTITY - io.realm.mongodb.ErrorCode
- UNSUPPORTED_MEDIA_TYPE - io.realm.mongodb.ErrorCode
- UNSUPPORTED_SESSION_FEATURE - io.realm.mongodb.ErrorCode
- update(MutableSubscriptionSet) - Method in interface io.realm.mongodb.sync.SubscriptionSet.UpdateCallback
-
Updates the current subscription set by passing in a version of it that can be modified.
- update(SubscriptionSet.UpdateCallback) - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
Modify the subscription set.
- UPDATE - io.realm.mongodb.mongo.events.BaseChangeEvent.OperationType
- UPDATE - io.realm.OrderedCollectionChangeSet.State
-
This state is used for every subsequent update after the first.
- updateAsync(SubscriptionSet.UpdateAsyncCallback) - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
Asynchronously modify the subscription set.
- UpdateDescription - Class in io.realm.mongodb.mongo.events
-
Indicates which fields have been modified in a given update operation.
- updateMany(Bson, Bson) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Update all documents in the collection according to the specified arguments.
- updateMany(Bson, Bson, UpdateOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Update all documents in the collection according to the specified arguments.
- updateOne(Bson, Bson) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Update a single document in the collection according to the specified arguments.
- updateOne(Bson, Bson, UpdateOptions) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Update a single document in the collection according to the specified arguments.
- UpdateOptions - Class in io.realm.mongodb.mongo.options
-
The options to apply when updating documents.
- UpdateOptions() - Constructor for class io.realm.mongodb.mongo.options.UpdateOptions
- UpdateResult - Class in io.realm.mongodb.mongo.result
-
The result of an update operation.
- UpdateResult(long, long, BsonValue) - Constructor for class io.realm.mongodb.mongo.result.UpdateResult
-
Constructs a result.
- UPGRADE_REQUIRED - io.realm.mongodb.ErrorCode
- uploadAllLocalChanges() - Method in class io.realm.mongodb.sync.SyncSession
-
Calling this method will block until all known local changes have been uploaded to the server.
- uploadAllLocalChanges(long, TimeUnit) - Method in class io.realm.mongodb.sync.SyncSession
-
Calling this method will block until all known local changes have been uploaded to the server or the specified timeout is hit.
- upsert(boolean) - Method in class io.realm.mongodb.mongo.options.FindOneAndModifyOptions
-
Set to true if a new document should be inserted if there are no matches to the query filter.
- upsert(boolean) - Method in class io.realm.mongodb.mongo.options.UpdateOptions
-
Set to true if a new document should be inserted if there are no matches to the query filter.
- URI_TOO_LONG - io.realm.mongodb.ErrorCode
- urlPrefix(String) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
The prefix that is prepended to the path in the WebSocket request that initiates a sync connection to MongoDB Realm.
- USE_PROXY - io.realm.mongodb.ErrorCode
- User - Class in io.realm.mongodb
-
A user holds the user's meta data and tokens for accessing Realm App functionality.
- USER_ALREADY_CONFIRMED - io.realm.mongodb.ErrorCode
- USER_APP_DOMAIN_MISMATCH - io.realm.mongodb.ErrorCode
- USER_BLACKLISTED - io.realm.mongodb.ErrorCode
- USER_DISABLED - io.realm.mongodb.ErrorCode
- USER_MISMATCH - io.realm.mongodb.ErrorCode
- USER_NOT_FOUND - io.realm.mongodb.ErrorCode
- User.State - Enum in io.realm.mongodb
-
The user's potential states.
- UserIdentity - Class in io.realm.mongodb
-
Each User is represented by 1 or more identities each defined by an
Credentials.Provider
. - UserProfile - Class in io.realm.mongodb
- UUID - io.realm.RealmAny.Type
- UUID - io.realm.RealmFieldType
- UUID_LIST - io.realm.RealmFieldType
- UUID_SET - io.realm.RealmFieldType
V
- value() - Method in annotation type io.realm.annotations.LinkingObjects
-
The name of a field that contains a relation to an instance of the class containing this annotation.
- value() - Method in annotation type io.realm.annotations.RealmClass
-
Manually set the internal name used by Realm for this class.
- value() - Method in annotation type io.realm.annotations.RealmField
-
Manually set the internal name used by Realm for this field.
- VALUE_ALREADY_EXISTS - io.realm.mongodb.ErrorCode
- VALUE_DUPLICATE_NAME - io.realm.mongodb.ErrorCode
- VALUE_NOT_FOUND - io.realm.mongodb.ErrorCode
- valueOf(byte[]) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(long) - Static method in class io.realm.MutableRealmInteger
-
Creates a new, unmanaged
MutableRealmInteger
with the specified initial value. - valueOf(RealmModel) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(Boolean) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(Byte) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(Double) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(Float) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(Integer) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(Long) - Static method in class io.realm.MutableRealmInteger
-
Creates a new, unmanaged
MutableRealmInteger
with the specified initial value. - valueOf(Long) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(Short) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(String) - Static method in enum io.realm.annotations.RealmNamingPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.Case
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.exceptions.RealmFileException.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.FieldAttribute
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.FrozenPendingRow
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.ImportFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.mongodb.auth.GoogleAuthType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.mongodb.Credentials.Provider
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.mongodb.ErrorCode.Category
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.mongodb.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.mongodb.mongo.events.BaseChangeEvent.OperationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.mongodb.sync.ConnectionState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.mongodb.sync.ProgressMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.mongodb.sync.SubscriptionSet.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.mongodb.sync.SyncSession.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.mongodb.User.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class io.realm.MutableRealmInteger
-
Creates a new, unmanaged
MutableRealmInteger
with the specified initial value. - valueOf(String) - Static method in enum io.realm.OrderedCollectionChangeSet.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.RealmAny.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(String) - Static method in enum io.realm.RealmFieldType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.Sort
-
Returns the enum constant of this type with the specified name.
- valueOf(Date) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(UUID) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(Decimal128) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- valueOf(ObjectId) - Static method in class io.realm.RealmAny
-
Creates a new RealmAny with the specified value.
- values() - Static method in enum io.realm.annotations.RealmNamingPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.Case
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.exceptions.RealmFileException.Kind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.FieldAttribute
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.FrozenPendingRow
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.ImportFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.mongodb.auth.GoogleAuthType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.mongodb.Credentials.Provider
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.mongodb.ErrorCode.Category
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.mongodb.ErrorCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.mongodb.mongo.events.BaseChangeEvent.OperationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.mongodb.sync.ConnectionState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.mongodb.sync.ProgressMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.mongodb.sync.SubscriptionSet.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.mongodb.sync.SyncSession.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.mongodb.User.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.OrderedCollectionChangeSet.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.RealmAny.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.realm.RealmFieldType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class io.realm.RealmMap
- values() - Static method in enum io.realm.Sort
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VARIANT_ALSO_NEGOTIATES - io.realm.mongodb.ErrorCode
W
- waitForInitialRemoteData() - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Setting this will cause the Realm to download all known changes from the server the first time a Realm is opened.
- waitForInitialRemoteData(long, TimeUnit) - Method in class io.realm.mongodb.sync.SyncConfiguration.Builder
-
Setting this will cause the Realm to download all known changes from the server the first time a Realm is opened.
- waitForSynchronization() - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
Wait for the subscription set to synchronize with the server.
- waitForSynchronization(Long, TimeUnit) - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
Wait for the subscription set to synchronize with the server.
- waitForSynchronizationAsync(SubscriptionSet.StateChangeCallback) - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
Asynchronously wait for the subscription set to synchronize with the server.
- waitForSynchronizationAsync(Long, TimeUnit, SubscriptionSet.StateChangeCallback) - Method in interface io.realm.mongodb.sync.SubscriptionSet
-
Asynchronously wait for the subscription set to synchronize with the server.
- WAITING_FOR_ACCESS_TOKEN - io.realm.mongodb.sync.SyncSession.State
-
The user is attempting to synchronize data but needs a valid access token to do so.
- warn(String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.WARN
event. - warn(Throwable) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.WARN
exception. - warn(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
-
Logs a
LogLevel.WARN
event. - WARN - Static variable in class io.realm.log.LogLevel
-
The WARN level designates potentially harmful situations.
- watch() - Method in class io.realm.mongodb.mongo.MongoCollection
-
Watches a collection.
- watch(BsonValue...) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Watches specified IDs in a collection.
- watch(ObjectId...) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Watches specified IDs in a collection.
- watchAsync() - Method in class io.realm.mongodb.mongo.MongoCollection
-
Watches a collection asynchronously.
- watchAsync(BsonValue...) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Watches specified IDs in a collection asynchronously.
- watchAsync(ObjectId...) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Watches specified IDs in a collection asynchronously.
- watchWithFilter(BsonDocument) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Watches a collection.
- watchWithFilter(Document) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Watches a collection.
- watchWithFilterAsync(BsonDocument) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Watches a collection asynchronously.
- watchWithFilterAsync(Document) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Watches a collection asynchronously.
- where() - Method in class io.realm.OrderedRealmCollectionSnapshot
-
Deprecated.
- where() - Method in interface io.realm.RealmCollection
-
Returns a
RealmQuery
, which can be used to query for specific objects from this collection. - where() - Method in class io.realm.RealmList
-
Returns a RealmQuery, which can be used to query for specific objects of this class.
- where() - Method in class io.realm.RealmResults
-
Returns a
RealmQuery
, which can be used to query for specific objects from this collection. - where() - Method in class io.realm.RealmSet
-
Returns a RealmQuery, which can be used to query for specific objects of this class.
- where(Class<E>) - Method in class io.realm.Realm
-
Returns a typed RealmQuery, which can be used to query for specific objects of this type
- where(String) - Method in class io.realm.DynamicRealm
-
Returns a RealmQuery, which can be used to query the provided class.
- withCodecRegistry(CodecRegistry) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Creates a new MongoCollection instance with a different codec registry.
- withDocumentClass(Class<NewDocumentT>) - Method in class io.realm.mongodb.mongo.MongoCollection
-
Creates a new MongoCollection instance with a different default class to cast any documents returned from the database into.
- withError(AppException) - Static method in class io.realm.mongodb.App.Result
-
Creates a failed request result.
- withResult(T) - Static method in class io.realm.mongodb.App.Result
-
Creates a successful request result with a return value.
- WRITE_NOT_ALLOWED - io.realm.mongodb.ErrorCode
- WRONG_PROTOCOL_VERSION - io.realm.mongodb.ErrorCode
All Classes All Packages