- cancelTransaction() - Method in class io.realm.Realm
-
Revert all writes (created, updated, or deleted objects) made in the current write
transaction and end the transaction.
- CASE_INSENSITIVE - Static variable in class io.realm.RealmQuery
-
- CASE_SENSITIVE - Static variable in class io.realm.RealmQuery
-
- checkIfValid() - Method in class io.realm.Realm
-
- clear(Class<? extends RealmObject>) - Method in class io.realm.Realm
-
Remove all objects of the specified class.
- clear() - Method in class io.realm.RealmList
- clear() - Method in class io.realm.RealmResults
-
Removes all objects from the list.
- close() - Method in class io.realm.Realm
-
Closes the Realm instance and all its resources.
- commitTransaction() - Method in class io.realm.Realm
-
- compactRealm(RealmConfiguration) - Static method in class io.realm.Realm
-
Compact a Realm file.
- compactRealmFile(Context, String) - Static method in class io.realm.Realm
-
Deprecated.
- compactRealmFile(Context) - Static method in class io.realm.Realm
-
Deprecated.
- contains(String, String) - Method in class io.realm.RealmQuery
-
Condition that value of field contains the specified substring
- contains(String, String, boolean) - Method in class io.realm.RealmQuery
-
Condition that value of field contains the specified substring
- context - Variable in class io.realm.RealmBaseAdapter
-
- 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 create
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 create a
new copy if no existing object could be found.
- count() - Method in class io.realm.RealmQuery
-
Count the number of objects that fulfill the query conditions.
- createAllFromJson(Class<E>, JSONArray) - Method in class io.realm.Realm
-
Create a Realm object for each object in a JSON array.
- createAllFromJson(Class<E>, String) - Method in class io.realm.Realm
-
Create a Realm object for each object in a JSON array.
- createAllFromJson(Class<E>, InputStream) - Method in class io.realm.Realm
-
Create a Realm object for each object in a JSON array.
- createObject(Class<E>) - Method in class io.realm.Realm
-
Instantiates and adds a new object to the Realm.
- createObjectFromJson(Class<E>, JSONObject) - Method in class io.realm.Realm
-
Create a Realm object pre-filled with data from a JSON object.
- createObjectFromJson(Class<E>, String) - Method in class io.realm.Realm
-
Create a Realm object pre-filled with data from a JSON object.
- createObjectFromJson(Class<E>, InputStream) - Method in class io.realm.Realm
-
Create 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.
- Realm - Class in io.realm
-
The Realm class is the storage and transactional manager of your object persistent store.
- realm - Variable in class io.realm.RealmObject
-
- Realm.Transaction - Interface in io.realm
-
Encapsulates a Realm transaction.
- RealmBaseAdapter<T extends RealmObject> - Class in io.realm
-
The RealmBaseAdapter class is an abstract utility class for binding UI elements to Realm data,
much like an CursorAdapter
.
- RealmBaseAdapter(Context, RealmResults<T>, boolean) - Constructor for class io.realm.RealmBaseAdapter
-
- RealmChangeListener - Interface in io.realm
-
Using RealmChangeListener, it is possible to be notified when a Realm instance has been updated.
- RealmClass - Annotation Type in io.realm.annotations
-
- 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.
- 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
-
- RealmIOException - Exception in io.realm.exceptions
-
Class for reporting problems with Realm files.
- RealmIOException(Throwable) - Constructor for exception io.realm.exceptions.RealmIOException
-
- RealmIOException() - Constructor for exception io.realm.exceptions.RealmIOException
-
- RealmIOException(String) - Constructor for exception io.realm.exceptions.RealmIOException
-
- RealmIOException(String, Throwable) - Constructor for exception io.realm.exceptions.RealmIOException
-
- RealmList<E extends RealmObject> - Class in io.realm
-
RealmList is used to model one-to-many relationships in a
RealmObject
.
- RealmList() - Constructor for class io.realm.RealmList
-
Create a RealmList in non-managed mode, where the elements are not controlled by a Realm.
- RealmList(E...) - Constructor for class io.realm.RealmList
-
Create a RealmList in non-managed mode with an initial list of elements.
- RealmMigration - Interface in io.realm
-
The RealmMigration class is used to describe 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
-
- 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 model classes by sub-classing RealmObject and adding fields to be
persisted.
- RealmObject() - Constructor for class io.realm.RealmObject
-
- RealmQuery<E extends RealmObject> - Class in io.realm
-
A RealmQuery encapsulates a query on a
Realm
or a
RealmResults
using the Builder pattern.
- RealmQuery(Realm, Class<E>) - Constructor for class io.realm.RealmQuery
-
Creating a RealmQuery instance.
- RealmQuery(RealmResults, Class<E>) - Constructor for class io.realm.RealmQuery
-
Create a RealmQuery instance from a @{link io.realm.RealmResults}.
- realmResults - Variable in class io.realm.RealmBaseAdapter
-
- RealmResults<E extends RealmObject> - Class in io.realm
-
This class holds all the matches of a
RealmQuery
for a given Realm.
- realmsCache - Static variable in class io.realm.Realm
-
- refresh() - Method in class io.realm.Realm
-
Refresh the Realm instance and all the RealmResults and RealmObjects instances coming from it
- remove(int) - Method in class io.realm.RealmList
- remove(int) - Method in class io.realm.RealmResults
-
Removes an object at a given index.
- removeAllChangeListeners() - Method in class io.realm.Realm
-
Remove all user-defined change listeners
- removeChangeListener(RealmChangeListener) - Method in class io.realm.Realm
-
Remove the specified change listener
- removeDefaultConfiguration() - Static method in class io.realm.Realm
-
Removes the current default configuration (if any).
- removeFromRealm() - Method in class io.realm.RealmObject
-
Removes the object from the Realm it is currently associated to.
- removeLast() - Method in class io.realm.RealmResults
-
Removes and returns the last object in the list.
- row - Variable in class io.realm.RealmObject
-