Служебные инструменты · perfmon

Подробные запросы и рекомендации по индексам

perfmon_query_monitor_details_readЧтение

Рекомендации по индексам с данными SQL · Журнал SQL-запросов с подробностями.

Действия

В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.

Предложения индексов

index_suggestions_query_sql

Штатные записи с ограничением количества и продолжением после ID. Текст запросов и адреса с параметрами по умолчанию скрыты; reveal_details:true требует права W. String filter operator *% uses original fulltext-like tokenization and LIKE predicates, preserving AND within a phrase and OR between phrases. It does not use MATCH indexes or the FT token-size memo. Raw NULL phrases remain unsupported. Empty or punctuation-only phrases, including four-byte characters discarded by the original splitter, can drop a predicate and are disclosed in warnings; arguments are not rewritten. Logical ? uses the already-loaded original parser, functions and effective error-message state; cold or lazy language resolution remains unsupported. Existing message overrides, empty or whitespace messages, boolean operators and original diagnostic or condition-drop behavior are preserved; arguments are not rewritten. MATCH operators * and *= remain separately unqualified. Optional query uses original IndexSuggest GetList with closed fields/filters/order and unpaged result counts. SQL_TEXT or serialized SQL_EXPLAIN selection requires fresh administrator and W even while redacted; reveal_details adds inert byte windows without decoding or executing them. Explicit BANNED selection/filtering retains independent native c/c1 joins, NULLs and duplicate associations; a truly emitted unqualified ID predicate with either join is refused. Safe defaults omit the selected BANNED join. Offset/limit only bound the returned page; native buffering remains complete. Omitting query preserves legacy behavior.

