Redis is a key-value store that contains a list of keys and values. The value of each key is a particular type, including HASH, LIST, and STRING.
Redis Connector supports HASH, LIST, and STRING key types. The supported key types can have the following values:
•HASH value type is a list of binary-string-key and binary-string-value pairs.
•LIST value type is a list of binary-string values.
•STRING value type is a single binary-string value.
The fields in Redis sources match the corresponding schema as shown in the following table. For Redis targets, the mapped incoming fields must exactly match the corresponding schema as shown in the following table:
Key types
If flat hierarchy is not enabled
If flat hierarchy is enabled
HASH
Schema at source is inferred from sampling the data object.
Schema at target is inferred from mapped incoming fields.
Targets must have an "_id" field.
_id string
hkey string
value string
LIST
_id string
value array of string
_id string
value string
STRING
_id string
value string
_id string
value string
You can use an Expression or Hierarchy Processor transformation to obtain the required schema for the target.