com.nflabs.zeppelin.zengine.context.ZGlobalContextImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zeppelin-zengine Show documentation
Show all versions of zeppelin-zengine Show documentation
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");
}
}