Uses of Class
oracle.kv.Version
-
Packages that use Version Package Description oracle.kv This package contains the public API for using Oracle NoSQL Database.oracle.kv.lob The KVLargeObject interface defines the operations used to read and write Large Objects (LOBs) such as audio and video files.oracle.kv.table Table support for Oracle NoSQL Database. -
-
Uses of Version in oracle.kv
Methods in oracle.kv that return Version Modifier and Type Method Description static VersionVersion. fromByteArray(byte[] versionBytes)Deserializes the given bytes that were returned earlier bytoByteArray()and returns the resulting Version.VersionOperationResult. getNewVersion()For a put operation, the version of the new key/value pair.VersionOperationResult. getPreviousVersion()For a put or delete operation, the version of the previous value associated with the key.VersionConsistency.Version. getVersion()Return theVersionused to create this consistency policy.VersionKeyValueVersion. getVersion()Returns the Version of the KV pair.VersionValueVersion. getVersion()Returns the Version of the KV pair.VersionKVStore. put(Key key, Value value)Put a key/value pair, inserting or overwriting as appropriate.VersionKVStore. put(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/value pair, inserting or overwriting as appropriate.VersionKVStore. putIfAbsent(Key key, Value value)Put a key/value pair, but only if no value for the given key is present.VersionKVStore. putIfAbsent(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/value pair, but only if no value for the given key is present.VersionKVStore. putIfPresent(Key key, Value value)Put a key/value pair, but only if a value for the given key is present.VersionKVStore. putIfPresent(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/value pair, but only if a value for the given key is present.VersionKVStore. putIfVersion(Key key, Value value, Version matchVersion)Put a key/value pair, but only if the version of the existing value matches the matchVersion argument.VersionKVStore. putIfVersion(Key key, Value value, Version matchVersion, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/value pair, but only if the version of the existing value matches the matchVersion argument.Methods in oracle.kv with parameters of type Version Modifier and Type Method Description OperationOperationFactory. createDeleteIfVersion(Key key, Version version)Create a Delete operation suitable for use as an argument to theexecutemethod.OperationOperationFactory. createDeleteIfVersion(Key key, Version version, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)Create a Delete operation suitable for use as an argument to theexecutemethod.OperationOperationFactory. createPutIfVersion(Key key, Value value, Version version)Create a Put operation suitable for use as an argument to theexecutemethod.OperationOperationFactory. createPutIfVersion(Key key, Value value, Version version, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)Create a Put operation suitable for use as an argument to theexecutemethod.booleanKVStore. deleteIfVersion(Key key, Version matchVersion)Delete a key/value pair, but only if the version of the existing value matches the matchVersion argument.booleanKVStore. deleteIfVersion(Key key, Version matchVersion, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Delete a key/value pair, but only if the version of the existing value matches the matchVersion argument.VersionKVStore. putIfVersion(Key key, Value value, Version matchVersion)Put a key/value pair, but only if the version of the existing value matches the matchVersion argument.VersionKVStore. putIfVersion(Key key, Value value, Version matchVersion, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/value pair, but only if the version of the existing value matches the matchVersion argument.ValueVersionValueVersion. setVersion(Version version)Used internally to initialize the Version of the KV pair.Constructors in oracle.kv with parameters of type Version Constructor Description ValueVersion(Value value, Version version)Used internally to create an object with a value and version.Version(Version version, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Defines how current a Replica needs to be in terms of a specific write operation that was previously completed. -
Uses of Version in oracle.kv.lob
Methods in oracle.kv.lob that return Version Modifier and Type Method Description VersionKVLargeObject. appendLOB(Key lobKey, java.io.InputStream lobAppendStream, Durability durability, long lobTimeout, java.util.concurrent.TimeUnit timeoutUnit)Appends to a value of an existing LOB key/value pair.VersionInputStreamVersion. getVersion()Returns the Version of the InputStream and Version pair.VersionKVLargeObject. putLOB(Key lobKey, java.io.InputStream lobStream, Durability durability, long lobTimeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/LOB value pair, inserting new value or overwriting an existing pair as appropriate.VersionKVLargeObject. putLOBIfAbsent(Key lobKey, java.io.InputStream lobStream, Durability durability, long lobTimeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/LOB value pair, but only if the key either has no value or has a partially inserted or deleted LOB value present.VersionKVLargeObject. putLOBIfPresent(Key lobKey, java.io.InputStream lobStream, Durability durability, long lobTimeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/LOB value pair, but only if a complete value for the given key is present.Constructors in oracle.kv.lob with parameters of type Version Constructor Description InputStreamVersion(java.io.InputStream inputStream, Version version)Used internally to create an object with an inputStream and version. -
Uses of Version in oracle.kv.table
Methods in oracle.kv.table that return Version Modifier and Type Method Description VersionTableOperationResult. getNewVersion()For a put operation, the version of the new row.VersionTableOperationResult. getPreviousVersion()For a put or delete operation, the version of the previous row associated with the key.VersionRow. getVersion()Returns the Version for the row.VersionTableAPI. put(Row row, ReturnRow prevRow, WriteOptions writeOptions)Puts a row into a table.VersionTableAPI. putIfAbsent(Row row, ReturnRow prevRow, WriteOptions writeOptions)Puts a row into a table, but only if the row does not exist.VersionTableAPI. putIfPresent(Row row, ReturnRow prevRow, WriteOptions writeOptions)Puts a row into a table, but only if the row already exists.VersionTableAPI. putIfVersion(Row row, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions)Puts a row, but only if the version of the existing row matches the matchVersion argument.Methods in oracle.kv.table that return types with arguments of type Version Modifier and Type Method Description java.util.concurrent.CompletableFuture<Version>TableAPI. putAsync(Row row, ReturnRow prevRow, WriteOptions writeOptions)Puts a row into a table, returning a future to manage the asynchronous operation.java.util.concurrent.CompletableFuture<Version>TableAPI. putIfAbsentAsync(Row row, ReturnRow prevRow, WriteOptions writeOptions)Puts a row into a table, but only if the row does not exist, returning a future to manage the asynchronous operation.java.util.concurrent.CompletableFuture<Version>TableAPI. putIfPresentAsync(Row row, ReturnRow prevRow, WriteOptions writeOptions)Puts a row into a table, but only if the row already exists, returning a future to manage the asynchronous operation.java.util.concurrent.CompletableFuture<Version>TableAPI. putIfVersionAsync(Row row, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions)Puts a row, but only if the version of the existing row matches thematchVersionargument, returning a future to manage the asynchronous operation.Methods in oracle.kv.table with parameters of type Version Modifier and Type Method Description TableOperationTableOperationFactory. createDeleteIfVersion(PrimaryKey key, Version versionMatch, ReturnRow.Choice prevReturn, boolean abortIfUnsuccessful)Create a Delete operation suitable for use as an argument to theexecutemethod.TableOperationTableOperationFactory. createPutIfVersion(Row row, Version versionMatch, ReturnRow.Choice prevReturn, boolean abortIfUnsuccessful)Create a Put operation suitable for use as an argument to theexecutemethod.booleanTableAPI. deleteIfVersion(PrimaryKey key, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions)Deletes a row from a table but only if its version matches the one specified in matchVersion.java.util.concurrent.CompletableFuture<java.lang.Boolean>TableAPI. deleteIfVersionAsync(PrimaryKey key, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions)Deletes a row from a table, but only if its version matches the one specified inmatchVersion, returning a future to manage the asynchronous operation.VersionTableAPI. putIfVersion(Row row, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions)Puts a row, but only if the version of the existing row matches the matchVersion argument.java.util.concurrent.CompletableFuture<Version>TableAPI. putIfVersionAsync(Row row, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions)Puts a row, but only if the version of the existing row matches thematchVersionargument, returning a future to manage the asynchronous operation.
-