Package oracle.kv
package oracle.kv
This package contains the public API for using Oracle NoSQL Database.
-
ClassDescriptionThis exception is thrown if an application passes invalid credentials to a KVStore authentication operation.This exception is thrown when a secured operation is attempted and the client is not currently authenticated.BulkWriteOptions is used to configure bulk write operations.Thrown when an attempt is made to exceeded a table's child limit.Used to provide consistency guarantees for read operations.A consistency policy which describes the amount of time the Replica is allowed to lag the Master.A consistency policy which ensures that the environment on a Replica node is at least as current as denoted by the specified Key-Value pair
Consistency.Version
.Thrown when a single or multiple-operation transaction fails because the specifiedConsistency
could not be met, within the allowed timeout period.Used to indicate a status condition or result that is not expressed through the return value, and that should normally be handled by the caller of the method.Used with multiple-key and iterator operations to specify whether to select (return or operate on) the key-value pair for the parent key, and the key-value pairs for only immediate children or all descendants.Used with iterator operations to specify the order that keys are returned.Defines the durability characteristics associated with a standalone write (put or update) operation, or in the case ofKVStore.execute
with a set of operations performed in a single transaction.A replicated environment makes it possible to increase an application's transaction commit guarantees by committing changes to its replicas on the network.Defines the synchronization policy to be used when committing a transaction.Thrown when write operations cannot be initiated because a quorum of Replicas as determined by theDurability.ReplicaAckPolicy
was not available.EntryStream<E>The stream interface that supplies the data (Row or Key/Value pair) to be batched and loaded into the store.An ExecutionFuture is aFuture
that provides a handle to an administrative statement that has been issued and is being processed by the kvstore.A subinterface ofSubscription
implemented by subscriptions supplied when aSubscriber
subscribes to aPublisher
associated with the asynchronous execution of a query.A common exception base class to support internal serialization facilities.Used to indicate an error condition that cannot normally be handled by the caller of the method, except by retrying the operation.Thrown when an attempt is made to exceeded a table's index limit.A subinterface ofSubscription
implemented by subscriptions supplied when aSubscriber
subscribes to aPublisher
associated with an asynchronous table iteration.Login credentials for Kerberos authentication.The Key in a Key/Value store.Defines a range of Key components for use in multiple-key operations and iterations.Represents a key/value pair.Represents a key/value pair along with its version.KVLocal is a handle for managing embedded Oracle NoSQL Database.Represents the configuration parameters used to create aKVLocal
object.Base builder class used to set configuration parameters common to both TCP sockets and Unix domain sockets.InetBuilder to help construct a KVLocalConfig instance using TCP sockets.Builder class to help construct aKVLocalConfig
instance using Unix domain sockets.Generic exception class for generating runtime exceptions for KVLocal.The KVSecurityConstants interface defines constants used for security configuration.The common abstract base class of KVStore security-related exceptions.KVStore is the handle to a store that is running remotely.Represents the configuration parameters used to create a handle to an existing KV store.Factory class used to produce handles to an existing KVStore.Oracle NoSQL DB version information.The common interface of KVStore credential class implementations.The exception is thrown when an expected piece of metadata is not found.Generic exception class for generating runtime exceptions whose messages are derived from a locale specific message file.Denotes an Operation in a sequence of operations passed to theKVStore.execute
method.The type of operation, as determined by the method used to create it.Used to indicate a failure to execute a sequence of operations.A factory to create operations that can be batched for execution byKVStore.execute
.The Result associated with the execution of an Operation.Interface to the specialized Iterator type returned by theParallel Scan version
of storeIterator().Username/password credentials.An exception thrown when a prepared query is executed and the query must be re-prepared by the application before it can be executed.Thrown when a read operation cannot be completed because the read throughput rate limit has been exceeded.A callback interface used when KVStore authentication has expired and requires renewal.Describes how requests may be limited so that one or more nodes with long service times don't end up consuming all available threads in the KVS client.Thrown when a request cannot be processed because it would exceed the maximum number of active requests for a node as configured viaKVStoreConfig.setRequestLimit(oracle.kv.RequestLimitConfig)
.Thrown when a request cannot be processed because the configured timeout interval is exceeded.A common exception base class for exceptions related to resource usage.Used with put and delete operations to return the previous value and version.Specifies whether to return the value, version, both or neither.Thrown when the server is unable to handle a request because of resource constraints.Thrown when a KVStore instance is no longer valid.A StatementResult provides information about the execution and outcome of a table statement.Shows the kind of StatementResult.The configuration object forKVStore.storeIterator(Direction, int, Key, KeyRange, Depth, Consistency, long, TimeUnit, StoreIteratorConfig)
.Thrown byKVStore.storeIterator(Direction, int, Key, KeyRange, Depth, Consistency, long, TimeUnit, StoreIteratorConfig)
when an exception occurs.Thrown when an operation to a table cannot be completed due to limits on write and possibly read access.Thrown when write operations cannot be completed because a partition size limit has been exceeded.Thrown when write operations cannot be completed because a table size limit has been exceeded.Thrown when read or write operations cannot be completed because a throughput rate limit has been exceeded.This exception is thrown from methods where an authenticated user is attempting to perform an operation for which they are not authorized.The Value in a Key/Value store.Identifies the format of a value.ValueBinding<T>Deprecated.as of 4.0, use the table API instead.Holds a Value and Version that are associated with a given Key.A Version refers to a specific version of a key-value pair.Thrown when a write operation cannot be completed because the write throughput rate limit has been exceeded.