This project has retired. For details please refer to its Attic page.
Lens Server: SavedQuery

SavedQuery Data Type

The class representing the saved query

Properties
name data type description
id number ID of the saved query (unique)
name string Name of the saved query
description string Description of the saved query
query string The actual query. Should adhere to HQL syntax
parameters array of array of Parameter Parameters that are used in the query

Example

{
  "id" : 12345,
  "name" : "...",
  "description" : "...",
  "query" : "...",
  "parameters" : [ [ {
    "name" : "...",
    "displayName" : "...",
    "defaultValue" : [ [ "...", "..." ], [ "...", "..." ] ],
    "dataType" : "NUMBER",
    "collectionType" : "SINGLE"
  }, {
    "name" : "...",
    "displayName" : "...",
    "defaultValue" : [ [ "...", "..." ], [ "...", "..." ] ],
    "dataType" : "NUMBER",
    "collectionType" : "MULTIPLE"
  } ], [ {
    "name" : "...",
    "displayName" : "...",
    "defaultValue" : [ [ "...", "..." ], [ "...", "..." ] ],
    "dataType" : "BOOLEAN",
    "collectionType" : "MULTIPLE"
  }, {
    "name" : "...",
    "displayName" : "...",
    "defaultValue" : [ [ "...", "..." ], [ "...", "..." ] ],
    "dataType" : "BOOLEAN",
    "collectionType" : "SINGLE"
  } ] ]
}