use of com.bakdata.conquery.apiv1.query.concept.specific.ResultInfoDecorator in project conquery by bakdata.
the class RelExportGenerator method setInfos.
/**
* Wraps the feature/outcome query with the corresponding info, if it is a feature or outcome
* do generate a ColumnDescriptor later on.
*/
private static ArrayConceptQuery setInfos(ArrayConceptQuery arrayQuery, FeatureGroup group) {
for (ConceptQuery childQueries : arrayQuery.getChildQueries()) {
ResultInfoDecorator decorator = new ResultInfoDecorator(ImmutableClassToInstanceMap.of(FeatureGroup.class, group), childQueries.getRoot());
childQueries.setRoot(decorator);
}
return arrayQuery;
}
Aggregations