New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[STORM-1880] Support EXISTS Command Storm-Redis #1479
Conversation
@@ -23,7 +23,7 @@ | |||
* RedisDataTypeDescription defines data type and additional key if needed for lookup / store tuples. | |||
*/ | |||
public class RedisDataTypeDescription implements Serializable { | |||
public enum RedisDataType { STRING, HASH, LIST, SET, SORTED_SET, HYPER_LOG_LOG, GEO } | |||
public enum RedisDataType { STRING, HASH, LIST, SET, SORTED_SET, HYPER_LOG_LOG, GEO, EXISTS } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not fully aware of Redis terminology but EXISTS doesn't look like a data type. How do these data types relate to the redis operation. e.g. SORTED_SET and zscore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes . Maybe we should rename RedisDataType
to Command
it's more suitable .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would recommend that if RedisDataType is internal to storm code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zscore
is a function about Sorted Set
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RedisMapper
point out RedisDataType
is hard to internal it into storm code ? I'm not sure ...
Hi @darionyaphet. |
Yes I have realized that Should we split data and operation into difference bolt ? |
@darionyaphet I'm curious that |
@HeartSaVioR check |
@darionyaphet |
+1 for a filter bolt. |
filter bolt seems better |
OK. Filed STORM-1919 for FilterBolt. @darionyaphet Since I have an idea in mind how to implement this, so if you don't mind I'll work on STORM-1919. Are you OK with it? |
Sure . I will close it :) |
STORM-1880
add exists command in storm-redis LookupBolt