DBMGetNumResultsOfScan

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

Syntax
DBMErr DBMGetNumResultsOfScan(ScanId scanId, P_S32 numResults);

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

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

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

See Also
DBMOpenSeqScanTable, DBMOpenIndexScanTable, DBMOpenSearchScanTable

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