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

com.nflabs.zeppelin.zengine.context.ZGlobalContextImpl Maven / Gradle / Ivy

Go to download

Zengine is java framework for data analysis on Hadoop. see http://nflabs.github.io/zeppelin/#/zengine

The newest version!
package com.nflabs.zeppelin.zengine.context;

public class ZGlobalContextImpl implements ZContext {

	public ZGlobalContextImpl() {

	}

	@Override
	public Object param(String name) {
		throw new RuntimeException("Can not access z.param in global context");
	}

	@Override
	public Object param(String name, Object defaultValue) {
		throw new RuntimeException("Can not access z.param in global context");
	}

	@Override
	public String in() {
		return "<%= z.in %>";
	}

	@Override
	public String out() {
		throw new RuntimeException("Can not access z.out in global context");
	}

	@Override
	public String arg() {
		throw new RuntimeException("Can not access z.arg in global context");
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy