|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 JobEntryInterfaceclone in class JobEntryBasepublic String getXML()
getXML in interface JobEntryInterfacegetXML in class JobEntryBase
public void loadXML(Node entrynode,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep)
throws KettleXMLException
loadXML in interface JobEntryInterfaceKettleXMLException
public void loadRep(Repository rep,
ObjectId id_jobentry,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers)
throws KettleException
loadRep in interface JobEntryInterfaceloadRep in class JobEntryBaseKettleException
public void saveRep(Repository rep,
ObjectId id_job)
throws KettleException
saveRep in interface JobEntryInterfacesaveRep in class JobEntryBaseKettleExceptionpublic 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 JobEntryInterfacepublic boolean evaluates()
JobEntryBase
evaluates in interface JobEntryInterfaceevaluates in class JobEntryBasepublic boolean isUnconditional()
isUnconditional in interface JobEntryInterfaceisUnconditional in class JobEntryBasepublic DatabaseMeta[] getUsedDatabaseConnections()
JobEntryBase
getUsedDatabaseConnections in interface JobEntryInterfacegetUsedDatabaseConnections in class JobEntryBasepublic List<ResourceReference> getResourceDependencies(JobMeta jobMeta)
JobEntryBase
getResourceDependencies in interface JobEntryInterfacegetResourceDependencies in class JobEntryBase
public void check(List<CheckResultInterface> remarks,
JobMeta jobMeta)
JobEntryBase
check in interface JobEntryInterfacecheck in class JobEntryBaseremarks - 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 | |||||||||