|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.trans.step.BaseStepMeta org.pentaho.di.core.util.AbstractStepMeta org.pentaho.di.trans.steps.terafast.TeraFastMeta
public class TeraFastMeta
Field Summary | |
---|---|
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
|
Fields inherited from class org.pentaho.di.trans.step.BaseStepMeta |
---|
loggingObject, STEP_ATTRIBUTES_FILE |
Constructor Summary | |
---|---|
TeraFastMeta()
|
Methods inherited from class org.pentaho.di.core.util.AbstractStepMeta |
---|
getConnectionName, getDbMeta, getProperties, getPropertyFactory, getXML, loadXML, readFromPreferences, readRep, saveAsPreferences, saveRep, setConnectionName, setDbMeta |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public TeraFastMeta()
Method Detail |
---|
public void check(List<CheckResultInterface> remarks, TransMeta transmeta, StepMeta stepMeta, RowMetaInterface prev, String[] input, String[] output, RowMetaInterface info)
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 stepStepMetaInterface.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) throws KettleStepException
getFields
in interface StepMetaInterface
getFields
in class BaseStepMeta
inputRowMeta
- The fields that are entering the step. These are changed to reflect the output metadata.name
- The name of the step to be used as origininfo
- The input rows metadata that enters the step through the specified channels in the same order as in method getInfoSteps(). The step metadata can then choose what to do with it: ignore it or not.
Interesting is also that in case of database lookups, the layout of the target database table is put in info[0]nextStep
- if this is a non-null value, it's the next step in the transformation. The one who's asking, the step where the data is targetted towards.space
- TODO
KettleStepException
- when an error occurred searching for the fields.BaseStepMeta.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 set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |