Skip navigation links
A B C D E F G H I K L M N O P R S T U W 

A

add(DynamicRealmObject) - Method in class io.realm.dynamic.DynamicRealmList
Adds the specified object at the end of this List.
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.
addChangeListener(RealmChangeListener) - Method in class io.realm.RealmObject
Adds a change listener to this RealmObject.
addChangeListener(RealmChangeListener) - Method in class io.realm.RealmResults
Adds a change listener to this RealmResults.
allObjects(Class<E>) - Method in class io.realm.Realm
Gets all objects of a specific Class.
allObjectsSorted(Class<E>, String, boolean) - Method in class io.realm.Realm
Get all objects of a specific Class sorted by a field.
allObjectsSorted(Class<E>, String, boolean, String, boolean) - Method in class io.realm.Realm
Gets all objects of a specific class sorted by two specific field names.
allObjectsSorted(Class<E>, String, boolean, String, boolean, String, boolean) - Method in class io.realm.Realm
Gets all objects of a specific class sorted by two specific field names.
allObjectsSorted(Class<E>, String[], boolean[]) - Method in class io.realm.Realm
Gets all objects of a specific Class sorted by multiple fields.
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.
averageDouble(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.average(String) instead.
averageFloat(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.average(String) instead.
averageInt(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.average(String) instead.

B

beginGroup() - Method in class io.realm.RealmQuery
Begin grouping of conditions ("left parenthesis").
beginsWith(String, String) - Method in class io.realm.RealmQuery
Condition that the value of field begins with the specified string.
beginsWith(String, String, boolean) - Method in class io.realm.RealmQuery
Condition that the value of field begins with the specified substring.
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, double, double) - Method in class io.realm.RealmQuery
Between condition.
between(String, float, float) - Method in class io.realm.RealmQuery
Between condition.
between(String, Date, Date) - Method in class io.realm.RealmQuery
Between condition.
build() - Method in class io.realm.RealmConfiguration.Builder
Creates the RealmConfiguration based on the builder parameters.
Builder(File) - Constructor for class io.realm.RealmConfiguration.Builder
Creates an instance of the Builder for the RealmConfiguration.
Builder(Context) - Constructor for class io.realm.RealmConfiguration.Builder
Creates an instance of the Builder for the RealmConfiguration.

C

Callback() - Constructor for class io.realm.Realm.Transaction.Callback
 
cancel() - Method in class io.realm.RealmAsyncTask
Attempts to cancel execution of this transaction (if it hasn't already completed or previously cancelled).
CASE_INSENSITIVE - Static variable in class io.realm.RealmQuery
 
CASE_SENSITIVE - Static variable in class io.realm.RealmQuery
 
clear() - Method in class io.realm.dynamic.DynamicRealmList
Removes all elements from this list, leaving it empty.
clear(Class<? extends RealmObject>) - Method in class io.realm.Realm
Removes all objects of the specified class.
clear() - Method in class io.realm.RealmList
Removes all elements from this list, leaving it empty.
clear() - Method in class io.realm.RealmResults
Removes all objects from the list.
compactRealm(RealmConfiguration) - Static method in class io.realm.Realm
Compacts a Realm file.
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.
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.
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.
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
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.

D

DEFAULT_REALM_NAME - Static variable in class io.realm.Realm
 
DEFAULT_REALM_NAME - Static variable in class io.realm.RealmConfiguration
 
deleteRealm(RealmConfiguration) - Static method in class io.realm.Realm
Deletes the Realm file 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.
distinct(Class<E>, String) - Method in class io.realm.Realm
Returns a distinct set of objects of a specific class.
distinctAsync(Class<E>, String) - Method in class io.realm.Realm
Returns a distinct set of objects of a specific class.
DynamicRealmList - Class in io.realm.dynamic
RealmList exposed using a dynamic API.
DynamicRealmObject - Class in io.realm.dynamic
Class that wraps a normal RealmObject in order to allow dynamic access instead of a typed interface.
DynamicRealmObject(RealmObject) - Constructor for class io.realm.dynamic.DynamicRealmObject
Creates a dynamic Realm object based on a existing object.

E

encryptionKey(byte[]) - Method in class io.realm.RealmConfiguration.Builder
Sets the 64 bit 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, String) - Method in class io.realm.RealmQuery
Condition that the value of field ends with the specified string.
endsWith(String, String, boolean) - Method in class io.realm.RealmQuery
Condition that the value of field ends with the specified substring.
equals(Object) - Method in class io.realm.dynamic.DynamicRealmObject
 
equals(Object) - Method in class io.realm.RealmConfiguration
 
equalTo(String, String) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, 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, Short) - 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, Double) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Float) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Boolean) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Date) - Method in class io.realm.RealmQuery
Equal-to comparison.
execute(Realm) - Method in interface io.realm.Realm.Transaction
 
