public class TransWebSocketEngineAdapter extends Trans
arguments, class_nr, CONFIGURATION_IN_EXPORT_FILENAME, containerObjectId, counters, log, logCommitSize, metaStore, REPLAY_DATE_FORMAT, repository, resultFiles, resultRows, rowsets, STRING_FINISHED, STRING_FINISHED_WITH_ERRORS, STRING_HALTING, STRING_INITIALIZING, STRING_PAUSED, STRING_PREPARING, STRING_RUNNING, STRING_STOPPED, STRING_WAITING, transMeta, TYPE_DISP_1_1, TYPE_DISP_1_N, TYPE_DISP_N_1, TYPE_DISP_N_M, TYPE_DISP_N_N| Constructor and Description |
|---|
TransWebSocketEngineAdapter(TransMeta transMeta,
String host,
String port,
boolean ssl) |
| Modifier and Type | Method and Description |
|---|---|
RowProducer |
addRowProducer(String stepname,
int copynr)
This adds a row producer to the transformation that just got set up.
|
int |
getErrors()
Gets the number of errors that have occurred during execution of the transformation.
|
Result |
getResult()
Gets the result of the transformation.
|
void |
killAll()
Attempts to stops all running steps and subtransformations.
|
void |
prepareExecution(String[] arguments)
Prepares the transformation for execution.
|
void |
setLogLevel(LogLevel logLogLevel)
Sets the log level.
|
void |
startThreads()
Starts the threads prepared by prepareThreads().
|
void |
stopAll()
Stops all steps from running, and alerts any registered listeners.
|
void |
waitUntilFinished()
Waits until all RunThreads have finished.
|
activateParameters, addActiveSubTransformation, addDelegationListener, addParameterDefinition, addStepPerformanceSnapShot, addTransListener, addTransStoppedListener, beginProcessing, calculateBatchIdAndDateRange, calculateTransactionId, cleanup, cleanupCluster, cleanupSlaveServer, clearError, clearParameters, copyParametersFrom, copyVariablesFrom, createDataBase, doTopologySortOfSteps, environmentSubstitute, environmentSubstitute, eraseParameters, execute, executeClustered, executeClustered, fieldSubstitute, findBaseSteps, findDataInterface, findMappingInput, findMappingOutput, findRowSet, findRowSet, findRunThread, findStepInterface, findStepInterfaces, fireTransFinishedListeners, fireTransStartedListeners, getActiveSubjobs, getActiveSubTransformation, getActiveSubtransformations, getArguments, getBatchId, getBooleanValueOfVariable, getClusteredTransformationResult, getClusteredTransformationResult, getContainerObjectId, getCounters, getCurrentDate, getDelegationListeners, getDepDate, getEndDate, getEnded, getExecutingServer, getExecutingUser, getExtensionDataMap, getFilename, getJobEndDate, getJobStartDate, getLastProcessed, getLogChannel, getLogChannelId, getLogDate, getLoggingHierarchy, getLogLevel, getMappingStepName, getMetaStore, getName, getObjectCopy, getObjectId, getObjectName, getObjectRevision, getObjectType, getParameterDefault, getParameterDescription, getParameterValue, getParent, getParentJob, getParentTrans, getParentVariableSpace, getPassedBatchId, getPreviousResult, getRegistrationDate, getReplayDate, getRepository, getRepositoryDirectory, getResultFiles, getResultRows, getRowsets, getRunThread, getRunThread, getServletPrintWriter, getServletRequest, getServletResponse, getSocketRepository, getStartDate, getStatus, getStepDataInterface, getStepInterface, getStepPerformanceSnapShots, getSteps, getThreadName, getTransactionId, getTransListeners, getTransMeta, getTransStepExecutionStatusLookup, getTransStepIsRunningLookup, getTransStoppedListeners, getVariable, getVariable, hasHaltedSteps, hasStepStarted, initializeVariablesFrom, injectVariables, isFinished, isFinishedOrStopped, isForcingSeparateLogging, isGatheringMetrics, isInitializing, isMonitored, isPaused, isPreparing, isPreview, isReadyToStart, isRunning, isSafeModeEnabled, isStopped, listParameters, listVariables, logSummary, mergeParametersWith, monitorClusteredTransformation, monitorClusteredTransformation, monitorRemoteTransformation, monitorRemoteTransformation, notifyStoppedListeners, nrActiveSteps, nrSteps, pauseRunning, printStats, removeActiveSubTransformation, resumeRunning, safeStop, sendToSlaveServer, setArguments, setBatchId, setContainerObjectId, setCounters, setDelegationListeners, setExecutingServer, setExecutingUser, setFinished, setForcingSeparateLogging, setGatheringMetrics, setInitializing, setInternalKettleVariables, setJobEndDate, setJobStartDate, setLog, setMappingStepName, setMetaStore, setMonitored, setParameterValue, setParent, setParentJob, setParentTrans, setParentVariableSpace, setPassedBatchId, setPaused, setPreparing, setPreview, setPreviousResult, setReadyToStart, setReplayDate, setRepository, setResultFiles, setResultRows, setRunning, setSafeModeEnabled, setServletPrintWriter, setServletReponse, setServletRequest, setSocketRepository, setStepPerformanceSnapShots, setSteps, setStopped, setThreadName, setTransactionId, setTransListeners, setTransMeta, setTransStoppedListeners, setVariable, shareVariablesWith, shutdownHeartbeat, startHeartbeat, stopStep, toString, writeLogChannelInformation, writeMetricsInformation, writeStepLogInformationpublic void setLogLevel(LogLevel logLogLevel)
TranssetLogLevel in class TranslogLogLevel - the new log levelpublic void killAll()
Transpublic void stopAll()
Transpublic void prepareExecution(String[] arguments) throws KettleException
TransprepareExecution in class Transarguments - the arguments to use for this transformationKettleException - in case the transformation could not be prepared (initialized)public void startThreads()
throws KettleException
TransstartThreads in class TransKettleException - if there is a communication error with a remote output socket.public void waitUntilFinished()
TranswaitUntilFinished in class Transpublic int getErrors()
Transpublic Result getResult()
Transpublic RowProducer addRowProducer(String stepname, int copynr) throws KettleException
TransaddRowProducer in class Transstepname - The step to produce rows forcopynr - The copynr of the step to produce row for (normally 0 unless you have multiple copies running)KettleException - in case the thread/step to produce rows for could not be found.Trans.execute(String[]),
Trans.prepareExecution(String[])Copyright © 2018 Hitachi Vantara. All rights reserved.