hbaserb 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. data/.gitignore +2 -0
  2. data/.rvmrc +2 -0
  3. data/Gemfile +6 -0
  4. data/Gemfile.lock +8 -0
  5. data/README.rdoc +6 -2
  6. data/Rakefile +3 -0
  7. data/hbaserb.gemspec +22 -0
  8. data/lib/hbaserb/table.rb +4 -4
  9. data/lib/hbaserb/version.rb +1 -1
  10. data/lib/thrift/hbase.rb +272 -1
  11. data/lib/thrift/hbase_constants.rb +1 -1
  12. data/lib/thrift/hbase_types.rb +1 -1
  13. metadata +15 -242
  14. data/docs/Apache.html +0 -159
  15. data/docs/Apache/Hadoop.html +0 -159
  16. data/docs/Apache/Hadoop/Hbase.html +0 -159
  17. data/docs/Apache/Hadoop/Hbase/Thrift.html +0 -159
  18. data/docs/Apache/Hadoop/Hbase/Thrift/AlreadyExists.html +0 -475
  19. data/docs/Apache/Hadoop/Hbase/Thrift/BatchMutation.html +0 -438
  20. data/docs/Apache/Hadoop/Hbase/Thrift/ColumnDescriptor.html +0 -474
  21. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase.html +0 -455
  22. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/AtomicIncrement_args.html +0 -445
  23. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/AtomicIncrement_result.html +0 -440
  24. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Client.html +0 -4042
  25. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Compact_args.html +0 -430
  26. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Compact_result.html +0 -430
  27. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/CreateTable_args.html +0 -435
  28. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/CreateTable_result.html +0 -440
  29. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRowTs_args.html +0 -440
  30. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRowTs_result.html +0 -430
  31. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRow_args.html +0 -435
  32. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRow_result.html +0 -430
  33. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllTs_args.html +0 -445
  34. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllTs_result.html +0 -430
  35. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAll_args.html +0 -440
  36. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAll_result.html +0 -430
  37. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteTable_args.html +0 -430
  38. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteTable_result.html +0 -430
  39. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DisableTable_args.html +0 -430
  40. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DisableTable_result.html +0 -430
  41. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/EnableTable_args.html +0 -432
  42. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/EnableTable_result.html +0 -430
  43. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetColumnDescriptors_args.html +0 -430
  44. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetColumnDescriptors_result.html +0 -435
  45. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowTs_args.html +0 -440
  46. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowTs_result.html +0 -435
  47. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumnsTs_args.html +0 -445
  48. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumnsTs_result.html +0 -435
  49. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumns_args.html +0 -440
  50. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumns_result.html +0 -435
  51. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRow_args.html +0 -435
  52. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRow_result.html +0 -435
  53. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableNames_args.html +0 -425
  54. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableNames_result.html +0 -435
  55. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableRegions_args.html +0 -430
  56. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableRegions_result.html +0 -435
  57. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetVerTs_args.html +0 -450
  58. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetVerTs_result.html +0 -435
  59. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetVer_args.html +0 -445
  60. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetVer_result.html +0 -435
  61. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Get_args.html +0 -440
  62. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Get_result.html +0 -435
  63. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/IsTableEnabled_args.html +0 -430
  64. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/IsTableEnabled_result.html +0 -435
  65. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MajorCompact_args.html +0 -430
  66. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MajorCompact_result.html +0 -430
  67. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowTs_args.html +0 -445
  68. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowTs_result.html +0 -435
  69. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRow_args.html +0 -440
  70. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRow_result.html +0 -435
  71. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowsTs_args.html +0 -440
  72. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowsTs_result.html +0 -435
  73. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRows_args.html +0 -435
  74. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRows_result.html +0 -435
  75. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Processor.html +0 -1789
  76. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerClose_args.html +0 -430
  77. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerClose_result.html +0 -435
  78. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGetList_args.html +0 -435
  79. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGetList_result.html +0 -440
  80. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGet_args.html +0 -430
  81. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGet_result.html +0 -440
  82. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenTs_args.html +0 -445
  83. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenTs_result.html +0 -435
  84. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithPrefix_args.html +0 -440
  85. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithPrefix_result.html +0 -435
  86. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStopTs_args.html +0 -450
  87. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStopTs_result.html +0 -435
  88. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStop_args.html +0 -445
  89. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStop_result.html +0 -435
  90. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpen_args.html +0 -440
  91. data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpen_result.html +0 -435
  92. data/docs/Apache/Hadoop/Hbase/Thrift/IOError.html +0 -477
  93. data/docs/Apache/Hadoop/Hbase/Thrift/IllegalArgument.html +0 -475
  94. data/docs/Apache/Hadoop/Hbase/Thrift/Mutation.html +0 -443
  95. data/docs/Apache/Hadoop/Hbase/Thrift/TCell.html +0 -320
  96. data/docs/Apache/Hadoop/Hbase/Thrift/TRegionInfo.html +0 -453
  97. data/docs/Apache/Hadoop/Hbase/Thrift/TRowResult.html +0 -437
  98. data/docs/HBaseRB.html +0 -174
  99. data/docs/HBaseRb/Client.html +0 -394
  100. data/docs/HBaseRb/NoSuchTable.html +0 -157
  101. data/docs/HBaseRb/Scanner.html +0 -330
  102. data/docs/HBaseRb/Table.html +0 -645
  103. data/docs/README_rdoc.html +0 -140
  104. data/docs/classes/Apache.html +0 -132
  105. data/docs/classes/Apache/Hadoop.html +0 -123
  106. data/docs/classes/Apache/Hadoop/Hbase.html +0 -123
  107. data/docs/classes/Apache/Hadoop/Hbase/Thrift.html +0 -132
  108. data/docs/classes/Apache/Hadoop/Hbase/Thrift/AlreadyExists.html +0 -227
  109. data/docs/classes/Apache/Hadoop/Hbase/Thrift/BatchMutation.html +0 -205
  110. data/docs/classes/Apache/Hadoop/Hbase/Thrift/ColumnDescriptor.html +0 -241
  111. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase.html +0 -180
  112. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/AtomicIncrement_args.html +0 -208
  113. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/AtomicIncrement_result.html +0 -203
  114. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Client.html +0 -2708
  115. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Compact_args.html +0 -193
  116. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Compact_result.html +0 -193
  117. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/CreateTable_args.html +0 -198
  118. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/CreateTable_result.html +0 -203
  119. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRowTs_args.html +0 -203
  120. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRowTs_result.html +0 -193
  121. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRow_args.html +0 -198
  122. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRow_result.html +0 -193
  123. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllTs_args.html +0 -208
  124. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllTs_result.html +0 -193
  125. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAll_args.html +0 -203
  126. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAll_result.html +0 -193
  127. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteTable_args.html +0 -193
  128. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteTable_result.html +0 -193
  129. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DisableTable_args.html +0 -193
  130. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DisableTable_result.html +0 -193
  131. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/EnableTable_args.html +0 -199
  132. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/EnableTable_result.html +0 -193
  133. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetColumnDescriptors_args.html +0 -193
  134. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetColumnDescriptors_result.html +0 -198
  135. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowTs_args.html +0 -203
  136. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowTs_result.html +0 -198
  137. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumnsTs_args.html +0 -208
  138. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumnsTs_result.html +0 -198
  139. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumns_args.html +0 -203
  140. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumns_result.html +0 -198
  141. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRow_args.html +0 -198
  142. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRow_result.html +0 -198
  143. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableNames_args.html +0 -188
  144. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableNames_result.html +0 -198
  145. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableRegions_args.html +0 -193
  146. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableRegions_result.html +0 -198
  147. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetVerTs_args.html +0 -213
  148. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetVerTs_result.html +0 -198
  149. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetVer_args.html +0 -208
  150. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetVer_result.html +0 -198
  151. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Get_args.html +0 -203
  152. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Get_result.html +0 -198
  153. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/IsTableEnabled_args.html +0 -193
  154. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/IsTableEnabled_result.html +0 -198
  155. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MajorCompact_args.html +0 -193
  156. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MajorCompact_result.html +0 -193
  157. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowTs_args.html +0 -208
  158. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowTs_result.html +0 -198
  159. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRow_args.html +0 -203
  160. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRow_result.html +0 -198
  161. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowsTs_args.html +0 -203
  162. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowsTs_result.html +0 -198
  163. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRows_args.html +0 -198
  164. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRows_result.html +0 -198
  165. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Processor.html +0 -1203
  166. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerClose_args.html +0 -193
  167. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerClose_result.html +0 -198
  168. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGetList_args.html +0 -198
  169. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGetList_result.html +0 -203
  170. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGet_args.html +0 -193
  171. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGet_result.html +0 -203
  172. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenTs_args.html +0 -208
  173. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenTs_result.html +0 -198
  174. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithPrefix_args.html +0 -203
  175. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithPrefix_result.html +0 -198
  176. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStopTs_args.html +0 -213
  177. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStopTs_result.html +0 -198
  178. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStop_args.html +0 -208
  179. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStop_result.html +0 -198
  180. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpen_args.html +0 -203
  181. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpen_result.html +0 -198
  182. data/docs/classes/Apache/Hadoop/Hbase/Thrift/IOError.html +0 -229
  183. data/docs/classes/Apache/Hadoop/Hbase/Thrift/IllegalArgument.html +0 -227
  184. data/docs/classes/Apache/Hadoop/Hbase/Thrift/Mutation.html +0 -210
  185. data/docs/classes/Apache/Hadoop/Hbase/Thrift/TCell.html +0 -317
  186. data/docs/classes/Apache/Hadoop/Hbase/Thrift/TRegionInfo.html +0 -220
  187. data/docs/classes/Apache/Hadoop/Hbase/Thrift/TRowResult.html +0 -204
  188. data/docs/classes/HBaseRb.html +0 -126
  189. data/docs/classes/HBaseRb/Client.html +0 -275
  190. data/docs/classes/HBaseRb/NoSuchTable.html +0 -111
  191. data/docs/classes/HBaseRb/Scanner.html +0 -233
  192. data/docs/classes/HBaseRb/Table.html +0 -459
  193. data/docs/created.rid +0 -8
  194. data/docs/files/README_rdoc.html +0 -142
  195. data/docs/files/lib/hbaserb/client_rb.html +0 -101
  196. data/docs/files/lib/hbaserb/exceptions_rb.html +0 -101
  197. data/docs/files/lib/hbaserb/extensions_rb.html +0 -101
  198. data/docs/files/lib/hbaserb/scanner_rb.html +0 -101
  199. data/docs/files/lib/hbaserb/table_rb.html +0 -101
  200. data/docs/files/lib/hbaserb_rb.html +0 -114
  201. data/docs/files/lib/thrift/hbase_constants_rb.html +0 -117
  202. data/docs/files/lib/thrift/hbase_rb.html +0 -118
  203. data/docs/files/lib/thrift/hbase_types_rb.html +0 -110
  204. data/docs/fr_class_index.html +0 -115
  205. data/docs/fr_file_index.html +0 -36
  206. data/docs/fr_method_index.html +0 -346
  207. data/docs/images/brick.png +0 -0
  208. data/docs/images/brick_link.png +0 -0
  209. data/docs/images/bug.png +0 -0
  210. data/docs/images/bullet_black.png +0 -0
  211. data/docs/images/bullet_toggle_minus.png +0 -0
  212. data/docs/images/bullet_toggle_plus.png +0 -0
  213. data/docs/images/date.png +0 -0
  214. data/docs/images/find.png +0 -0
  215. data/docs/images/loadingAnimation.gif +0 -0
  216. data/docs/images/macFFBgHack.png +0 -0
  217. data/docs/images/package.png +0 -0
  218. data/docs/images/page_green.png +0 -0
  219. data/docs/images/page_white_text.png +0 -0
  220. data/docs/images/page_white_width.png +0 -0
  221. data/docs/images/plugin.png +0 -0
  222. data/docs/images/ruby.png +0 -0
  223. data/docs/images/tag_green.png +0 -0
  224. data/docs/images/wrench.png +0 -0
  225. data/docs/images/wrench_orange.png +0 -0
  226. data/docs/images/zoom.png +0 -0
  227. data/docs/index.html +0 -130
  228. data/docs/js/darkfish.js +0 -116
  229. data/docs/js/jquery.js +0 -32
  230. data/docs/js/quicksearch.js +0 -114
  231. data/docs/js/thickbox-compressed.js +0 -10
  232. data/docs/lib/hbaserb/client_rb.html +0 -52
  233. data/docs/lib/hbaserb/exceptions_rb.html +0 -52
  234. data/docs/lib/hbaserb/extensions_rb.html +0 -52
  235. data/docs/lib/hbaserb/scanner_rb.html +0 -52
  236. data/docs/lib/hbaserb/table_rb.html +0 -52
  237. data/docs/lib/hbaserb/version_rb.html +0 -52
  238. data/docs/lib/hbaserb_rb.html +0 -66
  239. data/docs/lib/thrift/hbase_constants_rb.html +0 -58
  240. data/docs/lib/thrift/hbase_rb.html +0 -60
  241. data/docs/lib/thrift/hbase_types_rb.html +0 -56
  242. data/docs/rdoc-style.css +0 -208
  243. data/docs/rdoc.css +0 -759
