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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable BasicDataIndexdataIndexToUse(@NotNull Table table, @NotNull String... keyColumnNames) doubledoubleintinitialHashTableSize(@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 aBasicDataIndexto use for aggregatingtablebykeyColumnNames.This call should be enclosed within a
LivenessScopeto ensure liveness is not unintentionally leaked for any newindexesortablescreated. If a non-nullBasicDataIndex.isRefreshing()is returned, it will have been managed by the enclosingLivenessScope.If a non-
nullresult is returned, it will have transformed as needed to ensure that theBasicDataIndex.table()is sorted by first row key.
-