ConnectorLib Java 23.4

# 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 2022 Open Text
Version 23.4 | Last updated September 2023

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL ConnectorLib Java 23.4

Topic Title: Introduction