Class ValueIterableRdbValueVisitor
- java.lang.Object
-
- com.moilioncircle.redis.replicator.rdb.RdbValueVisitor
-
- com.moilioncircle.redis.replicator.rdb.DefaultRdbValueVisitor
-
- com.moilioncircle.redis.replicator.rdb.iterable.ValueIterableRdbValueVisitor
-
public class ValueIterableRdbValueVisitor extends DefaultRdbValueVisitor
- Since:
- 3.1.0
- Author:
- Leon Chen
-
-
Field Summary
-
Fields inherited from class com.moilioncircle.redis.replicator.rdb.DefaultRdbValueVisitor
logger, replicator
-
-
Constructor Summary
Constructors Constructor Description ValueIterableRdbValueVisitor(Replicator replicator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
applyHash(RedisInputStream in, int version)
<T> T
applyHashListPack(RedisInputStream in, int version)
<T> T
applyHashZipList(RedisInputStream in, int version)
<T> T
applyHashZipMap(RedisInputStream in, int version)
<T> T
applyList(RedisInputStream in, int version)
<T> T
applyListQuickList(RedisInputStream in, int version)
<T> T
applyListQuickList2(RedisInputStream in, int version)
<T> T
applyListZipList(RedisInputStream in, int version)
<T> T
applySet(RedisInputStream in, int version)
<T> T
applySetIntSet(RedisInputStream in, int version)
<T> T
applyZSet(RedisInputStream in, int version)
<T> T
applyZSet2(RedisInputStream in, int version)
<T> T
applyZSetListPack(RedisInputStream in, int version)
<T> T
applyZSetZipList(RedisInputStream in, int version)
-
Methods inherited from class com.moilioncircle.redis.replicator.rdb.DefaultRdbValueVisitor
applyFunction, applyFunction2, applyModule, applyModule2, applyStreamListPacks, applyStreamListPacks2, applyString, lookupModuleParser
-
-
-
-
Constructor Detail
-
ValueIterableRdbValueVisitor
public ValueIterableRdbValueVisitor(Replicator replicator)
-
-
Method Detail
-
applyList
public <T> T applyList(RedisInputStream in, int version) throws IOException
- Overrides:
applyList
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applySet
public <T> T applySet(RedisInputStream in, int version) throws IOException
- Overrides:
applySet
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyZSet
public <T> T applyZSet(RedisInputStream in, int version) throws IOException
- Overrides:
applyZSet
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyZSet2
public <T> T applyZSet2(RedisInputStream in, int version) throws IOException
- Overrides:
applyZSet2
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyHash
public <T> T applyHash(RedisInputStream in, int version) throws IOException
- Overrides:
applyHash
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyHashZipMap
public <T> T applyHashZipMap(RedisInputStream in, int version) throws IOException
- Overrides:
applyHashZipMap
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyListZipList
public <T> T applyListZipList(RedisInputStream in, int version) throws IOException
- Overrides:
applyListZipList
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applySetIntSet
public <T> T applySetIntSet(RedisInputStream in, int version) throws IOException
- Overrides:
applySetIntSet
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyZSetZipList
public <T> T applyZSetZipList(RedisInputStream in, int version) throws IOException
- Overrides:
applyZSetZipList
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyZSetListPack
public <T> T applyZSetListPack(RedisInputStream in, int version) throws IOException
- Overrides:
applyZSetListPack
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyHashZipList
public <T> T applyHashZipList(RedisInputStream in, int version) throws IOException
- Overrides:
applyHashZipList
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyHashListPack
public <T> T applyHashListPack(RedisInputStream in, int version) throws IOException
- Overrides:
applyHashListPack
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyListQuickList
public <T> T applyListQuickList(RedisInputStream in, int version) throws IOException
- Overrides:
applyListQuickList
in classDefaultRdbValueVisitor
- Throws:
IOException
-
applyListQuickList2
public <T> T applyListQuickList2(RedisInputStream in, int version) throws IOException
- Overrides:
applyListQuickList2
in classDefaultRdbValueVisitor
- Throws:
IOException
-
-