@@ -1,459 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: HBaseRb::Table</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">HBaseRb::Table</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/hbaserb/table_rb.html">
59
- lib/hbaserb/table.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000020">atomic_increment</a>&nbsp;&nbsp;
90
- <a href="#M000012">column_families</a>&nbsp;&nbsp;
91
- <a href="#M000021">create_scanner</a>&nbsp;&nbsp;
92
- <a href="#M000017">delete</a>&nbsp;&nbsp;
93
- <a href="#M000019">delete_cells</a>&nbsp;&nbsp;
94
- <a href="#M000018">delete_row</a>&nbsp;&nbsp;
95
- <a href="#M000014">get</a>&nbsp;&nbsp;
96
- <a href="#M000015">get_last</a>&nbsp;&nbsp;
97
- <a href="#M000016">get_row</a>&nbsp;&nbsp;
98
- <a href="#M000022">mutate_row</a>&nbsp;&nbsp;
99
- <a href="#M000011">new</a>&nbsp;&nbsp;
100
- <a href="#M000013">regions</a>&nbsp;&nbsp;
101
- <a href="#M000023">to_s</a>&nbsp;&nbsp;
102
- </div>
103
- </div>
104
-
105
- </div>
106
-
107
-
108
- <!-- if includes -->
109
-
110
- <div id="section">
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
- <!-- if method_list -->
120
- <div id="methods">
121
- <h3 class="section-bar">Public Class methods</h3>
122
-
123
- <div id="method-M000011" class="method-detail">
124
- <a name="M000011"></a>
125
-
126
- <div class="method-heading">
127
- <a href="#M000011" class="method-signature">
128
- <span class="method-name">new</span><span class="method-args">(client, name)</span>
129
- </a>
130
- </div>
131
-
132
- <div class="method-description">
133
- <p><a class="source-toggle" href="#"
134
- onclick="toggleCode('M000011-source');return false;">[Source]</a></p>
135
- <div class="method-source-code" id="M000011-source">
136
- <pre>
137
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 4</span>
138
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">client</span>, <span class="ruby-identifier">name</span>)
139
- <span class="ruby-ivar">@client</span> = <span class="ruby-identifier">client</span>
140
- <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
141
- <span class="ruby-keyword kw">end</span>
142
- </pre>
143
- </div>
144
- </div>
145
- </div>
146
-
147
- <h3 class="section-bar">Public Instance methods</h3>
148
-
149
- <div id="method-M000020" class="method-detail">
150
- <a name="M000020"></a>
151
-
152
- <div class="method-heading">
153
- <a href="#M000020" class="method-signature">
154
- <span class="method-name">atomic_increment</span><span class="method-args">(row, column, value=1)</span>
155
- </a>
156
- </div>
157
-
158
- <div class="method-description">
159
- <p><a class="source-toggle" href="#"
160
- onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
161
- <div class="method-source-code" id="M000020-source">
162
- <pre>
163
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 44</span>
164
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">atomic_increment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>, <span class="ruby-identifier">value</span>=<span class="ruby-value">1</span>)
165
- <span class="ruby-identifier">call</span> <span class="ruby-identifier">:atomicIncrement</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">column</span>, <span class="ruby-identifier">value</span>
166
- <span class="ruby-keyword kw">end</span>
167
- </pre>
168
- </div>
169
- </div>
170
- </div>
171
-
172
- <div id="method-M000012" class="method-detail">
173
- <a name="M000012"></a>
174
-
175
- <div class="method-heading">
176
- <a href="#M000012" class="method-signature">
177
- <span class="method-name">column_families</span><span class="method-args">()</span>
178
- </a>
179
- </div>
180
-
181
- <div class="method-description">
182
- <p><a class="source-toggle" href="#"
183
- onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
184
- <div class="method-source-code" id="M000012-source">
185
- <pre>
186
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 9</span>
187
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column_families</span>
188
- <span class="ruby-identifier">call</span> <span class="ruby-identifier">:getColumnDescriptors</span>
189
- <span class="ruby-keyword kw">end</span>
190
- </pre>
191
- </div>
192
- </div>
193
- </div>
194
-
195
- <div id="method-M000021" class="method-detail">
196
- <a name="M000021"></a>
197
-
198
- <div class="method-heading">
199
- <a href="#M000021" class="method-signature">
200
- <span class="method-name">create_scanner</span><span class="method-args">(row=nil, *columns, &amp;block)</span>
201
- </a>
202
- </div>
203
-
204
- <div class="method-description">
205
- <p>
206
- pass in no params to scan whole table
207
- </p>
208
- <p><a class="source-toggle" href="#"
209
- onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
210
- <div class="method-source-code" id="M000021-source">
211
- <pre>
212
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 49</span>
213
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_scanner</span>(<span class="ruby-identifier">row</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">columns</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
214
- <span class="ruby-identifier">row</span> <span class="ruby-operator">||=</span> <span class="ruby-value str">&quot;&quot;</span>
215
- <span class="ruby-identifier">columns</span> = (<span class="ruby-identifier">columns</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>) <span class="ruby-operator">?</span> <span class="ruby-identifier">columns</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">column_families</span>.<span class="ruby-identifier">keys</span>
216
- <span class="ruby-identifier">sid</span> = <span class="ruby-identifier">call</span> <span class="ruby-identifier">:scannerOpen</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">columns</span>
217
- <span class="ruby-constant">Scanner</span>.<span class="ruby-identifier">new</span> <span class="ruby-ivar">@client</span>, <span class="ruby-identifier">sid</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
218
- <span class="ruby-keyword kw">end</span>
219
- </pre>
220
- </div>
221
- </div>
222
- </div>
223
-
224
- <div id="method-M000017" class="method-detail">
225
- <a name="M000017"></a>
226
-
227
- <div class="method-heading">
228
- <a href="#M000017" class="method-signature">
229
- <span class="method-name">delete</span><span class="method-args">()</span>
230
- </a>
231
- </div>
232
-
233
- <div class="method-description">
234
- <p><a class="source-toggle" href="#"
235
- onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
236
- <div class="method-source-code" id="M000017-source">
237
- <pre>
238
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 31</span>
239
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>
240
- <span class="ruby-identifier">call</span> <span class="ruby-identifier">:disableTable</span>
241
- <span class="ruby-identifier">call</span> <span class="ruby-identifier">:deleteTable</span>
242
- <span class="ruby-keyword kw">end</span>
243
- </pre>
244
- </div>
245
- </div>
246
- </div>
247
-
248
- <div id="method-M000019" class="method-detail">
249
- <a name="M000019"></a>
250
-
251
- <div class="method-heading">
252
- <a href="#M000019" class="method-signature">
253
- <span class="method-name">delete_cells</span><span class="method-args">(row, column)</span>
254
- </a>
255
- </div>
256
-
257
- <div class="method-description">
258
- <p><a class="source-toggle" href="#"
259
- onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
260
- <div class="method-source-code" id="M000019-source">
261
- <pre>
262
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 40</span>
263
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_cells</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
264
- <span class="ruby-identifier">call</span> <span class="ruby-identifier">:deleteAll</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">column</span>
265
- <span class="ruby-keyword kw">end</span>
266
- </pre>
267
- </div>
268
- </div>
269
- </div>
270
-
271
- <div id="method-M000018" class="method-detail">
272
- <a name="M000018"></a>
273
-
274
- <div class="method-heading">
275
- <a href="#M000018" class="method-signature">
276
- <span class="method-name">delete_row</span><span class="method-args">(row)</span>
277
- </a>
278
- </div>
279
-
280
- <div class="method-description">
281
- <p><a class="source-toggle" href="#"
282
- onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
283
- <div class="method-source-code" id="M000018-source">
284
- <pre>
285
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 36</span>
286
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_row</span>(<span class="ruby-identifier">row</span>)
287
- <span class="ruby-identifier">call</span> <span class="ruby-identifier">:deleteAllRow</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>
288
- <span class="ruby-keyword kw">end</span>
289
- </pre>
290
- </div>
291
- </div>
292
- </div>
293
-
294
- <div id="method-M000014" class="method-detail">
295
- <a name="M000014"></a>
296
-
297
- <div class="method-heading">
298
- <a href="#M000014" class="method-signature">
299
- <span class="method-name">get</span><span class="method-args">(row, column)</span>
300
- </a>
301
- </div>
302
-
303
- <div class="method-description">
304
- <p><a class="source-toggle" href="#"
305
- onclick="toggleCode('M000014-source');return false;">[Source]</a></p>
306
- <div class="method-source-code" id="M000014-source">
307
- <pre>
308
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 17</span>
309
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
310
- <span class="ruby-identifier">call</span> <span class="ruby-identifier">:get</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">column</span>
311
- <span class="ruby-keyword kw">end</span>
312
- </pre>
313
- </div>
314
- </div>
315
- </div>
316
-
317
- <div id="method-M000015" class="method-detail">
318
- <a name="M000015"></a>
319
-
320
- <div class="method-heading">
321
- <a href="#M000015" class="method-signature">
322
- <span class="method-name">get_last</span><span class="method-args">(row, column, default=nil)</span>
323
- </a>
324
- </div>
325
-
326
- <div class="method-description">
327
- <p>
328
- <a href="Table.html#M000014">get</a> the last value for the given row /
329
- column
330
- </p>
331
- <p><a class="source-toggle" href="#"
332
- onclick="toggleCode('M000015-source');return false;">[Source]</a></p>
333
- <div class="method-source-code" id="M000015-source">
334
- <pre>
335
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 22</span>
336
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_last</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>, <span class="ruby-identifier">default</span>=<span class="ruby-keyword kw">nil</span>)
337
- <span class="ruby-identifier">r</span> = <span class="ruby-identifier">get</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
338
- (<span class="ruby-identifier">r</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>) <span class="ruby-operator">?</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">value</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">default</span>
339
- <span class="ruby-keyword kw">end</span>
340
- </pre>
341
- </div>
342
- </div>
343
- </div>
344
-
345
- <div id="method-M000016" class="method-detail">
346
- <a name="M000016"></a>
347
-
348
- <div class="method-heading">
349
- <a href="#M000016" class="method-signature">
350
- <span class="method-name">get_row</span><span class="method-args">(row)</span>
351
- </a>
352
- </div>
353
-
354
- <div class="method-description">
355
- <p><a class="source-toggle" href="#"
356
- onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
357
- <div class="method-source-code" id="M000016-source">
358
- <pre>
359
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 27</span>
360
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_row</span>(<span class="ruby-identifier">row</span>)
361
- <span class="ruby-identifier">call</span> <span class="ruby-identifier">:getRow</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>
362
- <span class="ruby-keyword kw">end</span>
363
- </pre>
364
- </div>
365
- </div>
366
- </div>
367
-
368
- <div id="method-M000022" class="method-detail">
369
- <a name="M000022"></a>
370
-
371
- <div class="method-heading">
372
- <a href="#M000022" class="method-signature">
373
- <span class="method-name">mutate_row</span><span class="method-args">(row, mutations)</span>
374
- </a>
375
- </div>
376
-
377
- <div class="method-description">
378
- <p>
379
- mutations is a key / value pair to insert / update for the given row the
380
- keys are in the form &quot;family:column&quot;
381
- </p>
382
- <p><a class="source-toggle" href="#"
383
- onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
384
- <div class="method-source-code" id="M000022-source">
385
- <pre>
386
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 58</span>
387
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mutate_row</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">mutations</span>)
388
- <span class="ruby-identifier">mutations</span> = <span class="ruby-identifier">mutations</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-constant">Apache</span><span class="ruby-operator">::</span><span class="ruby-constant">Hadoop</span><span class="ruby-operator">::</span><span class="ruby-constant">Hbase</span><span class="ruby-operator">::</span><span class="ruby-constant">Thrift</span><span class="ruby-operator">::</span><span class="ruby-constant">Mutation</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:column</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">k</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">v</span>) }
389
- <span class="ruby-identifier">call</span> <span class="ruby-identifier">:mutateRow</span>, <span class="ruby-identifier">row</span>, <span class="ruby-identifier">mutations</span>
390
- <span class="ruby-keyword kw">end</span>
391
- </pre>
392
- </div>
393
- </div>
394
- </div>
395
-
396
- <div id="method-M000013" class="method-detail">
397
- <a name="M000013"></a>
398
-
399
- <div class="method-heading">
400
- <a href="#M000013" class="method-signature">
401
- <span class="method-name">regions</span><span class="method-args">()</span>
402
- </a>
403
- </div>
404
-
405
- <div class="method-description">
406
- <p><a class="source-toggle" href="#"
407
- onclick="toggleCode('M000013-source');return false;">[Source]</a></p>
408
- <div class="method-source-code" id="M000013-source">
409
- <pre>
410
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 13</span>
411
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">regions</span>
412
- <span class="ruby-identifier">call</span> <span class="ruby-identifier">:getTableRegions</span>
413
- <span class="ruby-keyword kw">end</span>
414
- </pre>
415
- </div>
416
- </div>
417
- </div>
418
-
419
- <div id="method-M000023" class="method-detail">
420
- <a name="M000023"></a>
421
-
422
- <div class="method-heading">
423
- <a href="#M000023" class="method-signature">
424
- <span class="method-name">to_s</span><span class="method-args">()</span>
425
- </a>
426
- </div>
427
-
428
- <div class="method-description">
429
- <p><a class="source-toggle" href="#"
430
- onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
431
- <div class="method-source-code" id="M000023-source">
432
- <pre>
433
- <span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 63</span>
434
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
435
- <span class="ruby-identifier">s</span> = <span class="ruby-value str">&quot;&quot;</span>
436
- <span class="ruby-identifier">create_scanner</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span>
437
- <span class="ruby-identifier">cols</span> = <span class="ruby-identifier">r</span>.<span class="ruby-identifier">columns</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-node">&quot;#{k}: #{v.value}&quot;</span> }.<span class="ruby-identifier">join</span>(<span class="ruby-value str">&quot;, &quot;</span>)
438
- <span class="ruby-identifier">s</span> <span class="ruby-operator">+=</span> <span class="ruby-node">&quot;#{r.row}: #{cols}\n&quot;</span>
439
- }
440
- <span class="ruby-identifier">s</span>
441
- <span class="ruby-keyword kw">end</span>
442
- </pre>
443
- </div>
444
- </div>
445
- </div>
446
-
447
-
448
- </div>
449
-
450
-
451
- </div>
452
-
453
-
454
- <div id="validator-badges">
455
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
456
- </div>
457
-
458
- </body>
459
- </html>