Class TestCompactor.StoreFileWritersCapture
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.TestCompactor.StoreFileWritersCapture
- All Implemented Interfaces:
org.apache.hadoop.hbase.regionserver.AbstractMultiFileWriter.WriterFactory
,org.mockito.stubbing.Answer<org.apache.hadoop.hbase.regionserver.StoreFileWriter>
- Enclosing class:
- TestCompactor
public static class TestCompactor.StoreFileWritersCapture
extends Object
implements org.mockito.stubbing.Answer<org.apache.hadoop.hbase.regionserver.StoreFileWriter>, org.apache.hadoop.hbase.regionserver.AbstractMultiFileWriter.WriterFactory
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.regionserver.StoreFileWriter
answer
(org.mockito.invocation.InvocationOnMock invocation) org.apache.hadoop.hbase.regionserver.StoreFileWriter
void
verifyBoundaries
(byte[][] boundaries) void
verifyKvs
(org.apache.hadoop.hbase.KeyValue[][] kvss, boolean allFiles, boolean requireMetadata) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.regionserver.AbstractMultiFileWriter.WriterFactory
createWriterWithStoragePolicy
-
Field Details
-
writers
-
-
Constructor Details
-
StoreFileWritersCapture
public StoreFileWritersCapture()
-
-
Method Details
-
createWriter
- Specified by:
createWriter
in interfaceorg.apache.hadoop.hbase.regionserver.AbstractMultiFileWriter.WriterFactory
- Throws:
IOException
-
answer
public org.apache.hadoop.hbase.regionserver.StoreFileWriter answer(org.mockito.invocation.InvocationOnMock invocation) throws Throwable - Specified by:
answer
in interfaceorg.mockito.stubbing.Answer<org.apache.hadoop.hbase.regionserver.StoreFileWriter>
- Throws:
Throwable
-
verifyKvs
public void verifyKvs(org.apache.hadoop.hbase.KeyValue[][] kvss, boolean allFiles, boolean requireMetadata) -
verifyBoundaries
-
verifyKvs
-
getWriters
-