About Oracle NoSQL Database SDK drivers
Learn about Oracle NoSQL Database SDK drivers.
Oracle NoSQL Database supports many of the most popular programming languages and frameworks with idiomatic language APIs and data structures, giving your application language native access to data stored in NoSQL Database. It currently supports the following programming languages and frameworks: Java, Python, Node.js(JavaScript/TypeScript), Golang, C#/.NET, and Rust.
Make sure that a recent version of the java jdk is installed locally on your computer.
Make sure you have maven
installed. See Installing Maven for details. The Oracle NoSQL Database SDK for Java
is available in Maven Central repository, details available here. The main location of the project is in GitHub.
Note:
Please replace the placeholder for the version of the Oracle NoSQL Java SDK in thepom.xml
file with the exact SDK version
number.
<dependency>
<groupId>com.oracle.nosql.sdk</groupId>
<artifactId>nosqldriver</artifactId>
<version><NOSQL_JAVASDK_VERSION></version>
</dependency>
The Oracle NoSQL Database SDK for Java provides you with all the Java classes, methods, interfaces and examples. Documentation is available as javadoc in GitHub or from Java API Reference Guide.
Make sure that python is installed in your system. You can install the Python SDK through the Python Package Index with the command given below.
pip3 install borneo
pip3 install oci
The main location of the project is in GitHub.The Oracle NoSQL SDK for Python provides you with all the Python classes, methods, interfaces and examples. Documentation is available in Python API Reference Guide.
Make sure you have Go installed in your computer.
import "github.com/oracle/nosql-go-sdk/nosqldb"
When
you build or test your application, the build commands will automatically add
new dependencies as needed to satisfy imports, updating go.mod and
downloading the new dependencies.
The main location of the project is in GitHub. Access the online godoc for information on using the SDK and to reference Go driver packages, types, and methods.
Download and install Node.js from Node.js Downloads. Ensure that Node Package Manager (npm) is installed along with Node.js. Install the node SDK for Oracle NoSQL Database using one of the commands shown below.
npm install oracle-nosqldb
The npm will create a node_modules
directory in the
current directory and install it there.
npm install -g oracle-nosqldb
The main location of the project is in GitHub. Access the Node.js API Reference Guide to reference Node.js classes, events, and global objects.
npm
to install a
supported version. Use the following command to install a specific version of
the Typescript.npm install typescript
For additional information on TypeScript, see TypeScript Modules.
About the code samples:
You can use the given code samples in TypeScript or JavaScript if using the ES6 modules.
- If you want to use JavaScript with CommonJS modules, import
the classes/types using the 'require' syntax. For more
information, see Node.js CommonJS Modules. For
example:
const NoSQLClient = require('oracle-nosqldb').NoSQLClient;
- If you want to use JavaScript with ES6 modules, import the
classes/types using the 'import' syntax. For more information,
see Node.js ECMAScript Modules. For example:
import { NoSQLClient } from 'oracle-nosqldb';
Make sure you have .NET installed in your system.
- Add the SDK as a Project Reference: Run the following
command to create your project directory.
You may add the SDK NuGet Package as a reference to your project by using .Net CLI.dotnet newconsole -o HelloWorld
Alternatively, you may perform the same using NuGet Package Manager in Visual Studio.cd <your-project-directory> dotnet add package Oracle.NoSQL.SDK
- Independent Install: You may install the SDK independently
into a directory of your choice by using nuget.exe
CLI.
nuget.exe install Oracle.NoSQL.SDK -OutputDirectory <your-packages-directory>
The main location of the project is in GitHub. See Oracle NoSQL Dotnet SDK API Reference for more details of all classes and methods.
Make sure the Rust binary is installed in your system. You can download and install a Rust binary release suitable for your system. The Rust SDK for Oracle NoSQL Database is published as a Rust crate. It is recommended to use the crates.io standard Rust mechanism for usage of this crate.
Cargo.toml
file:[dependencies]
oracle-nosql-rust-sdk = "0.1.1"
The main location of the project is in the GitHub. The Oracle NoSQL Database SDK for Rust provides you with all the classes, methods, interfaces, and examples and is available in Rust API Reference Guide.