com.sap.cds.impl.qat.QatSelectRootNode Maven / Gradle / Ivy
/*******************************************************************
* © 2020 SAP SE or an SAP affiliate company. All rights reserved. *
*******************************************************************/
package com.sap.cds.impl.qat;
import com.sap.cds.ql.cqn.CqnSelect;
import com.sap.cds.reflect.CdsStructuredType;
public final class QatSelectRootNode extends QatSelectableNode {
private final CqnSelect select;
public QatSelectRootNode(CqnSelect select, CdsStructuredType rowType) {
super(null, rowType);
this.select = select;
}
public CqnSelect select() {
return select;
}
@Override
public void accept(QatVisitor visitor) {
visitor.visit(this);
}
@Override
public String name() {
return select.toJson();
}
@Override
public boolean inSource() {
return true;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy