- ACCESS_TOKEN - Static variable in class io.realm.SyncCredentials.IdentityProvider
-
The provided identity is an already registered user (represented by the access token).
- accessToken(String, String) - Static method in class io.realm.SyncCredentials
-
Creates credentials from an existing access token.
- add(RealmLogger) - Static method in class io.realm.log.RealmLog
-
Adds a logger implementation that will be notified on log events.
- add(Logger) - Static method in class io.realm.log.RealmLog
-
- 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.RealmResults
-
Deprecated.
- add(int, E) - Method in class io.realm.RealmResults
-
Deprecated.
- addAll(int, Collection<? extends E>) - Method in class io.realm.RealmResults
-
Deprecated.
- addAll(Collection<? extends E>) - Method in class io.realm.RealmResults
-
Deprecated.
- addAuthenticationListener(AuthenticationListener) - Static method in class io.realm.SyncManager
-
Sets a global authentication listener that will be notified about User events like
login and logout.
- 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<E>) - Method in class io.realm.RealmObject
-
Adds a change listener to this RealmObject.
- addChangeListener(E, RealmChangeListener<E>) - Static method in class io.realm.RealmObject
-
Adds a change listener to a RealmObject.
- addChangeListener(RealmChangeListener<RealmResults<E>>) - Method in class io.realm.RealmResults
-
Adds a change listener to this RealmResults.
- 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.
- addPrimaryKey(String) - Method in class io.realm.RealmObjectSchema
-
Adds a primary key to a given field.
- addRealmListField(String, RealmObjectSchema) - Method in class io.realm.RealmObjectSchema
-
Adds a new field that references a
RealmList
.
- addRealmObjectField(String, RealmObjectSchema) - Method in class io.realm.RealmObjectSchema
-
- ALL - Static variable in class io.realm.log.LogLevel
-
The ALL has the lowest possible rank and is intended to turn on all logging.
- all() - Static method in class io.realm.SyncUser
-
Returns all valid users known by this device.
- allUsers() - Method in class io.realm.RealmFileUserStore
-
Returns a collection of all users saved in the User store.
- allUsers() - Method in interface io.realm.UserStore
-
Returns a collection of all users saved in the User store.
- AndroidLogger - Class in io.realm.log
-
- AndroidLogger(int) - Constructor for class io.realm.log.AndroidLogger
-
Deprecated.
Creates an logger that outputs to logcat.
- APP_ID - Static variable in class io.realm.SyncManager
-
APP ID sent to the Realm Object Server.
- apply(DynamicRealmObject) - Method in interface io.realm.RealmObjectSchema.Function
-
- asObservable() - Method in class io.realm.DynamicRealm
-
Returns an RxJava Observable that monitors changes to this Realm.
- asObservable() - Method in class io.realm.Realm
-
Returns an RxJava Observable that monitors changes to this Realm.
- asObservable() - Method in class io.realm.RealmObject
-
Returns an RxJava Observable that monitors changes to this RealmObject.
- asObservable(E) - Static method in class io.realm.RealmObject
-
Returns an RxJava Observable that monitors changes to this RealmObject.
- asObservable() - Method in class io.realm.RealmResults
-
Returns an Rx Observable that monitors changes to this RealmResults.
- assetFile(String) - Method in class io.realm.RealmConfiguration.Builder
-
Copies the Realm file from the given asset file path.
- AuthenticationListener - Interface in io.realm
-
Interface describing events related to Users and their authentication
- 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.RealmResults
-
Returns the average of a given field.
- Callback() - Constructor for class io.realm.Realm.Transaction.Callback
-
- 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.
- 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.RealmResults
-
Deprecated.
- close() - Method in class io.realm.RealmObjectSchema
-
Closes/frees native resource.
- close() - Method in class io.realm.RealmSchema
-
- compactRealm(RealmConfiguration) - Static method in class io.realm.Realm
-
Compacts a Realm file.
- 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(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.
- contains(Object) - Method in class io.realm.RealmResults
-
- contains(String) - Method in class io.realm.RealmSchema
-
Checks if a given class already exists in the schema.
- 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.
- 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
.
- copyToRealm(E) - Method in class io.realm.Realm
-
Copies a RealmObject to the Realm instance and returns the copy.
- copyToRealm(Iterable<E>) - Method in class io.realm.Realm
-
Copies a collection of RealmObjects to the Realm instance and returns their copy.
- copyToRealmOrUpdate(E) - 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>) - 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.RealmQuery
-
Counts the number of objects that fulfill the query conditions.
- create(String) - Method in class io.realm.RealmSchema
-
Adds a new class to the Realm.
- createAllFromJson(Class<E>, JSONArray) - 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>, InputStream) - Method in class io.realm.Realm
-
Creates a Realm object for each object in a JSON array.
- createDynamicQuery(DynamicRealm, String) - Static method in class io.realm.RealmQuery
-
Creates a query for dynamic objects of a given type from a
DynamicRealm
.
- 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.
- 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.
- createObjectFromJson(Class<E>, JSONObject) - 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>, InputStream) - Method in class io.realm.Realm
-
Creates a Realm object pre-filled with data from a JSON object.
- 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.
- 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>, InputStream) - 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>, JSONObject) - 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>, InputStream) - Method in class io.realm.Realm
-
Tries to update an existing object defined by its primary key with new JSON data.
- createQuery(Realm, Class<E>) - Static method in class io.realm.RealmQuery
-
Creates a query for objects of a given class from a
Realm
.
- createQueryFromList(RealmList<E>) - Static method in class io.realm.RealmQuery
-
- createQueryFromResult(RealmResults<E>) - Static method in class io.realm.RealmQuery
-
- currentUser() - Static method in class io.realm.SyncUser
-
Returns the current user that is logged in and still valid.
- custom(String, String, Map<String, Object>) - Static method in class io.realm.SyncCredentials
-
Creates a custom set of credentials.
- debug(Throwable, String, Object...) - Method in class io.realm.log.AndroidLogger
-
Deprecated.
- debug(Throwable, String, Object...) - Method in interface io.realm.log.Logger
-
Deprecated.
- 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.
- debug(Throwable) - Static method in class io.realm.log.RealmLog
-
- debug(String, Object...) - Static method in class io.realm.log.RealmLog
-
- debug(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
-
- DEBUG - Static variable in class io.realm.SyncCredentials.IdentityProvider
-
Any credentials verified by the debug identity provider will always be considered valid.
- Debug() - Constructor for class io.realm.SyncManager.Debug
-
- DEFAULT_REALM_NAME - Static variable in class io.realm.Realm
-
- DEFAULT_REALM_NAME - Static variable in class io.realm.RealmConfiguration
-
- delete(String) - Method in class io.realm.DynamicRealm
-
Deletes all objects of the specified class from the Realm.
- delete(Class<? extends RealmModel>) - Method in class io.realm.Realm
-
Deletes all objects of the specified class from the 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.RealmResults
-
This deletes all objects in the collection from the underlying Realm as well as from the collection.
- deleteFirstFromRealm() - Method in interface io.realm.OrderedRealmCollection
-
Deletes the first object from the Realm.
- deleteFirstFromRealm() - Method in class io.realm.RealmList
-
Deletes the first object from the Realm.
- deleteFirstFromRealm() - Method in class io.realm.RealmResults
-
Removes the first object in the list.
- 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.RealmList
-
Deletes the object at the given index from the Realm.
- deleteFromRealm() - Method in class io.realm.RealmObject
-
Deletes the object from the Realm it is currently associated to.
- deleteFromRealm(E) - Static method in class io.realm.RealmObject
-
Deletes the object from the Realm it is currently associated with.
- deleteFromRealm(int) - Method in class io.realm.RealmResults
-
Deletes the object at the given index from the Realm.
- deleteLastFromRealm() - Method in interface io.realm.OrderedRealmCollection
-
Deletes the last object from the Realm.
- deleteLastFromRealm() - Method in class io.realm.RealmList
-
Deletes the last object from the Realm.
- deleteLastFromRealm() - Method in class io.realm.RealmResults
-
Removes the last object in the list.
- deleteRealm(RealmConfiguration) - Static method in class io.realm.Realm
-
- deleteRealmIfMigrationNeeded() - Method in class io.realm.RealmConfiguration.Builder
-
Setting this will change the behavior of how migration exceptions are handled.
- directory(File) - Method in class io.realm.RealmConfiguration.Builder
-
Specifies the directory where the Realm file will be saved.
- directory(File) - Method in class io.realm.SyncConfiguration.Builder
-
Sets the local root directory where synchronized Realm files can be saved.
- distinct(String) - Method in class io.realm.RealmQuery
-
Returns a distinct set of objects of a specific class.
- distinct(String, String...) - Method in class io.realm.RealmQuery
-
Returns a distinct set of objects from a specific class.
- distinct(String) - Method in class io.realm.RealmResults
-
Returns a distinct set of objects of a specific class.
- distinct(String, String...) - Method in class io.realm.RealmResults
-
Returns a distinct set of objects from a specific class.
- distinctAsync(String) - Method in class io.realm.RealmQuery
-
Asynchronously returns a distinct set of objects of a specific class.
- distinctAsync(String) - Method in class io.realm.RealmResults
-
Asynchronously returns a distinct set of objects of a specific class.
- DynamicRealm - Class in io.realm
-
DynamicRealm is a dynamic variant of
Realm
.
- DynamicRealm.Transaction - Interface in io.realm
-
Encapsulates a Realm 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.
- facebook(String) - Static method in class io.realm.SyncCredentials
-
Creates credentials based on a Facebook login.
- FACEBOOK - Static variable in class io.realm.SyncCredentials.IdentityProvider
-
Credentials will be verified by Facebook.
- fatal(Throwable, String, Object...) - Method in class io.realm.log.AndroidLogger
-
Deprecated.
- fatal(Throwable, String, Object...) - Method in interface io.realm.log.Logger
-
Deprecated.
- 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.
- fatal(Throwable) - Static method in class io.realm.log.RealmLog
-
- fatal(String, Object...) - Static method in class io.realm.log.RealmLog
-
- fatal(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
-
- FieldAttribute - Enum in io.realm
-
This class contains all Realm attributes for a Realm field.
- 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 and sorted by specific field name.
- findAllSorted(String, Sort) - Method in class io.realm.RealmQuery
-
Finds all objects that fulfill the query conditions and sorted by specific field name.
- findAllSorted(String) - Method in class io.realm.RealmQuery
-
Finds all objects that fulfill the query conditions and sorted by specific field name in ascending order.
- findAllSorted(String[], Sort[]) - Method in class io.realm.RealmQuery
-
Finds all objects that fulfill the query conditions and sorted by specific field names.
- findAllSorted(String, Sort, String, Sort) - Method in class io.realm.RealmQuery
-
Finds all objects that fulfill the query conditions and sorted by specific field names in ascending order.
- findAllSortedAsync(String, Sort) - Method in class io.realm.RealmQuery
-
- findAllSortedAsync(String) - Method in class io.realm.RealmQuery
-
- findAllSortedAsync(String[], Sort[]) - Method in class io.realm.RealmQuery
-
- findAllSortedAsync(String, Sort, String, Sort) - Method in class io.realm.RealmQuery
-
- 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
This method is only available from a Looper thread.
- first() - Method in interface io.realm.OrderedRealmCollection
-
Gets the first object from the collection.
- first(E) - 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 class io.realm.RealmList
-
Gets the first object from the collection.
- first() - Method in class io.realm.RealmResults
-
Gets the first object from the collection.
- first(E) - Method in class io.realm.RealmResults
-
Gets the first object from the collection.
- from(Realm) - Method in class io.realm.rx.RealmObservableFactory
-
- from(DynamicRealm) - Method in class io.realm.rx.RealmObservableFactory
-
- from(Realm, RealmResults<E>) - Method in class io.realm.rx.RealmObservableFactory
-
- from(DynamicRealm, RealmResults<DynamicRealmObject>) - Method in class io.realm.rx.RealmObservableFactory
-
- from(Realm, RealmList<E>) - Method in class io.realm.rx.RealmObservableFactory
-
- from(DynamicRealm, RealmList<DynamicRealmObject>) - Method in class io.realm.rx.RealmObservableFactory
-
- from(Realm, E) - Method in class io.realm.rx.RealmObservableFactory
-
- from(DynamicRealm, DynamicRealmObject) - Method in class io.realm.rx.RealmObservableFactory
-
- from(Realm, RealmQuery<E>) - Method in class io.realm.rx.RealmObservableFactory
-
- from(DynamicRealm, RealmQuery<DynamicRealmObject>) - Method in class io.realm.rx.RealmObservableFactory
-
- from(Realm) - Method in interface io.realm.rx.RxObservableFactory
-
Creates an Observable for a
Realm
.
- from(DynamicRealm) - Method in interface io.realm.rx.RxObservableFactory
-
- from(Realm, RealmResults<E>) - Method in interface io.realm.rx.RxObservableFactory
-
- from(DynamicRealm, RealmResults<DynamicRealmObject>) - Method in interface io.realm.rx.RxObservableFactory
-
- from(Realm, RealmList<E>) - Method in interface io.realm.rx.RxObservableFactory
-
- from(DynamicRealm, RealmList<DynamicRealmObject>) - Method in interface io.realm.rx.RxObservableFactory
-
- from(Realm, E) - Method in interface io.realm.rx.RxObservableFactory
-
- from(DynamicRealm, DynamicRealmObject) - Method in interface io.realm.rx.RxObservableFactory
-
- from(Realm, RealmQuery<E>) - Method in interface io.realm.rx.RxObservableFactory
-
- from(DynamicRealm, RealmQuery<DynamicRealmObject>) - Method in interface io.realm.rx.RxObservableFactory
-
- fromInt(int) - Static method in enum io.realm.ErrorCode
-
- fromJson(String) - Static method in class io.realm.SyncUser
-
- fromNativeValue(int) - Static method in enum io.realm.RealmFieldType
-
Converts the underlying value used by the storage engine to the proper Realm type.
- get(String) - Method in class io.realm.DynamicRealmObject
-
Returns the value for the given field.
- get(String) - Method in class io.realm.RealmFileUserStore
-
- get(int) - Method in class io.realm.RealmList
-
Returns the element at the specified location in this list.
- get(int) - Method in class io.realm.RealmResults
-
Returns the element at the specified location in this list.
- get(String) - Method in class io.realm.RealmSchema
-
Returns the Realm schema for a given class.
- get(String) - Method in interface io.realm.UserStore
-
- getAcceptDefaultValue$realm() - Method in class io.realm.ProxyState
-
- getAccessToken() - Method in class io.realm.SyncUser
-
Returns this user's access token.
- getAll() - Method in class io.realm.RealmSchema
-
Returns the
RealmObjectSchema
for all RealmObject classes that can be saved in this Realm.
- getArgument() - Method in class io.realm.RealmQuery
-
- getAuthenticationUrl() - Method in class io.realm.SyncUser
-
Returns the
URL
where this user was authenticated.
- getAuthServer() - Static method in class io.realm.SyncManager
-
- getBlob(String) - Method in class io.realm.DynamicRealmObject
-
Returns the byte[]
value for a given field.
- 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 enum io.realm.ErrorCode
-
Returns the getCategory of the error.
- getCategory() - Method in exception io.realm.ObjectServerError
-
- getClassName() - Method in class io.realm.RealmObjectSchema
-
Returns the name of the RealmObject class being represented by this schema.
- getConfiguration() - Method in class io.realm.SyncSession
-
- getCreatedAt() - Method in class io.realm.permissions.PermissionChange
-
- getCreatedAt() - Method in class io.realm.permissions.PermissionOffer
-
- getCreatedAt() - Method in class io.realm.permissions.PermissionOfferResponse
-
- getCurrent() - Method in class io.realm.RealmFileUserStore
-
- getCurrent() - Method in interface io.realm.UserStore
-
- getDate(String) - Method in class io.realm.DynamicRealmObject
-
Returns the Date
value for a given field.
- getDefaultInstance() - Static method in class io.realm.Realm
-
- getDefaultModule() - Static method in class io.realm.Realm
-
Returns the default Realm module.
- getDouble(String) - Method in class io.realm.DynamicRealmObject
-
Returns the double
value for a given field.
- getDurability() - Method in class io.realm.RealmConfiguration
-
- getEncryptionKey() - Method in class io.realm.RealmConfiguration
-
- getErrorCode() - Method in exception io.realm.ObjectServerError
-
Returns the error code uniquely identifying this type of error.
- getErrorHandler() - Method in class io.realm.SyncConfiguration
-
- getErrorMessage() - Method in exception io.realm.ObjectServerError
-
Returns a more detailed error message about the cause of this error.
- getException() - Method in exception io.realm.ObjectServerError
-
Returns the underlying exception causing this error, if any.
- getExcludeFields$realm() - Method in class io.realm.ProxyState
-
- getExpiresAt() - Method in class io.realm.permissions.PermissionOffer
-
- 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.
- getFloat(String) - Method in class io.realm.DynamicRealmObject
-
Returns the float
value for a given field.
- getGlobalInstanceCount(RealmConfiguration) - Static method in class io.realm.Realm
-
Returns the current number of open Realm instances across all threads that are using this configuration.
- getId() - Method in class io.realm.permissions.PermissionChange
-
- getId() - Method in class io.realm.permissions.PermissionOffer
-
- getId() - Method in class io.realm.permissions.PermissionOfferResponse
-
- getIdentity() - Method in class io.realm.SyncUser
-
Returns the identity of this user on the Realm Object Server.
- getIdentityProvider() - Method in class io.realm.SyncCredentials
-
Returns the provider used by the Object Server to validate these credentials.
- 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
- getInt(String) - Method in class io.realm.DynamicRealmObject
-
Returns the int
value for a given field.
- getKind() - Method in exception io.realm.exceptions.RealmFileException
-
- getLevel() - Static method in class io.realm.log.RealmLog
-
- getList(String) - Method in class io.realm.DynamicRealmObject
-
Returns the
RealmList
of objects being linked to from this field.
- getListeners$realm() - Method in class io.realm.ProxyState
-
- getLocalInstanceCount(RealmConfiguration) - Static method in class io.realm.Realm
-
Returns the current number of open Realm instances on the thread calling this method.
- getLong(String) - Method in class io.realm.DynamicRealmObject
-
Returns the long
value for a given field.
- getManagementRealm() - Method in class io.realm.SyncUser
-
Returns an instance of the Management Realm owned by the user.
- getMigration() - Method in class io.realm.RealmConfiguration
-
- getMinimumNativeDebugLevel() - Method in class io.realm.log.AndroidLogger
-
Deprecated.
- getMinimumNativeDebugLevel() - Method in interface io.realm.log.Logger
-
Deprecated.
Defines which
LogLevel
events this logger cares about from the native components.
- getNativePtr() - Method in class io.realm.RealmSchema
-
- getNativeValue() - Method in enum io.realm.RealmFieldType
-
Returns the native value representing this type.
- getObject(String) - Method in class io.realm.DynamicRealmObject
-
Returns the object being linked to from this field.
- 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
-
- getPendingQuery$realm() - Method in class io.realm.ProxyState
-
- getPrimaryKey() - Method in class io.realm.RealmObjectSchema
-
Returns the name of the primary key field.
- getRealm$realm() - Method in class io.realm.ProxyState
-
- 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.
- getRealmUrl() - Method in class io.realm.permissions.PermissionChange
-
- getRealmUrl() - Method in class io.realm.permissions.PermissionOffer
-
- getRealmUrl() - Method in class io.realm.permissions.PermissionOfferResponse
-
- getRow$realm() - Method in class io.realm.ProxyState
-
- getRxFactory() - Method in class io.realm.RealmConfiguration
-
- getSchemaVersion() - Method in class io.realm.RealmConfiguration
-
- getServerUrl() - Method in class io.realm.SyncConfiguration
-
Returns the fully disambiguated URI for the remote Realm i.e., the /~/
placeholder has been replaced
by the proper user ID.
- getServerUrl() - Method in class io.realm.SyncSession
-
Returns the
URI
describing the remote Realm which this session connects to and synchronizes changes with.
- getSession(SyncConfiguration) - Static method in class io.realm.SyncManager
-
- getShort(String) - Method in class io.realm.DynamicRealmObject
-
Returns the short
value for a given field.
- getState() - Method in class io.realm.SyncSession
-
Returns the state of this session.
- getStatusCode() - Method in class io.realm.permissions.PermissionChange
-
Returns the status code for this change.
- getStatusCode() - Method in class io.realm.permissions.PermissionOffer
-
Returns the status code for this change.
- getStatusCode() - Method in class io.realm.permissions.PermissionOfferResponse
-
Returns the status code for this change.
- getStatusMessage() - Method in class io.realm.permissions.PermissionChange
-
- getStatusMessage() - Method in class io.realm.permissions.PermissionOffer
-
- getStatusMessage() - Method in class io.realm.permissions.PermissionOfferResponse
-
- getString(String) - Method in class io.realm.DynamicRealmObject
-
Returns the String
value for a given field.
- getToken() - Method in class io.realm.permissions.PermissionOffer
-
- getToken() - Method in class io.realm.permissions.PermissionOfferResponse
-
- getType() - Method in class io.realm.DynamicRealmObject
-
Returns the type of object.
- getUpdatedAt() - Method in class io.realm.permissions.PermissionChange
-
- getUpdatedAt() - Method in class io.realm.permissions.PermissionOffer
-
- getUpdatedAt() - Method in class io.realm.permissions.PermissionOfferResponse
-
- getUser() - Method in class io.realm.SyncConfiguration
-
Returns the user.
- getUser() - Method in class io.realm.SyncSession
-
- getUserId() - Method in class io.realm.permissions.PermissionChange
-
- getUserIdentifier() - Method in class io.realm.SyncCredentials
-
Returns a String that identifies the user.
- getUserInfo() - Method in class io.realm.SyncCredentials
-
Returns any custom user information associated with this credential.
- getValue() - Method in enum io.realm.Case
-
Returns the value for this setting that is used by the underlying query engine.
- getValue() - Method in enum io.realm.Sort
-
Returns the value for this setting that is used by the underlying query engine.
- google(String) - Static method in class io.realm.SyncCredentials
-
Creates credentials based on a Google login.
- GOOGLE - Static variable in class io.realm.SyncCredentials.IdentityProvider
-
Credentials will be verified by Google.
- 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, double) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThan(String, float) - Method in class io.realm.RealmQuery
-
Greater-than comparison.
- greaterThan(String, Date) - Method in class io.realm.RealmQuery
-
Greater-than 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, 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, Date) - Method in class io.realm.RealmQuery
-
Greater-than-or-equal-to comparison.
- IdentityProvider() - Constructor for class io.realm.SyncCredentials.IdentityProvider
-
- Ignore - Annotation Type in io.realm.annotations
-
- 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, Byte[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Short[]) - 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, Double[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Float[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Boolean[]) - Method in class io.realm.RealmQuery
-
In comparison.
- in(String, Date[]) - Method in class io.realm.RealmQuery
-
In comparison.
- Index - Annotation Type in io.realm.annotations
-
This annotation will add a search index to the field.
- info(Throwable, String, Object...) - Method in class io.realm.log.AndroidLogger
-
Deprecated.
- info(Throwable, String, Object...) - Method in interface io.realm.log.Logger
-
Deprecated.
- 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.
- info(Throwable) - Static method in class io.realm.log.RealmLog
-
- info(String, Object...) - Static method in class io.realm.log.RealmLog
-
- info(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
-
- init(Context) - Static method in class io.realm.Realm
-
Initializes the Realm library and creates a default configuration that is ready to use.
- initialData(Realm.Transaction) - Method in class io.realm.RealmConfiguration.Builder
-
Sets the initial data in
Realm
.
- initialData(Realm.Transaction) - Method in class io.realm.SyncConfiguration.Builder
-
Sets the initial data in
Realm
.
- inMemory() - Method in class io.realm.RealmConfiguration.Builder
-
Setting this will create an in-memory Realm instead of saving it to disk.
- inMemory() - Method in class io.realm.SyncConfiguration.Builder
-
Setting this will create an in-memory Realm instead of saving it to disk.
- insert(Collection<? extends RealmModel>) - Method in class io.realm.Realm
-
Inserts a list of an unmanaged RealmObjects.
- insert(RealmModel) - Method in class io.realm.Realm
-
Inserts an unmanaged RealmObject.
- insertOrUpdate(Collection<? extends RealmModel>) - Method in class io.realm.Realm
-
Inserts or updates a list of unmanaged RealmObjects.
- insertOrUpdate(RealmModel) - Method in class io.realm.Realm
-
Inserts or updates an unmanaged RealmObject.
- intValue() - Method in enum io.realm.ErrorCode
-
Returns the numerical value for this error code.
- io.realm - package io.realm
-
- io.realm.annotations - package io.realm.annotations
-
- io.realm.exceptions - package io.realm.exceptions
-
- io.realm.log - package io.realm.log
-
- io.realm.permissions - package io.realm.permissions
-
- io.realm.rx - package io.realm.rx
-
- isCancelled() - Method in interface io.realm.RealmAsyncTask
-
Checks whether an attempt to cancel the transaction was performed.
- isCompleted$realm() - Method in class io.realm.ProxyState
-
- 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.
- 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(E) - Static 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.
- 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.RealmObject
-
Checks if this object is managed by Realm.
- isManaged(E) - Static method in class io.realm.RealmObject
-
Checks if this object is managed by Realm.
- isManaged() - Method in class io.realm.RealmResults
-
- isMayManage() - Method in class io.realm.permissions.PermissionOffer
-
- isMayRead() - Method in class io.realm.permissions.PermissionOffer
-
- isMayWrite() - Method in class io.realm.permissions.PermissionOffer
-
- 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(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.
- isPrimaryKey(String) - Method in class io.realm.RealmObjectSchema
-
Checks if a given field is the primary key field.
- 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.
- isSuccessful() - Method in class io.realm.permissions.PermissionOffer
-
Check if the request was successfully handled by the Realm Object Server.
- isSuccessful() - Method in class io.realm.permissions.PermissionOfferResponse
-
Check if the request was successfully handled by the Realm Object Server.
- isUnderConstruction() - Method in class io.realm.ProxyState
-
- 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(Object) - Method in enum io.realm.RealmFieldType
-
Checks if the given Java object can be converted to the underlying Realm type.
- 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.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(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() - Method in class io.realm.RealmQuery
-
- isValid() - Method in class io.realm.RealmResults
-
Checks if the collection is still valid to use, i.e., the
Realm
instance hasn't been closed.
- isValid() - Method in class io.realm.SyncUser
-
Returns true
if the user is logged into the Realm Object Server.
- iterator() - Method in class io.realm.RealmList
- iterator() - Method in class io.realm.RealmResults
-
Returns an iterator for the results of a query.
- last() - Method in interface io.realm.OrderedRealmCollection
-
Gets the last object from the collection.
- last(E) - 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 class io.realm.RealmList
-
Gets the last object from the collection.
- last() - Method in class io.realm.RealmResults
-
Gets the last object from the collection.
- last(E) - Method in class io.realm.RealmResults
-
Gets the last object from the collection.
- 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, double) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThan(String, float) - Method in class io.realm.RealmQuery
-
Less-than comparison.
- lessThan(String, Date) - Method in class io.realm.RealmQuery
-
Less-than 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, 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, Date) - Method in class io.realm.RealmQuery
-
Less-than-or-equal-to comparison.
- 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.
- listIterator() - Method in class io.realm.RealmList
- listIterator(int) - Method in class io.realm.RealmList
- listIterator() - Method in class io.realm.RealmResults
-
Returns a list iterator for the results of a query.
- listIterator(int) - Method in class io.realm.RealmResults
-
Returns a list iterator on the results of a query.
- 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(E) - Static method in class io.realm.RealmObject
-
Makes an asynchronous query blocking.
- load() - Method in class io.realm.RealmResults
-
Makes an asynchronous query blocking.
- log(int, String, Throwable, String) - Method in interface io.realm.log.RealmLogger
-
Handles a log event.
- loggedIn(SyncUser) - Method in interface io.realm.AuthenticationListener
-
A user was logged into the Object Server
- loggedOut(SyncUser) - Method in interface io.realm.AuthenticationListener
-
A user was successfully logged out from the Object Server.
- Logger - Interface in io.realm.log
-
- login(SyncCredentials, String) - Static method in class io.realm.SyncUser
-
Logs in the user to the Realm Object Server.
- loginAsync(SyncCredentials, String, SyncUser.Callback) - Static method in class io.realm.SyncUser
-
Logs in the user to the Realm Object Server.
- 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.SyncUser
-
Logs out the user from the Realm Object Server.
- Realm - Class in io.realm
-
The Realm class is the storage and transactional manager of your object persistent store.
- 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.
- RealmAsyncTask - Interface in io.realm
-
Represents a pending asynchronous Realm transaction.
- RealmChangeListener<T> - Interface in io.realm
-
- RealmClass - Annotation Type in io.realm.annotations
-
- RealmCollection<E extends RealmModel> - 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.
- 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
-
- 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
-
- 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, Throwable) - Constructor for exception io.realm.exceptions.RealmFileException
-
- RealmFileException(RealmFileException.Kind, String, Throwable) - Constructor for exception io.realm.exceptions.RealmFileException
-
- RealmFileException.Kind - Enum in io.realm.exceptions
-
- RealmFileUserStore - Class in io.realm
-
A User Store backed by a Realm file to store user.
- RealmFileUserStore() - Constructor for class io.realm.RealmFileUserStore
-
- realmGet$proxyState() - Method in class io.realm.DynamicRealmObject
-
- RealmList<E extends RealmModel> - 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
-
- 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
-
- RealmMigrationNeededException(String, String, Throwable) - 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 stores all classes extending RealmObject in a project.
- 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
-
- 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 (<=1.1.*).
- RealmObservableFactory() - Constructor for class io.realm.rx.RealmObservableFactory
-
- 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 extends RealmModel> - Class in io.realm
-
A RealmQuery encapsulates a query on a
Realm
or a
RealmResults
using the Builder
pattern.
- RealmResults<E extends RealmModel> - Class in io.realm
-
This class holds all the matches of a
RealmQuery
for a given Realm.
- RealmSchema - Class in io.realm
-
Class for interacting with the Realm schema using a dynamic API.
- registerDefaultLogger() - Static method in class io.realm.log.RealmLog
-
Adds default native logger if it has been removed before.
- remove(RealmLogger) - Static method in class io.realm.log.RealmLog
-
Removes the given logger if it is currently added.
- remove(Logger) - Static method in class io.realm.log.RealmLog
-
- remove(String) - Method in class io.realm.RealmFileUserStore
-
Removes the user from the store.
- remove(int) - Method in class io.realm.RealmList
-
Removes the object at the specified location from this list.
- remove(Object) - Method in class io.realm.RealmList
-
Removes one instance of the specified object from this Collection
if one
is contained.
- remove(int) - Method in class io.realm.RealmResults
-
Deprecated.
- remove(Object) - Method in class io.realm.RealmResults
-
Deprecated.
- remove(String) - Method in class io.realm.RealmSchema
-
Removes a class from the Realm.
- remove(String) - Method in interface io.realm.UserStore
-
Removes the user from the store.
- REMOVE_OUTSIDE_TRANSACTION_ERROR - Static variable in class io.realm.RealmList
-
- removeAll(Collection<?>) - Method in class io.realm.RealmList
-
Removes all occurrences in this Collection
of each object in the
specified Collection
.
- removeAll(Collection<?>) - Method in class io.realm.RealmResults
-
Deprecated.
- removeAuthenticationListener(AuthenticationListener) - Static method in class io.realm.SyncManager
-
Removes the provided global authentication listener.
- removeChangeListener(RealmChangeListener) - Method in class io.realm.RealmObject
-
Removes a previously registered listener.
- removeChangeListener(E, RealmChangeListener) - Static method in class io.realm.RealmObject
-
Removes a previously registered listener on the given RealmObject.
- removeChangeListener(RealmChangeListener) - Method in class io.realm.RealmResults
-
Removes a previously registered listener.
- removeChangeListeners() - Method in class io.realm.RealmObject
-
Removes all registered listeners.
- removeChangeListeners(E) - Static method in class io.realm.RealmObject
-
Removes all registered listeners from the given RealmObject.
- removeChangeListeners() - Method in class io.realm.RealmResults
-
Removes all registered listeners.
- 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.
- 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.
- Required - Annotation Type in io.realm.annotations
-
This annotation will mark the field as not nullable.
- retainAll(Collection<?>) - Method in class io.realm.RealmResults
-
Deprecated.
- rxFactory(RxObservableFactory) - Method in class io.realm.RealmConfiguration.Builder
-
- rxFactory(RxObservableFactory) - Method in class io.realm.SyncConfiguration.Builder
-
- RxObservableFactory - Interface in io.realm.rx
-
Factory interface for creating Rx Observables for Realm classes.
- schemaVersion(long) - Method in class io.realm.RealmConfiguration.Builder
-
Sets the schema version of the Realm.
- schemaVersion(long) - Method in class io.realm.SyncConfiguration.Builder
-
Sets the schema version of the Realm.
- SessionState - Enum in io.realm
-
Enum describing the various states the Session Finite-State-Machine can be in.
- set(String, Object) - Method in class io.realm.DynamicRealmObject
-
Sets the value for the given field.
- set(int, E) - Method in class io.realm.RealmList
-
Replaces the element at the specified location in this list with the specified object.
- set(int, E) - Method in class io.realm.RealmResults
-
Deprecated.
- setAcceptDefaultValue$realm(boolean) - Method in class io.realm.ProxyState
-
- setBlob(String, byte[]) - Method in class io.realm.DynamicRealmObject
-
Sets the binary value of the given field.
- setBoolean(String, boolean) - Method in class io.realm.DynamicRealmObject
-
Sets the boolean
value of the given field.
- setByte(String, byte) - Method in class io.realm.DynamicRealmObject
-
Sets the byte
value of the given field.
- setClassName(String) - Method in class io.realm.ProxyState
-
- setClassName(String) - Method in class io.realm.RealmObjectSchema
-
Sets a new name for this RealmObject class.
- setConstructionFinished() - Method in class io.realm.ProxyState
-
- setDate(String, Date) - Method in class io.realm.DynamicRealmObject
-
Sets the Date
value of the given field.
- setDefaultConfiguration(RealmConfiguration) - Static method in class io.realm.Realm
-
- setDefaultSessionErrorHandler(SyncSession.ErrorHandler) - Static method in class io.realm.SyncManager
-
Sets the default error handler used by all
SyncConfiguration
objects when they are created.
- setDouble(String, double) - Method in class io.realm.DynamicRealmObject
-
Sets the double
value of the given field.
- setExcludeFields$realm(List<String>) - Method in class io.realm.ProxyState
-
- setFloat(String, float) - Method in class io.realm.DynamicRealmObject
-
Sets the float
value of the given field.
- setInt(String, int) - Method in class io.realm.DynamicRealmObject
-
Sets the int
value of the given field.
- setLevel(int) - Static method in class io.realm.log.RealmLog
-
- setList(String, RealmList<DynamicRealmObject>) - Method in class io.realm.DynamicRealmObject
-
Sets the reference to a
RealmList
on the given field.
- setLong(String, long) - Method in class io.realm.DynamicRealmObject
-
Sets the long
value of the given field.
- setNull(String) - Method in class io.realm.DynamicRealmObject
-
Sets the value to null
for the given field.
- 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.
- setPendingQuery$realm(Future<Long>) - Method in class io.realm.ProxyState
-
Sets the Future instance returned by the worker thread, we need this instance to force
RealmObject.load()
an async
query, we use it to determine if the current RealmResults is a sync or async one.
- setRealm$realm(BaseRealm) - Method in class io.realm.ProxyState
-
- 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.
- setString(String, String) - Method in class io.realm.DynamicRealmObject
-
Sets the String
value of the given field.
- setTableVersion$realm() - Method in class io.realm.ProxyState
-
- setTag(String) - Method in class io.realm.log.AndroidLogger
-
Deprecated.
Sets the logging tag used when outputting to LogCat.
- setToken(String) - Method in class io.realm.permissions.PermissionOfferResponse
-
- setUserStore(UserStore) - Static method in class io.realm.SyncManager
-
Set the
UserStore
used by the Realm Object Server to save user information.
- shouldDeleteRealmIfMigrationNeeded() - Method in class io.realm.RealmConfiguration
-
- shouldDeleteRealmOnLogout() - Method in class io.realm.SyncConfiguration
-
Returns
true
if the Realm file must be deleted once the
SyncUser
owning it logs out.
- size() - Method in class io.realm.RealmList
-
Returns the number of elements in this List
.
- size() - Method in class io.realm.RealmResults
-
Returns the number of elements in this query result.
- skipOnlineChecking - Static variable in class io.realm.SyncManager.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, Sort) - Method in interface io.realm.OrderedRealmCollection
-
Sorts a collection based on the provided field and sort 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[]) - Method in interface io.realm.OrderedRealmCollection
-
Sorts a collection based on the provided fields and sort orders.
- sort(String) - Method in class io.realm.RealmList
-
Sorts a collection based on the provided field in ascending order.
- sort(String, Sort) - Method in class io.realm.RealmList
-
Sorts a collection based on the provided field and sort order.
- 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[]) - Method in class io.realm.RealmList
-
Sorts a collection based on the provided fields and sort orders.
- sort(String) - Method in class io.realm.RealmResults
-
Sorts a collection based on the provided field in ascending order.
- sort(String, Sort) - Method in class io.realm.RealmResults
-
Sorts a collection based on the provided field and sort order.
- sort(String[], Sort[]) - Method in class io.realm.RealmResults
-
Sorts a collection based on the provided fields and sort orders.
- sort(String, Sort, String, Sort) - Method in class io.realm.RealmResults
-
Sorts a collection based on the provided fields and sort orders.
- Sort - Enum in io.realm
-
This class describes the sorting order used in Realm queries.
- 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.RealmResults
-
Calculates the sum of a given field.
- SyncConfiguration - Class in io.realm
-
An
SyncConfiguration
is used to setup a Realm that can be synchronized between devices using the Realm
Object Server.
- SyncConfiguration.Builder - Class in io.realm
-
Builder used to construct instances of a SyncConfiguration in a fluent manner.
- SyncCredentials - Class in io.realm
-
Credentials represent a login with a 3rd party login provider in an OAuth2 login flow, and are used by the Realm
Object Server to verify the user and grant access.
- SyncCredentials.IdentityProvider - Class in io.realm
-
Enumeration of the different types of identity providers.
- SyncManager - Class in io.realm
-
The SyncManager is the central controller for interacting with the Realm Object Server.
- SyncManager() - Constructor for class io.realm.SyncManager
-
- SyncManager.Debug - Class in io.realm
-
Debugging related options.
- SyncSession - Class in io.realm
-
This class represents the connection to the Realm Object Server for one
SyncConfiguration
.
- SyncSession.ErrorHandler - Interface in io.realm
-
Interface used to report any session errors.
- SyncUser - Class in io.realm
-
This class represents a user on the Realm Object Server.
- SyncUser.Callback - Interface in io.realm
-
- 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.ErrorCode.Category
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.ErrorCode
-
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.RealmFieldType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.realm.SessionState
-
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.
- 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.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.ErrorCode
-
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.RealmFieldType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.realm.SessionState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.realm.Sort
-
Returns an array containing the constants of this enum type, in
the order they are declared.