Class QueryTemplateStatistics
java.lang.Object
org.gcube.informationsystem.resourceregistry.statistics.QueryTemplateStatistics
- All Implemented Interfaces:
org.gcube.common.health.api.Statistics
public class QueryTemplateStatistics
extends Object
implements org.gcube.common.health.api.Statistics
The
queryTemplates group of the public statistics.- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
Fields inherited from interface org.gcube.common.health.api.Statistics
DEFAULT_REFRESH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.gcube.common.health.api.Figure>compute()id()static booleanisProjection(org.gcube.com.fasterxml.jackson.databind.JsonNode node) Tells whether a template projects: it contains_emitat any level.title()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gcube.common.health.api.Statistics
refresh
-
Constructor Details
-
QueryTemplateStatistics
public QueryTemplateStatistics()
-
-
Method Details
-
id
- Specified by:
idin interfaceorg.gcube.common.health.api.Statistics
-
title
- Specified by:
titlein interfaceorg.gcube.common.health.api.Statistics
-
description
- Specified by:
descriptionin interfaceorg.gcube.common.health.api.Statistics
-
isProjection
public static boolean isProjection(org.gcube.com.fasterxml.jackson.databind.JsonNode node) Tells whether a template projects: it contains_emitat any level.- Parameters:
node- the template, or a part of it- Returns:
trueif_emitappears in it
-
compute
public List<org.gcube.common.health.api.Figure> compute() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException- Specified by:
computein interfaceorg.gcube.common.health.api.Statistics- Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-