QueryResult

interface QueryResult<Data : Any?, Variables : Any?> : OperationResult


A specialization of OperationResult for QueryRef.

Safe for concurrent use

All methods and properties of QueryResult are thread-safe and may be safely called and/or accessed concurrently from multiple threads and/or coroutines.

Not stable for inheritance

The QueryResult interface is not stable for inheritance in third-party libraries, as new methods might be added to this interface or contracts of the existing methods can be changed.

Summary

Public properties

DataSource

The source of the query results provided by this object.

QueryRef<Data, Variables>

The operation that produced this result.

Inherited functions

From com.google.firebase.dataconnect.OperationResult
operator Boolean
equals(other: Any?)

Compares this object with another object for equality.

Int

Calculates and returns the hash code for this object.

String

Returns a string representation of this object, useful for debugging.

Inherited properties

From com.google.firebase.dataconnect.OperationResult
Data

The response data for the operation.

Public properties

dataSource

val dataSourceDataSource

The source of the query results provided by this object.

ref

val refQueryRef<Data, Variables>

The operation that produced this result.