ConnectorLib Java 25.1
ConnectorLib Java SDK Programming Guide

# Remove Records

You can remove records with the `recordRemove` method of the `Datastore` class. This method removes all records that match a filter.

For example, to remove all records where the reference is equal to `C:\data\file1.txt`:

           DatastoreRecord filter = new DatastoreRecord();
           filter.setString("Reference", "C:\\data\\file1.txt");

           datastore.recordRemove("Documents", filter);

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: Remove Records