parameters: (self, desc)
return_statement: return ResultStream(stream)
docstring: 发起一次scan操作
  
          Args:
              desc(ScanDescriptor): scan操作描述符
          Raises:
              TeraSdkException: scan失败
docstring_summary: 发起一次scan操作
docstring_tokens: 发起一次scan操作
function: def Scan(self, desc):
          """ 发起一次scan操作
  
          Args:
              desc(ScanDescriptor): scan操作描述符
          Raises:
              TeraSdkException: scan失败
          """
          err = c_char_p()
          stream = lib.tera_table_scan(
              self.table,
              desc.desc,
              byref(err)
          )
          if stream is None:
              raise TeraSdkException("scan failed:" + err.value)
          return ResultStream(stream)
function_tokens: def Scan ( self , desc ) : err = c_char_p ( ) stream = lib . tera_table_scan ( self . table , desc . desc , byref ( err ) ) if stream is None : raise TeraSdkException ( "scan failed:" + err . value ) return ResultStream ( stream )