Class DeleteInstance
java.lang.Object
org.odpi.egeria.connectors.juxt.xtdb.txnfn.AbstractTransactionFunction
org.odpi.egeria.connectors.juxt.xtdb.txnfn.DeleteInstance
- Direct Known Subclasses:
DeleteEntity,DeleteRelationship
Base transaction function for deleting instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static clojure.lang.IPersistentMapdeleteInstance(String userId, clojure.lang.IPersistentMap existing) Makes the necessary changes to mark a metadata instance as soft-deleted.Methods inherited from class org.odpi.egeria.connectors.juxt.xtdb.txnfn.AbstractTransactionFunction
createTransactionFunction, getGUID, getInstanceProvenanceType, getMetadataCollectionId, getTxnTimeCalculation, getTypeDefForInstance, getTypeDefGUID, incrementVersion, incrementVersion
-
Constructor Details
-
DeleteInstance
public DeleteInstance()
-
-
Method Details
-
deleteInstance
protected static clojure.lang.IPersistentMap deleteInstance(String userId, clojure.lang.IPersistentMap existing) Makes the necessary changes to mark a metadata instance as soft-deleted.- Parameters:
userId- doing the deletionexisting- metadata instance- Returns:
- IPersistentMap giving the deleted instance representation
-