77f5174f0d23428fced1e6fd25b2556803ce9079
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 62
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public nullableArguments(nullableArguments List<Boolean>) : SqlScalarFunctionBuilder renamed to public argumentProperties(argumentProperties List<ArgumentProperty>) : SqlScalarFunctionBuilder in class com.facebook.presto.metadata.SqlScalarFunctionBuilder | From | To | |
Rename Method public getLambdaInterface() : List<Optional<Class>> renamed to public getArgumentProperties() : List<ArgumentProperty> in class com.facebook.presto.operator.scalar.annotations.ScalarImplementation | From | To | |
Merge Attribute | 4 | ||
Merge Attribute [nullableArguments : List<Boolean>, nullFlags : List<Boolean>] to argumentProperties : List<ArgumentProperty> in class com.facebook.presto.metadata.SqlScalarFunctionBuilder | From | To | |
Merge Attribute [nullableArguments : List<Boolean>, nullFlags : List<Boolean>, lambdaInterface : List<Optional<Class>>] to argumentProperties : List<ArgumentProperty> in class com.facebook.presto.operator.scalar.ScalarFunctionImplementation | From | To | |
Merge Attribute [nullableArguments : List<Boolean>, nullFlags : List<Boolean>] to argumentProperties : List<ArgumentProperty> in class com.facebook.presto.metadata.PolymorphicScalarFunction | From | To | |
Merge Attribute [nullableArguments : List<Boolean>, nullFlags : List<Boolean>, lambdaInterface : List<Optional<Class>>] to argumentProperties : List<ArgumentProperty> in class com.facebook.presto.operator.scalar.annotations.ScalarImplementation.Parser | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type nullableArguments : List<Boolean> to argumentProperties : List<ArgumentProperty> in method public argumentProperties(argumentProperties List<ArgumentProperty>) : SqlScalarFunctionBuilder in class com.facebook.presto.metadata.SqlScalarFunctionBuilder | From | To | |
Change Parameter Type nullable : boolean to nullConvention : NullConvention in method private getNullAwareContainerType(clazz Class<?>, nullConvention NullConvention) : Class<?> in class com.facebook.presto.operator.scalar.annotations.ScalarImplementation | From | To | |
Rename Variable | 3 | ||
Rename Variable nullableArguments : List<Boolean> to argumentProperties : List<ArgumentProperty> in method public specialize(boundVariables BoundVariables, arity int, typeManager TypeManager, functionRegistry FunctionRegistry) : ScalarFunctionImplementation in class com.facebook.presto.operator.scalar.ZipFunction | From | To | |
Rename Variable nullableArguments : List<Boolean> to argumentProperties : List<ArgumentProperty> in method public specialize(boundVariables BoundVariables, arity int, typeManager TypeManager, functionRegistry FunctionRegistry) : ScalarFunctionImplementation in class com.facebook.presto.operator.scalar.TryCastFunction | From | To | |
Rename Variable nullableArguments : List<Boolean> to argumentProperties : List<ArgumentProperty> in method private specializeArrayJoin(types Map<String,Type>, functionRegistry FunctionRegistry, nullableArguments List<Boolean>, methodHandle MethodHandle) : ScalarFunctionImplementation in class com.facebook.presto.operator.scalar.ArrayJoin | From | To | |
Inline Method | 1 | ||
Inline Method private parameterIsNullable(boundSignature Signature, parameterIndex int) : boolean inlined to private returnsNullOnGivenInputTypes(applicableFunction ApplicableFunction, parameterTypes List<Type>) : boolean in class com.facebook.presto.metadata.FunctionRegistry | From | To | |
Change Return Type | 1 | ||
Change Return Type List<Optional<Class>> to List<ArgumentProperty> in method public getArgumentProperties() : List<ArgumentProperty> in class com.facebook.presto.operator.scalar.annotations.ScalarImplementation | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [nullableArguments : List<Boolean>, nullFlags : List<Boolean>, lambdaInterface : List<Optional<Class>>] to argumentProperties : List<ArgumentProperty> in method public ScalarFunctionImplementation(nullable boolean, argumentProperties List<ArgumentProperty>, methodHandle MethodHandle, deterministic boolean) in class com.facebook.presto.operator.scalar.ScalarFunctionImplementation | From | To | |
Rename Attribute | 1 | ||
Rename Attribute lambdaInterface : List<Optional<Class>> to argumentProperties : List<ArgumentProperty> in class com.facebook.presto.operator.scalar.annotations.ScalarImplementation | From | To | |
Change Variable Type | 3 | ||
Change Variable Type nullableArguments : List<Boolean> to argumentProperties : List<ArgumentProperty> in method public specialize(boundVariables BoundVariables, arity int, typeManager TypeManager, functionRegistry FunctionRegistry) : ScalarFunctionImplementation in class com.facebook.presto.operator.scalar.ZipFunction | From | To | |
Change Variable Type nullableArguments : List<Boolean> to argumentProperties : List<ArgumentProperty> in method public specialize(boundVariables BoundVariables, arity int, typeManager TypeManager, functionRegistry FunctionRegistry) : ScalarFunctionImplementation in class com.facebook.presto.operator.scalar.TryCastFunction | From | To | |
Change Variable Type nullableArguments : List<Boolean> to argumentProperties : List<ArgumentProperty> in method private specializeArrayJoin(types Map<String,Type>, functionRegistry FunctionRegistry, nullableArguments List<Boolean>, methodHandle MethodHandle) : ScalarFunctionImplementation in class com.facebook.presto.operator.scalar.ArrayJoin | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type lambdaInterface : List<Optional<Class>> to argumentProperties : List<ArgumentProperty> in class com.facebook.presto.operator.scalar.annotations.ScalarImplementation | From | To | |
Rename Parameter | 2 | ||
Rename Parameter nullableArguments : List<Boolean> to argumentProperties : List<ArgumentProperty> in method public argumentProperties(argumentProperties List<ArgumentProperty>) : SqlScalarFunctionBuilder in class com.facebook.presto.metadata.SqlScalarFunctionBuilder | From | To | |
Rename Parameter nullable : boolean to nullConvention : NullConvention in method private getNullAwareContainerType(clazz Class<?>, nullConvention NullConvention) : Class<?> in class com.facebook.presto.operator.scalar.annotations.ScalarImplementation | From | To |