java - JEDIS, Query nested tables, how? - Stack Overflow

I have JSON structure in REDIS that looks something like:{"name": "value""sub

I have JSON structure in REDIS that looks something like:

{
  "name": "value"
  "subtable": {
    "sub1":{
      "subtime": 123456
    }
    "sub2":{
      "subtime": 999999
    }
  }
}

I tried to build me schema like:

addNumberField($.subtable[*].subtime,1).as("subtime")

but off course this is for an array, not a hash.

Can someone point me to documentation of doing this thru a hash?

My query looks like:

Query().addFilter(new Query.NumericFilter("subtime",999998,999999)

TIA

Tried many things, and got pretty lost.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1736197558a3867625.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信