Class: Bricolage::RedisJSONRowWriter
- Inherits:
-
RedisRowWriter
- Object
- RedisRowWriter
- Bricolage::RedisJSONRowWriter
- Defined in:
- lib/bricolage/redisdatasource.rb
Instance Attribute Summary
Attributes inherited from RedisRowWriter
Instance Method Summary collapse
Methods inherited from RedisRowWriter
#expire, for_encode, #initialize, #key, #pipelined, #value_columns, #write
Constructor Details
This class inherits a constructor from Bricolage::RedisRowWriter
Instance Method Details
#do_write(key, values) ⇒ Object
147 148 149 150 |
# File 'lib/bricolage/redisdatasource.rb', line 147 def do_write(key, values) future = @client.set(key, JSON.generate(values)) [future] end |