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

com.sap.cds.ql.cqn.transformation.CqnTopTransformation Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version
/*******************************************************************
 * © 2023 SAP SE or an SAP affiliate company. All rights reserved. *
 *******************************************************************/
package com.sap.cds.ql.cqn.transformation;

import com.google.common.annotations.Beta;

/**
 * Transformation that limits the input set to a maximum number of rows
 */
@Beta
public interface CqnTopTransformation extends CqnTransformation {

	/**
	 * Returns the maximum number of rows to be returned
	 * 
	 * @return the maximum number of rows to be returned or -1 if unlimited
	 */
	long top();

	@Override
	default Kind kind() {
		return Kind.TOP;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy