All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cds.impl.qat.QatTableFunctionRootNode Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version
/*******************************************************************
 * © 2024 SAP SE or an SAP affiliate company. All rights reserved. *
 *******************************************************************/
package com.sap.cds.impl.qat;

import com.sap.cds.CqnTableFunction;
import com.sap.cds.reflect.CdsStructuredType;

public final class QatTableFunctionRootNode extends QatSelectableNode {

	private final CqnTableFunction tableFunction;

	public QatTableFunctionRootNode(CqnTableFunction tableFunction, CdsStructuredType rowType) {
		super(null, rowType);
		this.tableFunction = tableFunction;
	}

	public CqnTableFunction tableFunction() {
		return tableFunction;
	}

	@Override
	public void accept(QatVisitor visitor) {
		visitor.visit(this);
	}

	@Override
	public String name() {
		// TODO
		return tableFunction.toJson();
	}

	@Override
	public boolean inSource() {
		return true;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy