Enum RealmFieldType
On this page
- io.realm
- Enum Constant Summary
- Method Summary
- Inherited Methods
- Enum Constant Detail
BINARY
BINARY_LIST
BINARY_SET
BOOLEAN
BOOLEAN_LIST
BOOLEAN_SET
DATE
DATE_LIST
DATE_SET
DECIMAL128
DECIMAL128_LIST
DECIMAL128_SET
DOUBLE
DOUBLE_LIST
DOUBLE_SET
FLOAT
FLOAT_LIST
FLOAT_SET
INTEGER
INTEGER_LIST
INTEGER_SET
LINKING_OBJECTS
LINK_SET
LIST
MIXED
MIXED_LIST
MIXED_SET
OBJECT
OBJECT_ID
OBJECT_ID_LIST
OBJECT_ID_SET
STRING
STRING_LIST
STRING_SET
STRING_TO_BINARY_MAP
STRING_TO_BOOLEAN_MAP
STRING_TO_DATE_MAP
STRING_TO_DECIMAL128_MAP
STRING_TO_DOUBLE_MAP
STRING_TO_FLOAT_MAP
STRING_TO_INTEGER_MAP
STRING_TO_LINK_MAP
STRING_TO_MIXED_MAP
STRING_TO_OBJECT_ID_MAP
STRING_TO_STRING_MAP
STRING_TO_UUID_MAP
TYPED_LINK
UUID
UUID_LIST
UUID_SET
- 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
Enum Constant and Description |
---|
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
BINARY_SET
public static final RealmFieldType
BOOLEAN
public static final RealmFieldType
BOOLEAN_LIST
public static final RealmFieldType
BOOLEAN_SET
public static final RealmFieldType
DATE
public static final RealmFieldType
DATE_LIST
public static final RealmFieldType
DATE_SET
public static final RealmFieldType
DECIMAL128
public static final RealmFieldType
DECIMAL128_LIST
public static final RealmFieldType
DECIMAL128_SET
public static final RealmFieldType
DOUBLE
public static final RealmFieldType
DOUBLE_LIST
public static final RealmFieldType
DOUBLE_SET
public static final RealmFieldType
FLOAT
public static final RealmFieldType
FLOAT_LIST
public static final RealmFieldType
FLOAT_SET
public static final RealmFieldType
INTEGER
public static final RealmFieldType
INTEGER_LIST
public static final RealmFieldType
INTEGER_SET
public static final RealmFieldType
LINKING_OBJECTS
public static final RealmFieldType
LINK_SET
public static final RealmFieldType
LIST
public static final RealmFieldType
MIXED
public static final RealmFieldType
MIXED_LIST
public static final RealmFieldType
MIXED_SET
public static final RealmFieldType
OBJECT
public static final RealmFieldType
OBJECT_ID
public static final RealmFieldType
OBJECT_ID_LIST
public static final RealmFieldType
OBJECT_ID_SET
public static final RealmFieldType
STRING
public static final RealmFieldType
STRING_LIST
public static final RealmFieldType
STRING_SET
public static final RealmFieldType
STRING_TO_BINARY_MAP
public static final RealmFieldType
STRING_TO_BOOLEAN_MAP
public static final RealmFieldType
STRING_TO_DATE_MAP
public static final RealmFieldType
STRING_TO_DECIMAL128_MAP
public static final RealmFieldType
STRING_TO_DOUBLE_MAP
public static final RealmFieldType
STRING_TO_FLOAT_MAP
public static final RealmFieldType
STRING_TO_INTEGER_MAP
public static final RealmFieldType
STRING_TO_LINK_MAP
public static final RealmFieldType
STRING_TO_MIXED_MAP
public static final RealmFieldType
STRING_TO_OBJECT_ID_MAP
public static final RealmFieldType
STRING_TO_STRING_MAP
public static final RealmFieldType
STRING_TO_UUID_MAP
public static final RealmFieldType
TYPED_LINK
public static final RealmFieldType
UUID
public static final RealmFieldType
UUID_LIST
public static final RealmFieldType
UUID_SET
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 () |
---|