Base64 等效
cf1 => Y2Yx
col1 => Y29sMQ==
key1 => a2V5MQ==
cf2=> Y2Yy
col2 => Y29sMg==
操作员(操作):LESS,LESS_OR_EQUAL,EQUAL,NOT_EQUAL,GREATER_OR_EQUAL,GREATER,NO_OP;
过滤器列表(操作):MUST_PASS_ALL,MUST_PASS_ONE
{
“类型”:“过滤器列表”,
"op": "MUST_PASS_ONE",
“过滤器”:[{
“类型”:“过滤器列表”,
"op": "MUST_PASS_ALL",
“过滤器”:[{
"type": "FamilyFilter",
"op": "相等",
“比较器”:{
"type": "BinaryComparator",
“值”:“Y2Yx”
}
}, {
"type": "QualifierFilter",
"op": "相等",
“比较器”:{
"type": "BinaryComparator",
“值”:“Y29sMQ ==”
}
}, {
“类型”:“行过滤器”,
"op": "相等",
“比较器”:{
"type": "BinaryComparator",
“价值”:“a2V5MQ==
}
}]
}, {
“类型”:“过滤器列表”,
"op": "MUST_PASS_ALL",
“过滤器”:[{
"type": "FamilyFilter",
"op": "相等",
“比较器”:{
"type": "BinaryComparator",
“值”:“Y2Yy”
}
}, {
"type": "QualifierFilter",
"op": "相等",
“比较器”:{
"type": "BinaryComparator",
“值”:“Y29sMg==
}
}]
}]
}
$ curl -i -H "Content-Type: text/xml" -d @complex_filter.txt http://shva1.hwxblr.com:9292/datatable/scanner
HTTP/1.1 201 创建位置:http ://shva1.hwxblr.com:9292/datatable/scanner/146513894809742c1664a
样本输出
$ curl -i -H "接受:应用程序/json" http://shva1.hwxblr.com:9292/datatable/scanner/146513894809742c1664a
{"行":[{"key":"a2V5MQ==","Cell":[{"column":"Y2YxOmNvbDE=","timestamp":1465135446446,"$":"dmFsdWUx"}]},{ "key":"a2V5Mg==","Cell":[{"column":"Y2YyOmNvbDI=","timestamp":1465135481068,"$":"dmFsdWUy"}]},{"key":"a2V5Mw= =","单元格":[{"column":"Y2YyOmNvbDI=","timestamp":1465137232291,"$":"dmFsdWUz"}]}]}