Direct Known Subclasses:
JsonQueryFacet, JsonQueryResource

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

    • JsonQueryEntity

      public JsonQueryEntity(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 JsonQueryEntity instance for the specified JSON query subtree.
      Parameters:
      jsonQuery - the JSON query node
      accessType - the access type category of the entity
      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