org.elasticsearch.script
Class AbstractExecutableScript

java.lang.Object
  extended by org.elasticsearch.script.AbstractExecutableScript
All Implemented Interfaces:
ExecutableScript
Direct Known Subclasses:
AbstractSearchScript

public abstract class AbstractExecutableScript
extends Object
implements ExecutableScript


Constructor Summary
AbstractExecutableScript()
           
 
Method Summary
 void setNextVar(String name, Object value)
           
 Object unwrap(Object value)
          Unwraps a possible script value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.script.ExecutableScript
run
 

Constructor Detail

AbstractExecutableScript

public AbstractExecutableScript()
Method Detail

setNextVar

public void setNextVar(String name,
                       Object value)
Specified by:
setNextVar in interface ExecutableScript

unwrap

public Object unwrap(Object value)
Description copied from interface: ExecutableScript
Unwraps a possible script value. For example, when passing vars and expecting the returned value to be part of the vars.

Specified by:
unwrap in interface ExecutableScript


Copyright © 2009-2012. All Rights Reserved.