Changes between Version 5 and Version 6 of waue/2009/0626


Ignore:
Timestamp:
Jun 26, 2009, 5:39:19 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0626

    v5 v6  
    105105}}}
    106106
    107   == 掃資料表:Scanner ==
     107  == 掃資料表:Scanner ==
    108108 
    109109 * 接下來的程式碼用來印出資料表內容,因此需要用到HTable
     
    112112   * getRow() : 把row的名稱秀出來
    113113   * get(colomn_family:column_quolify) : 把該cell的值秀出來
    114  * for (RowResult result : scanner)  可以看成是
    115  for (int i=0; i< scanner.length; i++){ RowResult result[i] = scanner[i];
     114 * for (!RowResult result : scanner)  可以看成是
     115 for (int i=0; i< scanner.length; i++){ !RowResult result[i] = scanner[i];
    116116 
    117117