Class AggregationControl
java.lang.Object
io.deephaven.engine.table.impl.by.AggregationControl
Stateless "control" class for giving external code (e.g. unit tests) knobs to turn w.r.t. to how aggregations should
be processed.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable BasicDataIndex
dataIndexToUse
(@NotNull Table table, @NotNull String... keyColumnNames) double
double
int
initialHashTableSize
(@NotNull Table inputTable)
-
Field Details
-
DEFAULT
-
IGNORE_INDEXING
-
-
Constructor Details
-
AggregationControl
public AggregationControl()
-
-
Method Details
-
initialHashTableSize
-
getTargetLoadFactor
public double getTargetLoadFactor() -
getMaximumLoadFactor
public double getMaximumLoadFactor() -
dataIndexToUse
@Nullable public @Nullable BasicDataIndex dataIndexToUse(@NotNull @NotNull Table table, @NotNull @NotNull String... keyColumnNames) Get aBasicDataIndex
to use for aggregatingtable
bykeyColumnNames
.This call should be enclosed within a
LivenessScope
to ensure liveness is not unintentionally leaked for any newindexes
ortables
created. If a non-null
BasicDataIndex.isRefreshing()
is returned, it will have been managed by the enclosingLivenessScope
.If a non-
null
result is returned, it will have transformed as needed to ensure that theBasicDataIndex.table()
is sorted by first row key.
-