Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Statement

A statement object.

Properties

code

code: string

The statement code to execute. Example: {@code println(sc.version)}

id

id: number

The statement ID. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

lifecycleState

lifecycleState: StatementLifecycleState

The current state of this statement.

Optional output

output: model.StatementOutput

Optional progress

progress: undefined | number

The execution progress. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional runId

runId: undefined | string

The ID of a run.

Optional timeCompleted

timeCompleted: Date

The date and time a statement execution was completed, expressed in RFC 3339 timestamp format. Example: {@code 2022-05-31T21:10:29.600Z}

timeCreated

timeCreated: Date

The date and time the resource was created, expressed in RFC 3339 timestamp format. Example: {@code 2018-04-03T21:10:29.600Z}

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Statement): object

getJsonObj