Skip to content

Commit

Permalink
[ALS-6265] Add any record of multi support to time series processor
Browse files Browse the repository at this point in the history
(cherry picked from commit c22595d)
  • Loading branch information
Luke Sikina authored and ramari16 committed Dec 20, 2024
1 parent cfd95c5 commit 465d041
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.*;
import java.util.stream.Collectors;

import edu.harvard.hms.dbmi.avillach.hpds.processing.AbstractProcessor;
import edu.harvard.hms.dbmi.avillach.hpds.processing.AsyncResult;
Expand Down Expand Up @@ -94,6 +95,7 @@ private void exportTimeData(Query query, AsyncResult result, Set<Integer> idList
//get a list of all fields mentioned in the query; export all data associated with any included field
List<String> pathList = new LinkedList<String>();
pathList.addAll(query.getAnyRecordOf());
pathList.addAll(query.getAnyRecordOfMulti().stream().flatMap(Collection::stream).collect(Collectors.toList()));
pathList.addAll(query.getFields());
pathList.addAll(query.getRequiredFields());
pathList.addAll(query.getCategoryFilters().keySet());
Expand Down

0 comments on commit 465d041

Please sign in to comment.