32be0cd706d499e0bb7ca008a1d76d0aec59c1c6
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method public createStore(fileSystem FileSystemAbstraction, pageCache PageCache, storeDir String, newFormat RecordFormats) : void from class org.neo4j.unsafe.impl.batchimport.store.BatchingNeoStores to private createStore(migrationDir File, newFormat RecordFormats) : void from class org.neo4j.kernel.impl.storemigration.participant.StoreMigrator | From | To | |
Rename Variable | 2 | ||
Rename Variable tx : Transaction to ignore : Transaction in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type | 14 | ||
Change Variable Type beforeRelTypes : int to beforeRelTypes : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type afterIndexes : int to afterIndexes : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type afterNodes : int to afterNodes : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type beforeRels : int to beforeRels : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type afterConstraints : int to afterConstraints : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type afterKeys : int to afterKeys : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type beforeNodes : int to beforeNodes : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type beforeIndexes : int to beforeIndexes : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type afterRelTypes : int to afterRelTypes : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type beforeLabels : int to beforeLabels : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type afterLabels : int to afterLabels : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type beforeKeys : int to beforeKeys : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type afterRels : int to afterRels : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Change Variable Type beforeConstraints : int to beforeConstraints : long in method public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Extract Variable | 2 | ||
Extract Variable predicate : Predicate<StoreFile> in method private migrateWithBatchImporter(storeDir File, migrationDir File, lastTxId long, lastTxChecksum long, lastTxLogVersion long, lastTxLogByteOffset long, progressMonitor MigrationProgressMonitor.Section, oldFormat RecordFormats, newFormat RecordFormats) : void from class org.neo4j.kernel.impl.storemigration.participant.StoreMigrator | From | To | |
Extract Variable predicate : Predicate<StoreFile> in method public moveMigratedFiles(migrationDir File, storeDir File, versionToUpgradeFrom String, versionToUpgradeTo String) : void from class org.neo4j.kernel.impl.storemigration.participant.StoreMigrator | From | To | |
Extract Method | 6 | ||
Extract Method protected stream(iterable Iterable<T>) : Stream<T> extracted from public shouldMigrate() : void in class org.neo4j.kernel.impl.storemigration.StoreMigrationIT | From | To | |
Extract Method protected getNeo4jConfig(config Configuration, dbConfig Config) : Config extracted from public batchingNeoStores(fileSystem FileSystemAbstraction, storeDir File, recordFormats RecordFormats, config Configuration, logService LogService, initialIds AdditionalInitialIds, dbConfig Config) : BatchingNeoStores in class org.neo4j.unsafe.impl.batchimport.store.BatchingNeoStores | From | To | |
Extract Method protected getNeo4jConfig(config Configuration, dbConfig Config) : Config extracted from public batchingNeoStoresWithExternalPageCache(fileSystem FileSystemAbstraction, pageCache PageCache, tracer PageCacheTracer, storeDir File, recordFormats RecordFormats, config Configuration, logService LogService, initialIds AdditionalInitialIds, dbConfig Config) : BatchingNeoStores in class org.neo4j.unsafe.impl.batchimport.store.BatchingNeoStores | From | To |