Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

JEDIS, Query nested tables, how?

$
0
0

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.


Viewing all articles
Browse latest Browse all 2204

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>