Class JsonQueryIsRelatedTo


  • public class JsonQueryIsRelatedTo
    extends JsonQueryRelation
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Detail

      • requestedResourceType

        protected String requestedResourceType
    • Constructor Detail

      • JsonQueryIsRelatedTo

        public JsonQueryIsRelatedTo​(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

      • getRequestedResourceType

        public String getRequestedResourceType()
      • setRequestedResourceType

        public void setRequestedResourceType​(String requestedResourceType)
      • 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
      • setDirectionByJson

        public void setDirectionByJson()
                                throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryException
      • setDirectionByJson

        public void setDirectionByJson​(boolean matchQuery)
                                throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryException
      • 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