66e8dd9f05ea068e27b272ed1b787004213c29e6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 45
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 6 | ||
Rename Method protected newFramework() : ManagedScanFramework renamed to public build() : ScanFixture in class org.apache.drill.exec.physical.impl.scan.TestColumnsArrayFramework.ColumnsScanFixtureBuilder | From | To | |
Rename Method protected newFramework() : ManagedScanFramework renamed to public build() : ScanFixture in class org.apache.drill.exec.physical.impl.scan.TestFileScanFramework.FileScanFixtureBuilder | From | To | |
Rename Method public testPartitionExpansionV3() : void renamed to public testPartitionExpansion() : void in class org.apache.drill.exec.store.easy.text.compliant.TestCsvWithoutHeaders | From | To | |
Rename Method public buildFileFramework() : FileScanFramework renamed to public buildEvents() : ScanOperatorEvents in class org.apache.drill.exec.physical.impl.scan.file.FileScanFramework.FileScanBuilder | From | To | |
Rename Method public buildFileFramework() : FileScanFramework renamed to public buildEvents() : ScanOperatorEvents in class org.apache.drill.exec.physical.impl.scan.columns.ColumnsScanFramework.ColumnsScanBuilder | From | To | |
Rename Method public setContainer(container VectorContainer) : void renamed to public setSchema(container VectorContainer) : void in class org.apache.drill.exec.physical.impl.protocol.VectorContainerAccessor | From | To | |
Rename Variable | 1 | ||
Rename Variable dataBatch : QueryDataBatch to resultBatch : QueryDataBatch in method public rowSet() : DirectRowSet in class org.apache.drill.test.QueryBuilder | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private EMPTY_FILE : String from class org.apache.drill.exec.store.easy.text.compliant.TestCsvWithHeaders to protected EMPTY_FILE : String from class org.apache.drill.exec.store.easy.text.compliant.BaseCsvTest | From | To | |
Change Return Type | 4 | ||
Change Return Type FileScanFramework to ScanOperatorEvents in method public buildEvents() : ScanOperatorEvents in class org.apache.drill.exec.physical.impl.scan.columns.ColumnsScanFramework.ColumnsScanBuilder | From | To | |
Change Return Type FileScanFramework to ScanOperatorEvents in method public buildEvents() : ScanOperatorEvents in class org.apache.drill.exec.physical.impl.scan.file.FileScanFramework.FileScanBuilder | From | To | |
Change Return Type ManagedScanFramework to ScanFixture in method public build() : ScanFixture in class org.apache.drill.exec.physical.impl.scan.TestColumnsArrayFramework.ColumnsScanFixtureBuilder | From | To | |
Change Return Type ManagedScanFramework to ScanFixture in method public build() : ScanFixture in class org.apache.drill.exec.physical.impl.scan.TestFileScanFramework.FileScanFixtureBuilder | From | To | |
Change Variable Type | 1 | ||
Change Variable Type vectorWrapper : VectorWrapper to vectorWrapper : VectorWrapper<?> in method public prettyPrintRecord(index int) : String in class org.apache.drill.exec.record.VectorContainer | From | To | |
Extract Method | 8 | ||
Extract Method public schemaChanged() : void extracted from public add(vv ValueVector) : TypedFieldId in class org.apache.drill.exec.record.VectorContainer | From | To | |
Extract Method protected expectedSchema() : TupleMetadata extracted from protected makeExpected(offset int) : SingleRowSet in class org.apache.drill.exec.physical.impl.scan.BaseScanOperatorExecTest | From | To | |
Extract Method public simpleBuilder(readers ManagedReader<? extends SchemaNegotiator>...) : BaseScanFixtureBuilder extracted from public simpleFixture(readers ManagedReader<? extends SchemaNegotiator>...) : ScanFixture in class org.apache.drill.exec.physical.impl.scan.BaseScanOperatorExecTest | From | To | |
Extract Method private readSchemaChangeBatches(scanFixture ScanFixture, reader2 MockEarlySchemaReader) : void extracted from public testSchemaChange() : void in class org.apache.drill.exec.physical.impl.scan.TestScanOperExecSmoothing | From | To | |
Extract Method public schemaChanged() : void extracted from private replace(old ValueVector, newVector ValueVector) : void in class org.apache.drill.exec.record.VectorContainer | From | To | |
Extract Method public schemaChanged() : void extracted from public remove(v ValueVector) : void in class org.apache.drill.exec.record.VectorContainer | From | To | |
Extract Method private finalizeResults() : void extracted from private nextAction(schema boolean) : void in class org.apache.drill.exec.physical.impl.scan.ScanOperatorExec | From | To | |
Extract Method public schemaChanged() : void extracted from public add(hyperVector ValueVector[], releasable boolean) : void in class org.apache.drill.exec.record.VectorContainer | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method protected initScanBuilder(builder FileScanBuilder, scan EasySubScan) : void extracted from protected frameworkBuilder(options OptionManager, scan EasySubScan) : FileScanBuilder in class org.apache.drill.exec.store.easy.text.TextFormatPlugin & moved to class org.apache.drill.exec.store.dfs.easy.EasyFormatPlugin | From | To | |
Rename Parameter | 1 | ||
Rename Parameter schema : boolean to readSchema : boolean in method private nextAction(readSchema boolean) : void in class org.apache.drill.exec.physical.impl.scan.ScanOperatorExec | From | To |