Base64 相当
cf1 => Y2Yx
col1 => Y29sMQ==
key1 => a2V5MQ==
cf2=> Y2Yy
col2 => Y29sMg==
OPERATORS(op) : LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL, GREATER_OR_EQUAL, GREATER, NO_OP;
フィルタ リスト (op) : MUST_PASS_ALL、MUST_PASS_ONE
{
"type": "FilterList",
"op": "MUST_PASS_ONE",
"フィルター": [{
"type": "FilterList",
"op": "MUST_PASS_ALL",
"フィルター": [{
"type": "FamilyFilter",
"op": "等しい",
"コンパレータ": {
"type": "BinaryComparator",
"値": "Y2Yx"
}
}、{
"type": "QualifierFilter",
"op": "等しい",
"コンパレータ": {
"type": "BinaryComparator",
"値": "Y29sMQ =="
}
}、{
"type": "RowFilter",
"op": "等しい",
"コンパレータ": {
"type": "BinaryComparator",
"値": "a2V5MQ=="
}
}]
}、{
"type": "FilterList",
"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 "Accept: application/json" http://shva1.hwxblr.com:9292/datatable/scanner/146513894809742c1664a
{"行":[{"キー":"a2V5MQ==","セル":[{"列":"Y2YxOmNvbDE=","タイムスタンプ":1465135446446,"$":"dmFsdWUx"}]},{ "key":"a2V5Mg==","Cell":[{"column":"Y2YyOmNvbDI=","timestamp":1465135481068,"$":"dmFsdWUy"}]},{"key":"a2V5Mw= =","セル":[{"列":"Y2YyOmNvbDI=","タイムスタンプ":1465137232291,"$":"dmFsdWUz"}]}]}