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

prerna.reactor.insights.InsightHandleReactor Maven / Gradle / Ivy

The newest version!
package prerna.reactor.insights;

import prerna.reactor.AbstractReactor;
import prerna.sablecc2.om.PixelDataType;
import prerna.sablecc2.om.PixelOperationType;
import prerna.sablecc2.om.nounmeta.NounMetadata;
import prerna.util.Utility;

public class InsightHandleReactor extends AbstractReactor {
	
	/**
	 * This is just an echo back for the default handle that is backing this insight
	 */
	
	@Override
	public NounMetadata execute() {
		String encodedValue = this.curRow.get(0).toString();
		String decodedText = Utility.decodeURIComponent(encodedValue);
		return new NounMetadata(decodedText, PixelDataType.CONST_STRING, PixelOperationType.INSIGHT_HANDLE);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy