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

prerna.engine.api.IScriptReactor Maven / Gradle / Ivy

There is a newer version: 4.2.2
Show newest version
package prerna.engine.api;

import java.util.Set;

import prerna.sablecc.meta.IPkqlMetadata;

public interface IScriptReactor extends IApi {
	

	// adds a pattern to be replaced
	public void addReplacer(String pattern, Object value);
	
	// gets the values for a given child to be synchronized
	// useful whenyou need more details
	public String [] getValues2Sync(String childName);
	
	// remove a given replacer
	// when I add up stuff if I can see the value
	// then I want to replace it with the higher level piece
	public void removeReplacer(String pattern);
		
	// get me a particular value
	public Object getValue(String key);
	
	public Set getKeys();
	
	// puts a particular value 
	public void put(String key, Object value);

	public Object remove(String key);
	
//	public String explain();

	// I am not sure if I need anything else ?
	// I will know once I implement the expr reactor
	
	public IPkqlMetadata getPkqlMetadata();
	
	/**
	 * Get the last value added into mystore
	 * @return
	 */
	public String getLastStoredKey();
	
	/**
	 * Return and remove the last stored value in mystore
	 * @return
	 */
	public Object removeLastStoredKey();
	
	public void setInsightId(String insightId);
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy