98606705ef26b30bd006c31c74989a9ede74054b
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 2 | ||
Move And Rename Method private extractTablesParticipateAtQuery(parser GridSqlQueryParser) : List<GridH2Table> from class org.apache.ignite.internal.processors.query.h2.dml.UpdatePlanBuilder to public tablesForDml() : List<GridH2Table> from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser | From | To | |
Move And Rename Method public planForStatement(prepared Prepared, loc boolean, idx IgniteH2Indexing, conn Connection, fieldsQry SqlFieldsQuery, dmlInsideTxAllowed boolean) : UpdatePlan from class org.apache.ignite.internal.processors.query.h2.dml.UpdatePlanBuilder to public prepareDmlStatement(prepared Prepared) : QueryParserResultDml from class org.apache.ignite.internal.processors.query.h2.QueryParser | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public prepared() : Prepared moved from class org.apache.ignite.internal.processors.query.h2.QueryParserResultDml to class org.apache.ignite.internal.processors.query.h2.QueryParser & inlined to private parseH2(schemaName String, qry SqlFieldsQuery) : QueryParserResult | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type prepared : Prepared to dml : QueryParserResultDml in method private executeUpdate(schemaName String, conn Connection, dml QueryParserResultDml, fieldsQry SqlFieldsQuery, loc boolean, filters IndexingQueryFilter, cancel GridQueryCancel) : UpdateResult in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Change Parameter Type prepared : Prepared to dml : QueryParserResultDml in method private executeUpdateDistributed(schemaName String, conn Connection, dml QueryParserResultDml, fieldsQry SqlFieldsQuery, cancel GridQueryCancel) : List<QueryCursorImpl<List<?>>> in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Change Parameter Type p : Prepared to dml : QueryParserResultDml in method private updatePlan(schema String, conn Connection, dml QueryParserResultDml, fieldsQry SqlFieldsQuery, loc boolean) : UpdatePlan in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Rename Variable | 3 | ||
Rename Variable p : Prepared to dml : QueryParserResultDml in method private streamQuery0(qry String, schemaName String, streamer IgniteDataStreamer, stmt PreparedStatement, args Object[]) : long in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Rename Variable p : Prepared to dml : QueryParserResultDml in method public streamBatchedUpdateQuery(schemaName String, qry String, params List<Object[]>, cliCtx SqlClientContext) : List<Long> in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Rename Variable prepared : Prepared to dml : QueryParserResultDml in method public executeUpdateOnDataNodeTransactional(cctx GridCacheContext<?,?>, ids int[], parts int[], schema String, qry String, params Object[], flags int, pageSize int, timeout int, topVer AffinityTopologyVersion, mvccSnapshot MvccSnapshot, cancel GridQueryCancel) : UpdateSourceIterator<?> in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Change Return Type | 1 | ||
Change Return Type UpdatePlan to QueryParserResultDml in method public prepareDmlStatement(prepared Prepared) : QueryParserResultDml in class org.apache.ignite.internal.processors.query.h2.QueryParser | From | To | |
Rename Attribute | 1 | ||
Rename Attribute prepared : Prepared to mvccEnabled : boolean in class org.apache.ignite.internal.processors.query.h2.QueryParserResultDml | From | To | |
Change Variable Type | 3 | ||
Change Variable Type p : Prepared to dml : QueryParserResultDml in method public streamBatchedUpdateQuery(schemaName String, qry String, params List<Object[]>, cliCtx SqlClientContext) : List<Long> in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Change Variable Type prepared : Prepared to dml : QueryParserResultDml in method public executeUpdateOnDataNodeTransactional(cctx GridCacheContext<?,?>, ids int[], parts int[], schema String, qry String, params Object[], flags int, pageSize int, timeout int, topVer AffinityTopologyVersion, mvccSnapshot MvccSnapshot, cancel GridQueryCancel) : UpdateSourceIterator<?> in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Change Variable Type p : Prepared to dml : QueryParserResultDml in method private streamQuery0(qry String, schemaName String, streamer IgniteDataStreamer, stmt PreparedStatement, args Object[]) : long in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type prepared : Prepared to mvccEnabled : boolean in class org.apache.ignite.internal.processors.query.h2.QueryParserResultDml | From | To | |
Inline Variable | 1 | ||
Inline Variable cacheId : int in method public collectCacheIds(idx IgniteH2Indexing, mainCacheId Integer, tbls Collection<QueryTable>) : List<Integer> from class org.apache.ignite.internal.processors.query.h2.H2Utils | From | To | |
Rename Parameter | 3 | ||
Rename Parameter prepared : Prepared to dml : QueryParserResultDml in method private executeUpdateDistributed(schemaName String, conn Connection, dml QueryParserResultDml, fieldsQry SqlFieldsQuery, cancel GridQueryCancel) : List<QueryCursorImpl<List<?>>> in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Rename Parameter p : Prepared to dml : QueryParserResultDml in method private updatePlan(schema String, conn Connection, dml QueryParserResultDml, fieldsQry SqlFieldsQuery, loc boolean) : UpdatePlan in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Rename Parameter prepared : Prepared to dml : QueryParserResultDml in method private executeUpdate(schemaName String, conn Connection, dml QueryParserResultDml, fieldsQry SqlFieldsQuery, loc boolean, filters IndexingQueryFilter, cancel GridQueryCancel) : UpdateResult in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To |