RpcInvokeResponse
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.rpc/RpcInvokeResponse
RpcInvokeResponse
Section titled “RpcInvokeResponse”[jvm]
@Serializable
data class RpcInvokeResponse(val executionId: String? = null, val status: String = "completed", val result: JsonElement? = null, val rowsReturned: Long? = null, val durationMs: Long? = null, val error: String? = null)
The response from invoking an RPC procedure. Port of RPCInvokeResponse from sdk/src/types.ts:4116.
Constructors
Section titled “Constructors”| RpcInvokeResponse | [jvm] constructor(executionId: String? = null, status: String = "completed", result: JsonElement? = null, rowsReturned: Long? = null, durationMs: Long? = null, error: String? = null) |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| durationMs | [jvm] @SerialName(value = "duration_ms") val durationMs: Long? |
| error | [jvm] val error: String? |
| executionId | [jvm] @SerialName(value = "execution_id") val executionId: String? |
| result | [jvm] val result: JsonElement? |
| rowsReturned | [jvm] @SerialName(value = "rows_returned") val rowsReturned: Long? |
| status | [jvm] val status: String |