Package com.osohq.oso_cloud.internal
Class Api.BatchTransaction
- java.lang.Object
-
- com.osohq.oso_cloud.internal.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 voiddelete(Fact fact)Stage a fact for deletion within the batch transaction.voidinsert(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
-
Methods inherited from interface com.osohq.oso_cloud.BatchTransaction
delete
-
-
-
-
Method Detail
-
insert
public void insert(Fact fact)
Description copied from interface:BatchTransactionStage a fact for insertion within the batch transaction.- Specified by:
insertin interfaceBatchTransaction- Parameters:
fact- The fact to insert.
-
delete
public void delete(Fact fact)
Description copied from interface:BatchTransactionStage a fact for deletion within the batch transaction.- Specified by:
deletein interfaceBatchTransaction- Parameters:
fact- The fact to delete.
-
-