Perform a mixed set of record updates.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Function doRecOps( _ 
   ByVal table_name As String,  _ 
   ByVal do_max_work As Boolean,  _ 
   ByVal rec_ops As NetricsRecOpSrc _ 
) As NetricsTableStats
C#
public NetricsTableStats doRecOps(
   string table_name,
   bool do_max_work,
   NetricsRecOpSrc rec_ops
)
C++
public:
 NetricsTableStats doRecOps(
   String table_name,
   bool do_max_work,
   NetricsRecOpSrc rec_ops
) sealed 
J#
public NetricsTableStats doRecOps(
   string table_name,
   bool do_max_work,
   NetricsRecOpSrc rec_ops
)
JScript
public  function doRecOps(
   table_name : String,
   do_max_work : bool,
   rec_ops : NetricsRecOpSrc
) : NetricsTableStats

Parameters

table_name
The name of the ibi™ Patterns - Search table holding the records.
do_max_work
If true record key and record format errors are quietly ignored.
rec_ops
The source that provides the stream of record operations.

Return Value

Statistics on the table state after the operation.

Remarks

This method performs a set of record update operations. The operations to perform are defined by a stream of NetricsRecOp objects. The operations are performed in the order they are returned from the NetricsRecOpSrc. Record operations performed earlier in the stream are seen by later operations in the stream. For example if a new record is added, a delete that follows it will delete the added record instead of failing. All operations are committed or rolled back as a unit.

See Also