@Deprecated public class TextFileInputMeta extends BaseStepMeta implements StepMetaInterface, InputFileMetaInterface
Modifier and Type | Field and Description |
---|---|
static int |
FILE_FORMAT_DOS
Deprecated.
|
static int |
FILE_FORMAT_MIXED
Deprecated.
|
static int |
FILE_FORMAT_UNIX
Deprecated.
|
static int |
FILE_TYPE_CSV
Deprecated.
|
static int |
FILE_TYPE_FIXED
Deprecated.
|
static String[] |
RequiredFilesCode
Deprecated.
|
static String[] |
RequiredFilesDesc
Deprecated.
|
attributes, databases, ioMeta, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
Constructor and Description |
---|
TextFileInputMeta()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
allocate(int nrfiles,
int nrfields,
int nrfilters)
Deprecated.
|
void |
allocateFiles(int nrFiles)
Deprecated.
|
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)
Deprecated.
Checks the settings of this step and puts the findings in a remarks List.
|
Object |
clone()
Deprecated.
Make an exact copy of this step, make sure to explicitly copy Collections etc.
|
String |
exportResources(VariableSpace space,
Map<String,ResourceDefinition> definitions,
ResourceNamingInterface resourceNamingInterface,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
Deprecated.
Since the exported transformation that runs this will reside in a ZIP file, we can't reference files relatively.
|
String |
getAcceptingField()
Deprecated.
|
StepMeta |
getAcceptingStep()
Deprecated.
|
String |
getAcceptingStepName()
Deprecated.
|
Locale |
getDateFormatLocale()
Deprecated.
|
String |
getEnclosure()
Deprecated.
|
String |
getEncoding()
Deprecated.
|
String |
getErrorCountField()
Deprecated.
|
String |
getErrorFieldsField()
Deprecated.
|
String |
getErrorFilesDestinationDirectory()
Deprecated.
|
String |
getErrorLineFilesExtension()
Deprecated.
|
String |
getErrorTextField()
Deprecated.
|
String |
getEscapeCharacter()
Deprecated.
|
String[] |
getExludeFileMask()
Deprecated.
|
String |
getExtensionField()
Deprecated.
|
void |
getFields(RowMetaInterface inputRowMeta,
String name,
RowMetaInterface[] info,
StepMeta nextStep,
VariableSpace space)
Deprecated.
|
void |
getFields(RowMetaInterface row,
String name,
RowMetaInterface[] info,
StepMeta nextStep,
VariableSpace space,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
Deprecated.
Gets the fields.
|
String |
getFileCompression()
Deprecated.
|
String |
getFileErrorField()
Deprecated.
|
String |
getFileErrorMessageField()
Deprecated.
|
String |
getFileFormat()
Deprecated.
|
int |
getFileFormatTypeNr()
Deprecated.
|
String[] |
getFileMask()
Deprecated.
|
String[] |
getFileName()
Deprecated.
|
String |
getFilenameField()
Deprecated.
|
String[] |
getFilePaths(VariableSpace space)
Deprecated.
|
String[] |
getFileRequired()
Deprecated.
|
String |
getFileType()
Deprecated.
|
int |
getFileTypeNr()
Deprecated.
|
TextFileFilter[] |
getFilter()
Deprecated.
|
String[] |
getIncludeSubFolders()
Deprecated.
|
String[] |
getInfoSteps()
Deprecated.
|
TextFileInputField[] |
getInputFields()
Deprecated.
|
String |
getLastModificationDateField()
Deprecated.
|
String |
getLineNumberFilesDestinationDirectory()
Deprecated.
|
String |
getLineNumberFilesExtension()
Deprecated.
|
String |
getLookupStepname()
Deprecated.
|
int |
getNrFooterLines()
Deprecated.
|
int |
getNrHeaderLines()
Deprecated.
|
int |
getNrLinesDocHeader()
Deprecated.
|
int |
getNrLinesPerPage()
Deprecated.
|
int |
getNrWraps()
Deprecated.
|
String |
getPathField()
Deprecated.
|
String |
getRequiredFilesCode(String tt)
Deprecated.
|
String |
getRequiredFilesDesc(String tt)
Deprecated.
|
List<ResourceReference> |
getResourceDependencies(TransMeta transMeta,
StepMeta stepInfo)
Deprecated.
Get a list of all the resource dependencies that the step is depending on.
|
String |
getRootUriField()
Deprecated.
|
long |
getRowLimit()
Deprecated.
|
String |
getRowNumberField()
Deprecated.
|
String |
getSeparator()
Deprecated.
|
String |
getShortFileNameField()
Deprecated.
|
String |
getSizeField()
Deprecated.
|
StepInterface |
getStep(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int cnr,
TransMeta transMeta,
Trans trans)
Deprecated.
Get the executing step, needed by Trans to launch a step.
|
StepDataInterface |
getStepData()
Deprecated.
Get a new instance of the appropriate data class.
|
StepMetaInjectionInterface |
getStepMetaInjectionInterface()
Deprecated.
|
FileInputList |
getTextFileList(VariableSpace space)
Deprecated.
|
String |
getUriField()
Deprecated.
|
String |
getWarningFilesDestinationDirectory()
Deprecated.
|
String |
getWarningFilesExtension()
Deprecated.
|
String |
getXML()
Deprecated.
Produces the XML string that describes this step's information.
|
boolean |
hasFooter()
Deprecated.
|
boolean |
hasHeader()
Deprecated.
|
boolean |
includeFilename()
Deprecated.
|
boolean |
includeRowNumber()
Deprecated.
|
boolean |
isAcceptingFilenames()
Deprecated.
|
boolean |
isAddResultFile()
Deprecated.
|
boolean |
isBreakInEnclosureAllowed()
Deprecated.
|
boolean |
isDateFormatLenient()
Deprecated.
|
boolean |
isErrorIgnored()
Deprecated.
|
boolean |
isErrorLineSkipped()
Deprecated.
|
String |
isHiddenField()
Deprecated.
|
boolean |
isLayoutPaged()
Deprecated.
|
boolean |
isLineWrapped()
Deprecated.
|
boolean |
isPassingThruFields()
Deprecated.
|
boolean |
isRowNumberByFile()
Deprecated.
true if row number reset for each file
|
boolean |
isSkipBadFiles()
Deprecated.
|
protected String |
loadSource(Node filenode,
Node filenamenode,
int i,
org.pentaho.metastore.api.IMetaStore metaStore)
Deprecated.
|
protected String |
loadSourceRep(Repository rep,
ObjectId id_step,
int i)
Deprecated.
|
void |
loadXML(Node stepnode,
List<DatabaseMeta> databases,
org.pentaho.metastore.api.IMetaStore metaStore)
Deprecated.
Load the values for this step from an XML Node
|
boolean |
noEmptyLines()
Deprecated.
|
void |
readRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId id_step,
List<DatabaseMeta> databases)
Deprecated.
Read the steps information from a Kettle repository
|
void |
saveRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId id_transformation,
ObjectId id_step)
Deprecated.
Save the steps data into a Kettle repository
|
protected void |
saveSource(StringBuilder retVal,
String source)
Deprecated.
|
protected void |
saveSourceRep(Repository rep,
ObjectId id_transformation,
ObjectId id_step,
int i,
String fileName)
Deprecated.
|
void |
searchInfoAndTargetSteps(List<StepMeta> steps)
Deprecated.
Change step names into step objects to allow them to be name-changed etc.
|
void |
setAcceptingField(String fileNameField)
Deprecated.
|
void |
setAcceptingFilenames(boolean getFileFromJob)
Deprecated.
|
void |
setAcceptingStep(StepMeta acceptingStep)
Deprecated.
|
void |
setAcceptingStepName(String acceptingStep)
Deprecated.
|
void |
setAddResultFile(boolean isaddresult)
Deprecated.
|
void |
setBreakInEnclosureAllowed(boolean breakInEnclosureAllowed)
Deprecated.
|
void |
setDateFormatLenient(boolean dateFormatLenient)
Deprecated.
|
void |
setDateFormatLocale(Locale dateFormatLocale)
Deprecated.
|
void |
setDefault()
Deprecated.
Set default values
|
void |
setEnclosure(String enclosure)
Deprecated.
|
void |
setEncoding(String encoding)
Deprecated.
|
void |
setErrorCountField(String errorCountField)
Deprecated.
|
void |
setErrorFieldsField(String errorFieldsField)
Deprecated.
|
void |
setErrorFilesDestinationDirectory(String errorFilesDestinationDirectory)
Deprecated.
|
void |
setErrorIgnored(boolean errorIgnored)
Deprecated.
|
void |
setErrorLineFilesExtension(String errorLineFilesExtension)
Deprecated.
|
void |
setErrorLineSkipped(boolean errorLineSkipped)
Deprecated.
|
void |
setErrorTextField(String errorTextField)
Deprecated.
|
void |
setEscapeCharacter(String escapeCharacter)
Deprecated.
|
void |
setExcludeFileMask(String[] excludeFileMask)
Deprecated.
|
void |
setExtensionField(String field)
Deprecated.
|
void |
setFileCompression(String fileCompression)
Deprecated.
|
void |
setFileErrorField(String field)
Deprecated.
|
void |
setFileErrorMessageField(String field)
Deprecated.
|
void |
setFileFormat(String fileFormat)
Deprecated.
|
void |
setFileMask(String[] fileMask)
Deprecated.
|
void |
setFileName(String[] fileName)
Deprecated.
|
void |
setFilenameField(String filenameField)
Deprecated.
|
void |
setFileNameForTest(String[] fileName)
Deprecated.
|
void |
setFileRequired(String[] fileRequiredin)
Deprecated.
|
void |
setFileType(String fileType)
Deprecated.
|
void |
setFilter(TextFileFilter[] filter)
Deprecated.
|
void |
setFooter(boolean footer)
Deprecated.
|
void |
setHeader(boolean header)
Deprecated.
|
void |
setIncludeFilename(boolean includeFilename)
Deprecated.
|
void |
setIncludeRowNumber(boolean includeRowNumber)
Deprecated.
|
void |
setIncludeSubFolders(String[] includeSubFoldersin)
Deprecated.
|
void |
setInputFields(TextFileInputField[] inputFields)
Deprecated.
|
void |
setIsHiddenField(String field)
Deprecated.
|
void |
setLastModificationDateField(String field)
Deprecated.
|
void |
setLayoutPaged(boolean layoutPaged)
Deprecated.
|
void |
setLineNumberFilesDestinationDirectory(String lineNumberFilesDestinationDirectory)
Deprecated.
|
void |
setLineNumberFilesExtension(String lineNumberFilesExtension)
Deprecated.
|
void |
setLineWrapped(boolean lineWrapped)
Deprecated.
|
void |
setNoEmptyLines(boolean noEmptyLines)
Deprecated.
|
void |
setNrFooterLines(int nrFooterLines)
Deprecated.
|
void |
setNrHeaderLines(int nrHeaderLines)
Deprecated.
|
void |
setNrLinesDocHeader(int nrLinesDocHeader)
Deprecated.
|
void |
setNrLinesPerPage(int nrLinesPerPage)
Deprecated.
|
void |
setNrWraps(int nrWraps)
Deprecated.
|
void |
setPassingThruFields(boolean passingThruFields)
Deprecated.
|
void |
setPathField(String field)
Deprecated.
|
void |
setRootUriField(String field)
Deprecated.
|
void |
setRowLimit(long rowLimit)
Deprecated.
|
void |
setRowNumberByFile(boolean rowNumberByFile)
Deprecated.
|
void |
setRowNumberField(String rowNumberField)
Deprecated.
|
void |
setSeparator(String separator)
Deprecated.
|
void |
setShortFileNameField(String field)
Deprecated.
|
void |
setSizeField(String field)
Deprecated.
|
void |
setSkipBadFiles(boolean value)
Deprecated.
|
void |
setUriField(String field)
Deprecated.
|
void |
setWarningFilesDestinationDirectory(String warningFilesDestinationDirectory)
Deprecated.
|
void |
setWarningFilesExtension(String warningFilesExtension)
Deprecated.
|
boolean |
supportsErrorHandling()
Deprecated.
|
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, 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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyseImpact, analyseImpact, cancelQueries, check, cleanAfterHopFromRemove, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, extractStepMetadataEntries, 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, setParentStepMeta
public 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
in interface InputFileMetaInterface
public void setInputFields(TextFileInputField[] inputFields)
inputFields
- The input fields to set.public String getEnclosure()
getEnclosure
in interface InputFileMetaInterface
public 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
in interface InputFileMetaInterface
public 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
in interface InputFileMetaInterface
public void setHeader(boolean header)
header
- The header to set.public boolean includeFilename()
includeFilename
in interface InputFileMetaInterface
public void setIncludeFilename(boolean includeFilename)
includeFilename
- The includeFilename to set.public boolean includeRowNumber()
includeRowNumber
in interface InputFileMetaInterface
public 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
in interface InputFileMetaInterface
public 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<DatabaseMeta> databases, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleXMLException
StepMetaInterface
loadXML
in interface StepMetaInterface
loadXML
in class BaseStepMeta
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 Object clone()
StepMetaInterface
clone
in interface StepMetaInterface
clone
in class BaseStepMeta
public void allocate(int nrfiles, int nrfields, int nrfilters)
public void allocateFiles(int nrFiles)
public void setDefault()
StepMetaInterface
setDefault
in interface StepMetaInterface
public void getFields(RowMetaInterface row, String name, RowMetaInterface[] info, StepMeta nextStep, VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleStepException
BaseStepMeta
getFields
in interface StepMetaInterface
getFields
in class BaseStepMeta
row
- 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 exception@Deprecated public void getFields(RowMetaInterface inputRowMeta, String name, RowMetaInterface[] info, StepMeta nextStep, VariableSpace space) throws KettleStepException
BaseStepMeta
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 variablesKettleStepException
- the kettle step exceptionpublic String getXML()
BaseStepMeta
getXML
in interface StepMetaInterface
getXML
in class BaseStepMeta
public String getLookupStepname()
public void searchInfoAndTargetSteps(List<StepMeta> steps)
BaseStepMeta
searchInfoAndTargetSteps
in interface StepMetaInterface
searchInfoAndTargetSteps
in class BaseStepMeta
steps
- optionally search the info step in a list of stepspublic String[] getInfoSteps()
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 BaseStepMeta
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 BaseStepMeta
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 String[] getFilePaths(VariableSpace space)
getFilePaths
in interface InputFileMetaInterface
public FileInputList getTextFileList(VariableSpace space)
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)
StepMetaInterface
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 fieldspublic StepInterface getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta transMeta, Trans trans)
StepMetaInterface
getStep
in interface StepMetaInterface
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 infotrans
- The launching transformationpublic StepDataInterface getStepData()
StepMetaInterface
getStepData
in interface StepMetaInterface
public String getEscapeCharacter()
getEscapeCharacter
in interface InputFileMetaInterface
public void setEscapeCharacter(String escapeCharacter)
escapeCharacter
- The escapeCharacter to set.public String getErrorCountField()
getErrorCountField
in interface InputFileMetaInterface
public void setErrorCountField(String errorCountField)
public String getErrorFieldsField()
getErrorFieldsField
in interface InputFileMetaInterface
public void setErrorFieldsField(String errorFieldsField)
public boolean isErrorIgnored()
isErrorIgnored
in interface InputFileMetaInterface
public void setErrorIgnored(boolean errorIgnored)
public String getErrorTextField()
getErrorTextField
in interface InputFileMetaInterface
public 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
in interface InputFileMetaInterface
public 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
in interface InputFileMetaInterface
public 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
in interface InputFileMetaInterface
public int getFileTypeNr()
public List<ResourceReference> getResourceDependencies(TransMeta transMeta, StepMeta stepInfo)
BaseStepMeta
getResourceDependencies
in interface StepMetaInterface
getResourceDependencies
in class BaseStepMeta
public String exportResources(VariableSpace space, Map<String,ResourceDefinition> definitions, ResourceNamingInterface resourceNamingInterface, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleException
exportResources
in interface StepMetaInterface
exportResources
in class BaseStepMeta
space
- 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.KettleException
public boolean supportsErrorHandling()
supportsErrorHandling
in interface StepMetaInterface
supportsErrorHandling
in class BaseStepMeta
public StepMetaInjectionInterface getStepMetaInjectionInterface()
getStepMetaInjectionInterface
in interface StepMetaInterface
getStepMetaInjectionInterface
in class BaseStepMeta
public 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, ObjectId id_step, int i) throws KettleException
KettleException
protected void saveSourceRep(Repository rep, ObjectId id_transformation, ObjectId id_step, int i, String fileName) throws KettleException
KettleException
Copyright © 2018 Hitachi Vantara. All rights reserved.