code: @Override
      public List<String> batchRetrieve(MapState<LofDataSet> state, List<TridentTuple> tuples)
      {
          if (this.objectMapper == null)
          {
              this.objectMapper = new ObjectMapper();
          }
  
          // Get model
          List<LofDataSet> dataSets = state.multiGet(Arrays.asList(Arrays.asList((Object) this.baseStateName)));
          LofDataSet dataSet = null;
          if (dataSets != null && !dataSets.isEmpty())
          {
              dataSet = dataSets.get(0);
          }
  
          List<String> resultStrList = new ArrayList<>();
          // 受信したデータ毎にLOFスコアの算出を行い、結果のJSON文字列を返す
          for (TridentTuple targetTuple : tuples)
          {
              LofPoint recievedPoint = (LofPoint) targetTuple.get(0);
  
              // データモデルが取得できなかった場合は空文字を結果として設定
              if (dataSet == null)
              {
                  resultStrList.add("");
                  continue;
              }
  
              double lofScore = 0.0d;
              if (this.hasIntermediate)
              {
                  lofScore = LofCalculator.calculateLofWithoutUpdate(this.kn, recievedPoint, dataSet);
              }
              else
              {
                  lofScore = LofCalculator.calculateLofNoIntermediate(this.kn, recievedPoint, dataSet);
              }
  
              LofResult result = new LofResult(lofScore, recievedPoint);
  
              String resultStr = null;
  
              try
              {
                  resultStr = this.objectMapper.writeValueAsString(result);
              }
              catch (IOException ex)
              {
                  logger.warn("Received data is invalid. skip this data. ReceivedData="
                          + recievedPoint, ex);
              }
  
              if (resultStr != null)
              {
                  resultStrList.add(resultStr);
              }
              else
              {
                  resultStrList.add("");
              }
          }
  
          return resultStrList;
      }
docs: {@inheritDoc}