execute(Realm, long) - Method in interface io.realm.RealmMigration
Performs migration.
executeTransaction(Realm.Transaction) - Method in class io.realm.Realm
Executes a given transaction on the Realm.
executeTransaction(Realm.Transaction, Realm.Transaction.Callback) - Method in class io.realm.Realm
Similar to Realm.executeTransaction(Transaction) but runs asynchronously from a worker thread.

F

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, boolean) - 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[], boolean[]) - Method in class io.realm.RealmQuery
Finds all objects that fulfill the query conditions and sorted by specific field names.
findAllSorted(String, boolean, String, boolean) - Method in class io.realm.RealmQuery
Finds all objects that fulfill the query conditions and sorted by specific field names in ascending order.
findAllSorted(String, boolean, String, boolean, String, boolean) - 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, boolean) - Method in class io.realm.RealmQuery
Similar to RealmQuery.findAllSorted(String, boolean) but runs asynchronously on a worker thread (Need a Realm opened from a looper thread to work).
findAllSortedAsync(String) - Method in class io.realm.RealmQuery
Similar to RealmQuery.findAllSorted(String) but runs asynchronously on a worker thread This method is only available from a Looper thread.
findAllSortedAsync(String[], boolean[]) - Method in class io.realm.RealmQuery
Similar to RealmQuery.findAllSorted(String[], boolean[]) but runs asynchronously from a worker thread.
findAllSortedAsync(String, boolean, String, boolean) - Method in class io.realm.RealmQuery
Similar to RealmQuery.findAllSorted(String, boolean, String, boolean) but runs asynchronously on a worker thread.
findAllSortedAsync(String, boolean, String, boolean, String, boolean) - Method in class io.realm.RealmQuery
Similar to RealmQuery.findAllSorted(String, boolean, String, boolean, String, boolean) but runs asynchronously on a worker thread.
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 class io.realm.RealmList
Finds the first object.
first() - Method in class io.realm.RealmResults
Gets the first object from the list.

G

get(int) - Method in class io.realm.dynamic.DynamicRealmList
Returns the element at the specified location in this list.
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.
getArgument() - Method in class io.realm.RealmQuery
 
getBlob(String) - Method in class io.realm.dynamic.DynamicRealmObject
Returns the byte[] value for a given field.
getBoolean(String) - Method in class io.realm.dynamic.DynamicRealmObject
Returns the boolean value for a given field.
getByte(String) - Method in class io.realm.dynamic.DynamicRealmObject
Returns the byte value for a given field.
getCount() - Method in class io.realm.RealmBaseAdapter
Returns how many items are in the data set.
getDate(String) - Method in class io.realm.dynamic.DynamicRealmObject
Returns the Date value for a given field.
getDefaultInstance() - Static method in class io.realm.Realm
Realm static constructor that returns the Realm instance defined by the RealmConfiguration set by Realm.setDefaultConfiguration(RealmConfiguration)
getDefaultModule() - Static method in class io.realm.Realm
Returns the default Realm module.
getDouble(String) - Method in class io.realm.dynamic.DynamicRealmObject
Returns the double value for a given field.
getDurability() - Method in class io.realm.RealmConfiguration
 
getEncryptionKey() - Method in class io.realm.RealmConfiguration
 
getFieldNames() - Method in class io.realm.dynamic.DynamicRealmObject
Returns the list of field names on this object.
getFloat(String) - Method in class io.realm.dynamic.DynamicRealmObject
Returns the float value for a given field.
getInstance(Context) - Static method in class io.realm.Realm
Realm static constructor for the default Realm file "default.realm".
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.dynamic.DynamicRealmObject
Returns the int value for a given field.
getItem(int) - Method in class io.realm.RealmBaseAdapter
Returns the item associated with the specified position.
getItemId(int) - Method in class io.realm.RealmBaseAdapter
Returns the current ID for an item.
getList(String) - Method in class io.realm.dynamic.DynamicRealmObject
Returns the RealmList of objects being linked to from this field.
getLong(String) - Method in class io.realm.dynamic.DynamicRealmObject
Returns the long value for a given field.
getMigration() - Method in class io.realm.RealmConfiguration
 
getObject(String) - Method in class io.realm.dynamic.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
 
getRealmFileName() - Method in class io.realm.RealmConfiguration
 
getRealmFolder() - Method in class io.realm.RealmConfiguration
 
getSchemaMediator() - Method in class io.realm.RealmConfiguration
 
getSchemaVersion() - Method in class io.realm.RealmConfiguration
 
getShort(String) - Method in class io.realm.dynamic.DynamicRealmObject
Returns the short value for a given field.
getString(String) - Method in class io.realm.dynamic.DynamicRealmObject
Returns the String value for a given field.
getTable(Class<? extends RealmObject>) - Method in class io.realm.Realm
 
