Class JsonQueryResource


  • public class JsonQueryResource
    extends JsonQueryEntity
    Author:
    Luca Frosini (ISTI - CNR)
    • Constructor Detail

      • JsonQueryResource

        public JsonQueryResource​(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonQuery)
                          throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException,
                                 org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • Method Detail

      • createSelect

        public StringBuffer createSelect​(StringBuffer stringBuffer,
                                         boolean wrapInnerQuery)
                                  throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException,
                                         org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • createTraversalQuery

        public StringBuffer createTraversalQuery​(StringBuffer stringBuffer)
                                          throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException,
                                                 org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Specified by:
        createTraversalQuery in class JsonQueryERElement
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • getSpecificMatchQuery

        protected StringBuffer getSpecificMatchQuery​(List<JsonQueryERElement> childrenBreadcrumb)
                                              throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException,
                                                     org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Specified by:
        getSpecificMatchQuery in class JsonQueryERElement
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException