Class UndoInstanceUpdate

    • Constructor Detail

      • UndoInstanceUpdate

        public UndoInstanceUpdate()
    • Method Detail

      • getPreviousVersionFromCursor

        protected static clojure.lang.IPersistentVector getPreviousVersionFromCursor​(xtdb.api.ICursor<clojure.lang.IPersistentMap> cursor)
        Retrieve only the current and previous versions of the provided XTDB reference, from an already-opened lazily- evaluated cursor.
        Parameters:
        cursor - from which to lazily-evaluate the current and previous versions
        Returns:
        IPersistentVector with the current version as the first element, and the previous version as the second element (or null if there is no previous version)