|
The Flat File export node outputs data to a delimited text file. It is useful for exporting
data that can be read by other analysis or spreadsheet software.
|
Example
stream = modeler.script.stream()
outputfile = stream.createAt("outputfile", "File Output", 200, 200)
outputfile.setPropertyValue("full_filename", "c:/output/flatfile_output.txt")
outputfile.setPropertyValue("write_mode", "Append")
outputfile.setPropertyValue("inc_field_names", False)
outputfile.setPropertyValue("use_newline_after_records", False)
outputfile.setPropertyValue("delimit_mode", "Tab")
outputfile.setPropertyValue("other_delimiter", ",")
outputfile.setPropertyValue("quote_mode", "Double")
outputfile.setPropertyValue("other_quote", "*")
outputfile.setPropertyValue("decimal_symbol", "Period")
outputfile.setPropertyValue("generate_import", True)
Table 1. outputfilenode properties
outputfilenode properties |
Data type |
Property description |
full_filename
|
string
|
Name of output file. |
write_mode
|
Overwrite
Append
|
|
inc_field_names
|
flag
|
|
use_newline_after_records
|
flag
|
|
delimit_mode
|
Comma
Tab
Space
Other
|
|
other_delimiter
|
char
|
|
quote_mode
|
None
Single
Double
Other
|
|
other_quote
|
flag
|
|
generate_import
|
flag
|
|
encoding
|
StreamDefault
SystemDefault
"UTF-8"
|
|