Search in sources :

Example 1 with DocumentProjection

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;
}
Also used : DocumentProjection(datawave.query.function.DocumentProjection)

Aggregations

DocumentProjection (datawave.query.function.DocumentProjection)1