
prerna.reactor.map.MapMapReactor Maven / Gradle / Ivy
The newest version!
package prerna.reactor.map;
import java.util.Hashtable;
import prerna.sablecc2.om.PixelDataType;
import prerna.sablecc2.om.nounmeta.NounMetadata;
public class MapMapReactor extends AbstractMapReactor {
// this could come in here as a simple vector
// or it could come in here as a hashtable
// need to see which one to instantiate
// I also need to see the parent reactor
// what it is and appropriately add the stuff
@Override
public NounMetadata execute() {
// couple of different cases here
// if Hashtable property is set to true
// then this needs to be processed as hash
// once you get the hash
// you need to add it to the parent
// you could add it with the curnoun I bet
NounMetadata noun = null;
Hashtable output = this.store.getDataHash();
output.remove("all");
noun = new NounMetadata(output, PixelDataType.MAP);
return noun;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy