Parameter Values
Explicit parameter values, either named or unnamed, can be any type valid in JSON:
String = characters enclosed in double quote marks, such as "string".
Number = numeric characters with no quote marks, such as 104.2.
Keywords =
true,
false or
null Arrays = enclosed in brackets with commas separating array entries, such as [ 10, 5, 0].
Objects = enclosed in braces with named properties. Property names are strings and end in a colon followed by the property value. For example, { propertyA: true } or { "ns:searchType": "book" }.
Note: | Property names that include XML namespaces must be enclosed in double quote marks to ensure that the colon for the namespace is clear. |
See the
http://www.json.org/json.org site for a good introduction to JSON types and syntax.
Parameter values can also be resolved by the
Presto Server from a
Presto attribute. The value passed in the request is a mapping expression that identifies the
Presto attribute to use to resolve this input parameter. See
Map
Presto
Attributes to Artifact Input Parameters for more information.