use of datawave.webservice.query.logic.QueryLogicTransformer in project datawave by NationalSecurityAgency.
the class CompositeQueryLogicTransformer method createResponse.
@Override
public BaseQueryResponse createResponse(List<Object> resultList) {
BaseQueryResponse result = null;
for (QueryLogicTransformer t : delegates) {
if (t instanceof AbstractQueryLogicTransformer) {
AbstractQueryLogicTransformer a = (AbstractQueryLogicTransformer) t;
try {
log.trace("createResponse List<Object>");
result = a.createResponse(resultList);
} catch (Exception e) {
log.warn("Error calling createResponse on delegate, continuing...", e);
}
}
}
return result;
}
Aggregations