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

com.sap.cds.impl.CqnValidator Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
/************************************************************************
 * © 2019-2022 SAP SE or an SAP affiliate company. All rights reserved. *
 ************************************************************************/
package com.sap.cds.impl;

import com.sap.cds.CdsDataStoreConnector.Capabilities;
import com.sap.cds.ql.cqn.CqnDelete;
import com.sap.cds.ql.cqn.CqnInsert;
import com.sap.cds.ql.cqn.CqnSelect;
import com.sap.cds.ql.cqn.CqnUpdate;
import com.sap.cds.ql.cqn.CqnUpsert;

public interface CqnValidator {

	static CqnValidator create(Context context) {
		return new CqnValidatorImpl(context.getCdsModel());
	}

	void validate(CqnSelect select);

	void validate(CqnSelect select, Capabilities capabilities);

	void validate(CqnInsert insert);

	void validate(CqnUpdate update);

	void validate(CqnUpsert upsert);

	void validate(CqnDelete delete);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy