Class OracleDocumentLoader
java.lang.Object
dev.langchain4j.data.document.loader.oracle.OracleDocumentLoader
Load documents
Load documents either from the file system or the database. The documents
can be in any format supported by the Oracle Text filter including
Word, PDF, HTML, and text files.
Use the following preferences
To specify a file:
{"file": "filename"}
To specify a directory:
{"dir": "directory name"}
To specify a table:
{"owner": "owner", "tablename": "table name", "colname": "column name"}
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OracleDocumentLoader
create a document loader
-
-
Method Details
-
loadDocuments
load documents- Parameters:
pref
- JSON Preference specifying the file, directory, or table- Throws:
IOException
SQLException
-