Class JsonQuery
java.lang.Object
org.gcube.informationsystem.resourceregistry.queries.json.JsonQuery
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JsonQueryERElementprotected org.gcube.com.fasterxml.jackson.databind.JsonNodeprotected org.gcube.com.fasterxml.jackson.databind.ObjectMapperprotected com.orientechnologies.orient.core.db.document.ODatabaseDocument -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonQueryERElementgetJsonQueryERElement(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonQuery) query()voidsetJsonQuery(String jsonQuery) voidsetJsonQuery(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonQuery)
-
Field Details
-
objectMapper
protected org.gcube.com.fasterxml.jackson.databind.ObjectMapper objectMapper -
jsonQuery
protected org.gcube.com.fasterxml.jackson.databind.JsonNode jsonQuery -
entryPoint
-
oDatabaseDocument
protected com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument
-
-
Constructor Details
-
JsonQuery
public JsonQuery()
-
-
Method Details
-
setJsonQuery
public void setJsonQuery(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonQuery) -
setJsonQuery
public void setJsonQuery(String jsonQuery) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryException - Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryException
-
getJsonQueryERElement
public static JsonQueryERElement getJsonQueryERElement(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonQuery) throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException - Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
createQuery
public StringBuffer createQuery() throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException, org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException- Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
createMatchQuery
public StringBuffer createMatchQuery() throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException, org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException- Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
query
public String query() throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException- Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-