043540bfd29ff1886c83c71c7b178d1261fa35bd
Files Diff
- Added: 16
- Removed: 2
- Renamed: 0
- Modified: 28
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public serializeToView(segments MemorySegment[], offset int, sizeInBytes int, target DataOutputView) : void renamed to public copyBytesToView(segments MemorySegment[], offset int, sizeInBytes int, target DataOutputView) : void in class org.apache.flink.table.util.SegmentsUtil | From | To | |
| Rename Method public testwriteString() : void renamed to public testWriteString() : void in class org.apache.flink.table.dataformat.BinaryRowTest | From | To | |
| Pull Up Method | 2 | ||
| Pull Up Method public pointTo(segment MemorySegment, baseOffset int, sizeInBytes int) : void from class org.apache.flink.table.dataformat.BinaryMap to public pointTo(segment MemorySegment, offset int, sizeInBytes int) : void from class org.apache.flink.table.dataformat.BinaryFormat | From | To | |
| Pull Up Method public pointTo(segment MemorySegment, offset int, sizeInBytes int) : void from class org.apache.flink.table.dataformat.BinaryArray to public pointTo(segment MemorySegment, offset int, sizeInBytes int) : void from class org.apache.flink.table.dataformat.BinaryFormat | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type segment : MemorySegment to segments : MemorySegment[] in method public pointTo(segments MemorySegment[], offset int, sizeInBytes int) : void in class org.apache.flink.table.dataformat.BinaryFormat | From | To | |
| Move Method | 3 | ||
| Move Method public allocateReuseBytes(length int) : byte[] from class org.apache.flink.table.util.BinaryStringUtil to public allocateReuseBytes(length int) : byte[] from class org.apache.flink.table.util.SegmentsUtil | From | To | |
| Move Method public pointTo(segments MemorySegment[], offset int, sizeInBytes int) : void from class org.apache.flink.table.dataformat.BinaryRow to public pointTo(segments MemorySegment[], offset int, sizeInBytes int) : void from class org.apache.flink.table.dataformat.BinaryFormat | From | To | |
| Move Method public pointTo(segment MemorySegment, offset int, sizeInBytes int) : void from class org.apache.flink.table.dataformat.BinaryRow to public pointTo(segments MemorySegment[], offset int, sizeInBytes int) : void from class org.apache.flink.table.dataformat.BinaryFormat | From | To | |
| Inline Method | 1 | ||
| Inline Method public fromBytes(bytes byte[], offset int, numBytes int) : BinaryString inlined to public copy() : BinaryString in class org.apache.flink.table.dataformat.BinaryString | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private BYTES_LOCAL : ThreadLocal<byte[]> from class org.apache.flink.table.util.BinaryStringUtil to private BYTES_LOCAL : ThreadLocal<byte[]> from class org.apache.flink.table.util.SegmentsUtil | From | To | |
| Move Attribute private MAX_BYTES_LENGTH : int from class org.apache.flink.table.util.BinaryStringUtil to private MAX_BYTES_LENGTH : int from class org.apache.flink.table.util.SegmentsUtil | From | To | |
| Rename Class | 1 | ||
| Rename Class org.apache.flink.table.typeutils.BinaryTypeInfoTest renamed to org.apache.flink.table.typeutils.InternalTypeInfoTest | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.apache.flink.table.dataformat.LazyBinaryFormat from classes [org.apache.flink.table.dataformat.BinaryString] | From | To | |
| Extract Method | 1 | ||
| Extract Method public setNullBit(pos int) : void extracted from public setNullAt(pos int) : void in class org.apache.flink.table.dataformat.BinaryRowWriter | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method public setNullAt(pos int, type InternalType) : void extracted from package toInternalImpl(value Map) : BinaryMap in class org.apache.flink.table.dataformat.DataFormatConverters.MapConverter & moved to class org.apache.flink.table.dataformat.BinaryArrayWriter | From | To | |
| Extract And Move Method public setNullAt(pos int, type InternalType) : void extracted from package toInternalImpl(value T[]) : BinaryArray in class org.apache.flink.table.dataformat.DataFormatConverters.ObjectArrayConverter & moved to class org.apache.flink.table.dataformat.BinaryArrayWriter | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter baseOffset : int to offset : int in method public pointTo(segment MemorySegment, offset int, sizeInBytes int) : void in class org.apache.flink.table.dataformat.BinaryFormat | From | To | |
| Rename Parameter segment : MemorySegment to segments : MemorySegment[] in method public pointTo(segments MemorySegment[], offset int, sizeInBytes int) : void in class org.apache.flink.table.dataformat.BinaryFormat | From | To |