Skip to content

Commit 2c95ced

Browse files
committed
Renamed BlockHashWrapper
1 parent 89a8bcf commit 2c95ced

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/aggregation/GroupingAggregatorFunctionTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import org.elasticsearch.common.util.BitArray;
1313
import org.elasticsearch.compute.ConstantBooleanExpressionEvaluator;
1414
import org.elasticsearch.compute.aggregation.blockhash.BlockHash;
15-
import org.elasticsearch.compute.aggregation.blockhash.WrappedBlockHash;
15+
import org.elasticsearch.compute.aggregation.blockhash.BlockHashWrapper;
1616
import org.elasticsearch.compute.data.Block;
1717
import org.elasticsearch.compute.data.BlockFactory;
1818
import org.elasticsearch.compute.data.BlockTypeRandomizer;
@@ -810,7 +810,7 @@ public Operator get(DriverContext driverContext) {
810810
)
811811
: BlockHash.build(groups, driverContext.blockFactory(), maxPageSize, false);
812812

813-
return new WrappedBlockHash(driverContext.blockFactory(), blockHash) {
813+
return new BlockHashWrapper(driverContext.blockFactory(), blockHash) {
814814
@Override
815815
public void add(Page page, GroupingAggregatorFunction.AddInput addInput) {
816816
blockHash.add(page, new GroupingAggregatorFunction.AddInput() {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
* Its methods can be overridden to implement custom behaviours or checks.
2525
* </p>
2626
*/
27-
public class WrappedBlockHash extends BlockHash {
27+
public abstract class BlockHashWrapper extends BlockHash {
2828
protected BlockHash blockHash;
2929

30-
public WrappedBlockHash(BlockFactory blockFactory, BlockHash blockHash) {
30+
public BlockHashWrapper(BlockFactory blockFactory, BlockHash blockHash) {
3131
super(blockFactory);
3232
this.blockHash = blockHash;
3333
}

0 commit comments

Comments
 (0)