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

prerna.reactor.task.lambda.map.IMapLambda Maven / Gradle / Ivy

The newest version!
package prerna.reactor.task.lambda.map;

import java.util.List;
import java.util.Map;

import prerna.auth.User;
import prerna.engine.api.IHeadersDataRow;

public interface IMapLambda {

	/**
	 * Process one row and output the row again
	 * Cannot modify the headers
	 * @param row
	 * @return
	 */
	IHeadersDataRow process(IHeadersDataRow row);
	
	/**
	 * Modify the header information if necessary for the new transformation
	 * @return
	 */
	List> getModifiedHeaderInfo();
	
	/**
	 * Initialize the transformation by defining the columns being used
	 * @param headerInfo
	 * @param columns
	 */
	void init(List> headerInfo, List columns);
	
	/**
	 * Set the user within the transformation
	 */
	void setUser(User user);
	
	/**
	 * Sets other params to be utilized for twitter etc. 
	 */
	void setParams(Map params);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy