Class ColumnData.Reconciler

    • Constructor Detail

      • Reconciler

        public Reconciler()
    • Method Detail

      • merge

        public ColumnData merge​(ColumnData existing,
                                ColumnData update)
        Description copied from interface: UpdateFunction
        Computes the result of merging the existing value with the one from the update.
        Specified by:
        merge in interface UpdateFunction<ColumnData,​ColumnData>
        Parameters:
        existing - the value in the original tree we have matched
        update - the value in the updating collection that matched
        Returns:
        the value to insert into the new tree
      • retain

        public ColumnData retain​(ColumnData existing)
        Checks if the specified value should be deleted or not.
        Parameters:
        existing - the existing value to check
        Returns:
        null if the value should be removed from the BTree or the existing value if it should not.
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable