- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The sequence parser will load data from a column in a source data table and convert values into graph connections between entities.
It inherits attributes and behaviors from its parent: abstract parser - column.
As long as the values in the source data column are increasing, successive entities will be connected by graph edges.
Attribute - root_value
The root_value attribute is optional.
{
"parser_type": "sequence",
"column": "ccc1",
// Whenever the root value is identified in the source data column,
// the sequence to previous entities will break and begin anew
// after this point.
//
"root_value": ####,
"collection": "collection_name",
"variable": "variable_name"
}
Attribute - tie_method
The tie_method attribute is optional. It will default to "serial".
{
"parser_type": "sequence",
"column": "ccc1",
// Tie method determines the edges that will be
// created in the graph when multiple entities occur
// at the same sequence position.
//
// "serial" - entities will be connected in serial order of identification
// "parallel - all entities at the same sequence point will be connected
//
"tie_method": ####,
"collection": "collection_name",
"variable": "variable_name"
}
Attribute - break_column
The break_column attribute is optional.
{
"parser_type": "sequence",
"column": "ccc1",
// A categorical type inner parser. When a value is emitted
// from this parser, the sequence of entities will be broken
// and begin anew after this point.
//
"break_column": {...}
"collection": "collection_name",
"variable": "variable_name"
}
Was this article helpful?