86d143bb8bdbdccba9209762b1fd802d5dc40268
Files Diff
- Added: 69
- Removed: 1
- Renamed: 0
- Modified: 57
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type member : Member to accessor : PropertyAccessor in method package ClassProperty(accessor PropertyAccessor, key boolean, name String, coCtx CacheObjectContext) in class org.apache.ignite.internal.processors.query.GridQueryProcessor.ClassProperty | From | To | |
| Move Source Folder | 1 | ||
| Move Source Folder modules/core to modules/indexing | From | To | |
| Pull Up Attribute | 2 | ||
| Pull Up Attribute private explain : boolean from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuery to private explain : boolean from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement | From | To | |
| Pull Up Attribute protected limit : GridSqlElement from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuery to protected limit : GridSqlElement from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type gQry : GridSqlQuery to gQry : GridSqlStatement in method private checkQuery(qry String) : void in class org.apache.ignite.internal.processors.query.h2.sql.GridQueryParsingTest | From | To | |
| Split Parameter | 1 | ||
| Split Parameter filter : TableFilter to [tbl : Table, idx : Index] in method private parseTable(tbl Table, idx Index, sql String) : GridSqlElement in class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser | From | To | |
| Extract Method | 9 | ||
| Extract Method private parse(qry Query, idxQry Query) : GridSqlQuery extracted from public parse(qry Prepared, idxQry Query) : GridSqlQuery in class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser | From | To | |
| Extract Method private getProperty(field String) : GridQueryProperty extracted from public value(field String, key Object, val Object) : T in class org.apache.ignite.internal.processors.query.GridQueryProcessor.TypeDescriptor | From | To | |
| Extract Method private duplicateTypeIdException(clsName String, id int) : BinaryObjectException extracted from public registerUserType(clsName String, mapper BinaryInternalMapper, serializer BinarySerializer, affKeyFieldName String, isEnum boolean) : void in class org.apache.ignite.internal.binary.BinaryContext | From | To | |
| Extract Method private parseTable(tbl Table, idx Index, sql String) : GridSqlElement extracted from private parseTable(filter TableFilter) : GridSqlElement in class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser | From | To | |
| Extract Method private ensureArgsSize(size int) : void extracted from private setArgument(paramIdx int, val Object) : void in class org.apache.ignite.internal.jdbc2.JdbcPreparedStatement | From | To | |
| Extract Method private createCacheConfig() : CacheConfiguration extracted from protected getConfiguration(gridName String) : IgniteConfiguration in class org.apache.ignite.internal.processors.cache.binary.GridCacheBinaryObjectsAbstractSelfTest | From | To | |
| Rename Method | 1 | ||
| Rename Method public testAllExamples() : void renamed to public testParseSelectAndUnion() : void in class org.apache.ignite.internal.processors.query.h2.sql.GridQueryParsingTest | From | To | |
| Pull Up Method | 5 | ||
| Pull Up Method public limit(limit GridSqlElement) : void from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuery to public limit(limit GridSqlElement) : void from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement | From | To | |
| Pull Up Method public explain() : boolean from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuery to public explain() : boolean from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement | From | To | |
| Pull Up Method public explain(explain boolean) : GridSqlQuery from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuery to public explain(explain boolean) : GridSqlStatement from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement | From | To | |
| Pull Up Method public limit() : GridSqlElement from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuery to public limit() : GridSqlElement from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement | From | To | |
| Pull Up Method public abstract getSQL() : String from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuery to public abstract getSQL() : String from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement | From | To | |
| Rename Variable | 1 | ||
| Rename Variable prop : GridQueryProperty to res : GridQueryProperty in method private getProperty(field String) : GridQueryProperty in class org.apache.ignite.internal.processors.query.GridQueryProcessor.TypeDescriptor | From | To | |
| Change Return Type | 3 | ||
| Change Return Type GridSqlQuery to GridSqlStatement in method public explain(explain boolean) : GridSqlStatement in class org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement | From | To | |
| Change Return Type GridSqlQuery to GridSqlStatement in method public parse(qry Prepared, idxQry Query) : GridSqlStatement in class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser | From | To | |
| Change Return Type GridSqlQuery to GridSqlStatement in method public parse(qry Prepared) : GridSqlStatement in class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement from classes [org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuery] | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute member : Member to accessor : PropertyAccessor in class org.apache.ignite.internal.processors.query.GridQueryProcessor.ClassProperty | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type args : Object[] to args : ArrayList<Object> in class org.apache.ignite.internal.jdbc2.JdbcStatement | From | To | |
| Change Attribute Type member : Member to accessor : PropertyAccessor in class org.apache.ignite.internal.processors.query.GridQueryProcessor.ClassProperty | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public setIdentityResolver(identityRslvr BinaryIdentityResolver) : void extracted from protected getConfiguration(gridName String) : IgniteConfiguration in class org.apache.ignite.internal.processors.cache.binary.GridCacheBinaryObjectsAbstractSelfTest & moved to class org.apache.ignite.binary.BinaryTypeConfiguration | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter member : Member to accessor : PropertyAccessor in method package ClassProperty(accessor PropertyAccessor, key boolean, name String, coCtx CacheObjectContext) in class org.apache.ignite.internal.processors.query.GridQueryProcessor.ClassProperty | From | To |