public class TeraFastMeta extends AbstractStepMeta
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DATA_FILE
Default data file.
|
static int |
DEFAULT_ERROR_LIMIT
Default error limit.
|
static String |
DEFAULT_FASTLOAD_PATH
Default fast load path.
|
static int |
DEFAULT_SESSIONS
Default session.
|
static String |
DEFAULT_TARGET_TABLE |
static boolean |
DEFAULT_TRUNCATETABLE |
static boolean |
DEFAULT_VARIABLE_SUBSTITUTION |
static PluginMessages |
MESSAGES |
attributes, databases, ioMeta, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
Constructor and Description |
---|
TeraFastMeta() |
getConnectionName, getDbMeta, getProperties, getPropertyFactory, getXML, loadXML, readFromPreferences, readRep, saveAsPreferences, saveRep, setConnectionName, setDbMeta
analyseImpact, analyseImpact, cancelQueries, check, check, createEntry, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, findAttribute, findParent, findParentEntry, getActiveReferencedObjectDescription, getDescription, getDialogClassName, getFields, getLog, getLogChannelId, getName, getObjectCopy, getObjectId, getObjectRevision, getObjectType, getOptionalStreams, getParent, getParentStepMeta, getReferencedObjectDescriptions, getRepCode, getRepositoryDirectory, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStepInjectionMetadataEntries, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getTooltip, getUsedArguments, getUsedDatabaseConnections, 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, supportsErrorHandling
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyseImpact, analyseImpact, cancelQueries, check, cleanAfterHopFromRemove, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, getActiveReferencedObjectDescription, getDialogClassName, getFields, getOptionalStreams, getParentStepMeta, getReferencedObjectDescriptions, 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 static final PluginMessages MESSAGES
public static final String DEFAULT_FASTLOAD_PATH
public static final String DEFAULT_DATA_FILE
public static final String DEFAULT_TARGET_TABLE
public static final int DEFAULT_SESSIONS
public static final boolean DEFAULT_TRUNCATETABLE
public static final boolean DEFAULT_VARIABLE_SUBSTITUTION
public static final int DEFAULT_ERROR_LIMIT
public void check(List<CheckResultInterface> remarks, TransMeta transmeta, StepMeta stepMeta, RowMetaInterface prev, String[] input, String[] output, RowMetaInterface info, VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore)
check
in interface StepMetaInterface
check
in class BaseStepMeta
remarks
- The list to put the remarks in @see org.pentaho.di.core.CheckResultstepMeta
- The stepMeta to help checkingprev
- The fields coming from the previous stepinput
- The input step namesoutput
- The output step namesinfo
- The fields that are used as information by the stepspace
- the variable space to resolve variable expressions withrepository
- the repository to use to load Kettle metadata objects impacting the output fieldsmetaStore
- the MetaStore to use to load additional external data or metadata impacting the output fieldsStepMetaInterface.check(java.util.List, org.pentaho.di.trans.TransMeta,
org.pentaho.di.trans.step.StepMeta, org.pentaho.di.core.row.RowMetaInterface, java.lang.String[],
java.lang.String[], org.pentaho.di.core.row.RowMetaInterface)
public String getQuotedSchemaTableName(VariableSpace space) throws KettleException
space
- the variableSpace to be used.KettleException
- if no table specified.public Database connectToDatabase() throws KettleException
KettleException
- if an error occurs.public StepInterface getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta transMeta, Trans disp)
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 gettransMeta
- The transformation infodisp
- 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 AbstractStepMeta
StepMetaInterface.getStepData()
public void setDefault()
StepMetaInterface.setDefault()
public void getFields(RowMetaInterface inputRowMeta, String name, RowMetaInterface[] info, StepMeta nextStep, VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleStepException
getFields
in interface StepMetaInterface
getFields
in class BaseStepMeta
inputRowMeta
- the input row meta that is modified in this method to reflect the output row metadata of the stepname
- Name of the step to use as input for the origin field in the valuesinfo
- Fields used as extra lookup informationnextStep
- the next step that is targetedspace
- the space The variable space to use to replace variablesrepository
- the repository to use to load Kettle metadata objects impacting the output fieldsmetaStore
- the MetaStore to use to load additional external data or metadata impacting the output fieldsKettleStepException
- the kettle step exceptionBaseStepMeta.getFields(org.pentaho.di.core.row.RowMetaInterface, java.lang.String,
org.pentaho.di.core.row.RowMetaInterface[], org.pentaho.di.trans.step.StepMeta,
org.pentaho.di.core.variables.VariableSpace)
public RowMetaInterface getRequiredFields(VariableSpace space) throws KettleException
getRequiredFields
in interface StepMetaInterface
getRequiredFields
in class BaseStepMeta
space
- the variable space to use to do variable substitution.KettleException
- in case the required fields can't be determinedBaseStepMeta.getRequiredFields(org.pentaho.di.core.variables.VariableSpace)
public Object clone()
clone
in interface StepMetaInterface
clone
in class BaseStepMeta
BaseStepMeta.clone()
public StringPluginProperty getFastloadPath()
public void setFastloadPath(StringPluginProperty fastloadPath)
fastloadPath
- the fastloadPath to setpublic StringPluginProperty getControlFile()
public void setControlFile(StringPluginProperty controlFile)
controlFile
- the controlFile to setpublic StringPluginProperty getDataFile()
public void setDataFile(StringPluginProperty dataFile)
dataFile
- the dataFile to setpublic StringPluginProperty getLogFile()
public void setLogFile(StringPluginProperty logFile)
logFile
- the logFile to setpublic IntegerPluginProperty getSessions()
public void setSessions(IntegerPluginProperty sessions)
sessions
- the sessions to setpublic IntegerPluginProperty getErrorLimit()
public void setErrorLimit(IntegerPluginProperty errorLimit)
errorLimit
- the errorLimit to setpublic BooleanPluginProperty getUseControlFile()
public void setUseControlFile(BooleanPluginProperty useControlFile)
useControlFile
- the useControlFile to setpublic StringPluginProperty getTargetTable()
public void setTargetTable(StringPluginProperty targetTable)
targetTable
- the targetTable to setpublic BooleanPluginProperty getTruncateTable()
public void setTruncateTable(BooleanPluginProperty truncateTable)
truncateTable
- the truncateTable to setpublic StringListPluginProperty getTableFieldList()
public void setTableFieldList(StringListPluginProperty tableFieldList)
tableFieldList
- the tableFieldList to setpublic StringListPluginProperty getStreamFieldList()
public void setStreamFieldList(StringListPluginProperty streamFieldList)
streamFieldList
- the streamFieldList to setpublic BooleanPluginProperty getVariableSubstitution()
public void setVariableSubstitution(BooleanPluginProperty variableSubstitution)
variableSubstitution
- the variableSubstitution to setCopyright © 2018 Hitachi Vantara. All rights reserved.