11a76b297fad46cd7f51019810ba4d1a7b51b418
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public ToDateFunction(children List<Expression>, dateFormat String, dateParser DateUtil.DateTimeParser) renamed to private init(dateFormat String, timeZoneId String) : void in class org.apache.phoenix.expression.function.ToDateFunction | From | To | |
Rename Method public getDateParser(pattern String, timeZoneId String) : DateTimeParser renamed to private getTimeZone(timeZoneId String) : TimeZone in class org.apache.phoenix.util.DateUtil | From | To | |
Rename Variable | 1 | ||
Rename Variable value : Object to epochTime : long in method public evaluate(tuple Tuple, ptr ImmutableBytesWritable) : boolean in class org.apache.phoenix.expression.function.ToDateFunction | From | To | |
Change Return Type | 6 | ||
Change Return Type Date to long in method private parseDateTime(dateTimeValue String) : long in class org.apache.phoenix.util.DateUtil | From | To | |
Change Return Type Date to long in method public parseDateTime(dateTimeString String) : long in class org.apache.phoenix.util.DateUtil.SimpleDateFormatParser | From | To | |
Change Return Type Date to long in method public parseDateTime(dateTimeString String) : long in class org.apache.phoenix.util.DateUtil.ISODateFormatParser | From | To | |
Change Return Type Date to long in method public parseDateTime(dateTimeString String) : long in class org.apache.phoenix.util.DateUtil.DateTimeParser | From | To | |
Change Return Type Date to java.util.Date in method private callToDateFunction(conn Connection, invocation String) : java.util.Date in class org.apache.phoenix.end2end.ToDateFunctionIT | From | To | |
Change Return Type DateTimeParser to TimeZone in method private getTimeZone(timeZoneId String) : TimeZone in class org.apache.phoenix.util.DateUtil | From | To | |
Extract Attribute | 1 | ||
Extract Attribute public LOCAL_TIME_ZONE_ID : String in class org.apache.phoenix.util.DateUtil | From | To | |
Change Variable Type | 3 | ||
Change Variable Type returnValue : Date to returnValue : java.util.Date in method private callToDateFunction(conn Connection, invocation String) : java.util.Date in class org.apache.phoenix.end2end.ToDateFunctionIT | From | To | |
Change Variable Type date : Object to date : Date in method public testToDateFilter() : void in class org.apache.phoenix.compile.WhereCompilerTest | From | To | |
Change Variable Type value : Object to epochTime : long in method public evaluate(tuple Tuple, ptr ImmutableBytesWritable) : boolean in class org.apache.phoenix.expression.function.ToDateFunction | From | To |