package org.eclipse.birt.report.engine.api;

import org.eclipse.birt.report.model.api.DataSetHandle;


public interface IDatasetPreviewTask extends IExtractionTask
{


	/** select which data set should be executed */
	public void setDataSet( DataSetHandle dataset );

	/** execute the query and return the result set */
	public IExtractionResults execute( ) throws EngineException;;

	public void setMaxRow( int maxRow );
	
	/**
	 * select columns from the data set.
	 * @param columnNames the selected column names
	 */
	public void selectColumns( String[] columnNames );
	
}

@@ -417,16 +417,60 @@
 ow );%0A%09%0A
+%09public void setStartRow( int startRow );%0A%09%0A
 %09/**%0A%09 *

Add new API setStartRow() in IDatasetPreviewTask