344 hash m_resolve_by_rule;
349 AbstractLineIterator lineIterator;
554 string getEncoding();
558 string getFileName();
562 hash<Qore::StatInfo>
hstat();
655 int m_linescount = 0;
689 string formatLine(
hash line);
890 string getFileName();
1021 string write(
list lines);
1056 string write(
hash line);
auto transform(auto value, hash type)
parses the input value based on global configuration and the current field definition ...
Structured line iterator for abstract data allowing efficient "pipelined" processing.
Definition: FixedLengthUtil.qm.dox.h:339
const EOL_UNIX
Unix end of line character sequence (for new OS X too)
Definition: FixedLengthUtil.qm.dox.h:324
const EOL_WIN
MS DOS/Windows end of line character sequence.
Definition: FixedLengthUtil.qm.dox.h:326
StreamWriter output
the output stream for the fixed-length data
Definition: FixedLengthUtil.qm.dox.h:745
string file
file name
Definition: FixedLengthUtil.qm.dox.h:874
Writer class for fixed-length line string data.
Definition: FixedLengthUtil.qm.dox.h:993
Structured line iterator for fixed-length line strings allowing efficient "pipelined" processing...
Definition: FixedLengthUtil.qm.dox.h:606
*hash getValue()
Returns the current record as a hash.
string identifyType(string input_line)
Identify a fixed-length line type using identifyTypeImpl(), that may be overridden if necessary...
Structured line iterator for fixed-length line files allowing efficient "pipelined" processing...
Definition: FixedLengthUtil.qm.dox.h:535
bool checkTransition(*string from, *string to)
A verification function to be called for each line. This method can be overridden to achieve a begin-...
*string identifyTypeImpl(string input_line)
Identify a fixed-length line type, given the raw line string. This method performs a lookup to a prec...
*hash< StatInfo > hstat(string path)
const EOL_MACINTOSH
Old (pre-OSX) Macintosh end of line character sequence.
Definition: FixedLengthUtil.qm.dox.h:328
bool next()
Moves the current line / record position to the next line / record; returns False if there are no mor...
hash m_resolve_by_length
hash of type without rule, i.e.potentially conflicting records; key = record length, value = list of no-rule type names
Definition: FixedLengthUtil.qm.dox.h:347
The FixedLengthIterator class allows CSV sources to be iterated on a record basis. The source of the input data is an AbstractLineIterator object or an InputStream.
Definition: FixedLengthUtil.qm.dox.h:441
The FixedLengthUtil namespace contains all the definitions in the FixedLengthUtil module...
Definition: FixedLengthUtil.qm.dox.h:322
Structured abstract writer for fixed-length lines.
Definition: FixedLengthUtil.qm.dox.h:649
Writer for fixed-length line output data.
Definition: FixedLengthUtil.qm.dox.h:740
constructor(AbstractLineIterator li, hash spec, *hash opts)
Instantiates the FixedLengthAbstractIterator object.
Writer for fixed-length line output files.
Definition: FixedLengthUtil.qm.dox.h:869
string m_file_path
the path of the file being iterated
Definition: FixedLengthUtil.qm.dox.h:540
*hash checkOptions(*hash opts)
Validate and prepare global fixed-length options.