Package org.apache.druid.query.topn
Class PooledTopNAlgorithm.PooledTopNParams.Builder
java.lang.Object
org.apache.druid.query.topn.PooledTopNAlgorithm.PooledTopNParams.Builder
- Enclosing class:
- PooledTopNAlgorithm.PooledTopNParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withAggregatorSizes(int[] aggregatorSizes) withArrayProvider(TopNMetricSpecBuilder<int[]> arrayProvider) withCursor(Cursor cursor) withGranularizer(CursorGranularizer granularizer) withNumBytesPerRecord(int numBytesPerRecord) withNumValuesPerPass(int numValuesPerPass) withResultsBuf(ByteBuffer resultsBuf) withResultsBufHolder(ResourceHolder<ByteBuffer> resultsBufHolder) withSelectorPlus(ColumnSelectorPlus selectorPlus)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withSelectorPlus
public PooledTopNAlgorithm.PooledTopNParams.Builder withSelectorPlus(ColumnSelectorPlus selectorPlus) -
withCursor
-
withGranularizer
public PooledTopNAlgorithm.PooledTopNParams.Builder withGranularizer(CursorGranularizer granularizer) -
withResultsBufHolder
public PooledTopNAlgorithm.PooledTopNParams.Builder withResultsBufHolder(ResourceHolder<ByteBuffer> resultsBufHolder) -
withResultsBuf
-
withAggregatorSizes
-
withNumBytesPerRecord
-
withNumValuesPerPass
-
withArrayProvider
public PooledTopNAlgorithm.PooledTopNParams.Builder withArrayProvider(TopNMetricSpecBuilder<int[]> arrayProvider) -
build
-