52763d6f0a97a8df791f95b43be4aab783fe6de4
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method private getInputTypes(inputFunction Method) : List<Type> renamed to private getInputTypesSignatures(inputFunction Method) : List<TypeSignature> in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Rename Method public generateAggregationFunction(clazz Class<?>, returnType Type, argumentTypes List<Type>) : InternalAggregationFunction renamed to public generateAggregationBindableFunction(clazz Class<?>, returnType TypeSignature, argumentTypes List<TypeSignature>) : BindableAggregationFunction in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Rename Method public generateAggregationFunction(clazz Class<?>) : InternalAggregationFunction renamed to public generateAggregationBindableFunction(clazz Class<?>) : BindableAggregationFunction in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type argumentTypes : List<Type> to argumentTypes : List<TypeSignature> in method public generateAggregationBindableFunction(clazz Class<?>, returnType TypeSignature, argumentTypes List<TypeSignature>) : BindableAggregationFunction in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Change Parameter Type sampleWeightAllowed : boolean to inputTypes : List<Type> in method private getParameterMetadata(method Method, inputTypes List<Type>) : List<ParameterMetadata> in class com.facebook.presto.operator.aggregation.BindableAggregationFunction | From | To | |
Change Parameter Type returnType : Type to returnType : TypeSignature in method public generateAggregationBindableFunction(clazz Class<?>, returnType TypeSignature, argumentTypes List<TypeSignature>) : BindableAggregationFunction in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Move Method | 1 | ||
Move Method private getParameterMetadata(method Method, sampleWeightAllowed boolean) : List<ParameterMetadata> from class com.facebook.presto.operator.aggregation.AggregationCompiler to private getParameterMetadata(method Method, inputTypes List<Type>) : List<ParameterMetadata> from class com.facebook.presto.operator.aggregation.BindableAggregationFunction | From | To | |
Change Return Type | 3 | ||
Change Return Type InternalAggregationFunction to BindableAggregationFunction in method public generateAggregationBindableFunction(clazz Class<?>, returnType TypeSignature, argumentTypes List<TypeSignature>) : BindableAggregationFunction in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Change Return Type List<Type> to List<TypeSignature> in method private getInputTypesSignatures(inputFunction Method) : List<TypeSignature> in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Change Return Type InternalAggregationFunction to BindableAggregationFunction in method public generateAggregationBindableFunction(clazz Class<?>) : BindableAggregationFunction in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Change Variable Type | 3 | ||
Change Variable Type aggregations : List<InternalAggregationFunction> to aggregations : List<BindableAggregationFunction> in method public generateAggregationBindableFunction(clazz Class<?>) : BindableAggregationFunction in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Change Variable Type builder : ImmutableList.Builder<Type> to builder : ImmutableList.Builder<TypeSignature> in method private getInputTypesSignatures(inputFunction Method) : List<TypeSignature> in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Change Variable Type aggregation : InternalAggregationFunction to aggregation : BindableAggregationFunction in method public generateAggregationBindableFunction(clazz Class<?>, returnType TypeSignature, argumentTypes List<TypeSignature>) : BindableAggregationFunction in class com.facebook.presto.operator.aggregation.AggregationCompiler | From | To | |
Rename Parameter | 1 | ||
Rename Parameter sampleWeightAllowed : boolean to inputTypes : List<Type> in method private getParameterMetadata(method Method, inputTypes List<Type>) : List<ParameterMetadata> in class com.facebook.presto.operator.aggregation.BindableAggregationFunction | From | To |