getType() - Method in class io.realm.dynamic.DynamicRealmObject
Return the type of object.
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.

H

handleMessage(Message) - Method in class io.realm.HandlerController
 
HandlerController - Class in io.realm
Centralises all Handler callbacks, including updating async queries and refreshing the Realm.
HandlerController(BaseRealm) - Constructor for class io.realm.HandlerController
 
hasField(String) - Method in class io.realm.dynamic.DynamicRealmObject
Checks whether an object has the given field or not.
hashCode() - Method in class io.realm.dynamic.DynamicRealmObject
 
hashCode() - Method in class io.realm.RealmConfiguration
 

I

Ignore - Annotation Type in io.realm.annotations
 
Index - Annotation Type in io.realm.annotations
This annotation will add a search index to the field.
indexOf(Object) - Method in class io.realm.RealmResults
This method is not supported.
inMemory() - Method in class io.realm.RealmConfiguration.Builder
Setting this will create an in-memory Realm instead of saving it to disk.
io.realm - package io.realm
 
io.realm.annotations - package io.realm.annotations
 
io.realm.dynamic - package io.realm.dynamic
 
io.realm.exceptions - package io.realm.exceptions
 
isCancelled() - Method in class io.realm.RealmAsyncTask
Checks whether an attempt to cancel the transaction was performed.
isEmpty(String) - Method in class io.realm.RealmQuery
Condition that find values that are considered "empty", i.e.
isLoaded() - Method in class io.realm.RealmObject
Determines if the current RealmObject is obtained synchronously or asynchronously (from a worker thread).
isLoaded() - Method in class io.realm.RealmResults
Returns true if the results are not yet loaded, false if they are still loading.
isNotNull(String) - Method in class io.realm.RealmQuery
Tests if a field is not null.
isNull(String) - Method in class io.realm.dynamic.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.
isValid() - Method in class io.realm.RealmList
Checks if RealmResults is still valid to use i.e.
isValid() - Method in class io.realm.RealmObject
Checks if the RealmObject is still valid to use i.e.
isValid() - Method in class io.realm.RealmQuery
Checks if RealmQuery is still valid to use i.e.
isValid() - Method in class io.realm.RealmResults
Checks if RealmResults is still valid to use i.e.
iterator() - Method in class io.realm.RealmResults
Returns an iterator for the results of a query.

K

KEY_LENGTH - Static variable in class io.realm.RealmConfiguration
 

L

last() - Method in class io.realm.RealmList
Finds the last object.
last() - Method in class io.realm.RealmResults
Gets the last object from the list.
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.
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 class io.realm.RealmObject
Makes an asynchronous query blocking.
load() - Method in class io.realm.RealmResults
Makes an asynchronous query blocking.

M

