Package oracle.nosql.driver
Class Version
- java.lang.Object
-
- oracle.nosql.driver.Version
-
public class Version extends Object
Version is an opaque class that represents the version of a row in the database. It is returned by successfulNoSQLHandle.get(oracle.nosql.driver.ops.GetRequest)
operations and can be used inPutRequest.setMatchVersion(oracle.nosql.driver.Version)
andDeleteRequest.setMatchVersion(oracle.nosql.driver.Version)
to conditionally perform those operations to ensure an atomic read-modify-write cycle. This is an opaque object from an application perspective.Use of Version in this way adds cost to operations so it should be done only if necessary