Enum Class RowSetFactory.UnionStrategy

java.lang.Object
java.lang.Enum<RowSetFactory.UnionStrategy>
io.deephaven.engine.rowset.RowSetFactory.UnionStrategy
All Implemented Interfaces:
Serializable, Comparable<RowSetFactory.UnionStrategy>, java.lang.constant.Constable
Enclosing class:
RowSetFactory

public static enum RowSetFactory.UnionStrategy extends Enum<RowSetFactory.UnionStrategy>
How RowSetFactory.union(Collection) builds its result, selected by the RowSetFactory.unionStrategy configuration property. RADIX is the default; the others are what it replaced, kept for comparison.
  • Enum Constant Details

    • SEQUENTIAL

      public static final RowSetFactory.UnionStrategy SEQUENTIAL
      Copy the first row set and insert the rest into it in the order given: what RowSetFactory.unionInsert(java.util.Collection<io.deephaven.engine.rowset.RowSet>) did before any of the others existed. Quadratic when the inputs are disjoint and arrive out of key order.
    • SEQUENTIAL_SORTED

      public static final RowSetFactory.UnionStrategy SEQUENTIAL_SORTED
      SEQUENTIAL after sorting the inputs by first row key, so that disjoint inputs append in turn whatever order the caller supplied them in.
    • MERGE_IN_PASSES

      public static final RowSetFactory.UnionStrategy MERGE_IN_PASSES
      Merge in passes: an accumulator keeps subsuming the next row set while it appends or while the previous one duplicated rows already held, otherwise a new group starts. See RowSetFactory.mergeInPasses(io.deephaven.engine.rowset.RowSet[], int).
    • RADIX

      public static final RowSetFactory.UnionStrategy RADIX
      When the inputs together hold more entries than a SortedRanges can, build an RspBitmap by a radix pass on the block bits: every range of the small inputs is split into block-local pieces bucketed by block, and each block's container is built once from its own pieces; bitmap-sized inputs are merged in passes and combined at the end. Below the threshold, or when the pieces would not fit one array, the whole union merges in passes instead. See RowSetFactory.unionWithRadix(io.deephaven.engine.rowset.RowSet[], int).
  • Method Details

    • values

      public static RowSetFactory.UnionStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RowSetFactory.UnionStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null