Interface EngineConfig.TombstoneDocSupplier

  • Enclosing class:

    public static interface EngineConfig.TombstoneDocSupplier
    A supplier supplies tombstone documents which will be used in soft-update methods. The returned document consists only _uid, _seqno, _term and _version fields; other metadata fields are excluded.
    • Method Detail

      • newDeleteTombstoneDoc

        ParsedDocument newDeleteTombstoneDoc​(java.lang.String type,
                                             java.lang.String id)
        Creates a tombstone document for a delete operation.
      • newNoopTombstoneDoc

        ParsedDocument newNoopTombstoneDoc​(java.lang.String reason)
        Creates a tombstone document for a noop operation.
        reason - the reason of an a noop