Class InsertDocument

    • Field Detail

      • serviceClassName_calledMethods

        protected Map<String,​Map<String,​Integer>> serviceClassName_calledMethods
        This is used to save a CSV file which allow to made a post analysis of calledMethods The format of the CSV file is serviceClass,serviceName,calledMethod e.g. SDI,GeoNetwork,create There is an entry for each triple
      • unparsableLines

        protected List<String> unparsableLines
      • serviceUsageRecordElaboration

        protected boolean serviceUsageRecordElaboration
      • calledMethodCSVFile

        protected File calledMethodCSVFile
      • count

        protected int count
    • Method Detail

      • getKey

        protected String getKey​(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode)
      • addServiceClassName_calledMethods

        protected void addServiceClassName_calledMethods​(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode)
      • analyseLine

        protected org.gcube.com.fasterxml.jackson.databind.JsonNode analyseLine​(String line)
                                                                         throws org.gcube.com.fasterxml.jackson.core.JsonProcessingException,
                                                                                IOException
        Throws:
        org.gcube.com.fasterxml.jackson.core.JsonProcessingException
        IOException
      • setServiceUsageRecordElaboration

        public void setServiceUsageRecordElaboration​(boolean serviceUsageRecordElaboration)
      • getCalledMethodCSVFile

        public File getCalledMethodCSVFile()