2699dd30fdf4bedb939a6eabfaef787a863121f6
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getEntityType() : String renamed to public getOriginalQuery() : String in class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Rename Method public setCursor(cursor String) : void renamed to public setOriginalQuery(originalQuery String) : void in class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Change Parameter Type | 6 | ||
Change Parameter Type query : Query to query : ParsedQuery in method public createFilterBuilder(query ParsedQuery) : FilterBuilder in class org.apache.usergrid.persistence.index.impl.SearchRequestBuilderStrategy | From | To | |
Change Parameter Type query : Query to query : String in method public search(indexScope IndexScope, searchTypes SearchTypes, query String, limit int) : CandidateResults in class org.apache.usergrid.persistence.index.impl.EsApplicationEntityIndexImpl | From | To | |
Change Parameter Type direction : Query.SortDirection to direction : SortDirection in method public SortPredicate(propertyName String, direction SortDirection) in class org.apache.usergrid.persistence.index.query.SortPredicate | From | To | |
Change Parameter Type query : Query to query : ParsedQuery in method public createQueryBuilder(indexScope IndexScope, query ParsedQuery) : QueryBuilder in class org.apache.usergrid.persistence.index.impl.SearchRequestBuilderStrategy | From | To | |
Change Parameter Type query : Query to query : String in method public search(indexScope IndexScope, searchTypes SearchTypes, query String, limit int) : CandidateResults in class org.apache.usergrid.persistence.index.ApplicationEntityIndex | From | To | |
Change Parameter Type query : Query to query : ParsedQuery in method public getBuilder(indexScope IndexScope, searchTypes SearchTypes, query ParsedQuery, limit int) : SearchRequestBuilder in class org.apache.usergrid.persistence.index.impl.SearchRequestBuilderStrategy | From | To | |
Change Return Type | 5 | ||
Change Return Type void to ParsedQuery in method public setRootOperand(rootOperand Operand) : ParsedQuery in class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Change Return Type Query to ParsedQuery in method public addSelect(select String) : ParsedQuery in class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Change Return Type Query.SortDirection to SortDirection in method public getDirection() : SortDirection in class org.apache.usergrid.persistence.index.query.SortPredicate | From | To | |
Change Return Type Query to ParsedQuery in method public addSort(sort SortPredicate) : ParsedQuery in class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Change Return Type Query to ParsedQuery in method public addSelect(select String, output String) : ParsedQuery in class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.usergrid.persistence.index.query.Query renamed to org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Move Class | 2 | ||
Move Class org.apache.usergrid.persistence.index.query.Query.SortDirection moved to org.apache.usergrid.persistence.index.query.SortPredicate.SortDirection | From | To | |
Move Class org.apache.usergrid.persistence.index.query.Query.SortPredicate moved to org.apache.usergrid.persistence.index.query.SortPredicate | From | To | |
Rename Attribute | 2 | ||
Rename Attribute cursor : String to originalQuery : String in class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Rename Attribute sortPredicates : List<SortPredicate> to sortPredicateList : List<SortPredicate> in class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Extract Variable | 1 | ||
Extract Variable sortPropertyName : String in method public addSort(sort SortPredicate) : ParsedQuery from class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Change Variable Type | 4 | ||
Change Variable Type identifiers : Set<String> to identifiers : Collection<SelectFieldMapping> in method public selectAll() : void in class org.apache.usergrid.persistence.query.tree.GrammarTreeTest | From | To | |
Change Variable Type identifiers : Map<String,String> to identifiers : Collection<SelectFieldMapping> in method public selectRename() : void in class org.apache.usergrid.persistence.query.tree.GrammarTreeTest | From | To | |
Change Variable Type identifiers : Set<String> to identifiers : Collection<SelectFieldMapping> in method public selectField() : void in class org.apache.usergrid.persistence.query.tree.GrammarTreeTest | From | To | |
Change Variable Type sp : Query.SortPredicate to sp : SortPredicate in method public getBuilder(indexScope IndexScope, searchTypes SearchTypes, query ParsedQuery, limit int) : SearchRequestBuilder in class org.apache.usergrid.persistence.index.impl.SearchRequestBuilderStrategy | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type direction : Query.SortDirection to direction : SortDirection in class org.apache.usergrid.persistence.index.query.SortPredicate | From | To | |
Rename Parameter | 2 | ||
Rename Parameter cursor : String to originalQuery : String in method public setOriginalQuery(originalQuery String) : void in class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To | |
Rename Parameter root : Operand to rootOperand : Operand in method public setRootOperand(rootOperand Operand) : ParsedQuery in class org.apache.usergrid.persistence.index.query.ParsedQuery | From | To |