CompiledTemplateOutput

CompiledTemplateOutput

Generic output. The RowDataDTO's are formatted by a template which can be specified within the xml file. The template is pure Java and represents the body of the method: FileNameTemplateSuperClass.public void writeLine(bankmark.pdgf.core.dataGenerator.beans.FieldValueDTO [] fields, bankmark.pdgf.util.caching.EncodingCharLineCache buffer). The contents of the provided FieldValueDTO[] must! be appended to the provided buffer.

Attributes
Name Description Required Min Max Allowed Values
name (Class)Name of this element. Used to identify plugin Class. Full name is required. Example: com.en.myPluginPackage.myPuginClass yes 1 1
active Boolean flag if this output is active/used no 0 1
  • true
  • false
  • 0
  • 1
id Identification String of this element. May be used to uniquely identify a field within the children of an Element. no 0 1
Nodes
Name Description Required Min Max Allowed Values
template Template for output formatting. yes 1 1
fileTemplate Content type: Java code
Generic directory and filename of file to put the generated data in. Available variables: project, table, tableID, timeID, output, nodeCount, nodeNumber, outputDir, fileEnding
yes 1 1
delimiter Content type: Character
Delimiter char used in CSV. examples: { , ; | \t}.
no 0 1
fileEnding Content type: String
Ending of output files.
no 0 1
appendToFiles Content type: Boolean
True: Append to existing files False: overwrite/create files (default)
no 0 1
  • true
  • false
  • 0
  • 1
bufferSize Content type: Integer
Buffersize for output. Buffersize is the amount of bytes cached before a write to a file occurs.
no 0 1
outputDir Content type: String (must be a valid filesystem path)
Directory to put the generated files in.
no 0 1
sortByRowID Content type: Boolean
Enables sorting of RowDataDTOs by rowId.
no 0 1
  • true
  • false
  • 0
  • 1
charset Content type: String
Charset used for output encoding.
no 0 1
2.7-83fb0 | 2020-04-22