Changes between Version 5 and Version 6 of waue/2009/0626
- Timestamp:
- Jun 26, 2009, 5:39:19 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2009/0626
v5 v6 105 105 }}} 106 106 107 == 掃 描資料表:Scanner ==107 == 掃瞄資料表:Scanner == 108 108 109 109 * 接下來的程式碼用來印出資料表內容,因此需要用到HTable … … 112 112 * getRow() : 把row的名稱秀出來 113 113 * 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]; 116 116 117 117