Class OAbstractScriptExecutor
java.lang.Object
com.orientechnologies.orient.core.command.script.OAbstractScriptExecutor
- All Implemented Interfaces:
OScriptExecutor
- Direct Known Subclasses:
OCommandGremlinExecutor,ONashornScriptExecutor,OPolyglotScriptExecutor,OSqlScriptExecutor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbind(Bindings binding, ODatabaseDocumentInternal db, OCommandContext iContext, Map<Object, Object> iArgs, OScriptManager scriptManager) bindContextVariables(Bindings binding, ODatabaseDocumentInternal db, OCommandContext iContext, Map<Object, Object> iArgs, OScriptManager scriptManager) voidpreExecute(ODatabaseDocumentInternal database, String script, Object params) voidregisterInterceptor(OScriptInterceptor interceptor) static StringthrowErrorMessage(ScriptException e, String lib) voidunbind(Bindings binding, OCommandContext iContext, Map<Object, Object> iArgs, OScriptManager scriptManager) Unbinds variablesvoidunregisterInterceptor(OScriptInterceptor interceptor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.command.OScriptExecutor
close, closeAll, execute, execute, executeFunction
-
Field Details
-
EMPTY_PARAMS
-
LINES_AROUND_ERROR
protected static final int LINES_AROUND_ERROR- See Also:
-
language
-
-
Constructor Details
-
OAbstractScriptExecutor
-
-
Method Details
-
registerInterceptor
- Specified by:
registerInterceptorin interfaceOScriptExecutor
-
preExecute
-
unregisterInterceptor
- Specified by:
unregisterInterceptorin interfaceOScriptExecutor
-
bindContextVariables
public Bindings bindContextVariables(Bindings binding, ODatabaseDocumentInternal db, OCommandContext iContext, Map<Object, Object> iArgs, OScriptManager scriptManager) -
bind
public Bindings bind(Bindings binding, ODatabaseDocumentInternal db, OCommandContext iContext, Map<Object, Object> iArgs, OScriptManager scriptManager) -
unbind
public void unbind(Bindings binding, OCommandContext iContext, Map<Object, Object> iArgs, OScriptManager scriptManager) Unbinds variables- Parameters:
binding-scriptManager- TODO
-
throwErrorMessage
-