Preface
There are two different APIs that can be used to write Oracle NoSQL Database applications: the original Key/Value API, and the Table API. In addition, the Key/Value API is available in Java and C. The Table API is available in Java, C, node.js (Javascript), Python, and C#. This document describes how to write Oracle NoSQL Database applications using the Table API in Java.
Note:
Most application developers should use one of the Table drivers because the Table API offers important features not found in the Key/Value API. The Key/Value API will no longer be enhanced in future releases of Oracle NoSQL Database.
This document provides the concepts surrounding Oracle NoSQL Database, data schema considerations, as well as introductory programming examples.
This document is aimed at the software engineer responsible for writing an Oracle NoSQL Database application.
Conventions Used in This Book
The following typographical conventions are used within in this manual:
Class names are represented in monospaced font
, as are method names
. For example: "The KVStoreConfig()
constructor returns a KVStoreConfig
class object."
Variable or non-literal text is presented in italics. For example: "Go to your KVHOME directory."
Program examples are displayed in a monospaced font
on a shaded background. For example:
import oracle.kv.KVStore;
import oracle.kv.KVStoreConfig;
...
KVStoreConfig kconfig = new KVStoreConfig("exampleStore",
"node1.example.org:5088, node2.example.org:4129");
KVStore kvstore = null;
In some situations, programming examples are updated from one chapter to the next. When this occurs, the new code is presented in monospaced bold
font. For example:
import oracle.kv.KVStore;
import oracle.kv.KVStoreConfig;
import oracle.kv.KVStoreFactory;
...
KVStoreConfig kconfig = new KVStoreConfig("exampleStore",
"node1.example.org:5088, node2.example.org:4129");
KVStore kvstore = null;
try {
kvstore = KVStoreFactory.getStore(kconfig);
} catch (FaultException fe) {
// Some internal error occurred. Either abort your application
// or retry the operation.
}
Note:
Finally, notes of special interest are represented using a note block such as this.
Diversity and Inclusion
Oracle is fully committed to diversity and inclusion. Oracle respects and values having a diverse workforce that increases thought leadership and innovation. As part of our initiative to build a more inclusive culture that positively impacts our employees, customers, and partners, we are working to remove insensitive terms from our products and documentation. We are also mindful of the necessity to maintain compatibility with our customers' existing technologies and the need to ensure continuity of service as Oracle's offerings and industry standards evolve. Because of these technical constraints, our effort to remove insensitive terms is ongoing and will take time and external cooperation.