ISqlToCBulkConverter Class Reference

SQL to C bulk converter interface. More...

Inherited by SqlToCBulkConverter< FunctorT >.

List of all members.

Public Member Functions

virtual simba_unsigned_native Convert (const AbstractColumnSegment &in_fromSegment, void *in_toDataPtr, simba_signed_native in_toDataLength, simba_signed_native in_toDataOffset, simba_signed_native *in_toLengthPtr, simba_signed_native in_toLengthOffset, IBulkConversionListener &in_listener)=0
 Convert the multiple row values (data retrieved and described in the given column segment by the DSII) corresponding to the SQL data into the given C data and length indicators.
virtual ~ISqlToCBulkConverter ()
 Destructor.

Detailed Description

SQL to C bulk converter interface.


Constructor & Destructor Documentation

virtual ~ISqlToCBulkConverter (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual simba_unsigned_native Convert ( const AbstractColumnSegment in_fromSegment,
void *  in_toDataPtr,
simba_signed_native  in_toDataLength,
simba_signed_native  in_toDataOffset,
simba_signed_native in_toLengthPtr,
simba_signed_native  in_toLengthOffset,
IBulkConversionListener in_listener 
) [pure virtual]

Convert the multiple row values (data retrieved and described in the given column segment by the DSII) corresponding to the SQL data into the given C data and length indicators.

Parameters:
in_fromSegment Column segment describing the source data.
in_toDataPtr Pointer to the buffer where the value resulting from the conversion has to be stored.
in_toDataLength Total length of the data buffer (in bytes).
in_toDataOffset Offset to add to the data pointer to compute the address of the next row.
in_toLengthPtr Pointer to the buffer where the length of the converted data has to be stored.
in_toLengthOffset Offset to add to the length pointer to compute the address of the next row.
in_listener Listener in which to post conversion results.
Returns:
Number of rows actually converted for this call.

Implemented in SqlToCBulkConverter< FunctorT >.


The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:19 2017 for SimbaEngine 10.1.3.1011 by simba