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
Modifier and Type | Class and Description |
---|---|
static class |
TestCompactor.StoreFileWritersCapture.Writer |
Modifier and Type | Field and Description |
---|---|
private List<TestCompactor.StoreFileWritersCapture.Writer> |
writers |
Constructor and Description |
---|
StoreFileWritersCapture() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.regionserver.StoreFileWriter |
answer(org.mockito.invocation.InvocationOnMock invocation) |
org.apache.hadoop.hbase.regionserver.StoreFileWriter |
createWriter() |
List<TestCompactor.StoreFileWritersCapture.Writer> |
getWriters() |
void |
verifyBoundaries(byte[][] boundaries) |
void |
verifyKvs(org.apache.hadoop.hbase.KeyValue[][] kvss,
boolean allFiles,
boolean requireMetadata) |
void |
verifyKvs(org.apache.hadoop.hbase.KeyValue[][] kvss,
boolean allFiles,
List<Long> boundaries) |
private List<TestCompactor.StoreFileWritersCapture.Writer> writers
public StoreFileWritersCapture()
public org.apache.hadoop.hbase.regionserver.StoreFileWriter createWriter() throws IOException
createWriter
in interface org.apache.hadoop.hbase.regionserver.AbstractMultiFileWriter.WriterFactory
IOException
public org.apache.hadoop.hbase.regionserver.StoreFileWriter answer(org.mockito.invocation.InvocationOnMock invocation) throws Throwable
answer
in interface org.mockito.stubbing.Answer<org.apache.hadoop.hbase.regionserver.StoreFileWriter>
Throwable
public void verifyKvs(org.apache.hadoop.hbase.KeyValue[][] kvss, boolean allFiles, boolean requireMetadata)
public void verifyBoundaries(byte[][] boundaries)
public void verifyKvs(org.apache.hadoop.hbase.KeyValue[][] kvss, boolean allFiles, List<Long> boundaries)
public List<TestCompactor.StoreFileWritersCapture.Writer> getWriters()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.