Docs Menu

Enum FrozenPendingRow

On this page

java.lang.Object
io.realm.FrozenPendingRow

Implemented interfaces:

  • io.realm.internal.Row

A PendingRow that has been frozen. This behaves in many ways similar to a deleted Row, but will report isLoaded() as as false .

Enum Constant and Description
Modifier and Type
Method and Description
public void

Throws IllegalStateException if the row is not attached.

public long
long columnKey,
RealmFieldType parentPropertyType
)
public Row
OsSharedRealm frozenRealm
)

Returns a frozen copy of this Row.

public byte
long columnKey
)
public boolean
long columnKey
)
public long
public long
String columnName
)

Returns the column key from a column name.

public String

Returns all the column names of the tables.

long columnKey
)

Gets the type of a column identified by the columnKey.

public Date
long columnKey
)
public Decimal128
long columnKey
)
public double
long columnKey
)
public float
long columnKey
)
public long
long columnKey
)
public long
long columnKey
)
public OsList
long columnKey
)
public ObjectId
long columnKey
)
public long

Returns the object key in the original source table, not the tableview.

public String
long columnKey
)
public Table
public OsList
long columnKey,
RealmFieldType fieldType
)
public boolean
String fieldName
)

Returns true if the field name exists.

public boolean

Return whether the row is considered to be loaded, i.e.

public boolean
long columnKey
)
public boolean
long columnKey
)
public boolean

Checks if the row is still valid.

public void
long columnKey
)
public void
long columnKey,
byte[] data
)
public void
long columnKey,
boolean value
)
public void
long columnKey,
Date date
)
public void
long columnKey,
Decimal128 value
)
public void
long columnKey,
double value
)
public void
long columnKey,
float value
)
public void
long columnKey,
long value
)
public void
long columnKey,
long value
)
public void
long columnKey
)
public void
long columnKey,
ObjectId value
)
public void
long columnKey,
String value
)
public static FrozenPendingRow
public static FrozenPendingRow
  • 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 FrozenPendingRow

public void checkIfAttached ()

Throws IllegalStateException if the row is not attached.
public long createEmbeddedObject (
long columnKey,
RealmFieldType parentPropertyType
)
public Row freeze (
OsSharedRealm frozenRealm
)
Returns a frozen copy of this Row.
public byte getBinaryByteArray (
long columnKey
)
public boolean getBoolean (
long columnKey
)
public long getColumnCount ()

public long getColumnKey (
String columnName
)

Returns the column key from a column name.

Returns

the column key

Returns all the column names of the tables.

Returns

array of column names.

long columnKey
)

Gets the type of a column identified by the columnKey.

Returns

the type of the particular column.

public Date getDate (
long columnKey
)
public Decimal128 getDecimal128 (
long columnKey
)
public double getDouble (
long columnKey
)
public float getFloat (
long columnKey
)
public long getLink (
long columnKey
)
public long getLong (
long columnKey
)
public OsList getModelList (
long columnKey
)
public ObjectId getObjectId (
long columnKey
)
public long getObjectKey ()

Returns the object key in the original source table, not the tableview.
public String getString (
long columnKey
)
public Table getTable ()

public OsList getValueList (
long columnKey,
RealmFieldType fieldType
)
public boolean hasColumn (
String fieldName
)

Returns true if the field name exists.

Returns

true if field name exists, false otherwise.

public boolean isLoaded ()

Return whether the row is considered to be loaded, i.e. it doesn't represent a query in flight.
public boolean isNull (
long columnKey
)
public boolean isNullLink (
long columnKey
)
public boolean isValid ()

Checks if the row is still valid.

Returns

true if the row is still valid and attached to the underlying data. false otherwise.

public void nullifyLink (
long columnKey
)
public void setBinaryByteArray (
long columnKey,
byte[] data
)
public void setBoolean (
long columnKey,
boolean value
)
public void setDate (
long columnKey,
Date date
)
public void setDecimal128 (
long columnKey,
Decimal128 value
)
public void setDouble (
long columnKey,
double value
)
public void setFloat (
long columnKey,
float value
)
public void setLink (
long columnKey,
long value
)
public void setLong (
long columnKey,
long value
)
public void setNull (
long columnKey
)
public void setObjectId (
long columnKey,
ObjectId value
)
public void setString (
long columnKey,
String value
)
public static FrozenPendingRow valueOf (
String name
)
public static FrozenPendingRow values ()

←  Enum FieldAttributeEnum ImportFlag →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.