Class JsonQueryConsistsOf
java.lang.Object
org.gcube.informationsystem.resourceregistry.queries.json.base.JsonQueryERElement
org.gcube.informationsystem.resourceregistry.queries.json.base.relations.JsonQueryRelation
org.gcube.informationsystem.resourceregistry.queries.json.base.relations.JsonQueryConsistsOf
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsFields inherited from class org.gcube.informationsystem.resourceregistry.queries.json.base.JsonQueryERElement
accessType, alias, breadcrumb, direction, entryPoint, fieldNamesToRemove, fieldsToEmit, jsonNode, logger, objectMapper, position, projection, size, traverseBack, type -
Constructor Summary
ConstructorsConstructorDescriptionJsonQueryConsistsOf(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonQuery) -
Method Summary
Modifier and TypeMethodDescriptioncreateSelect(StringBuffer stringBuffer, boolean wrapInnerQuery) createTraversalQuery(StringBuffer stringBuffer) protected StringBuffergetSpecificMatchQuery(List<JsonQueryERElement> childrenBreadcrumb) voidsetRequestedResourceType(String requestedResourceType) protected StringBuffertraverseBackToCallerResource(StringBuffer stringBuffer) Methods inherited from class org.gcube.informationsystem.resourceregistry.queries.json.base.JsonQueryERElement
addConstraints, addFieldToEmit, createMatchQuery, createQuery, evaluateNode, generateAlias, getAlias, getAlias, getBreadcrumb, getChildrenBreadcrumb, getDirection, getKey, getPosition, getType, getValue, isEntryPoint, isProjection, isTraverseBack, setBreadcrumb, setDirection, setEntryPoint, setPosition, setProjection, setTraverseBack, validateType, wrapMatchQuery
-
Field Details
-
requestedResourceType
-
-
Constructor Details
-
JsonQueryConsistsOf
public JsonQueryConsistsOf(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.SchemaExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
-
Method Details
-
getRequestedResourceType
-
setRequestedResourceType
-
traverseBackToCallerResource
-
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.SchemaExceptionorg.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:
createTraversalQueryin classJsonQueryERElement- Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaExceptionorg.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:
getSpecificMatchQueryin classJsonQueryERElement- Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-