Apache Ignite · JSON Structure

Rest Api Sql Query Structure

Rest representation of sql query.

Type: object Properties: 7 Required: 7
CachingCompute GridDistributed DatabaseIn-MemoryOpen SourceSQL

SqlQuery is a JSON Structure definition published by Apache Ignite, describing 7 properties, of which 7 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id node phase type schema sql startTime

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-ignite/refs/heads/main/json-structure/rest-api-sql-query-structure.json",
  "name": "SqlQuery",
  "description": "Rest representation of sql query.",
  "properties": {
    "id": {
      "type": "uuid",
      "description": "Sql query ID."
    },
    "node": {
      "type": "string",
      "description": "Initiator node."
    },
    "phase": {
      "type": "string",
      "description": "Phase."
    },
    "type": {
      "type": "string",
      "description": "Type."
    },
    "schema": {
      "type": "string",
      "description": "Schema."
    },
    "sql": {
      "type": "string",
      "description": "SQL statement."
    },
    "startTime": {
      "type": "datetime",
      "description": "Start time."
    }
  },
  "required": [
    "id",
    "node",
    "phase",
    "schema",
    "sql",
    "startTime",
    "type"
  ]
}