d803f0c2188c679de3dacf10741005b217425a33
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type allocator : BufferAllocator to channel : WritableByteChannel in method private Writer(channel WritableByteChannel) in class org.apache.drill.exec.cache.VectorSerializer.Writer | From | To | |
Change Parameter Type outputStream : OutputStream to channel : WritableByteChannel in method public getWriteBytes(channel WritableByteChannel) : long in class org.apache.drill.exec.physical.impl.spill.SpillSet.FileManager | From | To | |
Change Parameter Type outputStream : OutputStream to channel : WritableByteChannel in method public getPosition(channel WritableByteChannel) : long in class org.apache.drill.exec.physical.impl.spill.SpillSet | From | To | |
Change Parameter Type outputStream : OutputStream to channel : WritableByteChannel in method public getWriteBytes(channel WritableByteChannel) : long in class org.apache.drill.exec.physical.impl.spill.SpillSet.HadoopFileManager | From | To | |
Change Return Type | 7 | ||
Change Return Type Writer to int in method public write(va VectorAccessible, sv2 SelectionVector2) : int in class org.apache.drill.exec.cache.VectorSerializer.Writer | From | To | |
Change Return Type OutputStream to WritableByteChannel in method public createForWrite(fileName String) : WritableByteChannel in class org.apache.drill.exec.physical.impl.spill.SpillSet.LocalFileManager | From | To | |
Change Return Type Writer to int in method public write(va VectorAccessible) : int in class org.apache.drill.exec.cache.VectorSerializer.Writer | From | To | |
Change Return Type Writer to int in method public write(batch WritableBatch, sv2 SelectionVector2) : int in class org.apache.drill.exec.cache.VectorSerializer.Writer | From | To | |
Change Return Type OutputStream to WritableByteChannel in method public createForWrite(fileName String) : WritableByteChannel in class org.apache.drill.exec.physical.impl.spill.SpillSet.HadoopFileManager | From | To | |
Change Return Type OutputStream to WritableByteChannel in method public openForOutput(fileName String) : WritableByteChannel in class org.apache.drill.exec.physical.impl.spill.SpillSet | From | To | |
Change Return Type OutputStream to WritableByteChannel in method public createForWrite(fileName String) : WritableByteChannel in class org.apache.drill.exec.physical.impl.spill.SpillSet.FileManager | From | To | |
Rename Attribute | 3 | ||
Rename Attribute stream : OutputStream to output : OutputStream in class org.apache.drill.exec.cache.VectorSerializer.Writer | From | To | |
Rename Attribute allocator : BufferAllocator to channel : WritableByteChannel in class org.apache.drill.exec.cache.VectorSerializer.Writer | From | To | |
Rename Attribute outputStream : OutputStream[] to writers : Writer[] in class org.apache.drill.exec.physical.impl.aggregate.HashAggTemplate | From | To | |
Extract Variable | 2 | ||
Extract Variable container : VectorContainer in method private verifySerialize(rowSet SingleRowSet, expected SingleRowSet) : void from class org.apache.drill.exec.cache.TestBatchSerialization | From | To | |
Extract Variable sv2 : SelectionVector2 in method private verifySerialize(rowSet SingleRowSet, expected SingleRowSet) : void from class org.apache.drill.exec.cache.TestBatchSerialization | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type writer : VectorSerializer.Writer to writer : Writer in class org.apache.drill.exec.physical.impl.xsort.managed.BatchGroup.SpilledRun | From | To | |
Change Attribute Type allocator : BufferAllocator to channel : WritableByteChannel in class org.apache.drill.exec.cache.VectorSerializer.Writer | From | To | |
Change Attribute Type outputStream : OutputStream[] to writers : Writer[] in class org.apache.drill.exec.physical.impl.aggregate.HashAggTemplate | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method public close(writer VectorSerializer.Writer) : void extracted from public outputCurrentBatch() : AggIterOutcome in class org.apache.drill.exec.physical.impl.aggregate.HashAggTemplate & moved to class org.apache.drill.exec.physical.impl.spill.SpillSet | From | To | |
Extract And Move Method public close() : void extracted from public cleanup() : void in class org.apache.drill.exec.physical.impl.aggregate.HashAggTemplate & moved to class org.apache.drill.exec.cache.VectorSerializer.Writer | From | To | |
Extract And Move Method public writer(fileName String) : VectorSerializer.Writer extracted from public SpilledRun(spillSet SpillSet, path String, allocator BufferAllocator) in class org.apache.drill.exec.physical.impl.xsort.managed.BatchGroup.SpilledRun & moved to class org.apache.drill.exec.physical.impl.spill.SpillSet | From | To | |
Rename Parameter | 4 | ||
Rename Parameter outputStream : OutputStream to channel : WritableByteChannel in method public getWriteBytes(channel WritableByteChannel) : long in class org.apache.drill.exec.physical.impl.spill.SpillSet.FileManager | From | To | |
Rename Parameter outputStream : OutputStream to channel : WritableByteChannel in method public getPosition(channel WritableByteChannel) : long in class org.apache.drill.exec.physical.impl.spill.SpillSet | From | To | |
Rename Parameter outputStream : OutputStream to channel : WritableByteChannel in method public getWriteBytes(channel WritableByteChannel) : long in class org.apache.drill.exec.physical.impl.spill.SpillSet.HadoopFileManager | From | To | |
Rename Parameter allocator : BufferAllocator to channel : WritableByteChannel in method private Writer(channel WritableByteChannel) in class org.apache.drill.exec.cache.VectorSerializer.Writer | From | To |