Package io.trino.operator
Class IncrementalLoadFactorHashArraySizeSupplier
- java.lang.Object
-
- io.trino.operator.IncrementalLoadFactorHashArraySizeSupplier
-
- All Implemented Interfaces:
HashArraySizeSupplier
public class IncrementalLoadFactorHashArraySizeSupplier extends Object implements HashArraySizeSupplier
Hash array size supplier that uses larger load factors for larger arrays
-
-
Constructor Summary
Constructors Constructor Description IncrementalLoadFactorHashArraySizeSupplier(int multiplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHashArraySize(int expectedCount)
-
-
-
Method Detail
-
getHashArraySize
public int getHashArraySize(int expectedCount)
- Specified by:
getHashArraySizein interfaceHashArraySizeSupplier
-
-