Enum RealmFieldType
On this page
- io.realm
- Enum Constant Summary
- Method Summary
- Inherited Methods
- Enum Constant Detail
BINARY
BINARY_LIST
BOOLEAN
BOOLEAN_LIST
DATE
DATE_LIST
DECIMAL128
DECIMAL128_LIST
DOUBLE
DOUBLE_LIST
FLOAT
FLOAT_LIST
INTEGER
INTEGER_LIST
LINKING_OBJECTS
LIST
OBJECT
OBJECT_ID
OBJECT_ID_LIST
STRING
STRING_LIST
- Method Detail
- fromNativeValue
- getNativeValue
- isValid
- valueOf
- values
io.realm
List of the types used by Realm's underlying storage engine.Normally there is no reason to interact with the underlying Realm types as Realm will automatically convert between normal Java types and the Realm types. However it is possible to access these types through a DynamicRealmObject .
Enum Constant Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
public static RealmFieldType | Converts the underlying value used by the storage engine to the proper Realm type. |
public int | Returns the native value representing this type. |
public boolean | |
public static RealmFieldType | |
public static RealmFieldType | values () |
Inherited Methods
- Methods inherited from class java.lang.Object :
getClass
,hashCode
,equals
,clone
,toString
,notify
,notifyAll
,wait
,wait
,wait
,finalize
- Methods inherited from class java.lang.Enum :
name
,ordinal
,toString
,equals
,hashCode
,clone
,compareTo
,getDeclaringClass
,valueOf
,finalize
Enum Constant Detail
BINARY

public static final RealmFieldType
BINARY_LIST

public static final RealmFieldType
BOOLEAN

public static final RealmFieldType
BOOLEAN_LIST

public static final RealmFieldType
DATE

public static final RealmFieldType
DATE_LIST

public static final RealmFieldType
DECIMAL128

public static final RealmFieldType
DECIMAL128_LIST

public static final RealmFieldType
DOUBLE

public static final RealmFieldType
DOUBLE_LIST

public static final RealmFieldType
FLOAT

public static final RealmFieldType
FLOAT_LIST

public static final RealmFieldType
INTEGER

public static final RealmFieldType
INTEGER_LIST

public static final RealmFieldType
LINKING_OBJECTS

public static final RealmFieldType
LIST

public static final RealmFieldType
OBJECT

public static final RealmFieldType
OBJECT_ID

public static final RealmFieldType
OBJECT_ID_LIST

public static final RealmFieldType
STRING

public static final RealmFieldType
STRING_LIST

public static final RealmFieldType
Method Detail
fromNativeValue
Converts the underlying value used by the storage engine to the proper Realm type. Parameters
Returns the corresponding Realm type. Throws
|
getNativeValue
public int getNativeValue () |
---|
Returns the native value representing this type. Returns the value used by the underlying storage engine to represent this type. |
isValid
valueOf
values
public static RealmFieldType values () |
---|