ConnectorLib Java 25.1
ConnectorLib Java SDK Programming Guide

# Introduction

The datastore is a feature of ConnectorLib Java that allows a connector to store structured information in a file.

Each datastore file contains SQL-like tables with defined columns.

You can use the features provided by ConnectorLib Java to create new tables in the datastore, store and retrieve information efficiently, and manage upgrades and versioning.

## Quick Guide

The following table summarizes the functionality offered by the datastore.

Functionality | Provided By
--- | ---
Create or open a datastore | Create a `Datastore` object
Close a datastore | `Datastore.close`
Create or open a table | `Datastore.createTable`
Insert a record | `Datastore.recordInsert` (pass a Record with all fields set)
Update a record | `Datastore.recordUpdate`
Remove a record | `Datastore.recordRemove`
Commit changes | `Datastore.processQueue`
Select a single record that matches a filter | `Datastore.recordSelectOne`
Select all records that match a filter | `Datastore.recordSelect`
Add an index for faster queries | `Datastore.createIndex`
Upgrade a table | `Datastore.modifyTableByRow` (Can only be used if the table has been created but not committed).

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ConnectorLib Java 25.1

Topic Title: Introduction