Class WordCountLookupMapper

    • Constructor Detail

      • WordCountLookupMapper

        public WordCountLookupMapper()
    • Method Detail

      • toTuple

        public List<Values> toTuple​(ITuple input,
                                    Object value)
        Description copied from interface: RedisLookupMapper
        Converts return value from Redis to a list of storm values that can be emitted.
        Specified by:
        toTuple in interface RedisLookupMapper
        Parameters:
        input - the input tuple.
        value - Redis query response value. Can be String, Boolean, Long regarding of data type.
        Returns:
        a List of storm values that can be emitted. Each item in list is emitted as an output tuple.