Re: Redis KEYS command?

2018-03-28 Thread aealexsandrov
Hi Jose,

All availavle information about ingine/redis compatibility you can see here:

https://apacheignite.readme.io/docs/redis

If you are going tobe informed about the last information about future
integrations then you can read articleы from еру official site:

https://www.gridgain.com/search#!/?s=Redis

Best Regards,
Andrei 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Redis KEYS command?

2018-03-28 Thread Andrey Mashenkov
Hi,

As I understand, you need this command in SQL query, right?
AFAIK, there is no plans to add Redis dialect support.

If you need a way to achieve same results via SQL query (JDBC\ODBC for
example),
you can try to use custom SQL functions [1].


[1] https://apacheignite-sql.readme.io/docs/custom-sql-functions


On Tue, Mar 27, 2018 at 8:26 PM, joseheitor  wrote:

> Thanks for the suggestion Andrey.
>
> We are wishing to keep our code-base compatible with Redis, so not
> Ignite-specific code.
>
> But we do need support for the Redis KEYS command...
>
> Jose
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>



-- 
Best regards,
Andrey V. Mashenkov


Re: Redis KEYS command?

2018-03-27 Thread joseheitor
Thanks for the suggestion Andrey.

We are wishing to keep our code-base compatible with Redis, so not
Ignite-specific code.

But we do need support for the Redis KEYS command...

Jose



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Redis KEYS command?

2018-03-27 Thread Andrey Mashenkov
Hi,

Ignite stores keys in binary format, and for now the only way is to use
ScanQuery with filter (to filter out entries) and transformer (to return
keys instead of whole entries).

It will look smth like:
cache.query(new ScanQuery(filterPredicate), transformerClosure)

Is is what you are looking for or you expect some other behavior?

On Tue, Mar 27, 2018 at 5:04 PM, joseheitor  wrote:

> Hi,
>
> Is there any intention of implementing support for the Redis KEYS command
> in
> the near future?
>
> Jose
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>



-- 
Best regards,
Andrey V. Mashenkov


Redis KEYS command?

2018-03-27 Thread joseheitor
Hi,

Is there any intention of implementing support for the Redis KEYS command in
the near future?

Jose



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/