RIV::OQL module overview

The RIV::OQL module provides an interface to communicate with and perform operations on Network Manager internal databases.

RIV::OQL constructor

The RIV::OQL module provides a constructor that creates and initializes a new RIV::OQL object. The RIV::OQL constructor takes a blessed reference to either a discovery agent application object or a client/server application object. These application objects were returned in a previous call to the RIV::Agent or RIV::App constructor. The RIV::OQL constructor also takes the name of a service that indicates the Network Manager internal database to use.

Database operation methods

The RIV::OQL module provides methods that client/server applications use to perform a variety of operations on Network Manager internal databases.

The following table identifies and briefly describes the database operation methods that the RIV::OQL module provides:

Database method Description

Close

Close an OQL client.

CreateDB

Creates a database.

CreateTable

Creates a database table.

Delete

Deletes records from a database table.

Insert

Inserts records into a database table.

Print

Prints records as a result of a database query.

Query

Run a query.

QueryGetResult

Get a single result.

QueryGetResults

Get multiple results.

Select

Executes the specified OQL statement.

Send

Communicates with the specified database.

Update

Updates records that currently reside in the specified database.

See RIV::OQL module reference for the reference (man) pages associated with these methods.