public class RealmConfiguration
extends java.lang.Object
RealmConfiguration.Builder and calling
 its RealmConfiguration.Builder.build() method.
 A commonly used RealmConfiguration can easily be accessed by first saving it as
 Realm.setDefaultConfiguration(RealmConfiguration) and then using Realm.getDefaultInstance().
 A minimal configuration can be created using:
 RealmConfiguration config = new RealmConfiguration.Builder(getContext()).build())
 This will create a RealmConfiguration with the following properties.
 - Realm file is called "default.realm"
 - It is saved in Context.getFilesDir()
 - It has its schema version set to 0.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
RealmConfiguration.Builder
RealmConfiguration.Builder used to construct instances of a RealmConfiguration in a fluent manner. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
DEFAULT_REALM_NAME  | 
static int | 
KEY_LENGTH  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
SharedGroup.Durability | 
getDurability()  | 
byte[] | 
getEncryptionKey()  | 
RealmMigration | 
getMigration()  | 
java.lang.String | 
getPath()  | 
java.lang.String | 
getRealmFileName()  | 
java.io.File | 
getRealmFolder()  | 
java.util.Set<java.lang.Class<? extends RealmModel>> | 
getRealmObjectClasses()
Returns the unmodifiable  
Set of model classes that make up the schema for this Realm. | 
RxObservableFactory | 
getRxFactory()
Returns the  
RxObservableFactory that is used to create Rx Observables from Realm objects. | 
long | 
getSchemaVersion()  | 
int | 
hashCode()  | 
boolean | 
shouldDeleteRealmIfMigrationNeeded()  | 
java.lang.String | 
toString()  | 
public static final java.lang.String DEFAULT_REALM_NAME
public static final int KEY_LENGTH
public java.io.File getRealmFolder()
public java.lang.String getRealmFileName()
public byte[] getEncryptionKey()
public long getSchemaVersion()
public RealmMigration getMigration()
public boolean shouldDeleteRealmIfMigrationNeeded()
public SharedGroup.Durability getDurability()
public java.util.Set<java.lang.Class<? extends RealmModel>> getRealmObjectClasses()
Set of model classes that make up the schema for this Realm.Set of model classes.public java.lang.String getPath()
public RxObservableFactory getRxFactory()
RxObservableFactory that is used to create Rx Observables from Realm objects.java.lang.UnsupportedOperationException - if the required RxJava framework is not on the classpath.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object