@InterfaceAudience.Public public class CodecPerformance extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG
Deprecated.
LOG variable would be made private. since 1.2, remove in 3.0
|
Constructor and Description |
---|
CodecPerformance() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
doCodec(org.apache.hadoop.hbase.codec.Codec codec,
org.apache.hadoop.hbase.Cell[] cells,
int cycles,
int count,
int initialBufferSize) |
(package private) static org.apache.hadoop.hbase.Cell[] |
getCells(int howMany) |
(package private) static int |
getRoughSize(org.apache.hadoop.hbase.Cell[] cells) |
static void |
main(String[] args) |
(package private) static org.apache.hadoop.hbase.Cell[] |
runDecoderTest(int index,
int count,
org.apache.hadoop.hbase.CellScanner decoder) |
(package private) static byte[] |
runEncoderTest(int index,
int initialBufferSize,
ByteArrayOutputStream baos,
org.apache.hadoop.hbase.io.CellOutputStream encoder,
org.apache.hadoop.hbase.Cell[] cells) |
(package private) static void |
verifyCells(org.apache.hadoop.hbase.Cell[] input,
org.apache.hadoop.hbase.Cell[] output) |
@Deprecated public static final org.slf4j.Logger LOG
public CodecPerformance()
static org.apache.hadoop.hbase.Cell[] getCells(int howMany)
static int getRoughSize(org.apache.hadoop.hbase.Cell[] cells)
static byte[] runEncoderTest(int index, int initialBufferSize, ByteArrayOutputStream baos, org.apache.hadoop.hbase.io.CellOutputStream encoder, org.apache.hadoop.hbase.Cell[] cells) throws IOException
IOException
static org.apache.hadoop.hbase.Cell[] runDecoderTest(int index, int count, org.apache.hadoop.hbase.CellScanner decoder) throws IOException
IOException
static void verifyCells(org.apache.hadoop.hbase.Cell[] input, org.apache.hadoop.hbase.Cell[] output)
static void doCodec(org.apache.hadoop.hbase.codec.Codec codec, org.apache.hadoop.hbase.Cell[] cells, int cycles, int count, int initialBufferSize) throws IOException
IOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.