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

public class AddEntityProxy extends AbstractTransactionFunction
Transaction function for adding an EntityProxy.
  • Field Details

    • FUNCTION_NAME

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

    • transact

      public static void transact(XTDBOMRSRepositoryConnector xtdb, EntityProxy entity) throws RepositoryErrorException
      Create the provided entity instance in the XTDB repository by pushing down the transaction.
      Parameters:
      xtdb - connectivity
      entity - to create
      Throws:
      RepositoryErrorException - on any error
    • create

      public static void create(xtdb.api.tx.Transaction.Builder tx)
      Create the transaction function within XTDB.
      Parameters:
      tx - transaction through which to create the function