3f80e0ea4f101298d9dbd574ffcf388afb621d55
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method private writeByteBuffer(out OutputStream, b ByteBuffer, offset int, length int) : void from class org.apache.hadoop.hbase.io.encoding.BufferedDataBlockEncoder to public writeByteBuffer(out OutputStream, b ByteBuffer, offset int, length int) : void from class org.apache.hadoop.hbase.util.ByteBufferUtils | From | To | |
Rename Variable | 1 | ||
Rename Variable nonRootIndexKV : KeyValue.KeyOnlyKeyValue to nonRootIndexkeyOnlyKV : ByteBufferedKeyOnlyKeyValue in method package binarySearchNonRootIndex(key Cell, nonRootIndex ByteBuff, comparator CellComparator) : int in class org.apache.hadoop.hbase.io.hfile.HFileBlockIndex.BlockIndexReader | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.hadoop.hbase.OffheapKeyOnlyKeyValue renamed to org.apache.hadoop.hbase.ByteBufferedKeyOnlyKeyValue | From | To | |
Rename Attribute | 1 | ||
Rename Attribute keyOnlyKv : KeyValue.KeyOnlyKeyValue to bufBackedKeyOnlyKv : ByteBufferedKeyOnlyKeyValue in class org.apache.hadoop.hbase.io.hfile.HFileReaderImpl.HFileScannerImpl | From | To | |
Extract Variable | 1 | ||
Extract Variable cellBufSize : int in method public getCell() : Cell from class org.apache.hadoop.hbase.io.hfile.HFileReaderImpl.HFileScannerImpl | From | To | |
Change Variable Type | 2 | ||
Change Variable Type ret : KeyValue to ret : Cell in method public getCell() : Cell in class org.apache.hadoop.hbase.io.hfile.HFileReaderImpl.HFileScannerImpl | From | To | |
Change Variable Type nonRootIndexKV : KeyValue.KeyOnlyKeyValue to nonRootIndexkeyOnlyKV : ByteBufferedKeyOnlyKeyValue in method package binarySearchNonRootIndex(key Cell, nonRootIndex ByteBuff, comparator CellComparator) : int in class org.apache.hadoop.hbase.io.hfile.HFileBlockIndex.BlockIndexReader | From | To | |
Extract Method | 1 | ||
Extract Method public setKey(key ByteBuffer, offset int, length int) : void extracted from public OffheapKeyOnlyKeyValue(buf ByteBuffer, offset int, length int) in class org.apache.hadoop.hbase.ByteBufferedKeyOnlyKeyValue | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type keyOnlyKv : KeyValue.KeyOnlyKeyValue to bufBackedKeyOnlyKv : ByteBufferedKeyOnlyKeyValue in class org.apache.hadoop.hbase.io.hfile.HFileReaderImpl.HFileScannerImpl | From | To |