I’ve gotta point out, I love that this is reminding me of Apache Pig.
{
“resultset”: [
{
“input”: {
“expr”: {
“operands”: [
{
“left”: {
“left”: {
“path”: “testbucket”,
“type”: “property”
},
“right”: {
“path”: “age”,
“type”: “property”
},
“type”: “dot_member”
},
“right”: {
“type”: “literal_number”,
“value”: 5
},
“type”: “greater_than”
},
{
“left”: {
“left”: {
“path”: “testbucket”,
“type”: “property”
},
“right”: {
“path”: “name”,
“type”: “property”
},
“type”: “dot_member”
},
“right”: {
“type”: “literal_string”,
“value”: “Corey Nolet”
},
“type”: “equals”
}
],
“type”: “and”
},
“input”: {
“as”: “testbucket”,
“bucket”: “testbucket”,
“ids”: null,
“input”: {
“as”: “”,
“bucket”: “testbucket”,
“cover”: false,
“index”: “age”,
“pool”: “default”,
“ranges”: [
{
“inclusion”: “high”,
“limit”: 0,
“low”: [
5
]
}
],
“type”: “scan”
},
“pool”: “default”,
“projection”: null,
“type”: “fetch”
},
“type”: “filter”
},
“result”: [
{
“as”: “age”,
“expr”: {
“left”: {
“path”: “testbucket”,
“type”: “property”
},
“right”: {
“path”: “age”,
“type”: “property”
},
“type”: “dot_member”
},
“star”: false
},
{
“as”: “name”,
“expr”: {
“left”: {
“path”: “testbucket”,
“type”: “property”
},
“right”: {
“path”: “name”,
“type”: “property”
},
“type”: “dot_member”
},
“star”: false
}
],
“type”: “projector”
}
],
“info”: [
{
“caller”: “http_response:152”,
“code”: 100,
“key”: “total_rows”,
“message”: “1”
},
{
“caller”: “http_response:154”,
“code”: 101,
“key”: “total_elapsed_time”,
“message”: “2.131262ms”
}
]
}