Docs Menu
Docs Home
/ /
Atlas Device SDKs
/ / /

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
java.lang.Object
io.realm.RealmFieldType

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 and Description
Modifier and Type
Method and Description
public static RealmFieldType
int value
)

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

Checks if the given Java object can be converted to the underlying Realm type.

public static RealmFieldType
public static RealmFieldType
  • 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

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

public static final RealmFieldType

int value
)

Converts the underlying value used by the storage engine to the proper Realm type.

Parameters

  • value - the value to convert

Returns

the corresponding Realm type.

Throws

public int getNativeValue ()

Returns the native value representing this type.

Returns

the value used by the underlying storage engine to represent this type.

public boolean isValid (
Object obj
)

Checks if the given Java object can be converted to the underlying Realm type.

Parameters

  • obj - object to test compatibility on.

Returns

true if object can be converted to the Realm type, false otherwise.

public static RealmFieldType valueOf (
String name
)
public static RealmFieldType values ()

Back

RealmDictionary