NullColumnsMetadataResult Class Reference

This sample implementation is a special filtered metadata result which fills in NULLs for columns with derived ID of DSI_NULL_DERIVED_COLUMN_ID. More...

Inherits Simba::DSI::FilteredMetadataResult.

List of all members.

Public Member Functions

bool GetDerivedMetadata (Simba::DSI::DSIDerivedMetadataColumnID in_derivedID, SqlData *in_data, simba_signed_native in_offset, simba_signed_native in_maxSize)
 Retrieves derived data specific to the metadata table.
 NullColumnsMetadataResult (Simba::DSI::DSIMetadataSource *in_metadataSource, std::vector< Simba::DSI::DSIOutputMetadataColumn * > &in_columnMetadata, std::vector< Simba::DSI::DSIMetadataFilter * > &in_filters, ILogger *in_log)
 Constructor.
virtual ~NullColumnsMetadataResult ()
 Destructor.

Detailed Description

This sample implementation is a special filtered metadata result which fills in NULLs for columns with derived ID of DSI_NULL_DERIVED_COLUMN_ID.

The only supported CursorType is SIMBA_FORWARD_ONLY.


Constructor & Destructor Documentation

NullColumnsMetadataResult ( Simba::DSI::DSIMetadataSource in_metadataSource,
std::vector< Simba::DSI::DSIOutputMetadataColumn * > &  in_columnMetadata,
std::vector< Simba::DSI::DSIMetadataFilter * > &  in_filters,
ILogger in_log 
)

Constructor.

Parameters:
in_metadataSource Raw metadata table data, cannot be NULL. (OWN)
in_columnMetadata A list of column metadata. (OWN)
in_filters A list of metadata filters used to determine which rows are needed in retrieving data. (OWN)
in_log ILogger, can be NULL. (NOT OWN)
Exceptions:
DSIException if in_metadataSource is NULL.
virtual ~NullColumnsMetadataResult (  )  [virtual]

Destructor.


Member Function Documentation

bool GetDerivedMetadata ( Simba::DSI::DSIDerivedMetadataColumnID  in_derivedID,
SqlData in_data,
simba_signed_native  in_offset,
simba_signed_native  in_maxSize 
) [virtual]

Retrieves derived data specific to the metadata table.

This implementation throws an DSIException because this filtered result does not contain derived columns.

Parameters:
in_derivedID Identifies the information that needs to be filled into in_data.
in_data Holds a buffer to store the requested data.
in_offset Number of bytes in the data to skip before copying into in_data.
in_maxSize Maximum number of bytes of data to return in in_data.
Returns:
True if there is more data; false otherwise.

Reimplemented from FilteredMetadataResult.


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

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