limit
целое число
after_id
целое число
query
объект · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 20
    },
    "after_id": {
      "type": "integer",
      "minimum": 0,
      "default": 0
    },
    "query": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "rows",
            "count"
          ],
          "default": "rows"
        },
        "group": {
          "type": "boolean",
          "default": false
        },
        "fields": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ID",
              "TABLE_NAME",
              "TABLE_ALIAS",
              "COLUMN_NAMES",
              "SQL_MD5",
              "SQL_TEXT",
              "SQL_COUNT",
              "SQL_TIME",
              "SQL_EXPLAIN",
              "BANNED"
            ]
          },
          "maxItems": 128,
          "uniqueItems": true
        },
        "filter": {
          "type": "object",
          "properties": {
            "logic": {
              "type": "string",
              "enum": [
                "AND",
                "OR",
                "NOT"
              ]
            },
            "terms": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "field": {
                    "type": "string",
                    "enum": [
                      "ID",
                      "SQL_MD5",
                      "TABLE_NAME",
                      "COLUMN_NAMES",
                      "BANNED"
                    ]
                  },
                  "operator": {
                    "type": "string",
                    "enum": [
                      "",
                      "!><",
                      "!=%",
                      "!%=",
                      "!==",
                      "!=",
                      "!%",
                      "><",
                      ">=",
                      "<=",
                      "=%",
                      "%=",
                      "!@",
                      "==",
                      "=",
                      "%",
                      "?",
                      ">",
                      "<",
                      "!",
                      "@",
                      "*",
                      "*=",
                      "*%"
                    ]
                  },
                  "value": {
                    "type": [
                      "string",
                      "integer",
                      "number",
                      "boolean",
                      "null",
                      "array"
                    ],
                    "maxLength": 4096,
                    "maxItems": 64,
                    "items": {
                      "type": [
                        "string",
                        "integer",
                        "number",
                        "boolean",
                        "null"
                      ],
                      "maxLength": 4096
                    }
                  }
                },
                "required": [
                  "field",
                  "operator",
                  "value"
                ],
                "additionalProperties": false
              },
              "maxItems": 32
            },
            "groups": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "logic": {
                    "type": "string",
                    "enum": [
                      "AND",
                      "OR",
                      "NOT"
                    ]
                  },
                  "terms": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "field": {
                          "type": "string",
                          "enum": [
                            "ID",
                            "SQL_MD5",
                            "TABLE_NAME",
                            "COLUMN_NAMES",
                            "BANNED"
                          ]
                        },
                        "operator": {
                          "type": "string",
                          "enum": [
                            "",
                            "!><",
                            "!=%",
                            "!%=",
                            "!==",
                            "!=",
                            "!%",
                            "><",
                            ">=",
                            "<=",
                            "=%",
                            "%=",
                            "!@",
                            "==",
                            "=",
                            "%",
                            "?",
                            ">",
                            "<",
                            "!",
                            "@",
                            "*",
                            "*=",
                            "*%"
                          ]
                        },
                        "value": {
                          "type": [
                            "string",
                            "integer",
                            "number",
                            "boolean",
                            "null",
                            "array"
                          ],
                          "maxLength": 4096,
                          "maxItems": 64,
                          "items": {
                            "type": [
                              "string",
                              "integer",
                              "number",
                              "boolean",
                              "null"
                            ],
                            "maxLength": 4096
                          }
                        }
                      },
                      "required": [
                        "field",
                        "operator",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 32
                  },
                  "groups": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "logic": {
                          "type": "string",
                          "enum": [
                            "AND",
                            "OR",
                            "NOT"
                          ]
                        },
                        "terms": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "enum": [
                                  "ID",
                                  "SQL_MD5",
                                  "TABLE_NAME",
                                  "COLUMN_NAMES",
                                  "BANNED"
                                ]
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "",
                                  "!><",
                                  "!=%",
                                  "!%=",
                                  "!==",
                                  "!=",
                                  "!%",
                                  "><",
                                  ">=",
                                  "<=",
                                  "=%",
                                  "%=",
                                  "!@",
                                  "==",
                                  "=",
                                  "%",
                                  "?",
                                  ">",
                                  "<",
                                  "!",
                                  "@",
                                  "*",
                                  "*=",
                                  "*%"
                                ]
                              },
                              "value": {
                                "type": [
                                  "string",
                                  "integer",
                                  "number",
                                  "boolean",
                                  "null",
                                  "array"
                                ],
                                "maxLength": 4096,
                                "maxItems": 64,
                                "items": {
                                  "type": [
                                    "string",
                                    "integer",
                                    "number",
                                    "boolean",
                                    "null"
                                  ],
                                  "maxLength": 4096
                                }
                              }
                            },
                            "required": [
                              "field",
                              "operator",
                              "value"
                            ],
                            "additionalProperties": false
                          },
                          "maxItems": 32
                        },
                        "groups": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "logic": {
                                "type": "string",
                                "enum": [
                                  "AND",
                                  "OR",
                                  "NOT"
                                ]
                              },
                              "terms": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "field": {
                                      "type": "string",
                                      "enum": [
                                        "ID",
                                        "SQL_MD5",
                                        "TABLE_NAME",
                                        "COLUMN_NAMES",
                                        "BANNED"
                                      ]
                                    },
                                    "operator": {
                                      "type": "string",
                                      "enum": [
                                        "",
                                        "!><",
                                        "!=%",
                                        "!%=",
                                        "!==",
                                        "!=",
                                        "!%",
                                        "><",
                                        ">=",
                                        "<=",
                                        "=%",
                                        "%=",
                                        "!@",
                                        "==",
                                        "=",
                                        "%",
                                        "?",
                                        ">",
                                        "<",
                                        "!",
                                        "@",
                                        "*",
                                        "*=",
                                        "*%"
                                      ]
                                    },
                                    "value": {
                                      "type": [
                                        "string",
                                        "integer",
                                        "number",
                                        "boolean",
                                        "null",
                                        "array"
                                      ],
                                      "maxLength": 4096,
                                      "maxItems": 64,
                                      "items": {
                                        "type": [
                                          "string",
                                          "integer",
                                          "number",
                                          "boolean",
                                          "null"
                                        ],
                                        "maxLength": 4096
                                      }
                                    }
                                  },
                                  "required": [
                                    "field",
                                    "operator",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "maxItems": 32
                              },
                              "groups": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "logic": {
                                      "type": "string",
                                      "enum": [
                                        "AND",
                                        "OR",
                                        "NOT"
                                      ]
                                    },
                                    "terms": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "enum": [
                                              "ID",
                                              "SQL_MD5",
                                              "TABLE_NAME",
                                              "COLUMN_NAMES",
                                              "BANNED"
                                            ]
                                          },
                                          "operator": {
                                            "type": "string",
                                            "enum": [
                                              "",
                                              "!><",
                                              "!=%",
                                              "!%=",
                                              "!==",
                                              "!=",
                                              "!%",
                                              "><",
                                              ">=",
                                              "<=",
                                              "=%",
                                              "%=",
                                              "!@",
                                              "==",
                                              "=",
                                              "%",
                                              "?",
                                              ">",
                                              "<",
                                              "!",
                                              "@",
                                              "*",
                                              "*=",
                                              "*%"
                                            ]
                                          },
                                          "value": {
                                            "type": [
                                              "string",
                                              "integer",
                                              "number",
                                              "boolean",
                                              "null",
                                              "array"
                                            ],
                                            "maxLength": 4096,
                                            "maxItems": 64,
                                            "items": {
                                              "type": [
                                                "string",
                                                "integer",
                                                "number",
                                                "boolean",
                                                "null"
                                              ],
                                              "maxLength": 4096
                                            }
                                          }
                                        },
                                        "required": [
                                          "field",
                                          "operator",
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "maxItems": 32
                                    },
                                    "groups": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "logic": {
                                            "type": "string",
                                            "enum": [
                                              "AND",
                                              "OR",
                                              "NOT"
                                            ]
                                          },
                                          "terms": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "field": {
                                                  "type": "string",
                                                  "enum": [
                                                    "ID",
                                                    "SQL_MD5",
                                                    "TABLE_NAME",
                                                    "COLUMN_NAMES",
                                                    "BANNED"
                                                  ]
                                                },
                                                "operator": {
                                                  "type": "string",
                                                  "enum": [
                                                    "",
                                                    "!><",
                                                    "!=%",
                                                    "!%=",
                                                    "!==",
                                                    "!=",
                                                    "!%",
                                                    "><",
                                                    ">=",
                                                    "<=",
                                                    "=%",
                                                    "%=",
                                                    "!@",
                                                    "==",
                                                    "=",
                                                    "%",
                                                    "?",
                                                    ">",
                                                    "<",
                                                    "!",
                                                    "@",
                                                    "*",
                                                    "*=",
                                                    "*%"
                                                  ]
                                                },
                                                "value": {
                                                  "type": [
                                                    "string",
                                                    "integer",
                                                    "number",
                                                    "boolean",
                                                    "null",
                                                    "array"
                                                  ],
                                                  "maxLength": 4096,
                                                  "maxItems": 64,
                                                  "items": {
                                                    "type": [
                                                      "string",
                                                      "integer",
                                                      "number",
                                                      "boolean",
                                                      "null"
                                                    ],
                                                    "maxLength": 4096
                                                  }
                                                }
                                              },
                                              "required": [
                                                "field",
                                                "operator",
                                                "value"
                                              ],
                                              "additionalProperties": false
                                            },
                                            "maxItems": 32
                                          },
                                          "groups": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "logic": {
                                                  "type": "string",
                                                  "enum": [
                                                    "AND",
                                                    "OR",
                                                    "NOT"
                                                  ]
                                                },
                                                "terms": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "field": {
                                                        "type": "string",
                                                        "enum": [
                                                          "ID",
                                                          "SQL_MD5",
                                                          "TABLE_NAME",
                                                          "COLUMN_NAMES",
                                                          "BANNED"
                                                        ]
                                                      },
                                                      "operator": {
                                                        "type": "string",
                                                        "enum": [
                                                          "",
                                                          "!><",
                                                          "!=%",
                                                          "!%=",
                                                          "!==",
                                                          "!=",
                                                          "!%",
                                                          "><",
                                                          ">=",
                                                          "<=",
                                                          "=%",
                                                          "%=",
                                                          "!@",
                                                          "==",
                                                          "=",
                                                          "%",
                                                          "?",
                                                          ">",
                                                          "<",
                                                          "!",
                                                          "@",
                                                          "*",
                                                          "*=",
                                                          "*%"
                                                        ]
                                                      },
                                                      "value": {
                                                        "type": [
                                                          "string",
                                                          "integer",
                                                          "number",
                                                          "boolean",
                                                          "null",
                                                          "array"
                                                        ],
                                                        "maxLength": 4096,
                                                        "maxItems": 64,
                                                        "items": {
                                                          "type": [
                                                            "string",
                                                            "integer",
                                                            "number",
                                                            "boolean",
                                                            "null"
                                                          ],
                                                          "maxLength": 4096
                                                        }
                                                      }
                                                    },
                                                    "required": [
                                                      "field",
                                                      "operator",
                                                      "value"
                                                    ],
                                                    "additionalProperties": false
                                                  },
                                                  "maxItems": 32
                                                },
                                                "groups": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "logic": {
                                                        "type": "string",
                                                        "enum": [
                                                          "AND",
                                                          "OR",
                                                          "NOT"
                                                        ]
                                                      },
                                                      "terms": {
                                                        "type": "array",
                                                        "items": {
                                                          "type": "object",
                                                          "properties": {
                                                            "field": {
                                                              "type": "string",
                                                              "enum": [
                                                                "ID",
                                                                "SQL_MD5",
                                                                "TABLE_NAME",
                                                                "COLUMN_NAMES",
                                                                "BANNED"
                                                              ]
                                                            },
                                                            "operator": {
                                                              "type": "string",
                                                              "enum": [
                                                                "",
                                                                "!><",
                                                                "!=%",
                                                                "!%=",
                                                                "!==",
                                                                "!=",
                                                                "!%",
                                                                "><",
                                                                ">=",
                                                                "<=",
                                                                "=%",
                                                                "%=",
                                                                "!@",
                                                                "==",
                                                                "=",
                                                                "%",
                                                                "?",
                                                                ">",
                                                                "<",
                                                                "!",
                                                                "@",
                                                                "*",
                                                                "*=",
                                                                "*%"
                                                              ]
                                                            },
                                                            "value": {
                                                              "type": [
                                                                "string",
                                                                "integer",
                                                                "number",
                                                                "boolean",
                                                                "null",
                                                                "array"
                                                              ],
                                                              "maxLength": 4096,
                                                              "maxItems": 64,
                                                              "items": {
                                                                "type": [
                                                                  "string",
                                                                  "integer",
                                                                  "number",
                                                                  "boolean",
                                                                  "null"
                                                                ],
                                                                "maxLength": 4096
                                                              }
                                                            }
                                                          },
                                                          "required": [
                                                            "field",
                                                            "operator",
                                                            "value"
                                                          ],
                                                          "additionalProperties": false
                                                        },
                                                        "maxItems": 32
                                                      },
                                                      "groups": {
                                                        "type": "array",
                                                        "items": {
                                                          "type": "object",
                                                          "properties": {
                                                            "logic": {
                                                              "type": "string",
                                                              "enum": [
                                                                "AND",
                                                                "OR",
                                                                "NOT"
                                                              ]
                                                            },
                                                            "terms": {
                                                              "type": "array",
                                                              "items": {
                                                                "type": "object",
                                                                "properties": {
                                                                  "field": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                      "ID",
                                                                      "SQL_MD5",
                                                                      "TABLE_NAME",
                                                                      "COLUMN_NAMES",
                                                                      "BANNED"
                                                                    ]
                                                                  },
                                                                  "operator": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                      "",
                                                                      "!><",
                                                                      "!=%",
                                                                      "!%=",
                                                                      "!==",
                                                                      "!=",
                                                                      "!%",
                                                                      "><",
                                                                      ">=",
                                                                      "<=",
                                                                      "=%",
                                                                      "%=",
                                                                      "!@",
                                                                      "==",
                                                                      "=",
                                                                      "%",
                                                                      "?",
                                                                      ">",
                                                                      "<",
                                                                      "!",
                                                                      "@",
                                                                      "*",
                                                                      "*=",
                                                                      "*%"
                                                                    ]
                                                                  },
                                                                  "value": {
                                                                    "type": [
                                                                      "string",
                                                                      "integer",
                                                                      "number",
                                                                      "boolean",
                                                                      "null",
                                                                      "array"
                                                                    ],
                                                                    "maxLength": 4096,
                                                                    "maxItems": 64,
                                                                    "items": {
                                                                      "type": [
                                                                        "string",
                                                                        "integer",
                                                                        "number",
                                                                        "boolean",
                                                                        "null"
                                                                      ],
                                                                      "maxLength": 4096
                                                                    }
                                                                  }
                                                                },
                                                                "required": [
                                                                  "field",
                                                                  "operator",
                                                                  "value"
                                                                ],
                                                                "additionalProperties": false
                                                              },
                                                              "maxItems": 32
                                                            },
                                                            "groups": {
                                                              "type": "array",
                                                              "items": {
                                                                "type": "object",
                                                                "properties": {
                                                                  "logic": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                      "AND",
                                                                      "OR",
                                                                      "NOT"
                                                                    ]
                                                                  },
                                                                  "terms": {
                                                                    "type": "array",
                                                                    "items": {
                                                                      "type": "object",
                                                                      "properties": {
                                                                        "field": {
                                                                          "type": "string",
                                                                          "enum": [
                                                                            "ID",
                                                                            "SQL_MD5",
                                                                            "TABLE_NAME",
                                                                            "COLUMN_NAMES",
                                                                            "BANNED"
                                                                          ]
                                                                        },
                                                                        "operator": {
                                                                          "type": "string",
                                                                          "enum": [
                                                                            "",
                                                                            "!><",
                                                                            "!=%",
                                                                            "!%=",
                                                                            "!==",
                                                                            "!=",
                                                                            "!%",
                                                                            "><",
                                                                            ">=",
                                                                            "<=",
                                                                            "=%",
                                                                            "%=",
                                                                            "!@",
                                                                            "==",
                                                                            "=",
                                                                            "%",
                                                                            "?",
                                                                            ">",
                                                                            "<",
                                                                            "!",
                                                                            "@",
                                                                            "*",
                                                                            "*=",
                                                                            "*%"
                                                                          ]
                                                                        },
                                                                        "value": {
                                                                          "type": [
                                                                            "string",
                                                                            "integer",
                                                                            "number",
                                                                            "boolean",
                                                                            "null",
                                                                            "array"
                                                                          ],
                                                                          "maxLength": 4096,
                                                                          "maxItems": 64,
                                                                          "items": {
                                                                            "type": [
                                                                              "string",
                                                                              "integer",
                                                                              "number",
                                                                              "boolean",
                                                                              "null"
                                                                            ],
                                                                            "maxLength": 4096
                                                                          }
                                                                        }
                                                                      },
                                                                      "required": [
                                                                        "field",
                                                                        "operator",
                                                                        "value"
                                                                      ],
                                                                      "additionalProperties": false
                                                                    },
                                                                    "maxItems": 32
                                                                  }
                                                                },
                                                                "required": [],
                                                                "additionalProperties": false
                                                              },
                                                              "maxItems": 8
                                                            }
                                                          },
                                                          "required": [],
                                                          "additionalProperties": false
                                                        },
                                                        "maxItems": 8
                                                      }
                                                    },
                                                    "required": [],
                                                    "additionalProperties": false
                                                  },
                                                  "maxItems": 8
                                                }
                                              },
                                              "required": [],
                                              "additionalProperties": false
                                            },
                                            "maxItems": 8
                                          }
                                        },
                                        "required": [],
                                        "additionalProperties": false
                                      },
                                      "maxItems": 8
                                    }
                                  },
                                  "required": [],
                                  "additionalProperties": false
                                },
                                "maxItems": 8
                              }
                            },
                            "required": [],
                            "additionalProperties": false
                          },
                          "maxItems": 8
                        }
                      },
                      "required": [],
                      "additionalProperties": false
                    },
                    "maxItems": 8
                  }
                },
                "required": [],
                "additionalProperties": false
              },
              "maxItems": 8
            }
          },
          "required": [],
          "additionalProperties": false
        },
        "order": {
          "type": "array",
          "maxItems": 16,
          "items": {
            "type": "object",
            "properties": {
              "field": {
                "type": "string",
                "enum": [
                  "ID",
                  "TABLE_NAME",
                  "SQL_COUNT",
                  "SQL_TIME"
                ]
              },
              "direction": {
                "type": "string",
                "enum": [
                  "ASC",
                  "DESC"
                ]
              }
            },
            "required": [
              "field",
              "direction"
            ],
            "additionalProperties": false
          }
        },
        "offset": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9223372036854776000,
          "default": 0
        },
        "count_method": {
          "type": "string",
          "enum": [
            "selected_rows",
            "native_records_total"
          ],
          "default": "selected_rows"
        },
        "include_total_count": {
          "type": "boolean",
          "default": false
        },
        "reveal_details": {
          "type": "boolean",
          "default": false
        },
        "text_window": {
          "type": "object",
          "properties": {
            "offset": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9223372036854759000,
              "default": 0
            },
            "limit": {
              "type": "integer",
              "minimum": 1,
              "maximum": 16384,
              "default": 4096
            }
          },
          "required": [],
          "additionalProperties": false
        }
      },
      "required": [],
      "additionalProperties": false
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

