as_DBMGetNumResultsOfScan

Description
ƯÁ¤ ½ºÄµÀÇ °á°ú¿¡ ÇØ´çÇÏ´Â ·¹ÄÚµåµéÀÇ °³¼ö¸¦ ±¸ÇÑ´Ù.

Syntax
DBMErr as_DBMGetNumResultsOfScan(ScanId scanId, P_S32 numResults);

Parameters
scanIdopenµÈ ½ºÄµ ID
numResults  ½ºÄµÀÇ °á°ú¿¡ ÇØ´çÇÏ´Â ·¹ÄÚµåµéÀÇ °³¼ö

Returns
value¼³¸í
DBM_OK¼º°øÀûÀ¸·Î ¼öÇàµÈ °æ¿ì
DBM_INVALID_SCAN_IDÁÖ¾îÁø ½ºÄµ id¸¦ °®´Â ½ºÄµÀÌ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì
DBM_DB_NOT_INITEDµ¥ÀÌŸº£À̽º°¡ ÃʱâÈ­µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì

Comments
search ½ºÄµÀÇ °æ¿ì, Å° °ª°ú substring matchµÇ´Â ·¹ÄÚµåÀÇ °³¼ö¸¦ ¹ÝȯÇÑ´Ù.
À妽º ½ºÄµÀÇ °æ¿ì, Å° °ª°ú prefix matchµÇ´Â ·¹ÄÚµåÀÇ °³¼ö¸¸À» ¹ÝȯÇÏ´Â Á¡¿¡ À¯ÀÇÇØ¾ß ÇÑ´Ù.

See Also
as_DBMOpenSeqScanTable, as_DBMOpenIndexScanTable, as_DBMOpenSearchScanTable

Example
TableId tableId; ScanId scanId; RecId recId; DBMErr ret=DBM_OK;
int numResults;
ret = as_DBMOpenSeqScanTable( tableId, NULL_CAT_ID, DBM_PRIM, 0, DBM_INCR, &scanId);
if( ret < DBM_OK ) // error handling
...
ret = as_DBMGetNumResultsOfScan( scanId, &numResults);
if( ret < DBM_OK ) // error handling