
public class OETLContext
extends com.orientechnologies.orient.core.command.OBasicCommandContext
| Constructor and Description |
|---|
OETLContext()
By default the OETLContext in initialized with a message handler with:
- verbosity level: 0 (NONE) --> nothing will be printed out
- output stream: null
- logging: OLogManager
|
| Modifier and Type | Method and Description |
|---|---|
OPluginMessageHandler |
getMessageHandler() |
String |
printExceptionMessage(Exception e,
String message,
String level)
Prints the error message for a caught exception according to a level passed as argument.
|
String |
printExceptionStackTrace(Exception e,
String level)
Builds the exception stack trace and prints it according to a level passed as argument.
|
void |
setMessageHandler(OPluginMessageHandler messageHandler) |
addToUniqueResult, beginExecution, checkTimeout, copy, getDatabase, getInputParameters, getParent, getResultsProcessed, getVariable, getVariable, getVariableFromParentHierarchy, getVariables, incrementVariable, isRecordingMetrics, merge, setChild, setDatabase, setInputParameters, setParent, setParentWithoutOverridingChild, setRecordingMetrics, setVariable, toString, updateMetricpublic OETLContext()
public OPluginMessageHandler getMessageHandler()
public void setMessageHandler(OPluginMessageHandler messageHandler)
public String printExceptionMessage(Exception e, String message, String level)
e - message - level - Copyright © 2009–2018 OrientDB. All rights reserved.