blob: 31507c41c3502ce0c2096d70df7f90d4d86dde97 [file] [log] [blame]
{
"context": {
"platforms": [
"java",
"spark"
],
"origin": "python"
},
"operators": [
{
"id": 1,
"cat": "input",
"input": [],
"output": [2],
"operatorName": "textFileInput",
"data": {
"filename": "file:///var/www/html/data/wordcount-out-python.txt"
}
},
{
"id": 2,
"cat": "unary",
"input": [1],
"output": [3],
"operatorName": "map",
"data": {
"udf": "(s: String) => s.toInt"
}
},
{
"id": 3,
"cat": "unary",
"input": [2],
"output": [4],
"operatorName": "map",
"data": {
"udf": "(x: Int) => x + 1"
}
},
{
"id": 4,
"cat": "unary",
"input": [3],
"output": [5],
"operatorName": "filter",
"data": {
"udf": "(x: Int) => x >= 5"
}
},
{
"id": 5,
"cat": "output",
"input": [4],
"output": [],
"operatorName": "textFileOutput",
"data": {
"filename": "file:///var/www/html/data/wordcount-out-python.txt"
}
}
]
}