use of datawave.query.function.DocumentProjection in project datawave by NationalSecurityAgency.
the class QueryIterator method getCompositeProjection.
protected DocumentProjection getCompositeProjection() {
DocumentProjection projection = new DocumentProjection(this.isIncludeGroupingContext(), this.isReducedResponse(), isTrackSizes());
Set<String> composites = Sets.newHashSet();
if (compositeMetadata != null) {
for (Multimap<String, String> val : this.compositeMetadata.getCompositeFieldMapByType().values()) {
for (String compositeField : val.keySet()) {
if (!CompositeIngest.isOverloadedCompositeField(val, compositeField)) {
composites.add(compositeField);
}
}
}
}
projection.initializeBlacklist(composites);
return projection;
}
Aggregations