Package org.gcube.informationsystem.resourceregistry.queries.templates
package org.gcube.informationsystem.resourceregistry.queries.templates
-
ClassDescriptionEncapsulates the outcome of a Query Template create-or-update request, decoupling the persistence logic from REST interface HTTP status codes.Validates a Query Template definition against the closed definition and
TemplateVariablecontract, and applies its variables: the substitution of defaults at save time and of the supplied values at execution time.Values resolved for one execution of a Query Template.Policy Enforcement Point (PEP) for theQueryTemplatecollection.Single data-access layer forQueryTemplateentities.Result payload and shape produced by a Query Template JSON query.Classifies the difference between a persisted and a submitted Query Template definition and derives the minimumversionadvancement it requires: the Version Advancement rules ofPUT /query-templates/{name}.The version advancements, by increasing reach.Carries the raw JSON array produced by executing a Query Template together with the facts about the execution that the caller (QueryTemplatePolicyEnforcementPoint) cannot otherwise observe: whether the template's query was projection-based (contained an_emitblock), and which supplied keys declare no variable.