Class Api.BatchTransaction

  • All Implemented Interfaces:
    BatchTransaction
    Enclosing class:
    Api

    public static class Api.BatchTransaction
    extends java.lang.Object
    implements BatchTransaction
    Internal class for the Oso Cloud API.

    This class is not intended to be used directly by application developers. It is used internally by the Oso Cloud Java client to interact with the Oso Cloud API.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(Fact fact)
      Stage a fact for deletion within the batch transaction.
      void insert​(Fact fact)
      Stage a fact for insertion within the batch transaction.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • insert

        public void insert​(Fact fact)
        Description copied from interface: BatchTransaction
        Stage a fact for insertion within the batch transaction.
        Specified by:
        insert in interface BatchTransaction
        Parameters:
        fact - The fact to insert.
      • delete

        public void delete​(Fact fact)
        Description copied from interface: BatchTransaction
        Stage a fact for deletion within the batch transaction.
        Specified by:
        delete in interface BatchTransaction
        Parameters:
        fact - The fact to delete.