@Deprecated public class TextFileInputMeta extends BaseStepMeta implements StepMetaInterface, InputFileMetaInterface
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
FILE_FORMAT_DOS
已过时。
|
static int |
FILE_FORMAT_MIXED
已过时。
|
static int |
FILE_FORMAT_UNIX
已过时。
|
static int |
FILE_TYPE_CSV
已过时。
|
static int |
FILE_TYPE_FIXED
已过时。
|
static String[] |
RequiredFilesCode
已过时。
|
static String[] |
RequiredFilesDesc
已过时。
|
attributes, databases, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE| 构造器和说明 |
|---|
TextFileInputMeta()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
allocate(int nrfiles,
int nrfields,
int nrfilters)
已过时。
|
void |
allocateFiles(int nrFiles)
已过时。
|
void |
check(List<org.pentaho.di.core.CheckResultInterface> remarks,
TransMeta transMeta,
StepMeta stepMeta,
org.pentaho.di.core.row.RowMetaInterface prev,
String[] input,
String[] output,
org.pentaho.di.core.row.RowMetaInterface info,
org.pentaho.di.core.variables.VariableSpace space,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
已过时。
Checks the settings of this step and puts the findings in a remarks List.
|
Object |
clone()
已过时。
Make an exact copy of this step, make sure to explicitly copy Collections etc.
|
String |
exportResources(org.pentaho.di.core.variables.VariableSpace space,
Map<String,ResourceDefinition> definitions,
ResourceNamingInterface resourceNamingInterface,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
已过时。
Since the exported transformation that runs this will reside in a ZIP file, we can't reference files relatively.
|
String |
getAcceptingField()
已过时。
|
StepMeta |
getAcceptingStep()
已过时。
|
String |
getAcceptingStepName()
已过时。
|
Locale |
getDateFormatLocale()
已过时。
|
String |
getEnclosure()
已过时。
|
String |
getEncoding()
已过时。
|
String |
getErrorCountField()
已过时。
|
String |
getErrorFieldsField()
已过时。
|
String |
getErrorFilesDestinationDirectory()
已过时。
|
String |
getErrorLineFilesExtension()
已过时。
|
String |
getErrorTextField()
已过时。
|
String |
getEscapeCharacter()
已过时。
|
String[] |
getExludeFileMask()
已过时。
|
String |
getExtensionField()
已过时。
|
void |
getFields(org.pentaho.di.core.row.RowMetaInterface inputRowMeta,
String name,
org.pentaho.di.core.row.RowMetaInterface[] info,
StepMeta nextStep,
org.pentaho.di.core.variables.VariableSpace space)
已过时。
|
void |
getFields(org.pentaho.di.core.row.RowMetaInterface row,
String name,
org.pentaho.di.core.row.RowMetaInterface[] info,
StepMeta nextStep,
org.pentaho.di.core.variables.VariableSpace space,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
已过时。
Gets the fields.
|
String |
getFileCompression()
已过时。
|
String |
getFileErrorField()
已过时。
|
String |
getFileErrorMessageField()
已过时。
|
String |
getFileFormat()
已过时。
|
int |
getFileFormatTypeNr()
已过时。
|
String[] |
getFileMask()
已过时。
|
String[] |
getFileName()
已过时。
|
String |
getFilenameField()
已过时。
|
String[] |
getFilePaths(org.pentaho.di.core.variables.VariableSpace space)
已过时。
|
String[] |
getFileRequired()
已过时。
|
String |
getFileType()
已过时。
|
int |
getFileTypeNr()
已过时。
|
TextFileFilter[] |
getFilter()
已过时。
|
String[] |
getIncludeSubFolders()
已过时。
|
String[] |
getInfoSteps()
已过时。
|
TextFileInputField[] |
getInputFields()
已过时。
|
String |
getLastModificationDateField()
已过时。
|
String |
getLineNumberFilesDestinationDirectory()
已过时。
|
String |
getLineNumberFilesExtension()
已过时。
|
String |
getLookupStepname()
已过时。
|
int |
getNrFooterLines()
已过时。
|
int |
getNrHeaderLines()
已过时。
|
int |
getNrLinesDocHeader()
已过时。
|
int |
getNrLinesPerPage()
已过时。
|
int |
getNrWraps()
已过时。
|
String |
getPathField()
已过时。
|
String |
getRequiredFilesCode(String tt)
已过时。
|
String |
getRequiredFilesDesc(String tt)
已过时。
|
List<ResourceReference> |
getResourceDependencies(TransMeta transMeta,
StepMeta stepInfo)
已过时。
Get a list of all the resource dependencies that the step is depending on.
|
String |
getRootUriField()
已过时。
|
long |
getRowLimit()
已过时。
|
String |
getRowNumberField()
已过时。
|
String |
getSeparator()
已过时。
|
String |
getShortFileNameField()
已过时。
|
String |
getSizeField()
已过时。
|
StepInterface |
getStep(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int cnr,
TransMeta transMeta,
Trans trans)
已过时。
Get the executing step, needed by Trans to launch a step.
|
StepDataInterface |
getStepData()
已过时。
Get a new instance of the appropriate data class.
|
StepMetaInjectionInterface |
getStepMetaInjectionInterface()
已过时。
|
org.pentaho.di.core.fileinput.FileInputList |
getTextFileList(org.pentaho.di.core.variables.VariableSpace space)
已过时。
|
String |
getUriField()
已过时。
|
String |
getWarningFilesDestinationDirectory()
已过时。
|
String |
getWarningFilesExtension()
已过时。
|
String |
getXML()
已过时。
Produces the XML string that describes this step's information.
|
boolean |
hasFooter()
已过时。
|
boolean |
hasHeader()
已过时。
|
boolean |
includeFilename()
已过时。
|
boolean |
includeRowNumber()
已过时。
|
boolean |
isAcceptingFilenames()
已过时。
|
boolean |
isAddResultFile()
已过时。
|
boolean |
isBreakInEnclosureAllowed()
已过时。
|
boolean |
isDateFormatLenient()
已过时。
|
boolean |
isErrorIgnored()
已过时。
|
boolean |
isErrorLineSkipped()
已过时。
|
String |
isHiddenField()
已过时。
|
boolean |
isLayoutPaged()
已过时。
|
boolean |
isLineWrapped()
已过时。
|
boolean |
isPassingThruFields()
已过时。
|
boolean |
isRowNumberByFile()
已过时。
true if row number reset for each file
|
boolean |
isSkipBadFiles()
已过时。
|
protected String |
loadSource(Node filenode,
Node filenamenode,
int i,
org.pentaho.metastore.api.IMetaStore metaStore)
已过时。
|
protected String |
loadSourceRep(Repository rep,
org.pentaho.di.repository.ObjectId id_step,
int i)
已过时。
|
void |
loadXML(Node stepnode,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
org.pentaho.metastore.api.IMetaStore metaStore)
已过时。
Load the values for this step from an XML Node
|
boolean |
noEmptyLines()
已过时。
|
void |
readRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
org.pentaho.di.repository.ObjectId id_step,
List<org.pentaho.di.core.database.DatabaseMeta> databases)
已过时。
Read the steps information from a Kettle repository
|
void |
saveRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step)
已过时。
Save the steps data into a Kettle repository
|
protected void |
saveSource(StringBuilder retVal,
String source)
已过时。
|
protected void |
saveSourceRep(Repository rep,
org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
int i,
String fileName)
已过时。
|
void |
searchInfoAndTargetSteps(List<StepMeta> steps)
已过时。
Change step names into step objects to allow them to be name-changed etc.
|
void |
setAcceptingField(String fileNameField)
已过时。
|
void |
setAcceptingFilenames(boolean getFileFromJob)
已过时。
|
void |
setAcceptingStep(StepMeta acceptingStep)
已过时。
|
void |
setAcceptingStepName(String acceptingStep)
已过时。
|
void |
setAddResultFile(boolean isaddresult)
已过时。
|
void |
setBreakInEnclosureAllowed(boolean breakInEnclosureAllowed)
已过时。
|
void |
setDateFormatLenient(boolean dateFormatLenient)
已过时。
|
void |
setDateFormatLocale(Locale dateFormatLocale)
已过时。
|
void |
setDefault()
已过时。
Set default values
|
void |
setEnclosure(String enclosure)
已过时。
|
void |
setEncoding(String encoding)
已过时。
|
void |
setErrorCountField(String errorCountField)
已过时。
|
void |
setErrorFieldsField(String errorFieldsField)
已过时。
|
void |
setErrorFilesDestinationDirectory(String errorFilesDestinationDirectory)
已过时。
|
void |
setErrorIgnored(boolean errorIgnored)
已过时。
|
void |
setErrorLineFilesExtension(String errorLineFilesExtension)
已过时。
|
void |
setErrorLineSkipped(boolean errorLineSkipped)
已过时。
|
void |
setErrorTextField(String errorTextField)
已过时。
|
void |
setEscapeCharacter(String escapeCharacter)
已过时。
|
void |
setExcludeFileMask(String[] excludeFileMask)
已过时。
|
void |
setExtensionField(String field)
已过时。
|
void |
setFileCompression(String fileCompression)
已过时。
|
void |
setFileErrorField(String field)
已过时。
|
void |
setFileErrorMessageField(String field)
已过时。
|
void |
setFileFormat(String fileFormat)
已过时。
|
void |
setFileMask(String[] fileMask)
已过时。
|
void |
setFileName(String[] fileName)
已过时。
|
void |
setFilenameField(String filenameField)
已过时。
|
void |
setFileNameForTest(String[] fileName)
已过时。
|
void |
setFileRequired(String[] fileRequiredin)
已过时。
|
void |
setFileType(String fileType)
已过时。
|
void |
setFilter(TextFileFilter[] filter)
已过时。
|
void |
setFooter(boolean footer)
已过时。
|
void |
setHeader(boolean header)
已过时。
|
void |
setIncludeFilename(boolean includeFilename)
已过时。
|
void |
setIncludeRowNumber(boolean includeRowNumber)
已过时。
|
void |
setIncludeSubFolders(String[] includeSubFoldersin)
已过时。
|
void |
setInputFields(TextFileInputField[] inputFields)
已过时。
|
void |
setIsHiddenField(String field)
已过时。
|
void |
setLastModificationDateField(String field)
已过时。
|
void |
setLayoutPaged(boolean layoutPaged)
已过时。
|
void |
setLineNumberFilesDestinationDirectory(String lineNumberFilesDestinationDirectory)
已过时。
|
void |
setLineNumberFilesExtension(String lineNumberFilesExtension)
已过时。
|
void |
setLineWrapped(boolean lineWrapped)
已过时。
|
void |
setNoEmptyLines(boolean noEmptyLines)
已过时。
|
void |
setNrFooterLines(int nrFooterLines)
已过时。
|
void |
setNrHeaderLines(int nrHeaderLines)
已过时。
|
void |
setNrLinesDocHeader(int nrLinesDocHeader)
已过时。
|
void |
setNrLinesPerPage(int nrLinesPerPage)
已过时。
|
void |
setNrWraps(int nrWraps)
已过时。
|
void |
setPassingThruFields(boolean passingThruFields)
已过时。
|
void |
setPathField(String field)
已过时。
|
void |
setRootUriField(String field)
已过时。
|
void |
setRowLimit(long rowLimit)
已过时。
|
void |
setRowNumberByFile(boolean rowNumberByFile)
已过时。
|
void |
setRowNumberField(String rowNumberField)
已过时。
|
void |
setSeparator(String separator)
已过时。
|
void |
setShortFileNameField(String field)
已过时。
|
void |
setSizeField(String field)
已过时。
|
void |
setSkipBadFiles(boolean value)
已过时。
|
void |
setUriField(String field)
已过时。
|
void |
setWarningFilesDestinationDirectory(String warningFilesDestinationDirectory)
已过时。
|
void |
setWarningFilesExtension(String warningFilesExtension)
已过时。
|
boolean |
supportsErrorHandling()
已过时。
|
analyseImpact, analyseImpact, cancelQueries, check, check, createEntry, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, extractStepMetadataEntries, findAttribute, findParent, findParentEntry, getActiveReferencedObjectDescription, getDescription, getDialogClassName, getLog, getLogChannelId, getName, getObjectCopy, getObjectId, getObjectRevision, getObjectType, getOptionalStreams, getParent, getParentStepMeta, getReferencedObjectDescriptions, getRepCode, getRepositoryDirectory, getRequiredFields, getRequiredFields, getSQLStatements, getSQLStatements, getStepInjectionMetadataEntries, getStepIOMeta, getStepIOMeta, 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, setChanged, setChanged, setParentStepMeta, setStepIOMetaequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanalyseImpact, analyseImpact, cancelQueries, check, cleanAfterHopFromRemove, cleanAfterHopFromRemove, cleanAfterHopToRemove, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, extractStepMetadataEntries, fetchTransMeta, getActiveReferencedObjectDescription, getDialogClassName, getOptionalStreams, getParentStepMeta, getReferencedObjectDescriptions, getRequiredFields, getSQLStatements, getSQLStatements, getStepIOMeta, getSupportedTransformationTypes, getTableFields, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, handleStreamSelection, hasChanged, hasRepositoryReferences, isReferencedObjectEnabled, loadReferencedObject, loadXML, lookupRepositoryReferences, passDataToServletOutput, readRep, resetStepIoMeta, saveRep, setChanged, setParentStepMetapublic static final String[] RequiredFilesDesc
public static final String[] RequiredFilesCode
public static final int FILE_FORMAT_DOS
public static final int FILE_FORMAT_UNIX
public static final int FILE_FORMAT_MIXED
public static final int FILE_TYPE_CSV
public static final int FILE_TYPE_FIXED
public String getShortFileNameField()
public void setShortFileNameField(String field)
field - The shortFileFieldName to set.public String getPathField()
public void setPathField(String field)
field - The pathFieldName to set.public String isHiddenField()
public void setIsHiddenField(String field)
field - The hiddenFieldName to set.public String getLastModificationDateField()
public void setLastModificationDateField(String field)
field - The lastModificationTimeFieldName to set.public String getUriField()
public void setUriField(String field)
field - The uriNameFieldName to set.public String getRootUriField()
public void setRootUriField(String field)
field - The rootUriNameFieldName to set.public String getExtensionField()
public void setExtensionField(String field)
field - The extensionFieldName to set.public String getSizeField()
public void setSizeField(String field)
field - The sizeFieldName to set.public boolean isSkipBadFiles()
public void setSkipBadFiles(boolean value)
value - If should continue processing after failing to open a filepublic String getFileErrorField()
public void setFileErrorField(String field)
public String getFileErrorMessageField()
public void setFileErrorMessageField(String field)
public String getEncoding()
public void setEncoding(String encoding)
encoding - The encoding to set.public TextFileInputField[] getInputFields()
getInputFields 在接口中 InputFileMetaInterfacepublic void setInputFields(TextFileInputField[] inputFields)
inputFields - The input fields to set.public String getEnclosure()
getEnclosure 在接口中 InputFileMetaInterfacepublic void setEnclosure(String enclosure)
enclosure - The enclosure to set.public boolean isBreakInEnclosureAllowed()
public void setBreakInEnclosureAllowed(boolean breakInEnclosureAllowed)
breakInEnclosureAllowed - The breakInEnclosureAllowed to set.public String[] getExludeFileMask()
public void setExcludeFileMask(String[] excludeFileMask)
excludeFileMask - The excludeFileMask to set.public String getFileFormat()
public void setFileFormat(String fileFormat)
fileFormat - The fileFormat to set.public String[] getFileMask()
public String[] getFileRequired()
public void setFileMask(String[] fileMask)
fileMask - The fileMask to set.public void setFileRequired(String[] fileRequiredin)
fileRequired - The fileRequired to set.public String[] getIncludeSubFolders()
public void setIncludeSubFolders(String[] includeSubFoldersin)
public String[] getFileName()
public void setFileName(String[] fileName)
fileName - The fileName to set.public String getFilenameField()
public void setFilenameField(String filenameField)
filenameField - The filenameField to set.public String getFileType()
getFileType 在接口中 InputFileMetaInterfacepublic void setFileType(String fileType)
fileType - The fileType to set.public TextFileFilter[] getFilter()
public void setFilter(TextFileFilter[] filter)
filter - The array of filters to usepublic boolean hasFooter()
public void setFooter(boolean footer)
footer - The footer to set.public boolean hasHeader()
hasHeader 在接口中 InputFileMetaInterfacepublic void setHeader(boolean header)
header - The header to set.public boolean includeFilename()
includeFilename 在接口中 InputFileMetaInterfacepublic void setIncludeFilename(boolean includeFilename)
includeFilename - The includeFilename to set.public boolean includeRowNumber()
includeRowNumber 在接口中 InputFileMetaInterfacepublic void setIncludeRowNumber(boolean includeRowNumber)
includeRowNumber - The includeRowNumber to set.public boolean isRowNumberByFile()
public void setRowNumberByFile(boolean rowNumberByFile)
rowNumberByFile - True if row number field is reset for each filepublic boolean noEmptyLines()
public void setNoEmptyLines(boolean noEmptyLines)
noEmptyLines - The noEmptyLines to set.public long getRowLimit()
public void setRowLimit(long rowLimit)
rowLimit - The rowLimit to set.public String getRowNumberField()
public void setRowNumberField(String rowNumberField)
rowNumberField - The rowNumberField to set.public String getSeparator()
getSeparator 在接口中 InputFileMetaInterfacepublic void setSeparator(String separator)
separator - The separator to set.public String getFileCompression()
public void setFileCompression(String fileCompression)
fileCompression - Sets the compression typepublic void loadXML(Node stepnode, List<org.pentaho.di.core.database.DatabaseMeta> databases, org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.di.core.exception.KettleXMLException
StepMetaInterfaceloadXML 在接口中 StepMetaInterfaceloadXML 在类中 BaseStepMetastepnode - the Node to get the info fromdatabases - The available list of databases to reference tometaStore - the metastore to optionally load external reference metadata fromorg.pentaho.di.core.exception.KettleXMLException - When an unexpected XML error occurred. (malformed etc.)public Object clone()
StepMetaInterfaceclone 在接口中 StepMetaInterfaceclone 在类中 BaseStepMetapublic void allocate(int nrfiles,
int nrfields,
int nrfilters)
public void allocateFiles(int nrFiles)
public void setDefault()
StepMetaInterfacesetDefault 在接口中 StepMetaInterfacepublic void getFields(org.pentaho.di.core.row.RowMetaInterface row,
String name,
org.pentaho.di.core.row.RowMetaInterface[] info,
StepMeta nextStep,
org.pentaho.di.core.variables.VariableSpace space,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
throws org.pentaho.di.core.exception.KettleStepException
BaseStepMetagetFields 在接口中 StepMetaInterfacegetFields 在类中 BaseStepMetarow - 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 fieldsorg.pentaho.di.core.exception.KettleStepException - the kettle step exception@Deprecated public void getFields(org.pentaho.di.core.row.RowMetaInterface inputRowMeta, String name, org.pentaho.di.core.row.RowMetaInterface[] info, StepMeta nextStep, org.pentaho.di.core.variables.VariableSpace space) throws org.pentaho.di.core.exception.KettleStepException
BaseStepMetagetFields 在接口中 StepMetaInterfacegetFields 在类中 BaseStepMetainputRowMeta - 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 variablesorg.pentaho.di.core.exception.KettleStepException - the kettle step exceptionpublic String getXML()
BaseStepMetagetXML 在接口中 StepMetaInterfacegetXML 在类中 BaseStepMetapublic String getLookupStepname()
public void searchInfoAndTargetSteps(List<StepMeta> steps)
BaseStepMetasearchInfoAndTargetSteps 在接口中 StepMetaInterfacesearchInfoAndTargetSteps 在类中 BaseStepMetasteps - optionally search the info step in a list of stepspublic String[] getInfoSteps()
public void readRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_step, List<org.pentaho.di.core.database.DatabaseMeta> databases) throws org.pentaho.di.core.exception.KettleException
StepMetaInterfacereadRep 在接口中 StepMetaInterfacereadRep 在类中 BaseStepMetarep - The repository to read frommetaStore - The MetaStore to read external information fromid_step - The step IDdatabases - The databases to referenceorg.pentaho.di.core.exception.KettleException - When an unexpected error occurred (database, network, etc)public void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException
StepMetaInterfacesaveRep 在接口中 StepMetaInterfacesaveRep 在类中 BaseStepMetarep - The Kettle repository to save tometaStore - the metaStore to optionally write toid_transformation - The transformation IDid_step - The step IDorg.pentaho.di.core.exception.KettleException - When an unexpected error occurred (database, network, etc)public String[] getFilePaths(org.pentaho.di.core.variables.VariableSpace space)
getFilePaths 在接口中 InputFileMetaInterfacepublic org.pentaho.di.core.fileinput.FileInputList getTextFileList(org.pentaho.di.core.variables.VariableSpace space)
public void check(List<org.pentaho.di.core.CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepMeta, org.pentaho.di.core.row.RowMetaInterface prev, String[] input, String[] output, org.pentaho.di.core.row.RowMetaInterface info, org.pentaho.di.core.variables.VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore)
StepMetaInterfacecheck 在接口中 StepMetaInterfacecheck 在类中 BaseStepMetaremarks - 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 fieldspublic StepInterface getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta transMeta, Trans trans)
StepMetaInterfacegetStep 在接口中 StepMetaInterfacestepMeta - 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 infotrans - The launching transformationpublic StepDataInterface getStepData()
StepMetaInterfacegetStepData 在接口中 StepMetaInterfacepublic String getEscapeCharacter()
getEscapeCharacter 在接口中 InputFileMetaInterfacepublic void setEscapeCharacter(String escapeCharacter)
escapeCharacter - The escapeCharacter to set.public String getErrorCountField()
getErrorCountField 在接口中 InputFileMetaInterfacepublic void setErrorCountField(String errorCountField)
public String getErrorFieldsField()
getErrorFieldsField 在接口中 InputFileMetaInterfacepublic void setErrorFieldsField(String errorFieldsField)
public boolean isErrorIgnored()
isErrorIgnored 在接口中 InputFileMetaInterfacepublic void setErrorIgnored(boolean errorIgnored)
public String getErrorTextField()
getErrorTextField 在接口中 InputFileMetaInterfacepublic void setErrorTextField(String errorTextField)
public boolean isLineWrapped()
public void setLineWrapped(boolean lineWrapped)
lineWrapped - The lineWrapped to set.public int getNrFooterLines()
public void setNrFooterLines(int nrFooterLines)
nrFooterLines - The nrFooterLines to set.public int getNrHeaderLines()
getNrHeaderLines 在接口中 InputFileMetaInterfacepublic void setNrHeaderLines(int nrHeaderLines)
nrHeaderLines - The nrHeaderLines to set.public int getNrWraps()
public void setNrWraps(int nrWraps)
nrWraps - The nrWraps to set.public boolean isLayoutPaged()
public void setLayoutPaged(boolean layoutPaged)
layoutPaged - The layoutPaged to set.public int getNrLinesPerPage()
public void setNrLinesPerPage(int nrLinesPerPage)
nrLinesPerPage - The nrLinesPerPage to set.public int getNrLinesDocHeader()
public void setNrLinesDocHeader(int nrLinesDocHeader)
nrLinesDocHeader - The nrLinesDocHeader to set.public String getWarningFilesDestinationDirectory()
public void setWarningFilesDestinationDirectory(String warningFilesDestinationDirectory)
public String getWarningFilesExtension()
public void setWarningFilesExtension(String warningFilesExtension)
public String getLineNumberFilesDestinationDirectory()
public void setLineNumberFilesDestinationDirectory(String lineNumberFilesDestinationDirectory)
public String getLineNumberFilesExtension()
public void setLineNumberFilesExtension(String lineNumberFilesExtension)
public String getErrorFilesDestinationDirectory()
public void setErrorFilesDestinationDirectory(String errorFilesDestinationDirectory)
public String getErrorLineFilesExtension()
public void setErrorLineFilesExtension(String errorLineFilesExtension)
public boolean isDateFormatLenient()
public void setDateFormatLenient(boolean dateFormatLenient)
public void setAddResultFile(boolean isaddresult)
isaddresult - The isaddresult to set.public boolean isAddResultFile()
public boolean isErrorLineSkipped()
isErrorLineSkipped 在接口中 InputFileMetaInterfacepublic void setErrorLineSkipped(boolean errorLineSkipped)
public Locale getDateFormatLocale()
public void setDateFormatLocale(Locale dateFormatLocale)
dateFormatLocale - The dateFormatLocale to set.public boolean isAcceptingFilenames()
public void setAcceptingFilenames(boolean getFileFromJob)
public boolean isPassingThruFields()
public void setPassingThruFields(boolean passingThruFields)
public String getAcceptingField()
public void setAcceptingField(String fileNameField)
fileNameField - The fileNameField to set.public String getAcceptingStepName()
public void setAcceptingStepName(String acceptingStep)
acceptingStep - The acceptingStep to set.public StepMeta getAcceptingStep()
public void setAcceptingStep(StepMeta acceptingStep)
acceptingStep - The acceptingStep to set.public int getFileFormatTypeNr()
getFileFormatTypeNr 在接口中 InputFileMetaInterfacepublic int getFileTypeNr()
public List<ResourceReference> getResourceDependencies(TransMeta transMeta, StepMeta stepInfo)
BaseStepMetagetResourceDependencies 在接口中 StepMetaInterfacegetResourceDependencies 在类中 BaseStepMetapublic String exportResources(org.pentaho.di.core.variables.VariableSpace space, Map<String,ResourceDefinition> definitions, ResourceNamingInterface resourceNamingInterface, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.di.core.exception.KettleException
exportResources 在接口中 StepMetaInterfaceexportResources 在类中 BaseStepMetaspace - the variable space to usedefinitions - resourceNamingInterface - repository - The repository to optionally load other resources from (to be converted to XML)metaStore - the metaStore in which non-kettle metadata could reside.org.pentaho.di.core.exception.KettleExceptionpublic boolean supportsErrorHandling()
supportsErrorHandling 在接口中 StepMetaInterfacesupportsErrorHandling 在类中 BaseStepMetapublic StepMetaInjectionInterface getStepMetaInjectionInterface()
getStepMetaInjectionInterface 在接口中 StepMetaInterfacegetStepMetaInjectionInterface 在类中 BaseStepMetapublic void setFileNameForTest(String[] fileName)
protected String loadSource(Node filenode, Node filenamenode, int i, org.pentaho.metastore.api.IMetaStore metaStore)
protected void saveSource(StringBuilder retVal, String source)
protected String loadSourceRep(Repository rep, org.pentaho.di.repository.ObjectId id_step, int i) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionprotected void saveSourceRep(Repository rep, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, int i, String fileName) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionCopyright © 2024 Hitachi Vantara. All rights reserved.