Events-csv Concepts

From NovaOrdis Knowledge Base
Revision as of 18:53, 28 August 2017 by Ovidiu (talk | contribs) (→‎Internal)
Jump to navigation Jump to search

Internal

Tokenization

The empty strings found between commas are interpreted as "missing value".

The quoted empty strings found between commas are interpreted as empty strings.

CSV Format

Headers can be specified in-line. A header is prefixed with '#' and specifies the fields:

# timestamp(MM/dd/yy HH:mm:ss), collection-type(string), heap-occupancy(long)

Multiple headers are supported in the CSV line stream, and the parser adjust upon receiving a header, by parsing the data lines according to the latest header seen on the stream.

Comment lines are not allowed.

CSV Field

CSV Field Specification

"timestamp", "timestamp(yy/MM/dd HH:mm:ss)", "timestamp(time:yy/MM/dd HH:mm:ss)"

"something", "something(string)"

"something(int)"

"something(long)"

"something(float)"

"something(double)"

"something(time)"