public abstract class BaseFileOutputMeta extends BaseFileMeta
Modifier and Type | Field and Description |
---|---|
protected boolean |
dateInFilename
Flag: add the date in the filename
|
protected String |
extension
The file extention in case of a generated filename
|
protected String |
fileName
The base name of the output file
|
protected boolean |
partNrInFilename
Flag: add the partition number in the filename
|
protected boolean |
stepNrInFilename
Flag: add the stepnr in the filename
|
protected boolean |
timeInFilename
Flag: add the time in the filename
|
servletOutput
attributes, databases, ioMeta, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
Constructor and Description |
---|
BaseFileOutputMeta() |
passDataToServletOutput, writesToFile
analyseImpact, analyseImpact, cancelQueries, check, check, check, clone, createEntry, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, findAttribute, findParent, findParentEntry, getActiveReferencedObjectDescription, getDescription, getDialogClassName, getFields, getFields, getLog, getLogChannelId, getName, getObjectCopy, getObjectId, getObjectRevision, getObjectType, getOptionalStreams, getParent, getParentStepMeta, getReferencedObjectDescriptions, getRepCode, getRepositoryDirectory, getRequiredFields, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStepInjectionMetadataEntries, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getTooltip, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, getXML, getXmlCode, handleStreamSelection, hasChanged, hasRepositoryReferences, isBasic, isDebug, isDetailed, isReferencedObjectEnabled, isRowLevel, loadReferencedObject, loadReferencedObject, loadStepAttributes, loadXML, loadXML, loadXML, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, lookupRepositoryReferences, readRep, readRep, readRep, resetStepIoMeta, saveRep, saveRep, searchInfoAndTargetSteps, setChanged, setChanged, setParentStepMeta, supportsErrorHandling
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyseImpact, analyseImpact, cancelQueries, check, check, cleanAfterHopFromRemove, clone, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, getActiveReferencedObjectDescription, getDialogClassName, getFields, getFields, getOptionalStreams, getParentStepMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStep, getStepData, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, getXML, handleStreamSelection, hasChanged, hasRepositoryReferences, isReferencedObjectEnabled, loadReferencedObject, loadXML, loadXML, lookupRepositoryReferences, readRep, readRep, resetStepIoMeta, saveRep, saveRep, searchInfoAndTargetSteps, setChanged, setDefault, setParentStepMeta, supportsErrorHandling
protected boolean stepNrInFilename
protected boolean partNrInFilename
protected boolean dateInFilename
protected boolean timeInFilename
protected String extension
protected String fileName
public String getExtension()
public void setExtension(String extension)
public String getFileName()
public void setFileName(String fileName)
public abstract int getSplitEvery()
public abstract void setSplitEvery(int splitEvery)
public boolean isFileAsCommand()
public void setFileAsCommand(boolean fileAsCommand)
public boolean isSpecifyingFormat()
public void setSpecifyingFormat(boolean specifyingFormat)
public String getDateTimeFormat()
public void setDateTimeFormat(String dateTimeFormat)
public boolean isTimeInFilename()
public boolean isDateInFilename()
public boolean isPartNrInFilename()
public boolean isStepNrInFilename()
public String getFileCompression()
public void setFileCompression(String fileCompression)
public String[] getFiles(VariableSpace space)
protected String getPartPrefix()
public String buildFilename(VariableSpace space, String stepnr, String partnr, String splitnr, boolean ziparchive)
public String buildFilename(VariableSpace space, String stepnr, String partnr, String splitnr, boolean ziparchive, boolean showSamples)
public String[] getFilePaths(boolean showSamples)
getFilePaths
in class BaseFileMeta
showSamples
- determines whether the paths being returned are dummy samples or the "template" representation.
The samples woulc include things like sample step number, partition number etc (
filename_0_1.txt) , while the non-sample path would include a token (
filename_<step>_<partition>.<extension>)Copyright © 2018 Hitachi Vantara. All rights reserved.