45079c4ea41b78ef71efe7d27c5de8026415c5c3
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private validate(tableRef TableRef, rowKeyToColumnMap Map<ImmutableBytesPtr,RowMutationState>) : long renamed to private validateAndGetServerTimestamp(tableRef TableRef, rowKeyToColumnMap Map<ImmutableBytesPtr,RowMutationState>) : long in class org.apache.phoenix.execute.MutationState | From | To | |
Rename Method public getMutationTimestamp(tableTimestamp Long, scn Long) : long renamed to public getTableTimestamp(tableTimestamp Long, scn Long) : long in class org.apache.phoenix.execute.MutationState | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method private getConnection(ts long) : Connection moved from class org.apache.phoenix.end2end.UpsertValuesIT to class org.apache.phoenix.end2end.UpsertSelectIT & inlined to public testUpsertSelectWithRowtimeStampColumn() : void | From | To | |
Move Method | 3 | ||
Move Method private testComparisonOperatorsOnRowTimestampCol(sortOrder String) : void from class org.apache.phoenix.end2end.UpsertValuesIT to public testComparisonOperatorsOnRowTimestampCol() : void from class org.apache.phoenix.end2end.RowTimestampIT | From | To | |
Move Method private assertNumRecords(count int, sql String, conn Connection, params Date...) : void from class org.apache.phoenix.end2end.UpsertValuesIT to private assertNumRecords(count int, sql String, conn Connection, params Date...) : void from class org.apache.phoenix.end2end.RowTimestampIT | From | To | |
Move Method public testDisallowNegativeValuesForRowTsColumn() : void from class org.apache.phoenix.end2end.UpsertValuesIT to public testDisallowNegativeValuesForRowTsColumn() : void from class org.apache.phoenix.end2end.RowTimestampIT | From | To | |
Rename Variable | 2 | ||
Rename Variable rowTimestamp2 : long to startTime : long in method public testUpsertSelectAutoCommitWithRowTimestampColumn() : void in class org.apache.phoenix.end2end.UpsertSelectIT | From | To | |
Rename Variable timestamp : long to serverTimestamp : long in method public toMutations(includeMutableIndexes boolean, tableTimestamp Long) : Iterator<Pair<byte[],List<Mutation>>> in class org.apache.phoenix.execute.MutationState | From | To | |
Inline Method | 2 | ||
Inline Method private getConnection(ts long) : Connection inlined to public testUpsertSelectWithRowtimeStampColumn() : void in class org.apache.phoenix.end2end.UpsertSelectIT | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.phoenix.end2end.RowTimestampIT from class org.apache.phoenix.end2end.UpsertValuesIT | From | To | |
Rename Parameter | 2 | ||
Rename Parameter timestamp : long to mutationTimestamp : long in method private generateMutations(tableRef TableRef, mutationTimestamp long, serverTimestamp long, values Map<ImmutableBytesPtr,RowMutationState>, mutationList List<Mutation>, mutationsPertainingToIndex List<Mutation>) : void in class org.apache.phoenix.execute.MutationState | From | To | |
Rename Parameter timestamp : long to mutationTimestamp : long in method private addRowMutations(tableRef TableRef, values Map<ImmutableBytesPtr,RowMutationState>, mutationTimestamp long, serverTimestamp long, includeAllIndexes boolean, sendAll boolean) : Iterator<Pair<PName,List<Mutation>>> in class org.apache.phoenix.execute.MutationState | From | To |