4af461a7f403fc0e4df13d23d0789eee49200b26
Files Diff
- Added: 2
 - Removed: 0
 - Renamed: 0
 - Modified: 19
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type prop : Property to prop : GridQueryProperty in method public addProperty(prop GridQueryProperty, failOnDuplicate boolean) : void in class org.apache.ignite.internal.processors.query.GridQueryProcessor.TypeDescriptor | From | To | |
| Rename Variable | 4 | ||
| Rename Variable tbl : GridMergeTable to idx : GridMergeIndex in method package disconnected(e CacheException) : void in class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.QueryRun | From | To | |
| Rename Variable tbl : GridMergeTable to idx : GridMergeIndex in method public onEvent(evt Event) : void in class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.start.addLocalEventListener | From | To | |
| Rename Variable tbl : GridMergeTable to idx : GridMergeIndex in method package state(o Object, nodeId UUID) : void in class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.QueryRun | From | To | |
| Rename Variable tbl : GridMergeTable to idx : GridMergeIndex in method public query(cctx GridCacheContext<?,?>, qry GridCacheTwoStepQuery, keepPortable boolean) : Iterator<List<?>> in class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor | From | To | |
| Change Return Type | 1 | ||
| Change Return Type void to GridCacheTwoStepQuery in method public addMapQuery(qry GridCacheSqlQuery) : GridCacheTwoStepQuery in class org.apache.ignite.internal.processors.cache.query.GridCacheTwoStepQuery | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class org.apache.ignite.internal.processors.query.GridQueryProcessor.Property moved and renamed to org.apache.ignite.internal.processors.query.GridQueryProperty | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable sqlQry : String to sql : String in method private prepareStatement(c Connection, sql String, useStmtCache boolean) : PreparedStatement in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute tbls : List<GridMergeTable> to idxs : List<GridMergeIndex> in class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.QueryRun | From | To | |
| Extract Variable | 1 | ||
| Extract Variable resIter : Iterator<List<?>> in method public query(cctx GridCacheContext<?,?>, qry GridCacheTwoStepQuery, keepPortable boolean) : Iterator<List<?>> from class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor | From | To | |
| Change Variable Type | 5 | ||
| Change Variable Type tbl : GridMergeTable to idx : GridMergeIndex in method package disconnected(e CacheException) : void in class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.QueryRun | From | To | |
| Change Variable Type prop : Property to prop : GridQueryProperty in method public value(field String, key Object, val Object) : T in class org.apache.ignite.internal.processors.query.GridQueryProcessor.TypeDescriptor | From | To | |
| Change Variable Type tbl : GridMergeTable to idx : GridMergeIndex in method public onEvent(evt Event) : void in class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.start.addLocalEventListener | From | To | |
| Change Variable Type tbl : GridMergeTable to idx : GridMergeIndex in method package state(o Object, nodeId UUID) : void in class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.QueryRun | From | To | |
| Change Variable Type tbl : GridMergeTable to idx : GridMergeIndex in method public query(cctx GridCacheContext<?,?>, qry GridCacheTwoStepQuery, keepPortable boolean) : Iterator<List<?>> in class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor | From | To | |
| Inline Variable | 1 | ||
| Inline Variable l : Lock in method public close() : void from class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Extract Method | 8 | ||
| Extract Method private readLock() : void extracted from private onSwapUnswap(key CacheObject, val CacheObject) : boolean in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Extract Method private prepareStatement(c Connection, sql String, useStmtCache boolean) : PreparedStatement extracted from private executeSqlQuery(conn Connection, sql String, params Collection<Object>) : ResultSet in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
| Extract Method private writeLock() : void extracted from public close() : void in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Extract Method private readUnlock() : void extracted from package doUpdate(row GridH2Row, del boolean) : boolean in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Extract Method private readUnlock() : void extracted from private onSwapUnswap(key CacheObject, val CacheObject) : boolean in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Extract Method private prepareStatement(c Connection, sql String, useStmtCache boolean) : PreparedStatement extracted from public queryTwoStep(cctx GridCacheContext<?,?>, qry SqlFieldsQuery) : QueryCursor<List<?>> in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
| Extract Method private readLock() : void extracted from package doUpdate(row GridH2Row, del boolean) : boolean in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Extract Method private writeUnlock() : void extracted from public close() : void in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type props : Map<String,Property> to props : Map<String,GridQueryProperty> in class org.apache.ignite.internal.processors.query.GridQueryProcessor.TypeDescriptor | From | To | |
| Change Attribute Type tbls : List<GridMergeTable> to idxs : List<GridMergeIndex> in class org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.QueryRun | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter conn : Connection to c : Connection in method private prepareStatement(c Connection, sql String, useStmtCache boolean) : PreparedStatement in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To |