• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

leonchen83 / redis-replicator / #2155

06 Jun 2025 04:52AM UTC coverage: 71.406% (-0.2%) from 71.609%
#2155

push

chenby
redis 8.0

3 of 33 new or added lines in 14 files covered. (9.09%)

3 existing lines in 2 files now uncovered.

6635 of 9292 relevant lines covered (71.41%)

0.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

2.63
/src/main/java/com/moilioncircle/redis/replicator/rdb/RdbVisitor.java
1
/*
2
 * Copyright 2016-2018 Leon Chen
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *     http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16

17
package com.moilioncircle.redis.replicator.rdb;
18

19
import java.io.IOException;
20

21
import com.moilioncircle.redis.replicator.event.Event;
22
import com.moilioncircle.redis.replicator.io.RedisInputStream;
23
import com.moilioncircle.redis.replicator.rdb.datatype.ContextKeyValuePair;
24
import com.moilioncircle.redis.replicator.rdb.datatype.DB;
25

26
/**
27
 * @author Leon Chen
28
 * @since 2.1.0
29
 */
30
public abstract class RdbVisitor {
1✔
31

32
    /*
33
     * rdb prefix
34
     */
35
    public String applyMagic(RedisInputStream in) throws IOException {
36
        throw new UnsupportedOperationException("must implement this method.");
×
37
    }
38

39
    public int applyVersion(RedisInputStream in) throws IOException {
40
        throw new UnsupportedOperationException("must implement this method.");
×
41
    }
42

43
    public int applyType(RedisInputStream in) throws IOException {
44
        throw new UnsupportedOperationException("must implement this method.");
×
45
    }
46

47
    /*
48
     * Function
49
     */
50
    public Event applyFunction(RedisInputStream in, int version) throws IOException {
51
        throw new UnsupportedOperationException("must implement this method.");
×
52
    }
53
    
54
    public Event applyFunction2(RedisInputStream in, int version) throws IOException {
55
        throw new UnsupportedOperationException("must implement this method.");
×
56
    }
57

58
    /*
59
     * DB
60
     */
61
    public DB applySelectDB(RedisInputStream in, int version) throws IOException {
62
        throw new UnsupportedOperationException("must implement this method.");
×
63
    }
64

65
    public DB applyResizeDB(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
66
        throw new UnsupportedOperationException("must implement this method.");
×
67
    }
68

69
    /*
70
     * checksum
71
     */
72
    public long applyEof(RedisInputStream in, int version) throws IOException {
73
        throw new UnsupportedOperationException("must implement this method.");
×
74
    }
75

76
    /*
77
     * aux
78
     */
79
    public Event applyAux(RedisInputStream in, int version) throws IOException {
80
        throw new UnsupportedOperationException("must implement this method.");
×
81
    }
82

83
    public Event applyModuleAux(RedisInputStream in, int version) throws IOException {
84
        throw new UnsupportedOperationException("must implement this method.");
×
85
    }
86

87
    /*
88
     * entity
89
     */
90
    public Event applyExpireTime(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
91
        throw new UnsupportedOperationException("must implement this method.");
×
92
    }
93

94
    public Event applyExpireTimeMs(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
95
        throw new UnsupportedOperationException("must implement this method.");
×
96
    }
97

98
    public Event applyFreq(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
99
        throw new UnsupportedOperationException("must implement this method.");
×
100
    }
101

102
    public Event applyIdle(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
103
        throw new UnsupportedOperationException("must implement this method.");
×
104
    }
105

106
    public Event applyString(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
107
        throw new UnsupportedOperationException("must implement this method.");
×
108
    }
109

110
    public Event applyList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
111
        throw new UnsupportedOperationException("must implement this method.");
×
112
    }
113

114
    public Event applySet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
115
        throw new UnsupportedOperationException("must implement this method.");
×
116
    }
117
    
118
    public Event applySetListPack(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
119
        throw new UnsupportedOperationException("must implement this method.");
×
120
    }
121

122
    public Event applyZSet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
123
        throw new UnsupportedOperationException("must implement this method.");
×
124
    }
125

126
    public Event applyZSet2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
127
        throw new UnsupportedOperationException("must implement this method.");
×
128
    }
129

130
    public Event applyHash(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
131
        throw new UnsupportedOperationException("must implement this method.");
×
132
    }
133

134
    public Event applyHashZipMap(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
135
        throw new UnsupportedOperationException("must implement this method.");
×
136
    }
137

138
    public Event applyListZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
139
        throw new UnsupportedOperationException("must implement this method.");
×
140
    }
141

142
    public Event applySetIntSet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
143
        throw new UnsupportedOperationException("must implement this method.");
×
144
    }
145

146
    public Event applyZSetZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
147
        throw new UnsupportedOperationException("must implement this method.");
×
148
    }
149
    
150
    public Event applyZSetListPack(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
151
        throw new UnsupportedOperationException("must implement this method.");
×
152
    }
153

154
    public Event applyHashZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
155
        throw new UnsupportedOperationException("must implement this method.");
×
156
    }
157
    
158
    public Event applyHashListPack(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
159
        throw new UnsupportedOperationException("must implement this method.");
×
160
    }
161

162
    public Event applyListQuickList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
163
        throw new UnsupportedOperationException("must implement this method.");
×
164
    }
165
    
166
    public Event applyListQuickList2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
167
        throw new UnsupportedOperationException("must implement this method.");
×
168
    }
169

170
    public Event applyModule(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
171
        throw new UnsupportedOperationException("must implement this method.");
×
172
    }
173

174
    public Event applyModule2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
175
        throw new UnsupportedOperationException("must implement this method.");
×
176
    }
177

178
    public Event applyStreamListPacks(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
179
        throw new UnsupportedOperationException("must implement this method.");
×
180
    }
181
    
182
    public Event applyStreamListPacks2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
183
        throw new UnsupportedOperationException("must implement this method.");
×
184
    }
185
    
186
    public Event applyStreamListPacks3(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
187
        throw new UnsupportedOperationException("must implement this method.");
×
188
    }
189
    
190
    public Event applyHashMetadata(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException{
NEW
191
        throw new UnsupportedOperationException("must implement this method.");
×
192
    }
193
    
194
    public Event applyHashListPackEx(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException {
NEW
195
        throw new UnsupportedOperationException("must implement this method.");
×
196
    }
197
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc