1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.hadoop.hbase.regionserver;
20
21 import java.io.IOException;
22
23 import org.apache.commons.lang.NotImplementedException;
24 import org.apache.hadoop.hbase.classification.InterfaceAudience;
25 import org.apache.hadoop.hbase.Cell;
26
27
28
29
30
31
32 @InterfaceAudience.Private
33 public abstract class NonReversedNonLazyKeyValueScanner extends
34 NonLazyKeyValueScanner {
35
36 @Override
37 public boolean backwardSeek(Cell key) throws IOException {
38 throw new NotImplementedException("backwardSeek must not be called on a "
39 + "non-reversed scanner");
40 }
41
42 @Override
43 public boolean seekToPreviousRow(Cell key) throws IOException {
44 throw new NotImplementedException("seekToPreviousRow must not be called on a "
45 + "non-reversed scanner");
46 }
47
48 @Override
49 public boolean seekToLastRow() throws IOException {
50 throw new NotImplementedException("seekToLastRow must not be called on a "
51 + "non-reversed scanner");
52 }
53
54 }