Запросы к базе

queries_query_details

Штатные записи с ограничением количества и продолжением после ID. Текст запросов и адреса с параметрами по умолчанию скрыты; reveal_details:true требует права W. Administrator and Perfmon access required, matching the stock SQL list. Optional query uses original SQL log fields, filters, grouping, order, selected-result counts and original joined-row COUNT. SUGGEST_ID associations can duplicate rows; native duplicates are preserved. Selecting or ordering SQL_TEXT requires fresh administrator and Perfmon W even when bytes remain redacted; reveal_details additionally returns inert byte windows. SQL_EXPLAIN is not an original SQL report selector. Unknown fields/expressions and broken native LEFT join states are refused. Omitting query preserves the legacy DTO. query.native_nav opts into original native page/count behavior and requires ack_native_navigation_state:true. Omit outer limit/after_id; only rows, selected_rows, offset0 and include_total_count:false are compatible. Original navigation changes request NavNum and may change qualified existing session-local navigation state; no session is started, restored or saved by the tool. The complete native page can contain199 rows at page_size100 when descending. Native counts preserve original family/group units and live count/data races; native_navigation replaces ordinary offset/limit/more fields. Session backend epilogue persistence is unverified. String filter operator *% uses original fulltext-like tokenization and LIKE predicates, preserving AND within a phrase and OR between phrases. It does not use MATCH indexes or the FT token-size memo. Raw NULL phrases remain unsupported. Empty or punctuation-only phrases, including four-byte characters discarded by the original splitter, can drop a predicate and are disclosed in warnings; arguments are not rewritten. Logical ? uses the already-loaded original parser, functions and effective error-message state; cold or lazy language resolution remains unsupported. Existing message overrides, empty or whitespace messages, boolean operators and original diagnostic or condition-drop behavior are preserved; arguments are not rewritten. MATCH operators * and *= remain separately unqualified.

