Package io.realm
Enum FrozenPendingRow
- java.lang.Object
-
- java.lang.Enum<FrozenPendingRow>
-
- io.realm.FrozenPendingRow
-
- All Implemented Interfaces:
io.realm.internal.Row
,Serializable
,Comparable<FrozenPendingRow>
public enum FrozenPendingRow extends Enum<FrozenPendingRow> implements io.realm.internal.Row
A PendingRow that has been frozen. This behaves in many ways similar to a deleted Row, but will reportisLoaded()
asas false
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkIfAttached()
long
createEmbeddedObject(long columnKey, RealmFieldType parentPropertyType)
io.realm.internal.Row
freeze(io.realm.internal.OsSharedRealm frozenRealm)
byte[]
getBinaryByteArray(long columnKey)
boolean
getBoolean(long columnKey)
long
getColumnCount()
long
getColumnKey(String columnName)
String[]
getColumnNames()
RealmFieldType
getColumnType(long columnKey)
Date
getDate(long columnKey)
Decimal128
getDecimal128(long columnKey)
double
getDouble(long columnKey)
float
getFloat(long columnKey)
long
getLink(long columnKey)
long
getLong(long columnKey)
io.realm.internal.OsList
getModelList(long columnKey)
io.realm.internal.OsMap
getModelMap(long columnKey)
io.realm.internal.OsSet
getModelSet(long columnKey)
io.realm.internal.core.NativeRealmAny
getNativeRealmAny(long columnKey)
ObjectId
getObjectId(long columnKey)
long
getObjectKey()
io.realm.internal.OsMap
getRealmAnyMap(long columnKey)
io.realm.internal.OsSet
getRealmAnySet(long columnKey)
String
getString(long columnKey)
io.realm.internal.Table
getTable()
UUID
getUUID(long columnKey)
io.realm.internal.OsList
getValueList(long columnKey, RealmFieldType fieldType)
io.realm.internal.OsMap
getValueMap(long columnKey, RealmFieldType fieldType)
io.realm.internal.OsSet
getValueSet(long columnKey, RealmFieldType fieldType)
boolean
hasColumn(String fieldName)
boolean
isLoaded()
boolean
isNull(long columnKey)
boolean
isNullLink(long columnKey)
boolean
isValid()
void
nullifyLink(long columnKey)
void
setBinaryByteArray(long columnKey, byte[] data)
void
setBoolean(long columnKey, boolean value)
void
setDate(long columnKey, Date date)
void
setDecimal128(long columnKey, Decimal128 value)
void
setDouble(long columnKey, double value)
void
setFloat(long columnKey, float value)
void
setLink(long columnKey, long value)
void
setLong(long columnKey, long value)
void
setNull(long columnKey)
void
setObjectId(long columnKey, ObjectId value)
void
setRealmAny(long columnKey, long value)
void
setString(long columnKey, String value)
void
setUUID(long columnKey, UUID value)
static FrozenPendingRow
valueOf(String name)
Returns the enum constant of this type with the specified name.static FrozenPendingRow[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final FrozenPendingRow INSTANCE
-
-
Method Detail
-
values
public static FrozenPendingRow[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FrozenPendingRow c : FrozenPendingRow.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrozenPendingRow valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getColumnCount
public long getColumnCount()
- Specified by:
getColumnCount
in interfaceio.realm.internal.Row
-
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNames
in interfaceio.realm.internal.Row
-
getColumnKey
public long getColumnKey(String columnName)
- Specified by:
getColumnKey
in interfaceio.realm.internal.Row
-
getColumnType
public RealmFieldType getColumnType(long columnKey)
- Specified by:
getColumnType
in interfaceio.realm.internal.Row
-
getTable
public io.realm.internal.Table getTable()
- Specified by:
getTable
in interfaceio.realm.internal.Row
-
getObjectKey
public long getObjectKey()
- Specified by:
getObjectKey
in interfaceio.realm.internal.Row
-
getLong
public long getLong(long columnKey)
- Specified by:
getLong
in interfaceio.realm.internal.Row
-
getBoolean
public boolean getBoolean(long columnKey)
- Specified by:
getBoolean
in interfaceio.realm.internal.Row
-
getFloat
public float getFloat(long columnKey)
- Specified by:
getFloat
in interfaceio.realm.internal.Row
-
getDouble
public double getDouble(long columnKey)
- Specified by:
getDouble
in interfaceio.realm.internal.Row
-
getDate
public Date getDate(long columnKey)
- Specified by:
getDate
in interfaceio.realm.internal.Row
-
getString
public String getString(long columnKey)
- Specified by:
getString
in interfaceio.realm.internal.Row
-
getBinaryByteArray
public byte[] getBinaryByteArray(long columnKey)
- Specified by:
getBinaryByteArray
in interfaceio.realm.internal.Row
-
getDecimal128
public Decimal128 getDecimal128(long columnKey)
- Specified by:
getDecimal128
in interfaceio.realm.internal.Row
-
getObjectId
public ObjectId getObjectId(long columnKey)
- Specified by:
getObjectId
in interfaceio.realm.internal.Row
-
getUUID
public UUID getUUID(long columnKey)
- Specified by:
getUUID
in interfaceio.realm.internal.Row
-
getNativeRealmAny
public io.realm.internal.core.NativeRealmAny getNativeRealmAny(long columnKey)
- Specified by:
getNativeRealmAny
in interfaceio.realm.internal.Row
-
getLink
public long getLink(long columnKey)
- Specified by:
getLink
in interfaceio.realm.internal.Row
-
isNullLink
public boolean isNullLink(long columnKey)
- Specified by:
isNullLink
in interfaceio.realm.internal.Row
-
getModelList
public io.realm.internal.OsList getModelList(long columnKey)
- Specified by:
getModelList
in interfaceio.realm.internal.Row
-
getValueList
public io.realm.internal.OsList getValueList(long columnKey, RealmFieldType fieldType)
- Specified by:
getValueList
in interfaceio.realm.internal.Row
-
getRealmAnyMap
public io.realm.internal.OsMap getRealmAnyMap(long columnKey)
- Specified by:
getRealmAnyMap
in interfaceio.realm.internal.Row
-
getModelMap
public io.realm.internal.OsMap getModelMap(long columnKey)
- Specified by:
getModelMap
in interfaceio.realm.internal.Row
-
getValueMap
public io.realm.internal.OsMap getValueMap(long columnKey, RealmFieldType fieldType)
- Specified by:
getValueMap
in interfaceio.realm.internal.Row
-
getRealmAnySet
public io.realm.internal.OsSet getRealmAnySet(long columnKey)
- Specified by:
getRealmAnySet
in interfaceio.realm.internal.Row
-
getModelSet
public io.realm.internal.OsSet getModelSet(long columnKey)
- Specified by:
getModelSet
in interfaceio.realm.internal.Row
-
getValueSet
public io.realm.internal.OsSet getValueSet(long columnKey, RealmFieldType fieldType)
- Specified by:
getValueSet
in interfaceio.realm.internal.Row
-
setLong
public void setLong(long columnKey, long value)
- Specified by:
setLong
in interfaceio.realm.internal.Row
-
setBoolean
public void setBoolean(long columnKey, boolean value)
- Specified by:
setBoolean
in interfaceio.realm.internal.Row
-
setFloat
public void setFloat(long columnKey, float value)
- Specified by:
setFloat
in interfaceio.realm.internal.Row
-
setDouble
public void setDouble(long columnKey, double value)
- Specified by:
setDouble
in interfaceio.realm.internal.Row
-
setDate
public void setDate(long columnKey, Date date)
- Specified by:
setDate
in interfaceio.realm.internal.Row
-
setString
public void setString(long columnKey, String value)
- Specified by:
setString
in interfaceio.realm.internal.Row
-
setRealmAny
public void setRealmAny(long columnKey, long value)
- Specified by:
setRealmAny
in interfaceio.realm.internal.Row
-
setBinaryByteArray
public void setBinaryByteArray(long columnKey, byte[] data)
- Specified by:
setBinaryByteArray
in interfaceio.realm.internal.Row
-
setLink
public void setLink(long columnKey, long value)
- Specified by:
setLink
in interfaceio.realm.internal.Row
-
nullifyLink
public void nullifyLink(long columnKey)
- Specified by:
nullifyLink
in interfaceio.realm.internal.Row
-
isNull
public boolean isNull(long columnKey)
- Specified by:
isNull
in interfaceio.realm.internal.Row
-
setNull
public void setNull(long columnKey)
- Specified by:
setNull
in interfaceio.realm.internal.Row
-
setDecimal128
public void setDecimal128(long columnKey, Decimal128 value)
- Specified by:
setDecimal128
in interfaceio.realm.internal.Row
-
setObjectId
public void setObjectId(long columnKey, ObjectId value)
- Specified by:
setObjectId
in interfaceio.realm.internal.Row
-
setUUID
public void setUUID(long columnKey, UUID value)
- Specified by:
setUUID
in interfaceio.realm.internal.Row
-
createEmbeddedObject
public long createEmbeddedObject(long columnKey, RealmFieldType parentPropertyType)
- Specified by:
createEmbeddedObject
in interfaceio.realm.internal.Row
-
isValid
public boolean isValid()
- Specified by:
isValid
in interfaceio.realm.internal.Row
-
checkIfAttached
public void checkIfAttached()
- Specified by:
checkIfAttached
in interfaceio.realm.internal.Row
-
hasColumn
public boolean hasColumn(String fieldName)
- Specified by:
hasColumn
in interfaceio.realm.internal.Row
-
freeze
public io.realm.internal.Row freeze(io.realm.internal.OsSharedRealm frozenRealm)
- Specified by:
freeze
in interfaceio.realm.internal.Row
-
isLoaded
public boolean isLoaded()
- Specified by:
isLoaded
in interfaceio.realm.internal.Row
-
-