Class JsonQueryFacet
java.lang.Object
org.gcube.informationsystem.resourceregistry.queries.json.base.JsonQueryERElement
org.gcube.informationsystem.resourceregistry.queries.json.base.entities.JsonQueryEntity
org.gcube.informationsystem.resourceregistry.queries.json.base.entities.JsonQueryFacet
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTraversalQuery(StringBuffer stringBuffer) protected StringBuffergetSpecificMatchQuery(List<JsonQueryERElement> childrenBreadcrumb) 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
-
_SOURCE
- See Also:
-
-
Constructor Details
-
JsonQueryFacet
public JsonQueryFacet(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
-
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
-