java.lang.Object
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.PurgeRelationship

public class PurgeRelationship extends AbstractTransactionFunction
Transaction function for hard-deleting a relationship.
  • Field Details

    • FUNCTION_NAME

      public static final clojure.lang.Keyword FUNCTION_NAME
  • Constructor Details

    • PurgeRelationship

      public PurgeRelationship(Long txId, clojure.lang.PersistentHashMap existing, String deletedRelationshipGUID, boolean force) throws Exception
      Constructor used to execute the transaction function.
      Parameters:
      txId - the transaction ID of this function invocation
      existing - XTDB document to update
      deletedRelationshipGUID - of the relationship to purge
      force - if true, do not validate whether the relationship is already soft-deleted before purging
      Throws:
      Exception - on any error
  • Method Details