public class StandardOpProcessor extends AbstractEvalOpProcessor
OpProcessor implementation that handles ScriptEngine script evaluation outside the context
 of a session.AbstractEvalOpProcessor.BindingSupplier<T>| Modifier and Type | Field and Description | 
|---|---|
| static String | OP_PROCESSOR_NAME | 
evalOpTimer, manageTransactions| Constructor and Description | 
|---|
| StandardOpProcessor() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| ThrowingConsumer<Context> | getEvalOp()Provides an operation for evaluating a Gremlin script. | 
| String | getName()The name of the processor which requests must refer to "processor" field on a request. | 
| Optional<ThrowingConsumer<Context>> | selectOther(RequestMessage requestMessage)A sub-class may have additional "ops" that it will service. | 
evalOpInternal, handleIterator, select, validateEvalMessagepublic static final String OP_PROCESSOR_NAME
public String getName()
OpProcessorpublic ThrowingConsumer<Context> getEvalOp()
AbstractEvalOpProcessorgetEvalOp in class AbstractEvalOpProcessorpublic Optional<ThrowingConsumer<Context>> selectOther(RequestMessage requestMessage) throws OpProcessorException
AbstractEvalOpProcessorAbstractEvalOpProcessor.select(Context) that are not
 handled will be passed to this method to see if the sub-class can service the requested op code.selectOther in class AbstractEvalOpProcessorOpProcessorExceptionCopyright © 2013–2015 Apache Software Foundation. All rights reserved.