18e09a1b1c801f2691a05ae7db543bf71874cfea
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Parameter | 1 | ||
Merge Parameter [optionSet : OptionSet, functionLookupContext : FunctionLookupContext] to context : FragmentContext in method public createNewPriorityQueue(mainMapping MappingSet, leftMapping MappingSet, rightMapping MappingSet, orderings List<Ordering>, batch VectorAccessible, unionTypeEnabled boolean, codegenDump boolean, limit int, allocator BufferAllocator, mode SelectionVectorMode, context FragmentContext) : PriorityQueue in class org.apache.drill.exec.physical.impl.TopN.TopNBatch | From | To | |
Extract Method | 10 | ||
Extract Method public getDecimal28Holder(buf DrillBuf, bigDecimal BigDecimal) : Decimal28SparseHolder extracted from public getDecimal28Holder(buf DrillBuf, decimal String) : Decimal28SparseHolder in class org.apache.drill.exec.vector.ValueHolderHelper | From | To | |
Extract Method private getHoldingContainer(generator ClassGenerator<?>, majorType MajorType, function Function<DrillBuf,? extends ValueHolder>) : HoldingContainer extracted from public visitVarDecimalConstant(e VarDecimalExpression, generator ClassGenerator<?>) : HoldingContainer in class org.apache.drill.exec.expr.EvaluationVisitor.EvalVisitor | From | To | |
Extract Method private getHoldingContainer(generator ClassGenerator<?>, majorType MajorType, function Function<DrillBuf,? extends ValueHolder>) : HoldingContainer extracted from public visitDecimal9Constant(e Decimal9Expression, generator ClassGenerator<?>) : HoldingContainer in class org.apache.drill.exec.expr.EvaluationVisitor.EvalVisitor | From | To | |
Extract Method private getHoldingContainer(generator ClassGenerator<?>, majorType MajorType, function Function<DrillBuf,? extends ValueHolder>) : HoldingContainer extracted from public visitIntervalDayConstant(e IntervalDayExpression, generator ClassGenerator<?>) : HoldingContainer in class org.apache.drill.exec.expr.EvaluationVisitor.EvalVisitor | From | To | |
Extract Method public getDecimal38Holder(buf DrillBuf, bigDecimal BigDecimal) : Decimal38SparseHolder extracted from public getDecimal38Holder(buf DrillBuf, decimal String) : Decimal38SparseHolder in class org.apache.drill.exec.vector.ValueHolderHelper | From | To | |
Extract Method private getHoldingContainer(generator ClassGenerator<?>, majorType MajorType, function Function<DrillBuf,? extends ValueHolder>) : HoldingContainer extracted from public visitDecimal18Constant(e Decimal18Expression, generator ClassGenerator<?>) : HoldingContainer in class org.apache.drill.exec.expr.EvaluationVisitor.EvalVisitor | From | To | |
Extract Method private getHoldingContainer(generator ClassGenerator<?>, majorType MajorType, function Function<DrillBuf,? extends ValueHolder>) : HoldingContainer extracted from public visitDecimal28Constant(e Decimal28Expression, generator ClassGenerator<?>) : HoldingContainer in class org.apache.drill.exec.expr.EvaluationVisitor.EvalVisitor | From | To | |
Extract Method private getHoldingContainer(generator ClassGenerator<?>, majorType MajorType, function Function<DrillBuf,? extends ValueHolder>) : HoldingContainer extracted from public visitQuotedStringConstant(e QuotedString, generator ClassGenerator<?>) : HoldingContainer in class org.apache.drill.exec.expr.EvaluationVisitor.EvalVisitor | From | To | |
Extract Method public getVarDecimalHolder(buf DrillBuf, bigDecimal BigDecimal) : VarDecimalHolder extracted from public getVarDecimalHolder(buf DrillBuf, decimal String) : VarDecimalHolder in class org.apache.drill.exec.vector.ValueHolderHelper | From | To | |
Extract Method private getHoldingContainer(generator ClassGenerator<?>, majorType MajorType, function Function<DrillBuf,? extends ValueHolder>) : HoldingContainer extracted from public visitDecimal38Constant(e Decimal38Expression, generator ClassGenerator<?>) : HoldingContainer in class org.apache.drill.exec.expr.EvaluationVisitor.EvalVisitor | From | To |