12f66e3060339acc569ee425385e2dc255bb3e94
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method package HFileBlock(blockType BlockType, onDiskSizeWithoutHeader int, uncompressedSizeWithoutHeader int, prevBlockOffset long, buf ByteBuff, fillHeader boolean, offset long, onDiskDataSizeWithHeader int, fileContext HFileContext) renamed to private init(blockType BlockType, onDiskSizeWithoutHeader int, uncompressedSizeWithoutHeader int, prevBlockOffset long, offset long, onDiskDataSizeWithHeader int, nextBlockOnDiskSize int, fileContext HFileContext) : void in class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To | |
Rename Method public assumeUncompressed() : void renamed to public sanityCheckUncompressedSize() : void in class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To | |
Rename Method public serializeExtraInfo(destination ByteBuffer) : void renamed to private addMetaData(destination ByteBuffer) : ByteBuffer in class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To | |
Rename Variable | 2 | ||
Rename Variable extraInfoBuffer : ByteBuffer to metadata : ByteBuffer in method public writeToCache(ioEngine IOEngine, bucketAllocator BucketAllocator, deserialiserMap UniqueIndexMap<Integer>, realCacheSize AtomicLong) : BucketEntry in class org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.RAMQueueEntry | From | To | |
Rename Variable contextBuilder : HFileContextBuilder to fileContextBuilder : HFileContextBuilder in method package HFileBlock(buf ByteBuff, usesHBaseChecksum boolean, memType MemoryType, offset long, nextBlockOnDiskSize int, fileContext HFileContext) in class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To | |
Change Return Type | 1 | ||
Change Return Type void to ByteBuffer in method private addMetaData(destination ByteBuffer) : ByteBuffer in class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To | |
Rename Attribute | 5 | ||
Rename Attribute nextBlockOnDiskSizeWithHeader : int to nextBlockOnDiskSize : int in class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To | |
Rename Attribute blockDeserializer : CacheableDeserializer<Cacheable> to BLOCK_DESERIALIZER : CacheableDeserializer<Cacheable> in class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To | |
Rename Attribute uncompressedBytesWithHeader : byte[] to uncompressedBlockBytesWithHeader : byte[] in class org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer | From | To | |
Rename Attribute onDiskBytesWithHeader : byte[] to onDiskBlockBytesWithHeader : byte[] in class org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer | From | To | |
Rename Attribute EXTRA_SERIALIZATION_SPACE : int to BLOCK_METADATA_SPACE : int in class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To | |
Extract Variable | 2 | ||
Extract Variable bytesPerChecksum : int in method package HFileBlock(buf ByteBuff, usesHBaseChecksum boolean, memType MemoryType, offset long, nextBlockOnDiskSize int, fileContext HFileContext) from class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To | |
Extract Variable checksumType : byte in method package HFileBlock(buf ByteBuff, usesHBaseChecksum boolean, memType MemoryType, offset long, nextBlockOnDiskSize int, fileContext HFileContext) from class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To | |
Inline Variable | 3 | ||
Inline Variable onDiskSize : long in method private readStoreFile(useTags boolean) : void from class org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite | From | To | |
Inline Variable onDiskSize : long in method private readStoreFile(storeFilePath Path) : void from class org.apache.hadoop.hbase.io.hfile.TestPrefetch | From | To | |
Inline Variable onDiskSize : long in method private readStoreFile(path Path) : void from class org.apache.hadoop.hbase.regionserver.TestCacheOnWriteInSchema | From | To | |
Rename Parameter | 1 | ||
Rename Parameter b : ByteBuff to buf : ByteBuff in method package HFileBlock(buf ByteBuff, usesHBaseChecksum boolean, memType MemoryType, offset long, nextBlockOnDiskSize int, fileContext HFileContext) in class org.apache.hadoop.hbase.io.hfile.HFileBlock | From | To |