23de11f7d312866101fbf3b0465703a1736cffef
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [keyBlock : Block, valueBlock : Block, hashTable : int[]] to mapBlock : AbstractMapBlock in class com.facebook.presto.spi.block.SingleMapBlock | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type hashTables : int[] to hashTables : Optional<int[]> in method public createMapBlockInternal(typeManager TypeManager, keyType Type, startOffset int, positionCount int, mapIsNull Optional<boolean[]>, offsets int[], keyBlock Block, valueBlock Block, hashTables Optional<int[]>) : Block in class com.facebook.presto.spi.type.MapType | From | To | |
Change Parameter Type hashTables : int[] to hashTables : Optional<int[]> in method public createMapBlockInternal(startOffset int, positionCount int, mapIsNull Optional<boolean[]>, offsets int[], keyBlock Block, valueBlock Block, hashTables Optional<int[]>, keyType Type, keyBlockNativeEquals MethodHandle, keyNativeHashCode MethodHandle, keyBlockHashCode MethodHandle) : MapBlock in class com.facebook.presto.spi.block.MapBlock | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private keyBlockHashCode : MethodHandle from class com.facebook.presto.spi.block.MapBlockBuilder to protected keyBlockHashCode : MethodHandle from class com.facebook.presto.spi.block.AbstractMapBlock | From | To | |
Extract Variable | 8 | ||
Extract Variable hashTableLength : int in method public writeBlock(blockEncodingSerde BlockEncodingSerde, sliceOutput SliceOutput, block Block) : void from class com.facebook.presto.spi.block.SingleMapBlockEncoding | From | To | |
Extract Variable hashTables : int[] in method public copyRegion(position int, length int) : Block from class com.facebook.presto.spi.block.AbstractMapBlock | From | To | |
Extract Variable hashTableLength : int in method public writeBlock(blockEncodingSerde BlockEncodingSerde, sliceOutput SliceOutput, block Block) : void from class com.facebook.presto.spi.block.MapBlockEncoding | From | To | |
Extract Variable hashTableLength : int in method public readBlock(blockEncodingSerde BlockEncodingSerde, sliceInput SliceInput) : Block from class com.facebook.presto.spi.block.SingleMapBlockEncoding | From | To | |
Extract Variable hashTableLength : int in method public readBlock(blockEncodingSerde BlockEncodingSerde, sliceInput SliceInput) : Block from class com.facebook.presto.spi.block.MapBlockEncoding | From | To | |
Extract Variable previousAggregatedEntryCount : int in method private closeEntry(providedHashTable int[], providedHashTableOffset int) : BlockBuilder from class com.facebook.presto.spi.block.MapBlockBuilder | From | To | |
Extract Variable hashTables : int[] in method public getSingleValueBlock(position int) : Block from class com.facebook.presto.spi.block.AbstractMapBlock | From | To | |
Extract Variable aggregatedEntryCount : int in method private closeEntry(providedHashTable int[], providedHashTableOffset int) : BlockBuilder from class com.facebook.presto.spi.block.MapBlockBuilder | From | To |