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 voidcheckIfAttached()longcreateEmbeddedObject(long columnKey, RealmFieldType parentPropertyType)io.realm.internal.Rowfreeze(io.realm.internal.OsSharedRealm frozenRealm)byte[]getBinaryByteArray(long columnKey)booleangetBoolean(long columnKey)longgetColumnCount()longgetColumnKey(String columnName)String[]getColumnNames()RealmFieldTypegetColumnType(long columnKey)DategetDate(long columnKey)Decimal128getDecimal128(long columnKey)doublegetDouble(long columnKey)floatgetFloat(long columnKey)longgetLink(long columnKey)longgetLong(long columnKey)io.realm.internal.OsListgetModelList(long columnKey)io.realm.internal.OsMapgetModelMap(long columnKey)io.realm.internal.OsSetgetModelSet(long columnKey)io.realm.internal.core.NativeRealmAnygetNativeRealmAny(long columnKey)ObjectIdgetObjectId(long columnKey)longgetObjectKey()io.realm.internal.OsMapgetRealmAnyMap(long columnKey)io.realm.internal.OsSetgetRealmAnySet(long columnKey)StringgetString(long columnKey)io.realm.internal.TablegetTable()UUIDgetUUID(long columnKey)io.realm.internal.OsListgetValueList(long columnKey, RealmFieldType fieldType)io.realm.internal.OsMapgetValueMap(long columnKey, RealmFieldType fieldType)io.realm.internal.OsSetgetValueSet(long columnKey, RealmFieldType fieldType)booleanhasColumn(String fieldName)booleanisLoaded()booleanisNull(long columnKey)booleanisNullLink(long columnKey)booleanisValid()voidnullifyLink(long columnKey)voidsetBinaryByteArray(long columnKey, byte[] data)voidsetBoolean(long columnKey, boolean value)voidsetDate(long columnKey, Date date)voidsetDecimal128(long columnKey, Decimal128 value)voidsetDouble(long columnKey, double value)voidsetFloat(long columnKey, float value)voidsetLink(long columnKey, long value)voidsetLong(long columnKey, long value)voidsetNull(long columnKey)voidsetObjectId(long columnKey, ObjectId value)voidsetRealmAny(long columnKey, long value)voidsetString(long columnKey, String value)voidsetUUID(long columnKey, UUID value)static FrozenPendingRowvalueOf(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:
getColumnCountin interfaceio.realm.internal.Row
-
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNamesin interfaceio.realm.internal.Row
-
getColumnKey
public long getColumnKey(String columnName)
- Specified by:
getColumnKeyin interfaceio.realm.internal.Row
-
getColumnType
public RealmFieldType getColumnType(long columnKey)
- Specified by:
getColumnTypein interfaceio.realm.internal.Row
-
getTable
public io.realm.internal.Table getTable()
- Specified by:
getTablein interfaceio.realm.internal.Row
-
getObjectKey
public long getObjectKey()
- Specified by:
getObjectKeyin interfaceio.realm.internal.Row
-
getLong
public long getLong(long columnKey)
- Specified by:
getLongin interfaceio.realm.internal.Row
-
getBoolean
public boolean getBoolean(long columnKey)
- Specified by:
getBooleanin interfaceio.realm.internal.Row
-
getFloat
public float getFloat(long columnKey)
- Specified by:
getFloatin interfaceio.realm.internal.Row
-
getDouble
public double getDouble(long columnKey)
- Specified by:
getDoublein interfaceio.realm.internal.Row
-
getDate
public Date getDate(long columnKey)
- Specified by:
getDatein interfaceio.realm.internal.Row
-
getString
public String getString(long columnKey)
- Specified by:
getStringin interfaceio.realm.internal.Row
-
getBinaryByteArray
public byte[] getBinaryByteArray(long columnKey)
- Specified by:
getBinaryByteArrayin interfaceio.realm.internal.Row
-
getDecimal128
public Decimal128 getDecimal128(long columnKey)
- Specified by:
getDecimal128in interfaceio.realm.internal.Row
-
getObjectId
public ObjectId getObjectId(long columnKey)
- Specified by:
getObjectIdin interfaceio.realm.internal.Row
-
getUUID
public UUID getUUID(long columnKey)
- Specified by:
getUUIDin interfaceio.realm.internal.Row
-
getNativeRealmAny
public io.realm.internal.core.NativeRealmAny getNativeRealmAny(long columnKey)
- Specified by:
getNativeRealmAnyin interfaceio.realm.internal.Row
-
getLink
public long getLink(long columnKey)
- Specified by:
getLinkin interfaceio.realm.internal.Row
-
isNullLink
public boolean isNullLink(long columnKey)
- Specified by:
isNullLinkin interfaceio.realm.internal.Row
-
getModelList
public io.realm.internal.OsList getModelList(long columnKey)
- Specified by:
getModelListin interfaceio.realm.internal.Row
-
getValueList
public io.realm.internal.OsList getValueList(long columnKey, RealmFieldType fieldType)- Specified by:
getValueListin interfaceio.realm.internal.Row
-
getRealmAnyMap
public io.realm.internal.OsMap getRealmAnyMap(long columnKey)
- Specified by:
getRealmAnyMapin interfaceio.realm.internal.Row
-
getModelMap
public io.realm.internal.OsMap getModelMap(long columnKey)
- Specified by:
getModelMapin interfaceio.realm.internal.Row
-
getValueMap
public io.realm.internal.OsMap getValueMap(long columnKey, RealmFieldType fieldType)- Specified by:
getValueMapin interfaceio.realm.internal.Row
-
getRealmAnySet
public io.realm.internal.OsSet getRealmAnySet(long columnKey)
- Specified by:
getRealmAnySetin interfaceio.realm.internal.Row
-
getModelSet
public io.realm.internal.OsSet getModelSet(long columnKey)
- Specified by:
getModelSetin interfaceio.realm.internal.Row
-
getValueSet
public io.realm.internal.OsSet getValueSet(long columnKey, RealmFieldType fieldType)- Specified by:
getValueSetin interfaceio.realm.internal.Row
-
setLong
public void setLong(long columnKey, long value)- Specified by:
setLongin interfaceio.realm.internal.Row
-
setBoolean
public void setBoolean(long columnKey, boolean value)- Specified by:
setBooleanin interfaceio.realm.internal.Row
-
setFloat
public void setFloat(long columnKey, float value)- Specified by:
setFloatin interfaceio.realm.internal.Row
-
setDouble
public void setDouble(long columnKey, double value)- Specified by:
setDoublein interfaceio.realm.internal.Row
-
setDate
public void setDate(long columnKey, Date date)- Specified by:
setDatein interfaceio.realm.internal.Row
-
setString
public void setString(long columnKey, String value)- Specified by:
setStringin interfaceio.realm.internal.Row
-
setRealmAny
public void setRealmAny(long columnKey, long value)- Specified by:
setRealmAnyin interfaceio.realm.internal.Row
-
setBinaryByteArray
public void setBinaryByteArray(long columnKey, byte[] data)- Specified by:
setBinaryByteArrayin interfaceio.realm.internal.Row
-
setLink
public void setLink(long columnKey, long value)- Specified by:
setLinkin interfaceio.realm.internal.Row
-
nullifyLink
public void nullifyLink(long columnKey)
- Specified by:
nullifyLinkin interfaceio.realm.internal.Row
-
isNull
public boolean isNull(long columnKey)
- Specified by:
isNullin interfaceio.realm.internal.Row
-
setNull
public void setNull(long columnKey)
- Specified by:
setNullin interfaceio.realm.internal.Row
-
setDecimal128
public void setDecimal128(long columnKey, Decimal128 value)- Specified by:
setDecimal128in interfaceio.realm.internal.Row
-
setObjectId
public void setObjectId(long columnKey, ObjectId value)- Specified by:
setObjectIdin interfaceio.realm.internal.Row
-
setUUID
public void setUUID(long columnKey, UUID value)- Specified by:
setUUIDin interfaceio.realm.internal.Row
-
createEmbeddedObject
public long createEmbeddedObject(long columnKey, RealmFieldType parentPropertyType)- Specified by:
createEmbeddedObjectin interfaceio.realm.internal.Row
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceio.realm.internal.Row
-
checkIfAttached
public void checkIfAttached()
- Specified by:
checkIfAttachedin interfaceio.realm.internal.Row
-
hasColumn
public boolean hasColumn(String fieldName)
- Specified by:
hasColumnin interfaceio.realm.internal.Row
-
freeze
public io.realm.internal.Row freeze(io.realm.internal.OsSharedRealm frozenRealm)
- Specified by:
freezein interfaceio.realm.internal.Row
-
isLoaded
public boolean isLoaded()
- Specified by:
isLoadedin interfaceio.realm.internal.Row
-
-