org.pentaho.di.run
Class TimedTransRunner
java.lang.Object
org.pentaho.di.run.TimedTransRunner
public class TimedTransRunner
- extends Object
TimedTransRunner
public TimedTransRunner(String filename,
LogLevel logLevel,
DatabaseMeta newTargetDatabaseMeta,
long records)
run
public boolean run()
throws Exception
- Throws:
Exception
printTransDescription
public void printTransDescription()
runEngine
public boolean runEngine()
throws KettleException
- Throws:
KettleException
runEngine
public boolean runEngine(boolean printDescription)
throws KettleException
- Throws:
KettleException
getFilename
public String getFilename()
- Returns:
- the filename
setFilename
public void setFilename(String filename)
- Parameters:
filename
- the filename to set
getLogLevel
public LogLevel getLogLevel()
- Returns:
- the logLevel
setLogLevel
public void setLogLevel(LogLevel logLevel)
- Parameters:
logLevel
- the logLevel to set
getRecords
public long getRecords()
- Returns:
- the records
setRecords
public void setRecords(long records)
- Parameters:
records
- the records to set
getNewResult
public Result getNewResult()
- Returns:
- the result
setNewResult
public void setNewResult(Result result)
- Parameters:
result
- the result to set
addRowListener
public void addRowListener(String stepname,
RowListener rowListener)
getTransMeta
public TransMeta getTransMeta()
- Returns:
- the transMeta
setTransMeta
public void setTransMeta(TransMeta transMeta)
- Parameters:
transMeta
- the transMeta to set
getRunTime
public double getRunTime()
- Returns:
- the Run Time
setNewRunTime
public void setNewRunTime(double runTime)
- Parameters:
runTime
- the run time to set
speed
public double speed()
- Returns:
- the speed
setSpeed
public void setSpeed(double speed)
- Parameters:
speed
- the speed to set
getTargetDatabaseMeta
public DatabaseMeta getTargetDatabaseMeta()
- Returns:
- the targetDatabaseMeta
setTargetDatabaseMeta
public void setTargetDatabaseMeta(DatabaseMeta targetDatabaseMeta)
- Parameters:
targetDatabaseMeta
- the targetDatabaseMeta to set