public class InfobrightLoaderMeta extends TableOutputMeta implements StepMetaInterface
attributes, databases, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
Constructor and Description |
---|
InfobrightLoaderMeta()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Make an exact copy of this step, make sure to explicitly copy Collections etc.
|
int |
getAgentPort() |
Charset |
getCharset() |
com.infobright.etl.model.DataFormat |
getDataFormat() |
String |
getDebugFile() |
String |
getInfobrightProductType() |
StepInterface |
getStep(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int cnr,
TransMeta tr,
Trans trans)
Get the executing step, needed by Trans to launch a step.
|
StepDataInterface |
getStepData()
Get a new instance of the appropriate data class.
|
String |
getXML()
Produces the XML string that describes this step's information.
|
boolean |
isRejectErrors() |
void |
loadXML(Node stepnode,
List<DatabaseMeta> databases,
org.pentaho.metastore.api.IMetaStore metaStore)
Load the values for this step from an XML Node
|
void |
readRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId id_step,
List<DatabaseMeta> databases)
Read the steps information from a Kettle repository
|
void |
saveRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId id_transformation,
ObjectId id_step)
Save the steps data into a Kettle repository
|
void |
setAgentPort(int agentPort2) |
void |
setCharset(Charset charset2) |
void |
setDataFormat(com.infobright.etl.model.DataFormat dataFormat) |
void |
setDebugFile(String debugFile) |
void |
setDefault()
Set default values
|
void |
setRejectErrors(boolean rejectErrors) |
allocate, analyseImpact, check, extractStepMetadataEntries, getCommitSize, getDatabaseFields, getDatabaseMeta, getFieldDatabase, getFields, getFieldStream, getGeneratedKeyField, getMissingDatabaseConnectionInformationMessage, getPartitioningField, getRequiredFields, getRowMeta, getSchemaName, getSQLStatements, getSQLStatements, getStepMetaInjectionInterface, getStreamFields, getTablename, getTableName, getTableNameField, getUsedDatabaseConnections, ignoreErrors, isPartitioningDaily, isPartitioningEnabled, isPartitioningMonthly, isReturningGeneratedKeys, isTableNameInField, isTableNameInTable, setCommitSize, setCommitSize, setDatabaseMeta, setFieldDatabase, setFieldStream, setGeneratedKeyField, setIgnoreErrors, setPartitioningDaily, setPartitioningEnabled, setPartitioningField, setPartitioningMonthly, setReturningGeneratedKeys, setSchemaName, setSpecifyFields, setTablename, setTableName, setTableNameField, setTableNameInField, setTableNameInTable, setTruncateTable, setUseBatchUpdate, specifyFields, supportsErrorHandling, truncateTable, useBatchUpdate
analyseImpact, cancelQueries, check, check, createEntry, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, findAttribute, findParent, findParentEntry, getActiveReferencedObjectDescription, getDescription, getDialogClassName, getFields, getLog, getLogChannelId, getName, getObjectCopy, getObjectId, getObjectRevision, getObjectType, getOptionalStreams, getParent, getParentStepMeta, getReferencedObjectDescriptions, getRepCode, getRepositoryDirectory, getRequiredFields, getResourceDependencies, getSQLStatements, getStepInjectionMetadataEntries, getStepIOMeta, getStepIOMeta, getSupportedTransformationTypes, getTableFields, getTooltip, getUsedArguments, getUsedLibraries, getXmlCode, handleStreamSelection, hasChanged, hasRepositoryReferences, isBasic, isDebug, isDetailed, isReferencedObjectEnabled, isRowLevel, loadReferencedObject, loadReferencedObject, loadStepAttributes, loadXML, loadXML, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, lookupRepositoryReferences, readRep, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setChanged, setParentStepMeta, setStepIOMeta
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyseImpact, analyseImpact, cancelQueries, check, check, cleanAfterHopFromRemove, cleanAfterHopFromRemove, cleanAfterHopToRemove, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, fetchTransMeta, getActiveReferencedObjectDescription, getDialogClassName, getFields, getFields, getOptionalStreams, getParentStepMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, handleStreamSelection, hasChanged, hasRepositoryReferences, isReferencedObjectEnabled, loadReferencedObject, loadXML, lookupRepositoryReferences, passDataToServletOutput, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setParentStepMeta, supportsErrorHandling
public StepInterface getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta tr, Trans trans)
getStep
in interface StepMetaInterface
getStep
in class TableOutputMeta
stepMeta
- The step infostepDataInterface
- the step data interface linked to this step. Here the step can store temporary data, database connections,
etc.cnr
- The copy nr to gettr
- The transformation infotrans
- The launching transformationStepMetaInterface.getStep(org.pentaho.di.trans.step.StepMeta,
org.pentaho.di.trans.step.StepDataInterface, int, org.pentaho.di.trans.TransMeta, org.pentaho.di.trans.Trans)
public StepDataInterface getStepData()
getStepData
in interface StepMetaInterface
getStepData
in class TableOutputMeta
StepMetaInterface.getStepData()
public Object clone()
clone
in interface StepMetaInterface
clone
in class TableOutputMeta
BaseStepMeta.clone()
public String getInfobrightProductType()
public void setDataFormat(com.infobright.etl.model.DataFormat dataFormat)
public com.infobright.etl.model.DataFormat getDataFormat()
public void setDefault()
StepMetaInterface
setDefault
in interface StepMetaInterface
setDefault
in class TableOutputMeta
public String getDebugFile()
public void setCharset(Charset charset2)
public void setAgentPort(int agentPort2)
public void setDebugFile(String debugFile)
public String getXML()
BaseStepMeta
getXML
in interface StepMetaInterface
getXML
in class TableOutputMeta
public void loadXML(Node stepnode, List<DatabaseMeta> databases, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleXMLException
StepMetaInterface
loadXML
in interface StepMetaInterface
loadXML
in class TableOutputMeta
stepnode
- the Node to get the info fromdatabases
- The available list of databases to reference tometaStore
- the metastore to optionally load external reference metadata fromKettleXMLException
- When an unexpected XML error occurred. (malformed etc.)public void readRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId id_step, List<DatabaseMeta> databases) throws KettleException
StepMetaInterface
readRep
in interface StepMetaInterface
readRep
in class TableOutputMeta
rep
- The repository to read frommetaStore
- The MetaStore to read external information fromid_step
- The step IDdatabases
- The databases to referenceKettleException
- When an unexpected error occurred (database, network, etc)public void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step) throws KettleException
StepMetaInterface
saveRep
in interface StepMetaInterface
saveRep
in class TableOutputMeta
rep
- The Kettle repository to save tometaStore
- the metaStore to optionally write toid_transformation
- The transformation IDid_step
- The step IDKettleException
- When an unexpected error occurred (database, network, etc)public boolean isRejectErrors()
public void setRejectErrors(boolean rejectErrors)
rejectErrors
- the rejectErrors to set.public int getAgentPort()
public Charset getCharset()
Copyright © 2018 Hitachi Vantara. All rights reserved.