Skip to content

Instantly share code, notes, and snippets.

@hidenorigoto
Last active December 28, 2016 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hidenorigoto/f5458741ce67a8c108cd6be218e1e3f4 to your computer and use it in GitHub Desktop.
Save hidenorigoto/f5458741ce67a8c108cd6be218e1e3f4 to your computer and use it in GitHub Desktop.
{
"sets": [
{
"name":"set1",
"fields":[
"id","name","email"
]
},
{
"name":"set2",
"fields":[
"id","name","email"
]
}
],
"flow": [
{
"id": "op1",
"input": ["set1"],
"function":"filter",
"argument": {
"field":"email",
"operator":"contains",
"operand":"gmail"
},
"comment":"メールアドレスにgmailを含む"
},
{
"id":"op2",
"input": ["set2"],
"function":"filter",
"argument": {
"field":"name",
"operator":"not_contains",
"operand":"yahoo"
},
"comment":"メールアドレスにyahooを含まない"
},
{
"id":"op3",
"input": ["op1","op2"],
"function":"union",
"comment":"op1とop2の結果を結合"
},
{
"id":"op4",
"input": ["op3"],
"function":"select",
"argument": {
"map":{
"名前":"name",
"メールアドレス":"email"
}
},
"comment":"出力を整形"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment