Class BinarySearchKernelHelper

java.lang.Object
io.deephaven.engine.table.impl.sources.regioned.kernel.BinarySearchKernelHelper

public class BinarySearchKernelHelper extends Object
Helper methods for binary search kernels.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    compareConsistentWithEquality(@NotNull Class<?> dataType)
    Whether dataType compares consistently with equality, meaning ObjectComparisons.compare(a, b) == 0 exactly when ObjectComparisons.eq(a, b), for every pair of values.
    static void
    registerConsistentType(@NotNull Class<?> dataType)
    Registers dataType as ordering consistently with equality, letting a sorted binary search answer a match over a column of that type by ordering alone.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait