}
if (this.indexScanCreator_Stream.getStream() == null) {
System.out.println("Query uses Window operations, but did not define a stream, asssuming STREAM INTERMEDIATERESULT TRIPLES 1");
final CollectResult cr = new CollectResult(false);
this.result.addApplication(cr);
this.indexScanCreator_Stream.setStream(new StreamTriples(cr, 1));
}
this.indexScanCreator_Stream.getStream().addSucceedingOperator(new OperatorIDTuple(window, 0));
final PatternMatcher currentPatternMatcher = new PatternMatcher();
window.addSucceedingOperator(new OperatorIDTuple(currentPatternMatcher, 0));
final PatternMatcher oldPatternMatcher = this.indexScanCreator_Stream.getCurrentPatternMatcher();