@Override
    public <P extends Pipeline> P attachTraceData(final P initialPipeline) {
        requireNonNull(initialPipeline);

        final String originalSql = asynchronousQueryResult.getSql();
        final String finalSql = sqlTracer.attachTraceData(originalSql);
        asynchronousQueryResult.setSql(finalSql);
        
        return initialPipeline;
    }
A class that will terminate ENTITY streams. ENTITY is the original type.

Type T is the final type after stream mappings.


@author pemi
@param <ENTITY> the entity type of the original stream, e.g. hares.stream()
is of type Hare
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/manager/sql/SqlStreamTerminator.java