|  | Qore oracle Module
    ..
    | 
Qore wrapper/helper for Long Operations. More...
| Public Member Methods | |
| constructor (string op_name, string target_desc, string units, int totalwork) | |
| Create an OracleLongOps instance.  More... | |
| bool | inProgress () | 
| Get info if is the long operation finished or not from the totalwork/sofar comparsion.  More... | |
| *int | getTarget () | 
| Get the value of target attribute.  More... | |
Qore wrapper/helper for Long Operations.
Instanes of this class do not make any changes in the database server. All changes are performed by OracleDatasource or OracleDatasourcePool. OracleExtensions::OracleLongOps just hold required attributes. It performs client side checks of attributes validity too.
See Examples
| 
 | inline | 
Create an OracleLongOps instance.
| op_name | mandatory string. Specifies the name of the long running task | 
| target_desc | mandatory string. Specifies the description of the object being manipulated in this long operation | 
| units | mandatory string. Specifies the units in which sofar and totalwork are being represented | 
| totalwork | mandatory int. Any number (greater than 0) the client wants to store | 
It can trhow ORACLE-LONGOPS-ERROR when is some input parameter ot of allowed size. 
| * int OracleExtensions::OracleLongOps::getTarget | ( | ) | 
Get the value of target attribute.
| __7_ | int a target value Target specifies the object that is being worked on during the long running operation. For example, it could be a table ID that is being sorted. It appears as the TARGET column of v$session_longops. | 
| bool OracleExtensions::OracleLongOps::inProgress | ( | ) | 
Get info if is the long operation finished or not from the totalwork/sofar comparsion.
| bool | True is totalwork did not met the sofar attribute |