limit
целое число
after_id
целое число
hit_id
целое число
query
объект · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 20
    },
    "after_id": {
      "type": "integer",
      "minimum": 0,
      "default": 0
    },
    "hit_id": {
      "type": "integer",
      "minimum": 1
    },
    "query": {
      "type": "object",
      "properties": {
        "native_nav": {
          "type": "object",
          "properties": {
            "page_size": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "page": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000000,
              "default": 1
            },
            "descending": {
              "type": "boolean",
              "default": false
            },
            "check_out_of_range": {
              "type": "boolean",
              "default": false
            }
          },
          "additionalProperties": false
        },
        "ack_native_navigation_state": {
          "type": "boolean",
          "default": false
        },
        "mode": {
          "type": "string",
          "enum": [
            "rows",
            "count"
          ],
          "default": "rows"
        },
        "group": {
          "type": "boolean",
          "default": false
        },
        "fields": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ID",
              "HIT_ID",
              "NN",
              "MODULE_NAME",
              "COMPONENT_NAME",
              "NODE_ID",
              "SELECTED_ROWS",
              "SELECTED_FIELDS",
              "FETCHED_ROWS",
              "FETCHED_LENGTH",
              "HAS_BIG_FIELDS",
              "SQL_TEXT",
              "QUERY_TIME",
              "COUNT",
              "MIN_QUERY_TIME",
              "MAX_QUERY_TIME",
              "AVG_QUERY_TIME",
              "SUM_QUERY_TIME"
            ]
          },
          "maxItems": 128,
          "uniqueItems": true
        },
        "filter": {
          "type": "object",
          "properties": {
            "logic": {
              "type": "string",
              "enum": [
                "AND",
                "OR",
                "NOT"
              ]
            },
            "terms": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "field": {
                    "type": "string",
                    "enum": [
                      "HIT_ID",
                      "COMPONENT_ID",
                      "ID",
                      "QUERY_TIME",
                      "SUGGEST_ID",
                      "NODE_ID",
                      "SELECTED_ROWS",
                      "SELECTED_FIELDS",
                      "FETCHED_ROWS",
                      "FETCHED_LENGTH",
                      "HAS_BIG_FIELDS"
                    ]
                  },
                  "operator": {
                    "type": "string",
                    "enum": [
                      "",
                      "!><",
                      "!=%",
                      "!%=",
                      "!==",
                      "!=",
                      "!%",
                      "><",
                      ">=",
                      "<=",
                      "=%",
                      "%=",
                      "!@",
                      "==",
                      "=",
                      "%",
                      "?",
                      ">",
                      "<",
                      "!",
                      "@",
                      "*",
                      "*=",
                      "*%"
                    ]
                  },
                  "value": {
                    "type": [
                      "string",
                      "integer",
                      "number",
                      "boolean",
                      "null",
                      "array"
                    ],
                    "maxLength": 4096,
                    "maxItems": 64,
                    "items": {
                      "type": [
                        "string",
                        "integer",
                        "number",
                        "boolean",
                        "null"
                      ],
                      "maxLength": 4096
                    }
                  }
                },
                "required": [
                  "field",
                  "operator",
                  "value"
                ],
                "additionalProperties": false
              },
              "maxItems": 32
            },
            "groups": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "logic": {
                    "type": "string",
                    "enum": [
                      "AND",
                      "OR",
                      "NOT"
                    ]
                  },
                  "terms": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "field": {
                          "type": "string",
                          "enum": [
                            "HIT_ID",
                            "COMPONENT_ID",
                            "ID",
                            "QUERY_TIME",
                            "SUGGEST_ID",
                            "NODE_ID",
                            "SELECTED_ROWS",
                            "SELECTED_FIELDS",
                            "FETCHED_ROWS",
                            "FETCHED_LENGTH",
                            "HAS_BIG_FIELDS"
                          ]
                        },
                        "operator": {
                          "type": "string",
                          "enum": [
                            "",
                            "!><",
                            "!=%",
                            "!%=",
                            "!==",
                            "!=",
                            "!%",
                            "><",
                            ">=",
                            "<=",
                            "=%",
                            "%=",
                            "!@",
                            "==",
                            "=",
                            "%",
                            "?",
                            ">",
                            "<",
                            "!",
                            "@",
                            "*",
                            "*=",
                            "*%"
                          ]
                        },
                        "value": {
                          "type": [
                            "string",
                            "integer",
                            "number",
                            "boolean",
                            "null",
                            "array"
                          ],
                          "maxLength": 4096,
                          "maxItems": 64,
                          "items": {
                            "type": [
                              "string",
                              "integer",
                              "number",
                              "boolean",
                              "null"
                            ],
                            "maxLength": 4096
                          }
                        }
                      },
                      "required": [
                        "field",
                        "operator",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 32
                  },
                  "groups": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "logic": {
                          "type": "string",
                          "enum": [
                            "AND",
                            "OR",
                            "NOT"
                          ]
                        },
                        "terms": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "enum": [
                                  "HIT_ID",
                                  "COMPONENT_ID",
                                  "ID",
                                  "QUERY_TIME",
                                  "SUGGEST_ID",
                                  "NODE_ID",
                                  "SELECTED_ROWS",
                                  "SELECTED_FIELDS",
                                  "FETCHED_ROWS",
                                  "FETCHED_LENGTH",
                                  "HAS_BIG_FIELDS"
                                ]
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "",
                                  "!><",
                                  "!=%",
                                  "!%=",
                                  "!==",
                                  "!=",
                                  "!%",
                                  "><",
                                  ">=",
                                  "<=",
                                  "=%",
                                  "%=",
                                  "!@",
                                  "==",
                                  "=",
                                  "%",
                                  "?",
                                  ">",
                                  "<",
                                  "!",
                                  "@",
                                  "*",
                                  "*=",
                                  "*%"
                                ]
                              },
                              "value": {
                                "type": [
                                  "string",
                                  "integer",
                                  "number",
                                  "boolean",
                                  "null",
                                  "array"
                                ],
                                "maxLength": 4096,
                                "maxItems": 64,
                                "items": {
                                  "type": [
                                    "string",
                                    "integer",
                                    "number",
                                    "boolean",
                                    "null"
                                  ],
                                  "maxLength": 4096
                                }
                              }
                            },
                            "required": [
                              "field",
                              "operator",
                              "value"
                            ],
                            "additionalProperties": false
                          },
                          "maxItems": 32
                        },
                        "groups": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "logic": {
                                "type": "string",
                                "enum": [
                                  "AND",
                                  "OR",
                                  "NOT"
                                ]
                              },
                              "terms": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "field": {
                                      "type": "string",
                                      "enum": [
                                        "HIT_ID",
                                        "COMPONENT_ID",
                                        "ID",
                                        "QUERY_TIME",
                                        "SUGGEST_ID",
                                        "NODE_ID",
                                        "SELECTED_ROWS",
                                        "SELECTED_FIELDS",
                                        "FETCHED_ROWS",
                                        "FETCHED_LENGTH",
                                        "HAS_BIG_FIELDS"
                                      ]
                                    },
                                    "operator": {
                                      "type": "string",
                                      "enum": [
                                        "",
                                        "!><",
                                        "!=%",
                                        "!%=",
                                        "!==",
                                        "!=",
                                        "!%",
                                        "><",
                                        ">=",
                                        "<=",
                                        "=%",
                                        "%=",
                                        "!@",
                                        "==",
                                        "=",
                                        "%",
                                        "?",
                                        ">",
                                        "<",
                                        "!",
                                        "@",
                                        "*",
                                        "*=",
                                        "*%"
                                      ]
                                    },
                                    "value": {
                                      "type": [
                                        "string",
                                        "integer",
                                        "number",
                                        "boolean",
                                        "null",
                                        "array"
                                      ],
                                      "maxLength": 4096,
                                      "maxItems": 64,
                                      "items": {
                                        "type": [
                                          "string",
                                          "integer",
                                          "number",
                                          "boolean",
                                          "null"
                                        ],
                                        "maxLength": 4096
                                      }
                                    }
                                  },
                                  "required": [
                                    "field",
                                    "operator",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "maxItems": 32
                              },
                              "groups": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "logic": {
                                      "type": "string",
                                      "enum": [
                                        "AND",
                                        "OR",
                                        "NOT"
                                      ]
                                    },
                                    "terms": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "enum": [
                                              "HIT_ID",
                                              "COMPONENT_ID",
                                              "ID",
                                              "QUERY_TIME",
                                              "SUGGEST_ID",
                                              "NODE_ID",
                                              "SELECTED_ROWS",
                                              "SELECTED_FIELDS",
                                              "FETCHED_ROWS",
                                              "FETCHED_LENGTH",
                                              "HAS_BIG_FIELDS"
                                            ]
                                          },
                                          "operator": {
                                            "type": "string",
                                            "enum": [
                                              "",
                                              "!><",
                                              "!=%",
                                              "!%=",
                                              "!==",
                                              "!=",
                                              "!%",
                                              "><",
                                              ">=",
                                              "<=",
                                              "=%",
                                              "%=",
                                              "!@",
                                              "==",
                                              "=",
                                              "%",
                                              "?",
                                              ">",
                                              "<",
                                              "!",
                                              "@",
                                              "*",
                                              "*=",
                                              "*%"
                                            ]
                                          },
                                          "value": {
                                            "type": [
                                              "string",
                                              "integer",
                                              "number",
                                              "boolean",
                                              "null",
                                              "array"
                                            ],
                                            "maxLength": 4096,
                                            "maxItems": 64,
                                            "items": {
                                              "type": [
                                                "string",
                                                "integer",
                                                "number",
                                                "boolean",
                                                "null"
                                              ],
                                              "maxLength": 4096
                                            }
                                          }
                                        },
                                        "required": [
                                          "field",
                                          "operator",
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "maxItems": 32
                                    },
                                    "groups": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "logic": {
                                            "type": "string",
                                            "enum": [
                                              "AND",
                                              "OR",
                                              "NOT"
                                            ]
                                          },
                                          "terms": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "field": {
                                                  "type": "string",
                                                  "enum": [
                                                    "HIT_ID",
                                                    "COMPONENT_ID",
                                                    "ID",
                                                    "QUERY_TIME",
                                                    "SUGGEST_ID",
                                                    "NODE_ID",
                                                    "SELECTED_ROWS",
                                                    "SELECTED_FIELDS",
                                                    "FETCHED_ROWS",
                                                    "FETCHED_LENGTH",
                                                    "HAS_BIG_FIELDS"
                                                  ]
                                                },
                                                "operator": {
                                                  "type": "string",
                                                  "enum": [
                                                    "",
                                                    "!><",
                                                    "!=%",
                                                    "!%=",
                                                    "!==",
                                                    "!=",
                                                    "!%",
                                                    "><",
                                                    ">=",
                                                    "<=",
                                                    "=%",
                                                    "%=",
                                                    "!@",
                                                    "==",
                                                    "=",
                                                    "%",
                                                    "?",
                                                    ">",
                                                    "<",
                                                    "!",
                                                    "@",
                                                    "*",
                                                    "*=",
                                                    "*%"
                                                  ]
                                                },
                                                "value": {
                                                  "type": [
                                                    "string",
                                                    "integer",
                                                    "number",
                                                    "boolean",
                                                    "null",
                                                    "array"
                                                  ],
                                                  "maxLength": 4096,
                                                  "maxItems": 64,
                                                  "items": {
                                                    "type": [
                                                      "string",
                                                      "integer",
                                                      "number",
                                                      "boolean",
                                                      "null"
                                                    ],
                                                    "maxLength": 4096
                                                  }
                                                }
                                              },
                                              "required": [
                                                "field",
                                                "operator",
                                                "value"
                                              ],
                                              "additionalProperties": false
                                            },
                                            "maxItems": 32
                                          },
                                          "groups": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "logic": {
                                                  "type": "string",
                                                  "enum": [
                                                    "AND",
                                                    "OR",
                                                    "NOT"
                                                  ]
                                                },
                                                "terms": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "field": {
                                                        "type": "string",
                                                        "enum": [
                                                          "HIT_ID",
                                                          "COMPONENT_ID",
                                                          "ID",
                                                          "QUERY_TIME",
                                                          "SUGGEST_ID",
                                                          "NODE_ID",
                                                          "SELECTED_ROWS",
                                                          "SELECTED_FIELDS",
                                                          "FETCHED_ROWS",
                                                          "FETCHED_LENGTH",
                                                          "HAS_BIG_FIELDS"
                                                        ]
                                                      },
                                                      "operator": {
                                                        "type": "string",
                                                        "enum": [
                                                          "",
                                                          "!><",
                                                          "!=%",
                                                          "!%=",
                                                          "!==",
                                                          "!=",
                                                          "!%",
                                                          "><",
                                                          ">=",
                                                          "<=",
                                                          "=%",
                                                          "%=",
                                                          "!@",
                                                          "==",
                                                          "=",
                                                          "%",
                                                          "?",
                                                          ">",
                                                          "<",
                                                          "!",
                                                          "@",
                                                          "*",
                                                          "*=",
                                                          "*%"
                                                        ]
                                                      },
                                                      "value": {
                                                        "type": [
                                                          "string",
                                                          "integer",
                                                          "number",
                                                          "boolean",
                                                          "null",
                                                          "array"
                                                        ],
                                                        "maxLength": 4096,
                                                        "maxItems": 64,
                                                        "items": {
                                                          "type": [
                                                            "string",
                                                            "integer",
                                                            "number",
                                                            "boolean",
                                                            "null"
                                                          ],
                                                          "maxLength": 4096
                                                        }
                                                      }
                                                    },
                                                    "required": [
                                                      "field",
                                                      "operator",
                                                      "value"
                                                    ],
                                                    "additionalProperties": false
                                                  },
                                                  "maxItems": 32
                                                },
                                                "groups": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "logic": {
                                                        "type": "string",
                                                        "enum": [
                                                          "AND",
                                                          "OR",
                                                          "NOT"
                                                        ]
                                                      },
                                                      "terms": {
                                                        "type": "array",
                                                        "items": {
                                                          "type": "object",
                                                          "properties": {
                                                            "field": {
                                                              "type": "string",
                                                              "enum": [
                                                                "HIT_ID",
                                                                "COMPONENT_ID",
                                                                "ID",
                                                                "QUERY_TIME",
                                                                "SUGGEST_ID",
                                                                "NODE_ID",
                                                                "SELECTED_ROWS",
                                                                "SELECTED_FIELDS",
                                                                "FETCHED_ROWS",
                                                                "FETCHED_LENGTH",
                                                                "HAS_BIG_FIELDS"
                                                              ]
                                                            },
                                                            "operator": {
                                                              "type": "string",
                                                              "enum": [
                                                                "",
                                                                "!><",
                                                                "!=%",
                                                                "!%=",
                                                                "!==",
                                                                "!=",
                                                                "!%",
                                                                "><",
                                                                ">=",
                                                                "<=",
                                                                "=%",
                                                                "%=",
                                                                "!@",
                                                                "==",
                                                                "=",
                                                                "%",
                                                                "?",
                                                                ">",
                                                                "<",
                                                                "!",
                                                                "@",
                                                                "*",
                                                                "*=",
                                                                "*%"
                                                              ]
                                                            },
                                                            "value": {
                                                              "type": [
                                                                "string",
                                                                "integer",
                                                                "number",
                                                                "boolean",
                                                                "null",
                                                                "array"
                                                              ],
                                                              "maxLength": 4096,
                                                              "maxItems": 64,
                                                              "items": {
                                                                "type": [
                                                                  "string",
                                                                  "integer",
                                                                  "number",
                                                                  "boolean",
                                                                  "null"
                                                                ],
                                                                "maxLength": 4096
                                                              }
                                                            }
                                                          },
                                                          "required": [
                                                            "field",
                                                            "operator",
                                                            "value"
                                                          ],
                                                          "additionalProperties": false
                                                        },
                                                        "maxItems": 32
                                                      },
                                                      "groups": {
                                                        "type": "array",
                                                        "items": {
                                                          "type": "object",
                                                          "properties": {
                                                            "logic": {
                                                              "type": "string",
                                                              "enum": [
                                                                "AND",
                                                                "OR",
                                                                "NOT"
                                                              ]
                                                            },
                                                            "terms": {
                                                              "type": "array",
                                                              "items": {
                                                                "type": "object",
                                                                "properties": {
                                                                  "field": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                      "HIT_ID",
                                                                      "COMPONENT_ID",
                                                                      "ID",
                                                                      "QUERY_TIME",
                                                                      "SUGGEST_ID",
                                                                      "NODE_ID",
                                                                      "SELECTED_ROWS",
                                                                      "SELECTED_FIELDS",
                                                                      "FETCHED_ROWS",
                                                                      "FETCHED_LENGTH",
                                                                      "HAS_BIG_FIELDS"
                                                                    ]
                                                                  },
                                                                  "operator": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                      "",
                                                                      "!><",
                                                                      "!=%",
                                                                      "!%=",
                                                                      "!==",
                                                                      "!=",
                                                                      "!%",
                                                                      "><",
                                                                      ">=",
                                                                      "<=",
                                                                      "=%",
                                                                      "%=",
                                                                      "!@",
                                                                      "==",
                                                                      "=",
                                                                      "%",
                                                                      "?",
                                                                      ">",
                                                                      "<",
                                                                      "!",
                                                                      "@",
                                                                      "*",
                                                                      "*=",
                                                                      "*%"
                                                                    ]
                                                                  },
                                                                  "value": {
                                                                    "type": [
                                                                      "string",
                                                                      "integer",
                                                                      "number",
                                                                      "boolean",
                                                                      "null",
                                                                      "array"
                                                                    ],
                                                                    "maxLength": 4096,
                                                                    "maxItems": 64,
                                                                    "items": {
                                                                      "type": [
                                                                        "string",
                                                                        "integer",
                                                                        "number",
                                                                        "boolean",
                                                                        "null"
                                                                      ],
                                                                      "maxLength": 4096
                                                                    }
                                                                  }
                                                                },
                                                                "required": [
                                                                  "field",
                                                                  "operator",
                                                                  "value"
                                                                ],
                                                                "additionalProperties": false
                                                              },
                                                              "maxItems": 32
                                                            },
                                                            "groups": {
                                                              "type": "array",
                                                              "items": {
                                                                "type": "object",
                                                                "properties": {
                                                                  "logic": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                      "AND",
                                                                      "OR",
                                                                      "NOT"
                                                                    ]
                                                                  },
                                                                  "terms": {
                                                                    "type": "array",
                                                                    "items": {
                                                                      "type": "object",
                                                                      "properties": {
                                                                        "field": {
                                                                          "type": "string",
                                                                          "enum": [
                                                                            "HIT_ID",
                                                                            "COMPONENT_ID",
                                                                            "ID",
                                                                            "QUERY_TIME",
                                                                            "SUGGEST_ID",
                                                                            "NODE_ID",
                                                                            "SELECTED_ROWS",
                                                                            "SELECTED_FIELDS",
                                                                            "FETCHED_ROWS",
                                                                            "FETCHED_LENGTH",
                                                                            "HAS_BIG_FIELDS"
                                                                          ]
                                                                        },
                                                                        "operator": {
                                                                          "type": "string",
                                                                          "enum": [
                                                                            "",
                                                                            "!><",
                                                                            "!=%",
                                                                            "!%=",
                                                                            "!==",
                                                                            "!=",
                                                                            "!%",
                                                                            "><",
                                                                            ">=",
                                                                            "<=",
                                                                            "=%",
                                                                            "%=",
                                                                            "!@",
                                                                            "==",
                                                                            "=",
                                                                            "%",
                                                                            "?",
                                                                            ">",
                                                                            "<",
                                                                            "!",
                                                                            "@",
                                                                            "*",
                                                                            "*=",
                                                                            "*%"
                                                                          ]
                                                                        },
                                                                        "value": {
                                                                          "type": [
                                                                            "string",
                                                                            "integer",
                                                                            "number",
                                                                            "boolean",
                                                                            "null",
                                                                            "array"
                                                                          ],
                                                                          "maxLength": 4096,
                                                                          "maxItems": 64,
                                                                          "items": {
                                                                            "type": [
                                                                              "string",
                                                                              "integer",
                                                                              "number",
                                                                              "boolean",
                                                                              "null"
                                                                            ],
                                                                            "maxLength": 4096
                                                                          }
                                                                        }
                                                                      },
                                                                      "required": [
                                                                        "field",
                                                                        "operator",
                                                                        "value"
                                                                      ],
                                                                      "additionalProperties": false
                                                                    },
                                                                    "maxItems": 32
                                                                  }
                                                                },
                                                                "required": [],
                                                                "additionalProperties": false
                                                              },
                                                              "maxItems": 8
                                                            }
                                                          },
                                                          "required": [],
                                                          "additionalProperties": false
                                                        },
                                                        "maxItems": 8
                                                      }
                                                    },
                                                    "required": [],
                                                    "additionalProperties": false
                                                  },
                                                  "maxItems": 8
                                                }
                                              },
                                              "required": [],
                                              "additionalProperties": false
                                            },
                                            "maxItems": 8
                                          }
                                        },
                                        "required": [],
                                        "additionalProperties": false
                                      },
                                      "maxItems": 8
                                    }
                                  },
                                  "required": [],
                                  "additionalProperties": false
                                },
                                "maxItems": 8
                              }
                            },
                            "required": [],
                            "additionalProperties": false
                          },
                          "maxItems": 8
                        }
                      },
                      "required": [],
                      "additionalProperties": false
                    },
                    "maxItems": 8
                  }
                },
                "required": [],
                "additionalProperties": false
              },
              "maxItems": 8
            }
          },
          "required": [],
          "additionalProperties": false
        },
        "order": {
          "type": "array",
          "maxItems": 16,
          "items": {
            "type": "object",
            "properties": {
              "field": {
                "type": "string",
                "enum": [
                  "ID",
                  "HIT_ID",
                  "NN",
                  "MODULE_NAME",
                  "COMPONENT_NAME",
                  "NODE_ID",
                  "SQL_TEXT",
                  "QUERY_TIME",
                  "COUNT",
                  "MIN_QUERY_TIME",
                  "MAX_QUERY_TIME",
                  "AVG_QUERY_TIME",
                  "SUM_QUERY_TIME"
                ]
              },
              "direction": {
                "type": "string",
                "enum": [
                  "ASC",
                  "DESC"
                ]
              }
            },
            "required": [
              "field",
              "direction"
            ],
            "additionalProperties": false
          }
        },
        "offset": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9223372036854776000,
          "default": 0
        },
        "count_method": {
          "type": "string",
          "enum": [
            "selected_rows",
            "native_records_total"
          ],
          "default": "selected_rows"
        },
        "include_total_count": {
          "type": "boolean",
          "default": false
        },
        "reveal_details": {
          "type": "boolean",
          "default": false
        },
        "text_window": {
          "type": "object",
          "properties": {
            "offset": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9223372036854759000,
              "default": 0
            },
            "limit": {
              "type": "integer",
              "minimum": 1,
              "maximum": 16384,
              "default": 4096
            }
          },
          "required": [],
          "additionalProperties": false
        }
      },
      "required": [],
      "additionalProperties": false
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}