Package com.illumon.iris.db.v2.by
Class ChunkedOperatorAggregationHelper
java.lang.Object
com.illumon.iris.db.v2.by.ChunkedOperatorAggregationHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryTable
aggregation
(AggregationContextFactory aggregationContextFactory, QueryTable queryTable, SelectColumn[] groupByColumns) static QueryTable
aggregation
(AggregationControl control, AggregationContextFactory aggregationContextFactory, QueryTable queryTable, SelectColumn[] groupByColumns) static int
chunkSize
(long size) Return the minimum of our chunk size and the size of an input.
-
Field Details
-
KEY_ONLY_SUBSTITUTION_ENABLED
-
-
Constructor Details
-
ChunkedOperatorAggregationHelper
public ChunkedOperatorAggregationHelper()
-
-
Method Details
-
aggregation
public static QueryTable aggregation(AggregationContextFactory aggregationContextFactory, QueryTable queryTable, SelectColumn[] groupByColumns) -
aggregation
@VisibleForTesting public static QueryTable aggregation(AggregationControl control, AggregationContextFactory aggregationContextFactory, QueryTable queryTable, SelectColumn[] groupByColumns) -
chunkSize
public static int chunkSize(long size) Return the minimum of our chunk size and the size of an input.- Parameters:
size
- the input size- Returns:
- an appropriate chunk size to use
-