Direct Known Subclasses:
JsonQueryConsistsOf, JsonQueryIsRelatedTo

public abstract class JsonQueryRelation extends JsonQueryERElement
Abstract base class for translating a JSON query subtree representing a Relation.
Author:
Luca Frosini (ISTI - CNR)
  • Constructor Details

    • JsonQueryRelation

      public JsonQueryRelation(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonQuery, org.gcube.informationsystem.base.reference.AccessType accessType) throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Creates a new JsonQueryRelation instance for the specified JSON query subtree.
      Parameters:
      jsonQuery - the JSON query node
      accessType - the access type category of the relation
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException - if schema validation fails
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException - on database or lookup error