max(String) - Method in class io.realm.RealmQuery
Finds the maximum value of a field.
max(String) - Method in class io.realm.RealmResults
Finds the maximum value of a field.
maxDate(String) - Method in class io.realm.RealmResults
Finds the maximum date.
maximumDate(String) - Method in class io.realm.RealmQuery
Finds the maximum value of a field.
maximumDouble(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.max(String) instead.
maximumFloat(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.max(String) instead.
maximumInt(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.max(String) instead.
migrateRealm(RealmConfiguration) - Static method in class io.realm.Realm
Manually trigger the migration associated with a given RealmConfiguration.
migrateRealm(RealmConfiguration, RealmMigration) - Static method in class io.realm.Realm
Manually trigger 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 class io.realm.RealmQuery
Finds the minimum value of a field.
min(String) - Method in class io.realm.RealmResults
Finds the minimum value of a field.
minDate(String) - Method in class io.realm.RealmResults
Finds the minimum date.
minimumDate(String) - Method in class io.realm.RealmQuery
Finds the minimum value of a field.
minimumDouble(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.min(String) instead.
minimumFloat(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.min(String) instead.
minimumInt(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.min(String) instead.
move(int, int) - Method in class io.realm.RealmList
Moves an object from one position to another, while maintaining a fixed sized list.

N

name(String) - Method in class io.realm.RealmConfiguration.Builder
Sets the filename for the Realm.
not() - Method in class io.realm.RealmQuery
Negate condition.
notEqualTo(String, String) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, 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, Short) - 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, 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, Boolean) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, Date) - Method in class io.realm.RealmQuery
Not-equal-to comparison.

O

onChange() - Method in interface io.realm.RealmChangeListener
Called when a transaction is committed.
onError(Exception) - Method in class io.realm.Realm.Transaction.Callback
 
onSuccess() - Method in class io.realm.Realm.Transaction.Callback
 
or() - Method in class io.realm.RealmQuery
Logical-or two conditions.

P

PrimaryKey - Annotation Type in io.realm.annotations
The @PrimaryKey annotation will mark a field as a primary key inside Realm.

R

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.
RealmAsyncTask - Class in io.realm
Represents a pending asynchronous Realm transaction.
RealmAsyncTask(Future<?>) - Constructor for class io.realm.RealmAsyncTask
 
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.
RealmEncryptionNotSupportedException - Exception in io.realm.exceptions
On some devices (HTC One X for example), for some reason, the system doesn't pass the right parameter (siginfo_t.si_addr) to the segfault signal handler which our encryption mechanism relies on.
RealmEncryptionNotSupportedException(String) - Constructor for exception io.realm.exceptions.RealmEncryptionNotSupportedException
 
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
 
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
Creates a RealmList in non-managed mode, where the elements are not controlled by a Realm.
RealmList(E...) - Constructor for class io.realm.RealmList
Creates 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
 
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 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
Creates a RealmQuery instance.
RealmQuery(RealmResults, Class<E>) - Constructor for class io.realm.RealmQuery
Creates a RealmQuery instance from a @{link io.realm.RealmResults}.
RealmResults<E extends RealmObject> - Class in io.realm
This class holds all the matches of a RealmQuery for a given Realm.
remove(int) - Method in class io.realm.dynamic.DynamicRealmList
Removes the object at the specified location from this list.
remove(int) - Method in class io.realm.RealmList
Removes the object at the specified location from this list.
remove(int) - Method in class io.realm.RealmResults
Removes an object at a given index.
removeChangeListener(RealmChangeListener) - Method in class io.realm.RealmObject
Removes a previously registered listener.
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() - 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).
removeFromRealm() - Method in class io.realm.dynamic.DynamicRealmObject
Deletes this object from the Realm.
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.
Required - Annotation Type in io.realm.annotations
This annotation will mark the field as not nullable.

S

schemaVersion(long) - Method in class io.realm.RealmConfiguration.Builder
Sets the schema version of the Realm.
set(int, DynamicRealmObject) - Method in class io.realm.dynamic.DynamicRealmList
Replaces the element at the specified location in this list with the specified object.
set(int, E) - Method in class io.realm.RealmList
Replaces the element at the specified location in this list with the specified object.
setBlob(String, byte[]) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the binary value of the given field.
setBoolean(String, boolean) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the boolean value of the given field.
setByte(String, byte) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the byte value of the given field.
setDate(String, Date) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the Date value of the given field.
setDefaultConfiguration(RealmConfiguration) - Static method in class io.realm.Realm
setDouble(String, double) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the double value of the given field.
setFloat(String, float) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the float value of the given field.
setInt(String, int) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the int value of the given field.
setList(String, DynamicRealmList) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the reference to a DynamicRealmList on the given field.
setLong(String, long) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the long value of the given field.
setModules(Object, Object...) - Method in class io.realm.RealmConfiguration.Builder
Replaces the existing module(s) with one or more RealmModules.
setObject(String, DynamicRealmObject) - Method in class io.realm.dynamic.DynamicRealmObject
Sets a reference to another object on the given field.
setShort(String, short) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the short value of the given field.
setString(String, String) - Method in class io.realm.dynamic.DynamicRealmObject
Sets the String value of the given field.
shouldDeleteRealmIfMigrationNeeded() - Method in class io.realm.RealmConfiguration
 
size() - Method in class io.realm.dynamic.DynamicRealmList
Returns the number of elements in this list.
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.
sort(String) - Method in class io.realm.RealmResults
Sorts (ascending) an existing RealmResults.
sort(String, boolean) - Method in class io.realm.RealmResults
Sorts existing RealmResults.
sort(String[], boolean[]) - Method in class io.realm.RealmResults
Sorts existing RealmResults.
sort(String, boolean, String, boolean) - Method in class io.realm.RealmResults
Sorts existing RealmResults using two fields.
sort(String, boolean, String, boolean, String, boolean) - Method in class io.realm.RealmResults
Sorts existing RealmResults using three fields.
SORT_ORDER_ASCENDING - Static variable in class io.realm.RealmResults
 
SORT_ORDER_DESCENDING - Static variable in class io.realm.RealmResults
 
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.
sumDouble(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.sum(String) instead.
sumFloat(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.sum(String) instead.
sumInt(String) - Method in class io.realm.RealmQuery
Deprecated.
please use RealmQuery.sum(String) instead.

T

toString() - Method in class io.realm.dynamic.DynamicRealmObject
 
toString() - Method in class io.realm.RealmList
 

U

updateRealmResults(RealmResults<T>) - Method in class io.realm.RealmBaseAdapter
Updates the RealmResults associated to the Adapter.

W

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() - 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 typed RealmQuery, which can be used to query for specific objects of this type.
A B C D E F G H I K L M N O P R S T U W 
Skip navigation links