Class OperatorAggregationStateManagerOpenAddressedAlternateBase

java.lang.Object
io.deephaven.engine.table.impl.by.OperatorAggregationStateManagerOpenAddressedAlternateBase
Direct Known Subclasses:
IncrementalChunkedOperatorAggregationStateManagerOpenAddressedBase

public abstract class OperatorAggregationStateManagerOpenAddressedAlternateBase extends Object
  • Field Details

    • CHUNK_SIZE

      public static final int CHUNK_SIZE
    • tableSize

      protected int tableSize
      The number of slots in our table.
    • alternateTableSize

      protected int alternateTableSize
      The number of slots in our alternate table, to start with "1" is a lie, but rehashPointer is zero; so our location value is positive and can be compared against rehashPointer safely
    • fullRehash

      protected boolean fullRehash
      Should we rehash the entire table fully (true) or incrementally (false)?
    • rehashPointer

      protected int rehashPointer
      How much of the alternate sources are necessary to rehash?
    • numEntries

      protected long numEntries
    • mainKeySources

      protected final WritableColumnSource[] mainKeySources
      The keys for our hash entries.
    • alternateKeySources

      protected final ColumnSource[] alternateKeySources
      The keys for our hash entries, for the old alternative smaller table.
    • UNKNOWN_ROW

      static final int UNKNOWN_ROW
      See Also:
  • Constructor Details

    • OperatorAggregationStateManagerOpenAddressedAlternateBase

      protected OperatorAggregationStateManagerOpenAddressedAlternateBase(ColumnSource<?>[] tableKeySources, int tableSize, double maximumLoadFactor)
  • Method Details