|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscriptella.execution.EtlContext
public class EtlContext
Execution context for script.
This class contains global data for executed elements.DynamicContext.
| Constructor Summary | |
|---|---|
EtlContext()
|
|
EtlContext(boolean collectStatistics)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getParameter(java.lang.String name)
Returns the value of parameter specified by name. |
ProgressCallback |
getProgressCallback()
|
java.net.URL |
getScriptFileURL()
|
Session |
getSession()
|
ExecutionStatisticsBuilder |
getStatisticsBuilder()
|
java.net.URL |
resolve(java.lang.String uri)
Resolves a fileUrl URI relative to base URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EtlContext()
public EtlContext(boolean collectStatistics)
| Method Detail |
|---|
public java.lang.Object getParameter(java.lang.String name)
ParametersCallbackThe callback internally delegates a call to parent callbacks if the parameter cannot be found.
getParameter in interface ParametersCallbackname - parameter name. Providers are allowed (but not required) to ignore a case of the name parameter
to comply with their internal model. For example JDBC drivers are case-insensitive to column names.
public ProgressCallback getProgressCallback()
public java.net.URL getScriptFileURL()
getScriptFileURL in interface DriverContext
public java.net.URL resolve(java.lang.String uri)
throws java.net.MalformedURLException
DriverContextExamples:
baseUrl = "file:///tmp/doc.xml"
uri = "http://site.com/file.html"
Resolves to: http://site.com/file.html
baseUrl = "file:///tmp/doc.xml"
uri = "file.html"
Resolves to: file:///tmp/file.html
resolve in interface DriverContexturi - URI to resolve..
java.net.MalformedURLException - if uri is malformed or cannot be resolved.getScriptFileURL()public ExecutionStatisticsBuilder getStatisticsBuilder()
public Session getSession()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||