public SequenceQueryBuilder<QueryBuilder> asSequence() {
Tracer.traceCall("QueryBuilderImpl#asSequence", this);
currentTreeNode = currentTreeNode.pushChild(PrepareSelectionQueryStage.INSTANCE);
QueryBuilderNode newNode = currentTreeNode.pushChild(AsSequenceSelectorQueryStage.INSTANCE);
currentTreeNode.pushChild(ConsumeSelectedQueryStage.INSTANCE);
<BUG>return new SequenceQueryBuilderImpl<>(this, newNode, projectionStrategy);
}</BUG>
@Override
public Query build() {
fixQueryStartup(parentTreeNode);

public SequenceQueryBuilder<QueryBuilder> asSequence() {
Tracer.traceCall("QueryBuilderImpl#asSequence", this);
currentTreeNode = currentTreeNode.pushChild(PrepareSelectionQueryStage.INSTANCE);
QueryBuilderNode newNode = currentTreeNode.pushChild(AsSequenceSelectorQueryStage.INSTANCE);
currentTreeNode.pushChild(ConsumeSelectedQueryStage.INSTANCE);
return new SequenceQueryBuilderImpl<>(this, newNode);
}
@Override
public Query build() {
fixQueryStartup(parentTreeNode);
