c2cb510048fb07792d4639f211e98b8a95281f2f
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 51
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getColumn(columnName ColumnName) : Pair<ColumnName,SortOrder> renamed to public getColumnWithSortOrder(columnName ColumnName) : Pair<ColumnName,SortOrder> in class org.apache.phoenix.parse.PrimaryKeyConstraint | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public setScanTimeRange(value TimeRange) : void moved from class org.apache.phoenix.compile.StatementContext to class org.apache.phoenix.schema.MetaDataClient & inlined to private buildIndex(index PTable, dataTableRef TableRef) : MutationState | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type columnNameAndSortOrder : List<Pair<ColumnName,SortOrder>> to columnDefs : List<ColumnDefInPkConstraint> in method public primaryKey(name String, columnDefs List<ColumnDefInPkConstraint>) : PrimaryKeyConstraint in class org.apache.phoenix.parse.ParseNodeFactory | From | To | |
Change Variable Type | 1 | ||
Change Variable Type allPkColumns : List<Pair<ColumnName,SortOrder>> to allPkColumns : List<ColumnDefInPkConstraint> in method public createIndex(statement CreateIndexStatement, splits byte[][]) : MutationState in class org.apache.phoenix.schema.MetaDataClient | From | To | |
Extract Variable | 4 | ||
Extract Variable table : PTable in method public next() : Pair<byte[],List<Mutation>> from class org.apache.phoenix.execute.MutationState.addRowMutations | From | To | |
Extract Variable timestampToUse : long in method private addRowMutations(tableRef TableRef, values Map<ImmutableBytesPtr,RowMutationState>, timestamp long, includeMutableIndexes boolean) : Iterator<Pair<byte[],List<Mutation>>> from class org.apache.phoenix.execute.MutationState | From | To | |
Extract Variable scnParam : Long in method public PhoenixConnection(services ConnectionQueryServices, url String, info Properties, metaData PMetaData, isDescVarLengthRowKeyUpgrade boolean) from class org.apache.phoenix.jdbc.PhoenixConnection | From | To | |
Extract Variable table : PTable in method private addRowMutations(tableRef TableRef, values Map<ImmutableBytesPtr,RowMutationState>, timestamp long, includeMutableIndexes boolean) : Iterator<Pair<byte[],List<Mutation>>> from class org.apache.phoenix.execute.MutationState | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type columnNameToSortOrder : HashMap<ColumnName,Pair<ColumnName,SortOrder>> to columnNameToSortOrder : Map<ColumnName,Pair<ColumnName,SortOrder>> in class org.apache.phoenix.parse.PrimaryKeyConstraint | From | To | |
Rename Parameter | 1 | ||
Rename Parameter columnNameAndSortOrder : List<Pair<ColumnName,SortOrder>> to columnDefs : List<ColumnDefInPkConstraint> in method public primaryKey(name String, columnDefs List<ColumnDefInPkConstraint>) : PrimaryKeyConstraint in class org.apache.phoenix.parse.ParseNodeFactory | From | To |