flow.record.adapter.line#

Module Contents#

Classes#

LineWriter

Prints all fields and values of the Record on a separate line.

Attributes#

flow.record.adapter.line.__usage__ = Multiline-String#
Show Value
"""
Line output format adapter (writer only)
---
Write usage: rdump -w line://[PATH]
[PATH]: path to file. Leave empty or "-" to output to stdout
"""
class flow.record.adapter.line.LineWriter(path, fields=None, exclude=None, **kwargs)#

Bases: flow.record.adapter.AbstractWriter

Prints all fields and values of the Record on a separate line.

fp#
write(rec)#

Write a record.

flush()#

Flush any buffered writes.

close()#

Close the Writer, no more writes will be possible.