|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.job.entry.JobEntryBase org.pentaho.di.job.entries.sql.JobEntrySQL
public class JobEntrySQL
This defines an SQL job entry.
Constructor Summary | |
---|---|
JobEntrySQL()
|
|
JobEntrySQL(String n)
|
Method Summary | |
---|---|
void |
check(List<CheckResultInterface> remarks,
JobMeta jobMeta)
Support for overrides not having to put in a check method |
Object |
clone()
|
boolean |
evaluates()
check whether or not this job entry evaluates. |
Result |
execute(Result previousResult,
int nr)
|
DatabaseMeta |
getDatabase()
|
List<ResourceReference> |
getResourceDependencies(JobMeta jobMeta)
Get a list of all the resource dependencies that the step is depending on. |
String |
getSQL()
|
String |
getSQLFilename()
|
boolean |
getSQLFromFile()
|
DatabaseMeta[] |
getUsedDatabaseConnections()
This method returns all the database connections that are used by the job entry. |
boolean |
getUseVariableSubstitution()
|
String |
getXML()
|
boolean |
isSendOneStatement()
|
boolean |
isUnconditional()
|
void |
loadRep(Repository rep,
ObjectId id_jobentry,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers)
|
void |
loadXML(Node entrynode,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep)
|
void |
saveRep(Repository rep,
ObjectId id_job)
|
void |
setDatabase(DatabaseMeta database)
|
void |
setSendOneStatement(boolean sendOneStatementin)
|
void |
setSQL(String sql)
|
void |
setSQLFilename(String sqlfilename)
|
void |
setSQLFromFile(boolean sqlfromfilein)
|
void |
setUseVariableSubstitution(boolean subs)
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.pentaho.di.job.entry.JobEntryInterface |
---|
clear, exportResources, getDescription, getDialogClassName, getFilename, getLogChannel, getName, getObjectId, getParentJob, getPluginId, getRealFilename, getSQLStatements, getSQLStatements, getTypeId, hasChanged, hasRepositoryReferences, isDummy, isEvaluation, isJob, isMail, isShell, isSpecial, isStart, isTransformation, lookupRepositoryReferences, resetErrorsBeforeExecution, setChanged, setChanged, setDescription, setName, setObjectId, setParentJob, setPluginId, setRepository |
Constructor Detail |
---|
public JobEntrySQL(String n)
public JobEntrySQL()
Method Detail |
---|
public Object clone()
clone
in interface JobEntryInterface
clone
in class JobEntryBase
public String getXML()
getXML
in interface JobEntryInterface
getXML
in class JobEntryBase
public void loadXML(Node entrynode, List<DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep) throws KettleXMLException
loadXML
in interface JobEntryInterface
KettleXMLException
public void loadRep(Repository rep, ObjectId id_jobentry, List<DatabaseMeta> databases, List<SlaveServer> slaveServers) throws KettleException
loadRep
in interface JobEntryInterface
loadRep
in class JobEntryBase
KettleException
public void saveRep(Repository rep, ObjectId id_job) throws KettleException
saveRep
in interface JobEntryInterface
saveRep
in class JobEntryBase
KettleException
public void setSQL(String sql)
public String getSQL()
public String getSQLFilename()
public void setSQLFilename(String sqlfilename)
public boolean getUseVariableSubstitution()
public void setUseVariableSubstitution(boolean subs)
public void setSQLFromFile(boolean sqlfromfilein)
public boolean getSQLFromFile()
public boolean isSendOneStatement()
public void setSendOneStatement(boolean sendOneStatementin)
public void setDatabase(DatabaseMeta database)
public DatabaseMeta getDatabase()
public Result execute(Result previousResult, int nr)
execute
in interface JobEntryInterface
public boolean evaluates()
JobEntryBase
evaluates
in interface JobEntryInterface
evaluates
in class JobEntryBase
public boolean isUnconditional()
isUnconditional
in interface JobEntryInterface
isUnconditional
in class JobEntryBase
public DatabaseMeta[] getUsedDatabaseConnections()
JobEntryBase
getUsedDatabaseConnections
in interface JobEntryInterface
getUsedDatabaseConnections
in class JobEntryBase
public List<ResourceReference> getResourceDependencies(JobMeta jobMeta)
JobEntryBase
getResourceDependencies
in interface JobEntryInterface
getResourceDependencies
in class JobEntryBase
public void check(List<CheckResultInterface> remarks, JobMeta jobMeta)
JobEntryBase
check
in interface JobEntryInterface
check
in class JobEntryBase
remarks
- CheckResults from checking the job entryjobMeta
- JobMeta information letting threading back to the JobMeta possible
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |