Class CorpusDocumentAnnotationSubannotationsAggregates

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    @Path("/CorpusDocumentAnnotationSubannotationsAggregates")
    public class CorpusDocumentAnnotationSubannotationsAggregates
    extends AbstractOOPCacheableServlet
    See Also:
    Serialized Form
    • Constructor Detail

      • CorpusDocumentAnnotationSubannotationsAggregates

        public CorpusDocumentAnnotationSubannotationsAggregates()
    • Method Detail

      • doGet

        @GET
        @Produces("application/json; charset=utf-8")
        public String doGet​(@QueryParam("TargetCorpus")
                            String targetCorpus,
                            @QueryParam("Corpus")
                            String corpus,
                            @QueryParam("Document")
                            String document,
                            @QueryParam("Annotation")
                            String annotation,
                            @QueryParam("AggregateName")
                            String aggregateName)
                     throws com.fasterxml.jackson.core.JsonProcessingException,
                            IOException,
                            javax.servlet.ServletException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
        IOException
        javax.servlet.ServletException
      • calculateSubScores

        protected void calculateSubScores​(com.fasterxml.jackson.databind.node.ObjectNode corpusAggregates,
                                          com.fasterxml.jackson.databind.node.ObjectNode documentAggregates,
                                          String annotation,
                                          String aggregateName,
                                          com.fasterxml.jackson.databind.node.ArrayNode retval)