ca7c36d59247795d92f7fc23a4ae4038da215284
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Variable | 4 | ||
Extract Variable estimatedSize : int in method private getIndexUpdates(env RegionCoprocessorEnvironment, indexMetaData PhoenixIndexMetaData, mutationIterator Iterator<Mutation>, txRollbackAttribute byte[]) : Collection<Pair<Mutation,byte[]>> from class org.apache.phoenix.index.PhoenixTransactionalIndexer | From | To | |
Extract Variable findPriorValueMutations : Map<ImmutableBytesPtr,MultiMutation> in method private getIndexUpdates(env RegionCoprocessorEnvironment, indexMetaData PhoenixIndexMetaData, mutationIterator Iterator<Mutation>, txRollbackAttribute byte[]) : Collection<Pair<Mutation,byte[]>> from class org.apache.phoenix.index.PhoenixTransactionalIndexer | From | To | |
Extract Variable allColumns : Set<ColumnReference> in method private getIndexUpdates(env RegionCoprocessorEnvironment, indexMetaData PhoenixIndexMetaData, mutationIterator Iterator<Mutation>, txRollbackAttribute byte[]) : Collection<Pair<Mutation,byte[]>> from class org.apache.phoenix.index.PhoenixTransactionalIndexer | From | To | |
Extract Variable tuple : Tuple in method public execute() : MutationState from class org.apache.phoenix.compile.PostLocalIndexDDLCompiler.compile | From | To | |
Extract Method | 1 | ||
Extract Method public addMutation(mutations Map<ImmutableBytesPtr,MultiMutation>, row ImmutableBytesPtr, m Mutation) : void extracted from private getIndexUpdates(env RegionCoprocessorEnvironment, indexMetaData PhoenixIndexMetaData, mutationIterator Iterator<Mutation>, txRollbackAttribute byte[]) : Collection<Pair<Mutation,byte[]>> in class org.apache.phoenix.index.PhoenixTransactionalIndexer | From | To | |
Rename Parameter | 2 | ||
Rename Parameter includeMutableIndexes : boolean to includeAllIndexes : boolean in method private addRowMutations(tableRef TableRef, values Map<ImmutableBytesPtr,RowMutationState>, timestamp long, includeAllIndexes boolean, sendAll boolean) : Iterator<Pair<byte[],List<Mutation>>> in class org.apache.phoenix.execute.MutationState | From | To | |
Rename Parameter mutableColumns : Set<ColumnReference> to upsertColumns : Set<ColumnReference> in method private processMutation(env RegionCoprocessorEnvironment, indexMetaData PhoenixIndexMetaData, txRollbackAttribute byte[], scanner ResultScanner, tx Transaction, upsertColumns Set<ColumnReference>, indexUpdates Collection<Pair<Mutation,byte[]>>, mutations Map<ImmutableBytesPtr,MultiMutation>, mutationsToFindPreviousValue Map<ImmutableBytesPtr,MultiMutation>) : void in class org.apache.phoenix.index.PhoenixTransactionalIndexer | From | To |