コード例 #1
0
  public void process(BytesArray storage) {
    // no extractors, no lookups
    if (ObjectUtils.isEmpty(paths)) {
      return;
    }

    results.clear();

    if (log.isTraceEnabled()) {
      log.trace(
          String.format(
              "About to look for paths [%s] in doc [%s]", Arrays.toString(paths), storage));
    }
    results.addAll(
        ParsingUtils.values(new JacksonJsonParser(storage.bytes(), 0, storage.length()), paths));
  }
コード例 #2
0
 public void copyTo(BytesArray to) {
   to.add(bytes, offset, size);
 }