1619dd5603f9b9eb71dbffc70add54df0a290e2c
Files Diff
- Added: 0
- Removed: 4
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public localSplit() : boolean renamed to public forUpdate() : boolean in class org.apache.ignite.internal.processors.query.h2.QueryParserResultSelect | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type stmt : PreparedStatement to dml : QueryParserResultDml in method private streamQuery0(qry String, schemaName String, streamer IgniteDataStreamer, dml QueryParserResultDml, args Object[]) : long in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Rename Variable | 4 | ||
Rename Variable parser : GridSqlQueryParser to select : QueryParserResultSelect in method private executeQueryLocal0(schemaName String, qry String, params Collection<Object>, meta List<GridQueryFieldMetadata>, filter IndexingQueryFilter, enforceJoinOrder boolean, startTx boolean, qryTimeout int, cancel GridQueryCancel, mvccTracker MvccQueryTracker, dataPageScanEnabled Boolean) : GridQueryFieldsResult in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Rename Variable fldsQry : SqlFieldsQuery to fieldsQry : SqlFieldsQuery in method private executeQueryLocal0(schemaName String, qry String, params Collection<Object>, meta List<GridQueryFieldMetadata>, filter IndexingQueryFilter, enforceJoinOrder boolean, startTx boolean, qryTimeout int, cancel GridQueryCancel, mvccTracker MvccQueryTracker, dataPageScanEnabled Boolean) : GridQueryFieldsResult in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Rename Variable c : Connection to dml : QueryParserResultDml in method public executeUpdateOnDataNode(schemaName String, qry SqlFieldsQuery, filter IndexingQueryFilter, cancel GridQueryCancel, loc boolean) : UpdateResult in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Rename Variable stmt : PreparedStatement to dml : QueryParserResultDml in method public streamUpdateQuery(schemaName String, qry String, params Object[], streamer IgniteDataStreamer<?,?>) : long in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Inline Method | 1 | ||
Inline Method package runDistributedUpdate(schemaName String, fieldsQry SqlFieldsQuery, cacheIds List<Integer>, isReplicatedOnly boolean, cancel GridQueryCancel) : UpdateResult inlined to private executeUpdate0(schemaName String, plan UpdatePlan, fieldsQry SqlFieldsQuery, loc boolean, filters IndexingQueryFilter, cancel GridQueryCancel) : UpdateResult in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Change Return Type | 1 | ||
Change Return Type Collection<Integer> to List<Integer> in method public cacheIds() : List<Integer> in class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser | From | To | |
Move Attribute | 1 | ||
Move Attribute public UPDATE_RESULT_META : List<GridQueryFieldMetadata> from class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing to public UPDATE_RESULT_META : List<GridQueryFieldMetadata> from class org.apache.ignite.internal.processors.query.h2.H2Utils | From | To | |
Extract Variable | 3 | ||
Extract Variable cmd : QueryParserResultCommand in method private checkClusterState(parseRes QueryParserResult) : void from class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Extract Variable row : List<?> in method private streamQuery0(qry String, schemaName String, streamer IgniteDataStreamer, dml QueryParserResultDml, args Object[]) : long from class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Extract Variable newQry : SqlFieldsQuery in method private parseH2(schemaName String, qry SqlFieldsQuery, remainingAllowed boolean) : QueryParserResult from class org.apache.ignite.internal.processors.query.h2.QueryParser | From | To | |
Change Variable Type | 3 | ||
Change Variable Type stmt : PreparedStatement to dml : QueryParserResultDml in method public streamUpdateQuery(schemaName String, qry String, params Object[], streamer IgniteDataStreamer<?,?>) : long in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Change Variable Type parser : GridSqlQueryParser to select : QueryParserResultSelect in method private executeQueryLocal0(schemaName String, qry String, params Collection<Object>, meta List<GridQueryFieldMetadata>, filter IndexingQueryFilter, enforceJoinOrder boolean, startTx boolean, qryTimeout int, cancel GridQueryCancel, mvccTracker MvccQueryTracker, dataPageScanEnabled Boolean) : GridQueryFieldsResult in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Change Variable Type c : Connection to dml : QueryParserResultDml in method public executeUpdateOnDataNode(schemaName String, qry SqlFieldsQuery, filter IndexingQueryFilter, cancel GridQueryCancel, loc boolean) : UpdateResult in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Extract Method | 1 | ||
Extract Method public isStreamableInsertStatement(prep Prepared) : boolean extracted from public isStreamableInsertStatement(nativeStmt PreparedStatement) : boolean in class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser | From | To | |
Inline Variable | 1 | ||
Inline Variable stmt0 : PreparedStatement in method public iterator() : GridCloseableIterator<List<?>> from class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.executeQueryLocal0 | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public statement() : GridSqlStatement extracted from private executeQueryLocal0(schemaName String, qry String, params Collection<Object>, meta List<GridQueryFieldMetadata>, filter IndexingQueryFilter, enforceJoinOrder boolean, startTx boolean, qryTimeout int, cancel GridQueryCancel, mvccTracker MvccQueryTracker, dataPageScanEnabled Boolean) : GridQueryFieldsResult in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing & moved to class org.apache.ignite.internal.processors.query.h2.QueryParserResultSelect | From | To | |
Rename Parameter | 2 | ||
Rename Parameter schema : String to schemaName : String in method private updatePlan(schemaName String, dml QueryParserResultDml, fieldsQry SqlFieldsQuery) : UpdatePlan in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Rename Parameter stmt : PreparedStatement to dml : QueryParserResultDml in method private streamQuery0(qry String, schemaName String, streamer IgniteDataStreamer, dml QueryParserResultDml, args Object[]) : long in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To |