HBASE-26921 Rewrite the counting cells part in TestMultiVersions (#4316)
[hbase.git] / hbase-examples / src / main / ruby / gen-rb / hbase.rb
blobebeec444d390c9bd44e70bd8a7c642c565eb4ad2
2 # Autogenerated by Thrift Compiler (0.9.0)
4 # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
7 require 'thrift'
8 require 'hbase_types'
10 module Apache
11   module Hadoop
12     module Hbase
13       module Thrift
14         module Hbase
15           class Client
16             include ::Thrift::Client
18             def enableTable(tableName)
19               send_enableTable(tableName)
20               recv_enableTable()
21             end
23             def send_enableTable(tableName)
24               send_message('enableTable', EnableTable_args, :tableName => tableName)
25             end
27             def recv_enableTable()
28               result = receive_message(EnableTable_result)
29               raise result.io unless result.io.nil?
30               return
31             end
33             def disableTable(tableName)
34               send_disableTable(tableName)
35               recv_disableTable()
36             end
38             def send_disableTable(tableName)
39               send_message('disableTable', DisableTable_args, :tableName => tableName)
40             end
42             def recv_disableTable()
43               result = receive_message(DisableTable_result)
44               raise result.io unless result.io.nil?
45               return
46             end
48             def isTableEnabled(tableName)
49               send_isTableEnabled(tableName)
50               return recv_isTableEnabled()
51             end
53             def send_isTableEnabled(tableName)
54               send_message('isTableEnabled', IsTableEnabled_args, :tableName => tableName)
55             end
57             def recv_isTableEnabled()
58               result = receive_message(IsTableEnabled_result)
59               return result.success unless result.success.nil?
60               raise result.io unless result.io.nil?
61               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'isTableEnabled failed: unknown result')
62             end
64             def compact(tableNameOrRegionName)
65               send_compact(tableNameOrRegionName)
66               recv_compact()
67             end
69             def send_compact(tableNameOrRegionName)
70               send_message('compact', Compact_args, :tableNameOrRegionName => tableNameOrRegionName)
71             end
73             def recv_compact()
74               result = receive_message(Compact_result)
75               raise result.io unless result.io.nil?
76               return
77             end
79             def majorCompact(tableNameOrRegionName)
80               send_majorCompact(tableNameOrRegionName)
81               recv_majorCompact()
82             end
84             def send_majorCompact(tableNameOrRegionName)
85               send_message('majorCompact', MajorCompact_args, :tableNameOrRegionName => tableNameOrRegionName)
86             end
88             def recv_majorCompact()
89               result = receive_message(MajorCompact_result)
90               raise result.io unless result.io.nil?
91               return
92             end
94             def getTableNames()
95               send_getTableNames()
96               return recv_getTableNames()
97             end
99             def send_getTableNames()
100               send_message('getTableNames', GetTableNames_args)
101             end
103             def recv_getTableNames()
104               result = receive_message(GetTableNames_result)
105               return result.success unless result.success.nil?
106               raise result.io unless result.io.nil?
107               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTableNames failed: unknown result')
108             end
110             def getColumnDescriptors(tableName)
111               send_getColumnDescriptors(tableName)
112               return recv_getColumnDescriptors()
113             end
115             def send_getColumnDescriptors(tableName)
116               send_message('getColumnDescriptors', GetColumnDescriptors_args, :tableName => tableName)
117             end
119             def recv_getColumnDescriptors()
120               result = receive_message(GetColumnDescriptors_result)
121               return result.success unless result.success.nil?
122               raise result.io unless result.io.nil?
123               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getColumnDescriptors failed: unknown result')
124             end
126             def getTableRegions(tableName)
127               send_getTableRegions(tableName)
128               return recv_getTableRegions()
129             end
131             def send_getTableRegions(tableName)
132               send_message('getTableRegions', GetTableRegions_args, :tableName => tableName)
133             end
135             def recv_getTableRegions()
136               result = receive_message(GetTableRegions_result)
137               return result.success unless result.success.nil?
138               raise result.io unless result.io.nil?
139               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTableRegions failed: unknown result')
140             end
142             def createTable(tableName, columnFamilies)
143               send_createTable(tableName, columnFamilies)
144               recv_createTable()
145             end
147             def send_createTable(tableName, columnFamilies)
148               send_message('createTable', CreateTable_args, :tableName => tableName, :columnFamilies => columnFamilies)
149             end
151             def recv_createTable()
152               result = receive_message(CreateTable_result)
153               raise result.io unless result.io.nil?
154               raise result.ia unless result.ia.nil?
155               raise result.exist unless result.exist.nil?
156               return
157             end
159             def deleteTable(tableName)
160               send_deleteTable(tableName)
161               recv_deleteTable()
162             end
164             def send_deleteTable(tableName)
165               send_message('deleteTable', DeleteTable_args, :tableName => tableName)
166             end
168             def recv_deleteTable()
169               result = receive_message(DeleteTable_result)
170               raise result.io unless result.io.nil?
171               return
172             end
174             def get(tableName, row, column, attributes)
175               send_get(tableName, row, column, attributes)
176               return recv_get()
177             end
179             def send_get(tableName, row, column, attributes)
180               send_message('get', Get_args, :tableName => tableName, :row => row, :column => column, :attributes => attributes)
181             end
183             def recv_get()
184               result = receive_message(Get_result)
185               return result.success unless result.success.nil?
186               raise result.io unless result.io.nil?
187               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get failed: unknown result')
188             end
190             def getVer(tableName, row, column, numVersions, attributes)
191               send_getVer(tableName, row, column, numVersions, attributes)
192               return recv_getVer()
193             end
195             def send_getVer(tableName, row, column, numVersions, attributes)
196               send_message('getVer', GetVer_args, :tableName => tableName, :row => row, :column => column, :numVersions => numVersions, :attributes => attributes)
197             end
199             def recv_getVer()
200               result = receive_message(GetVer_result)
201               return result.success unless result.success.nil?
202               raise result.io unless result.io.nil?
203               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getVer failed: unknown result')
204             end
206             def getVerTs(tableName, row, column, timestamp, numVersions, attributes)
207               send_getVerTs(tableName, row, column, timestamp, numVersions, attributes)
208               return recv_getVerTs()
209             end
211             def send_getVerTs(tableName, row, column, timestamp, numVersions, attributes)
212               send_message('getVerTs', GetVerTs_args, :tableName => tableName, :row => row, :column => column, :timestamp => timestamp, :numVersions => numVersions, :attributes => attributes)
213             end
215             def recv_getVerTs()
216               result = receive_message(GetVerTs_result)
217               return result.success unless result.success.nil?
218               raise result.io unless result.io.nil?
219               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getVerTs failed: unknown result')
220             end
222             def getRow(tableName, row, attributes)
223               send_getRow(tableName, row, attributes)
224               return recv_getRow()
225             end
227             def send_getRow(tableName, row, attributes)
228               send_message('getRow', GetRow_args, :tableName => tableName, :row => row, :attributes => attributes)
229             end
231             def recv_getRow()
232               result = receive_message(GetRow_result)
233               return result.success unless result.success.nil?
234               raise result.io unless result.io.nil?
235               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRow failed: unknown result')
236             end
238             def getRowWithColumns(tableName, row, columns, attributes)
239               send_getRowWithColumns(tableName, row, columns, attributes)
240               return recv_getRowWithColumns()
241             end
243             def send_getRowWithColumns(tableName, row, columns, attributes)
244               send_message('getRowWithColumns', GetRowWithColumns_args, :tableName => tableName, :row => row, :columns => columns, :attributes => attributes)
245             end
247             def recv_getRowWithColumns()
248               result = receive_message(GetRowWithColumns_result)
249               return result.success unless result.success.nil?
250               raise result.io unless result.io.nil?
251               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowWithColumns failed: unknown result')
252             end
254             def getRowTs(tableName, row, timestamp, attributes)
255               send_getRowTs(tableName, row, timestamp, attributes)
256               return recv_getRowTs()
257             end
259             def send_getRowTs(tableName, row, timestamp, attributes)
260               send_message('getRowTs', GetRowTs_args, :tableName => tableName, :row => row, :timestamp => timestamp, :attributes => attributes)
261             end
263             def recv_getRowTs()
264               result = receive_message(GetRowTs_result)
265               return result.success unless result.success.nil?
266               raise result.io unless result.io.nil?
267               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowTs failed: unknown result')
268             end
270             def getRowWithColumnsTs(tableName, row, columns, timestamp, attributes)
271               send_getRowWithColumnsTs(tableName, row, columns, timestamp, attributes)
272               return recv_getRowWithColumnsTs()
273             end
275             def send_getRowWithColumnsTs(tableName, row, columns, timestamp, attributes)
276               send_message('getRowWithColumnsTs', GetRowWithColumnsTs_args, :tableName => tableName, :row => row, :columns => columns, :timestamp => timestamp, :attributes => attributes)
277             end
279             def recv_getRowWithColumnsTs()
280               result = receive_message(GetRowWithColumnsTs_result)
281               return result.success unless result.success.nil?
282               raise result.io unless result.io.nil?
283               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowWithColumnsTs failed: unknown result')
284             end
286             def getRows(tableName, rows, attributes)
287               send_getRows(tableName, rows, attributes)
288               return recv_getRows()
289             end
291             def send_getRows(tableName, rows, attributes)
292               send_message('getRows', GetRows_args, :tableName => tableName, :rows => rows, :attributes => attributes)
293             end
295             def recv_getRows()
296               result = receive_message(GetRows_result)
297               return result.success unless result.success.nil?
298               raise result.io unless result.io.nil?
299               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRows failed: unknown result')
300             end
302             def getRowsWithColumns(tableName, rows, columns, attributes)
303               send_getRowsWithColumns(tableName, rows, columns, attributes)
304               return recv_getRowsWithColumns()
305             end
307             def send_getRowsWithColumns(tableName, rows, columns, attributes)
308               send_message('getRowsWithColumns', GetRowsWithColumns_args, :tableName => tableName, :rows => rows, :columns => columns, :attributes => attributes)
309             end
311             def recv_getRowsWithColumns()
312               result = receive_message(GetRowsWithColumns_result)
313               return result.success unless result.success.nil?
314               raise result.io unless result.io.nil?
315               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowsWithColumns failed: unknown result')
316             end
318             def getRowsTs(tableName, rows, timestamp, attributes)
319               send_getRowsTs(tableName, rows, timestamp, attributes)
320               return recv_getRowsTs()
321             end
323             def send_getRowsTs(tableName, rows, timestamp, attributes)
324               send_message('getRowsTs', GetRowsTs_args, :tableName => tableName, :rows => rows, :timestamp => timestamp, :attributes => attributes)
325             end
327             def recv_getRowsTs()
328               result = receive_message(GetRowsTs_result)
329               return result.success unless result.success.nil?
330               raise result.io unless result.io.nil?
331               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowsTs failed: unknown result')
332             end
334             def getRowsWithColumnsTs(tableName, rows, columns, timestamp, attributes)
335               send_getRowsWithColumnsTs(tableName, rows, columns, timestamp, attributes)
336               return recv_getRowsWithColumnsTs()
337             end
339             def send_getRowsWithColumnsTs(tableName, rows, columns, timestamp, attributes)
340               send_message('getRowsWithColumnsTs', GetRowsWithColumnsTs_args, :tableName => tableName, :rows => rows, :columns => columns, :timestamp => timestamp, :attributes => attributes)
341             end
343             def recv_getRowsWithColumnsTs()
344               result = receive_message(GetRowsWithColumnsTs_result)
345               return result.success unless result.success.nil?
346               raise result.io unless result.io.nil?
347               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowsWithColumnsTs failed: unknown result')
348             end
350             def mutateRow(tableName, row, mutations, attributes)
351               send_mutateRow(tableName, row, mutations, attributes)
352               recv_mutateRow()
353             end
355             def send_mutateRow(tableName, row, mutations, attributes)
356               send_message('mutateRow', MutateRow_args, :tableName => tableName, :row => row, :mutations => mutations, :attributes => attributes)
357             end
359             def recv_mutateRow()
360               result = receive_message(MutateRow_result)
361               raise result.io unless result.io.nil?
362               raise result.ia unless result.ia.nil?
363               return
364             end
366             def mutateRowTs(tableName, row, mutations, timestamp, attributes)
367               send_mutateRowTs(tableName, row, mutations, timestamp, attributes)
368               recv_mutateRowTs()
369             end
371             def send_mutateRowTs(tableName, row, mutations, timestamp, attributes)
372               send_message('mutateRowTs', MutateRowTs_args, :tableName => tableName, :row => row, :mutations => mutations, :timestamp => timestamp, :attributes => attributes)
373             end
375             def recv_mutateRowTs()
376               result = receive_message(MutateRowTs_result)
377               raise result.io unless result.io.nil?
378               raise result.ia unless result.ia.nil?
379               return
380             end
382             def mutateRows(tableName, rowBatches, attributes)
383               send_mutateRows(tableName, rowBatches, attributes)
384               recv_mutateRows()
385             end
387             def send_mutateRows(tableName, rowBatches, attributes)
388               send_message('mutateRows', MutateRows_args, :tableName => tableName, :rowBatches => rowBatches, :attributes => attributes)
389             end
391             def recv_mutateRows()
392               result = receive_message(MutateRows_result)
393               raise result.io unless result.io.nil?
394               raise result.ia unless result.ia.nil?
395               return
396             end
398             def mutateRowsTs(tableName, rowBatches, timestamp, attributes)
399               send_mutateRowsTs(tableName, rowBatches, timestamp, attributes)
400               recv_mutateRowsTs()
401             end
403             def send_mutateRowsTs(tableName, rowBatches, timestamp, attributes)
404               send_message('mutateRowsTs', MutateRowsTs_args, :tableName => tableName, :rowBatches => rowBatches, :timestamp => timestamp, :attributes => attributes)
405             end
407             def recv_mutateRowsTs()
408               result = receive_message(MutateRowsTs_result)
409               raise result.io unless result.io.nil?
410               raise result.ia unless result.ia.nil?
411               return
412             end
414             def atomicIncrement(tableName, row, column, value)
415               send_atomicIncrement(tableName, row, column, value)
416               return recv_atomicIncrement()
417             end
419             def send_atomicIncrement(tableName, row, column, value)
420               send_message('atomicIncrement', AtomicIncrement_args, :tableName => tableName, :row => row, :column => column, :value => value)
421             end
423             def recv_atomicIncrement()
424               result = receive_message(AtomicIncrement_result)
425               return result.success unless result.success.nil?
426               raise result.io unless result.io.nil?
427               raise result.ia unless result.ia.nil?
428               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'atomicIncrement failed: unknown result')
429             end
431             def deleteAll(tableName, row, column, attributes)
432               send_deleteAll(tableName, row, column, attributes)
433               recv_deleteAll()
434             end
436             def send_deleteAll(tableName, row, column, attributes)
437               send_message('deleteAll', DeleteAll_args, :tableName => tableName, :row => row, :column => column, :attributes => attributes)
438             end
440             def recv_deleteAll()
441               result = receive_message(DeleteAll_result)
442               raise result.io unless result.io.nil?
443               return
444             end
446             def deleteAllTs(tableName, row, column, timestamp, attributes)
447               send_deleteAllTs(tableName, row, column, timestamp, attributes)
448               recv_deleteAllTs()
449             end
451             def send_deleteAllTs(tableName, row, column, timestamp, attributes)
452               send_message('deleteAllTs', DeleteAllTs_args, :tableName => tableName, :row => row, :column => column, :timestamp => timestamp, :attributes => attributes)
453             end
455             def recv_deleteAllTs()
456               result = receive_message(DeleteAllTs_result)
457               raise result.io unless result.io.nil?
458               return
459             end
461             def deleteAllRow(tableName, row, attributes)
462               send_deleteAllRow(tableName, row, attributes)
463               recv_deleteAllRow()
464             end
466             def send_deleteAllRow(tableName, row, attributes)
467               send_message('deleteAllRow', DeleteAllRow_args, :tableName => tableName, :row => row, :attributes => attributes)
468             end
470             def recv_deleteAllRow()
471               result = receive_message(DeleteAllRow_result)
472               raise result.io unless result.io.nil?
473               return
474             end
476             def increment(increment)
477               send_increment(increment)
478               recv_increment()
479             end
481             def send_increment(increment)
482               send_message('increment', Increment_args, :increment => increment)
483             end
485             def recv_increment()
486               result = receive_message(Increment_result)
487               raise result.io unless result.io.nil?
488               return
489             end
491             def incrementRows(increments)
492               send_incrementRows(increments)
493               recv_incrementRows()
494             end
496             def send_incrementRows(increments)
497               send_message('incrementRows', IncrementRows_args, :increments => increments)
498             end
500             def recv_incrementRows()
501               result = receive_message(IncrementRows_result)
502               raise result.io unless result.io.nil?
503               return
504             end
506             def deleteAllRowTs(tableName, row, timestamp, attributes)
507               send_deleteAllRowTs(tableName, row, timestamp, attributes)
508               recv_deleteAllRowTs()
509             end
511             def send_deleteAllRowTs(tableName, row, timestamp, attributes)
512               send_message('deleteAllRowTs', DeleteAllRowTs_args, :tableName => tableName, :row => row, :timestamp => timestamp, :attributes => attributes)
513             end
515             def recv_deleteAllRowTs()
516               result = receive_message(DeleteAllRowTs_result)
517               raise result.io unless result.io.nil?
518               return
519             end
521             def scannerOpenWithScan(tableName, scan, attributes)
522               send_scannerOpenWithScan(tableName, scan, attributes)
523               return recv_scannerOpenWithScan()
524             end
526             def send_scannerOpenWithScan(tableName, scan, attributes)
527               send_message('scannerOpenWithScan', ScannerOpenWithScan_args, :tableName => tableName, :scan => scan, :attributes => attributes)
528             end
530             def recv_scannerOpenWithScan()
531               result = receive_message(ScannerOpenWithScan_result)
532               return result.success unless result.success.nil?
533               raise result.io unless result.io.nil?
534               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpenWithScan failed: unknown result')
535             end
537             def scannerOpen(tableName, startRow, columns, attributes)
538               send_scannerOpen(tableName, startRow, columns, attributes)
539               return recv_scannerOpen()
540             end
542             def send_scannerOpen(tableName, startRow, columns, attributes)
543               send_message('scannerOpen', ScannerOpen_args, :tableName => tableName, :startRow => startRow, :columns => columns, :attributes => attributes)
544             end
546             def recv_scannerOpen()
547               result = receive_message(ScannerOpen_result)
548               return result.success unless result.success.nil?
549               raise result.io unless result.io.nil?
550               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpen failed: unknown result')
551             end
553             def scannerOpenWithStop(tableName, startRow, stopRow, columns, attributes)
554               send_scannerOpenWithStop(tableName, startRow, stopRow, columns, attributes)
555               return recv_scannerOpenWithStop()
556             end
558             def send_scannerOpenWithStop(tableName, startRow, stopRow, columns, attributes)
559               send_message('scannerOpenWithStop', ScannerOpenWithStop_args, :tableName => tableName, :startRow => startRow, :stopRow => stopRow, :columns => columns, :attributes => attributes)
560             end
562             def recv_scannerOpenWithStop()
563               result = receive_message(ScannerOpenWithStop_result)
564               return result.success unless result.success.nil?
565               raise result.io unless result.io.nil?
566               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpenWithStop failed: unknown result')
567             end
569             def scannerOpenWithPrefix(tableName, startAndPrefix, columns, attributes)
570               send_scannerOpenWithPrefix(tableName, startAndPrefix, columns, attributes)
571               return recv_scannerOpenWithPrefix()
572             end
574             def send_scannerOpenWithPrefix(tableName, startAndPrefix, columns, attributes)
575               send_message('scannerOpenWithPrefix', ScannerOpenWithPrefix_args, :tableName => tableName, :startAndPrefix => startAndPrefix, :columns => columns, :attributes => attributes)
576             end
578             def recv_scannerOpenWithPrefix()
579               result = receive_message(ScannerOpenWithPrefix_result)
580               return result.success unless result.success.nil?
581               raise result.io unless result.io.nil?
582               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpenWithPrefix failed: unknown result')
583             end
585             def scannerOpenTs(tableName, startRow, columns, timestamp, attributes)
586               send_scannerOpenTs(tableName, startRow, columns, timestamp, attributes)
587               return recv_scannerOpenTs()
588             end
590             def send_scannerOpenTs(tableName, startRow, columns, timestamp, attributes)
591               send_message('scannerOpenTs', ScannerOpenTs_args, :tableName => tableName, :startRow => startRow, :columns => columns, :timestamp => timestamp, :attributes => attributes)
592             end
594             def recv_scannerOpenTs()
595               result = receive_message(ScannerOpenTs_result)
596               return result.success unless result.success.nil?
597               raise result.io unless result.io.nil?
598               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpenTs failed: unknown result')
599             end
601             def scannerOpenWithStopTs(tableName, startRow, stopRow, columns, timestamp, attributes)
602               send_scannerOpenWithStopTs(tableName, startRow, stopRow, columns, timestamp, attributes)
603               return recv_scannerOpenWithStopTs()
604             end
606             def send_scannerOpenWithStopTs(tableName, startRow, stopRow, columns, timestamp, attributes)
607               send_message('scannerOpenWithStopTs', ScannerOpenWithStopTs_args, :tableName => tableName, :startRow => startRow, :stopRow => stopRow, :columns => columns, :timestamp => timestamp, :attributes => attributes)
608             end
610             def recv_scannerOpenWithStopTs()
611               result = receive_message(ScannerOpenWithStopTs_result)
612               return result.success unless result.success.nil?
613               raise result.io unless result.io.nil?
614               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpenWithStopTs failed: unknown result')
615             end
617             def scannerGet(id)
618               send_scannerGet(id)
619               return recv_scannerGet()
620             end
622             def send_scannerGet(id)
623               send_message('scannerGet', ScannerGet_args, :id => id)
624             end
626             def recv_scannerGet()
627               result = receive_message(ScannerGet_result)
628               return result.success unless result.success.nil?
629               raise result.io unless result.io.nil?
630               raise result.ia unless result.ia.nil?
631               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerGet failed: unknown result')
632             end
634             def scannerGetList(id, nbRows)
635               send_scannerGetList(id, nbRows)
636               return recv_scannerGetList()
637             end
639             def send_scannerGetList(id, nbRows)
640               send_message('scannerGetList', ScannerGetList_args, :id => id, :nbRows => nbRows)
641             end
643             def recv_scannerGetList()
644               result = receive_message(ScannerGetList_result)
645               return result.success unless result.success.nil?
646               raise result.io unless result.io.nil?
647               raise result.ia unless result.ia.nil?
648               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerGetList failed: unknown result')
649             end
651             def scannerClose(id)
652               send_scannerClose(id)
653               recv_scannerClose()
654             end
656             def send_scannerClose(id)
657               send_message('scannerClose', ScannerClose_args, :id => id)
658             end
660             def recv_scannerClose()
661               result = receive_message(ScannerClose_result)
662               raise result.io unless result.io.nil?
663               raise result.ia unless result.ia.nil?
664               return
665             end
667             def getRowOrBefore(tableName, row, family)
668               send_getRowOrBefore(tableName, row, family)
669               return recv_getRowOrBefore()
670             end
672             def send_getRowOrBefore(tableName, row, family)
673               send_message('getRowOrBefore', GetRowOrBefore_args, :tableName => tableName, :row => row, :family => family)
674             end
676             def recv_getRowOrBefore()
677               result = receive_message(GetRowOrBefore_result)
678               return result.success unless result.success.nil?
679               raise result.io unless result.io.nil?
680               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowOrBefore failed: unknown result')
681             end
683             def getRegionInfo(row)
684               send_getRegionInfo(row)
685               return recv_getRegionInfo()
686             end
688             def send_getRegionInfo(row)
689               send_message('getRegionInfo', GetRegionInfo_args, :row => row)
690             end
692             def recv_getRegionInfo()
693               result = receive_message(GetRegionInfo_result)
694               return result.success unless result.success.nil?
695               raise result.io unless result.io.nil?
696               raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRegionInfo failed: unknown result')
697             end
699           end
701           class Processor
702             include ::Thrift::Processor
704             def process_enableTable(seqid, iprot, oprot)
705               args = read_args(iprot, EnableTable_args)
706               result = EnableTable_result.new()
707               begin
708                 @handler.enableTable(args.tableName)
709               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
710                 result.io = io
711               end
712               write_result(result, oprot, 'enableTable', seqid)
713             end
715             def process_disableTable(seqid, iprot, oprot)
716               args = read_args(iprot, DisableTable_args)
717               result = DisableTable_result.new()
718               begin
719                 @handler.disableTable(args.tableName)
720               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
721                 result.io = io
722               end
723               write_result(result, oprot, 'disableTable', seqid)
724             end
726             def process_isTableEnabled(seqid, iprot, oprot)
727               args = read_args(iprot, IsTableEnabled_args)
728               result = IsTableEnabled_result.new()
729               begin
730                 result.success = @handler.isTableEnabled(args.tableName)
731               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
732                 result.io = io
733               end
734               write_result(result, oprot, 'isTableEnabled', seqid)
735             end
737             def process_compact(seqid, iprot, oprot)
738               args = read_args(iprot, Compact_args)
739               result = Compact_result.new()
740               begin
741                 @handler.compact(args.tableNameOrRegionName)
742               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
743                 result.io = io
744               end
745               write_result(result, oprot, 'compact', seqid)
746             end
748             def process_majorCompact(seqid, iprot, oprot)
749               args = read_args(iprot, MajorCompact_args)
750               result = MajorCompact_result.new()
751               begin
752                 @handler.majorCompact(args.tableNameOrRegionName)
753               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
754                 result.io = io
755               end
756               write_result(result, oprot, 'majorCompact', seqid)
757             end
759             def process_getTableNames(seqid, iprot, oprot)
760               args = read_args(iprot, GetTableNames_args)
761               result = GetTableNames_result.new()
762               begin
763                 result.success = @handler.getTableNames()
764               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
765                 result.io = io
766               end
767               write_result(result, oprot, 'getTableNames', seqid)
768             end
770             def process_getColumnDescriptors(seqid, iprot, oprot)
771               args = read_args(iprot, GetColumnDescriptors_args)
772               result = GetColumnDescriptors_result.new()
773               begin
774                 result.success = @handler.getColumnDescriptors(args.tableName)
775               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
776                 result.io = io
777               end
778               write_result(result, oprot, 'getColumnDescriptors', seqid)
779             end
781             def process_getTableRegions(seqid, iprot, oprot)
782               args = read_args(iprot, GetTableRegions_args)
783               result = GetTableRegions_result.new()
784               begin
785                 result.success = @handler.getTableRegions(args.tableName)
786               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
787                 result.io = io
788               end
789               write_result(result, oprot, 'getTableRegions', seqid)
790             end
792             def process_createTable(seqid, iprot, oprot)
793               args = read_args(iprot, CreateTable_args)
794               result = CreateTable_result.new()
795               begin
796                 @handler.createTable(args.tableName, args.columnFamilies)
797               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
798                 result.io = io
799               rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
800                 result.ia = ia
801               rescue ::Apache::Hadoop::Hbase::Thrift::AlreadyExists => exist
802                 result.exist = exist
803               end
804               write_result(result, oprot, 'createTable', seqid)
805             end
807             def process_deleteTable(seqid, iprot, oprot)
808               args = read_args(iprot, DeleteTable_args)
809               result = DeleteTable_result.new()
810               begin
811                 @handler.deleteTable(args.tableName)
812               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
813                 result.io = io
814               end
815               write_result(result, oprot, 'deleteTable', seqid)
816             end
818             def process_get(seqid, iprot, oprot)
819               args = read_args(iprot, Get_args)
820               result = Get_result.new()
821               begin
822                 result.success = @handler.get(args.tableName, args.row, args.column, args.attributes)
823               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
824                 result.io = io
825               end
826               write_result(result, oprot, 'get', seqid)
827             end
829             def process_getVer(seqid, iprot, oprot)
830               args = read_args(iprot, GetVer_args)
831               result = GetVer_result.new()
832               begin
833                 result.success = @handler.getVer(args.tableName, args.row, args.column, args.numVersions, args.attributes)
834               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
835                 result.io = io
836               end
837               write_result(result, oprot, 'getVer', seqid)
838             end
840             def process_getVerTs(seqid, iprot, oprot)
841               args = read_args(iprot, GetVerTs_args)
842               result = GetVerTs_result.new()
843               begin
844                 result.success = @handler.getVerTs(args.tableName, args.row, args.column, args.timestamp, args.numVersions, args.attributes)
845               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
846                 result.io = io
847               end
848               write_result(result, oprot, 'getVerTs', seqid)
849             end
851             def process_getRow(seqid, iprot, oprot)
852               args = read_args(iprot, GetRow_args)
853               result = GetRow_result.new()
854               begin
855                 result.success = @handler.getRow(args.tableName, args.row, args.attributes)
856               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
857                 result.io = io
858               end
859               write_result(result, oprot, 'getRow', seqid)
860             end
862             def process_getRowWithColumns(seqid, iprot, oprot)
863               args = read_args(iprot, GetRowWithColumns_args)
864               result = GetRowWithColumns_result.new()
865               begin
866                 result.success = @handler.getRowWithColumns(args.tableName, args.row, args.columns, args.attributes)
867               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
868                 result.io = io
869               end
870               write_result(result, oprot, 'getRowWithColumns', seqid)
871             end
873             def process_getRowTs(seqid, iprot, oprot)
874               args = read_args(iprot, GetRowTs_args)
875               result = GetRowTs_result.new()
876               begin
877                 result.success = @handler.getRowTs(args.tableName, args.row, args.timestamp, args.attributes)
878               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
879                 result.io = io
880               end
881               write_result(result, oprot, 'getRowTs', seqid)
882             end
884             def process_getRowWithColumnsTs(seqid, iprot, oprot)
885               args = read_args(iprot, GetRowWithColumnsTs_args)
886               result = GetRowWithColumnsTs_result.new()
887               begin
888                 result.success = @handler.getRowWithColumnsTs(args.tableName, args.row, args.columns, args.timestamp, args.attributes)
889               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
890                 result.io = io
891               end
892               write_result(result, oprot, 'getRowWithColumnsTs', seqid)
893             end
895             def process_getRows(seqid, iprot, oprot)
896               args = read_args(iprot, GetRows_args)
897               result = GetRows_result.new()
898               begin
899                 result.success = @handler.getRows(args.tableName, args.rows, args.attributes)
900               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
901                 result.io = io
902               end
903               write_result(result, oprot, 'getRows', seqid)
904             end
906             def process_getRowsWithColumns(seqid, iprot, oprot)
907               args = read_args(iprot, GetRowsWithColumns_args)
908               result = GetRowsWithColumns_result.new()
909               begin
910                 result.success = @handler.getRowsWithColumns(args.tableName, args.rows, args.columns, args.attributes)
911               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
912                 result.io = io
913               end
914               write_result(result, oprot, 'getRowsWithColumns', seqid)
915             end
917             def process_getRowsTs(seqid, iprot, oprot)
918               args = read_args(iprot, GetRowsTs_args)
919               result = GetRowsTs_result.new()
920               begin
921                 result.success = @handler.getRowsTs(args.tableName, args.rows, args.timestamp, args.attributes)
922               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
923                 result.io = io
924               end
925               write_result(result, oprot, 'getRowsTs', seqid)
926             end
928             def process_getRowsWithColumnsTs(seqid, iprot, oprot)
929               args = read_args(iprot, GetRowsWithColumnsTs_args)
930               result = GetRowsWithColumnsTs_result.new()
931               begin
932                 result.success = @handler.getRowsWithColumnsTs(args.tableName, args.rows, args.columns, args.timestamp, args.attributes)
933               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
934                 result.io = io
935               end
936               write_result(result, oprot, 'getRowsWithColumnsTs', seqid)
937             end
939             def process_mutateRow(seqid, iprot, oprot)
940               args = read_args(iprot, MutateRow_args)
941               result = MutateRow_result.new()
942               begin
943                 @handler.mutateRow(args.tableName, args.row, args.mutations, args.attributes)
944               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
945                 result.io = io
946               rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
947                 result.ia = ia
948               end
949               write_result(result, oprot, 'mutateRow', seqid)
950             end
952             def process_mutateRowTs(seqid, iprot, oprot)
953               args = read_args(iprot, MutateRowTs_args)
954               result = MutateRowTs_result.new()
955               begin
956                 @handler.mutateRowTs(args.tableName, args.row, args.mutations, args.timestamp, args.attributes)
957               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
958                 result.io = io
959               rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
960                 result.ia = ia
961               end
962               write_result(result, oprot, 'mutateRowTs', seqid)
963             end
965             def process_mutateRows(seqid, iprot, oprot)
966               args = read_args(iprot, MutateRows_args)
967               result = MutateRows_result.new()
968               begin
969                 @handler.mutateRows(args.tableName, args.rowBatches, args.attributes)
970               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
971                 result.io = io
972               rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
973                 result.ia = ia
974               end
975               write_result(result, oprot, 'mutateRows', seqid)
976             end
978             def process_mutateRowsTs(seqid, iprot, oprot)
979               args = read_args(iprot, MutateRowsTs_args)
980               result = MutateRowsTs_result.new()
981               begin
982                 @handler.mutateRowsTs(args.tableName, args.rowBatches, args.timestamp, args.attributes)
983               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
984                 result.io = io
985               rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
986                 result.ia = ia
987               end
988               write_result(result, oprot, 'mutateRowsTs', seqid)
989             end
991             def process_atomicIncrement(seqid, iprot, oprot)
992               args = read_args(iprot, AtomicIncrement_args)
993               result = AtomicIncrement_result.new()
994               begin
995                 result.success = @handler.atomicIncrement(args.tableName, args.row, args.column, args.value)
996               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
997                 result.io = io
998               rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
999                 result.ia = ia
1000               end
1001               write_result(result, oprot, 'atomicIncrement', seqid)
1002             end
1004             def process_deleteAll(seqid, iprot, oprot)
1005               args = read_args(iprot, DeleteAll_args)
1006               result = DeleteAll_result.new()
1007               begin
1008                 @handler.deleteAll(args.tableName, args.row, args.column, args.attributes)
1009               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1010                 result.io = io
1011               end
1012               write_result(result, oprot, 'deleteAll', seqid)
1013             end
1015             def process_deleteAllTs(seqid, iprot, oprot)
1016               args = read_args(iprot, DeleteAllTs_args)
1017               result = DeleteAllTs_result.new()
1018               begin
1019                 @handler.deleteAllTs(args.tableName, args.row, args.column, args.timestamp, args.attributes)
1020               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1021                 result.io = io
1022               end
1023               write_result(result, oprot, 'deleteAllTs', seqid)
1024             end
1026             def process_deleteAllRow(seqid, iprot, oprot)
1027               args = read_args(iprot, DeleteAllRow_args)
1028               result = DeleteAllRow_result.new()
1029               begin
1030                 @handler.deleteAllRow(args.tableName, args.row, args.attributes)
1031               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1032                 result.io = io
1033               end
1034               write_result(result, oprot, 'deleteAllRow', seqid)
1035             end
1037             def process_increment(seqid, iprot, oprot)
1038               args = read_args(iprot, Increment_args)
1039               result = Increment_result.new()
1040               begin
1041                 @handler.increment(args.increment)
1042               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1043                 result.io = io
1044               end
1045               write_result(result, oprot, 'increment', seqid)
1046             end
1048             def process_incrementRows(seqid, iprot, oprot)
1049               args = read_args(iprot, IncrementRows_args)
1050               result = IncrementRows_result.new()
1051               begin
1052                 @handler.incrementRows(args.increments)
1053               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1054                 result.io = io
1055               end
1056               write_result(result, oprot, 'incrementRows', seqid)
1057             end
1059             def process_deleteAllRowTs(seqid, iprot, oprot)
1060               args = read_args(iprot, DeleteAllRowTs_args)
1061               result = DeleteAllRowTs_result.new()
1062               begin
1063                 @handler.deleteAllRowTs(args.tableName, args.row, args.timestamp, args.attributes)
1064               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1065                 result.io = io
1066               end
1067               write_result(result, oprot, 'deleteAllRowTs', seqid)
1068             end
1070             def process_scannerOpenWithScan(seqid, iprot, oprot)
1071               args = read_args(iprot, ScannerOpenWithScan_args)
1072               result = ScannerOpenWithScan_result.new()
1073               begin
1074                 result.success = @handler.scannerOpenWithScan(args.tableName, args.scan, args.attributes)
1075               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1076                 result.io = io
1077               end
1078               write_result(result, oprot, 'scannerOpenWithScan', seqid)
1079             end
1081             def process_scannerOpen(seqid, iprot, oprot)
1082               args = read_args(iprot, ScannerOpen_args)
1083               result = ScannerOpen_result.new()
1084               begin
1085                 result.success = @handler.scannerOpen(args.tableName, args.startRow, args.columns, args.attributes)
1086               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1087                 result.io = io
1088               end
1089               write_result(result, oprot, 'scannerOpen', seqid)
1090             end
1092             def process_scannerOpenWithStop(seqid, iprot, oprot)
1093               args = read_args(iprot, ScannerOpenWithStop_args)
1094               result = ScannerOpenWithStop_result.new()
1095               begin
1096                 result.success = @handler.scannerOpenWithStop(args.tableName, args.startRow, args.stopRow, args.columns, args.attributes)
1097               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1098                 result.io = io
1099               end
1100               write_result(result, oprot, 'scannerOpenWithStop', seqid)
1101             end
1103             def process_scannerOpenWithPrefix(seqid, iprot, oprot)
1104               args = read_args(iprot, ScannerOpenWithPrefix_args)
1105               result = ScannerOpenWithPrefix_result.new()
1106               begin
1107                 result.success = @handler.scannerOpenWithPrefix(args.tableName, args.startAndPrefix, args.columns, args.attributes)
1108               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1109                 result.io = io
1110               end
1111               write_result(result, oprot, 'scannerOpenWithPrefix', seqid)
1112             end
1114             def process_scannerOpenTs(seqid, iprot, oprot)
1115               args = read_args(iprot, ScannerOpenTs_args)
1116               result = ScannerOpenTs_result.new()
1117               begin
1118                 result.success = @handler.scannerOpenTs(args.tableName, args.startRow, args.columns, args.timestamp, args.attributes)
1119               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1120                 result.io = io
1121               end
1122               write_result(result, oprot, 'scannerOpenTs', seqid)
1123             end
1125             def process_scannerOpenWithStopTs(seqid, iprot, oprot)
1126               args = read_args(iprot, ScannerOpenWithStopTs_args)
1127               result = ScannerOpenWithStopTs_result.new()
1128               begin
1129                 result.success = @handler.scannerOpenWithStopTs(args.tableName, args.startRow, args.stopRow, args.columns, args.timestamp, args.attributes)
1130               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1131                 result.io = io
1132               end
1133               write_result(result, oprot, 'scannerOpenWithStopTs', seqid)
1134             end
1136             def process_scannerGet(seqid, iprot, oprot)
1137               args = read_args(iprot, ScannerGet_args)
1138               result = ScannerGet_result.new()
1139               begin
1140                 result.success = @handler.scannerGet(args.id)
1141               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1142                 result.io = io
1143               rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
1144                 result.ia = ia
1145               end
1146               write_result(result, oprot, 'scannerGet', seqid)
1147             end
1149             def process_scannerGetList(seqid, iprot, oprot)
1150               args = read_args(iprot, ScannerGetList_args)
1151               result = ScannerGetList_result.new()
1152               begin
1153                 result.success = @handler.scannerGetList(args.id, args.nbRows)
1154               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1155                 result.io = io
1156               rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
1157                 result.ia = ia
1158               end
1159               write_result(result, oprot, 'scannerGetList', seqid)
1160             end
1162             def process_scannerClose(seqid, iprot, oprot)
1163               args = read_args(iprot, ScannerClose_args)
1164               result = ScannerClose_result.new()
1165               begin
1166                 @handler.scannerClose(args.id)
1167               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1168                 result.io = io
1169               rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
1170                 result.ia = ia
1171               end
1172               write_result(result, oprot, 'scannerClose', seqid)
1173             end
1175             def process_getRowOrBefore(seqid, iprot, oprot)
1176               args = read_args(iprot, GetRowOrBefore_args)
1177               result = GetRowOrBefore_result.new()
1178               begin
1179                 result.success = @handler.getRowOrBefore(args.tableName, args.row, args.family)
1180               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1181                 result.io = io
1182               end
1183               write_result(result, oprot, 'getRowOrBefore', seqid)
1184             end
1186             def process_getRegionInfo(seqid, iprot, oprot)
1187               args = read_args(iprot, GetRegionInfo_args)
1188               result = GetRegionInfo_result.new()
1189               begin
1190                 result.success = @handler.getRegionInfo(args.row)
1191               rescue ::Apache::Hadoop::Hbase::Thrift::IOError => io
1192                 result.io = io
1193               end
1194               write_result(result, oprot, 'getRegionInfo', seqid)
1195             end
1197           end
1199           # HELPER FUNCTIONS AND STRUCTURES
1201           class EnableTable_args
1202             include ::Thrift::Struct, ::Thrift::Struct_Union
1203             TABLENAME = 1
1205             FIELDS = {
1206               # name of the table
1207               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true}
1208             }
1210             def struct_fields; FIELDS; end
1212             def validate
1213             end
1215             ::Thrift::Struct.generate_accessors self
1216           end
1218           class EnableTable_result
1219             include ::Thrift::Struct, ::Thrift::Struct_Union
1220             IO = 1
1222             FIELDS = {
1223               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1224             }
1226             def struct_fields; FIELDS; end
1228             def validate
1229             end
1231             ::Thrift::Struct.generate_accessors self
1232           end
1234           class DisableTable_args
1235             include ::Thrift::Struct, ::Thrift::Struct_Union
1236             TABLENAME = 1
1238             FIELDS = {
1239               # name of the table
1240               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true}
1241             }
1243             def struct_fields; FIELDS; end
1245             def validate
1246             end
1248             ::Thrift::Struct.generate_accessors self
1249           end
1251           class DisableTable_result
1252             include ::Thrift::Struct, ::Thrift::Struct_Union
1253             IO = 1
1255             FIELDS = {
1256               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1257             }
1259             def struct_fields; FIELDS; end
1261             def validate
1262             end
1264             ::Thrift::Struct.generate_accessors self
1265           end
1267           class IsTableEnabled_args
1268             include ::Thrift::Struct, ::Thrift::Struct_Union
1269             TABLENAME = 1
1271             FIELDS = {
1272               # name of the table to check
1273               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true}
1274             }
1276             def struct_fields; FIELDS; end
1278             def validate
1279             end
1281             ::Thrift::Struct.generate_accessors self
1282           end
1284           class IsTableEnabled_result
1285             include ::Thrift::Struct, ::Thrift::Struct_Union
1286             SUCCESS = 0
1287             IO = 1
1289             FIELDS = {
1290               SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
1291               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1292             }
1294             def struct_fields; FIELDS; end
1296             def validate
1297             end
1299             ::Thrift::Struct.generate_accessors self
1300           end
1302           class Compact_args
1303             include ::Thrift::Struct, ::Thrift::Struct_Union
1304             TABLENAMEORREGIONNAME = 1
1306             FIELDS = {
1307               TABLENAMEORREGIONNAME => {:type => ::Thrift::Types::STRING, :name => 'tableNameOrRegionName', :binary => true}
1308             }
1310             def struct_fields; FIELDS; end
1312             def validate
1313             end
1315             ::Thrift::Struct.generate_accessors self
1316           end
1318           class Compact_result
1319             include ::Thrift::Struct, ::Thrift::Struct_Union
1320             IO = 1
1322             FIELDS = {
1323               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1324             }
1326             def struct_fields; FIELDS; end
1328             def validate
1329             end
1331             ::Thrift::Struct.generate_accessors self
1332           end
1334           class MajorCompact_args
1335             include ::Thrift::Struct, ::Thrift::Struct_Union
1336             TABLENAMEORREGIONNAME = 1
1338             FIELDS = {
1339               TABLENAMEORREGIONNAME => {:type => ::Thrift::Types::STRING, :name => 'tableNameOrRegionName', :binary => true}
1340             }
1342             def struct_fields; FIELDS; end
1344             def validate
1345             end
1347             ::Thrift::Struct.generate_accessors self
1348           end
1350           class MajorCompact_result
1351             include ::Thrift::Struct, ::Thrift::Struct_Union
1352             IO = 1
1354             FIELDS = {
1355               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1356             }
1358             def struct_fields; FIELDS; end
1360             def validate
1361             end
1363             ::Thrift::Struct.generate_accessors self
1364           end
1366           class GetTableNames_args
1367             include ::Thrift::Struct, ::Thrift::Struct_Union
1369             FIELDS = {
1371             }
1373             def struct_fields; FIELDS; end
1375             def validate
1376             end
1378             ::Thrift::Struct.generate_accessors self
1379           end
1381           class GetTableNames_result
1382             include ::Thrift::Struct, ::Thrift::Struct_Union
1383             SUCCESS = 0
1384             IO = 1
1386             FIELDS = {
1387               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
1388               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1389             }
1391             def struct_fields; FIELDS; end
1393             def validate
1394             end
1396             ::Thrift::Struct.generate_accessors self
1397           end
1399           class GetColumnDescriptors_args
1400             include ::Thrift::Struct, ::Thrift::Struct_Union
1401             TABLENAME = 1
1403             FIELDS = {
1404               # table name
1405               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true}
1406             }
1408             def struct_fields; FIELDS; end
1410             def validate
1411             end
1413             ::Thrift::Struct.generate_accessors self
1414           end
1416           class GetColumnDescriptors_result
1417             include ::Thrift::Struct, ::Thrift::Struct_Union
1418             SUCCESS = 0
1419             IO = 1
1421             FIELDS = {
1422               SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::ColumnDescriptor}},
1423               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1424             }
1426             def struct_fields; FIELDS; end
1428             def validate
1429             end
1431             ::Thrift::Struct.generate_accessors self
1432           end
1434           class GetTableRegions_args
1435             include ::Thrift::Struct, ::Thrift::Struct_Union
1436             TABLENAME = 1
1438             FIELDS = {
1439               # table name
1440               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true}
1441             }
1443             def struct_fields; FIELDS; end
1445             def validate
1446             end
1448             ::Thrift::Struct.generate_accessors self
1449           end
1451           class GetTableRegions_result
1452             include ::Thrift::Struct, ::Thrift::Struct_Union
1453             SUCCESS = 0
1454             IO = 1
1456             FIELDS = {
1457               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRegionInfo}},
1458               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1459             }
1461             def struct_fields; FIELDS; end
1463             def validate
1464             end
1466             ::Thrift::Struct.generate_accessors self
1467           end
1469           class CreateTable_args
1470             include ::Thrift::Struct, ::Thrift::Struct_Union
1471             TABLENAME = 1
1472             COLUMNFAMILIES = 2
1474             FIELDS = {
1475               # name of table to create
1476               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1477               # list of column family descriptors
1478               COLUMNFAMILIES => {:type => ::Thrift::Types::LIST, :name => 'columnFamilies', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::ColumnDescriptor}}
1479             }
1481             def struct_fields; FIELDS; end
1483             def validate
1484             end
1486             ::Thrift::Struct.generate_accessors self
1487           end
1489           class CreateTable_result
1490             include ::Thrift::Struct, ::Thrift::Struct_Union
1491             IO = 1
1492             IA = 2
1493             EXIST = 3
1495             FIELDS = {
1496               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError},
1497               IA => {:type => ::Thrift::Types::STRUCT, :name => 'ia', :class => ::Apache::Hadoop::Hbase::Thrift::IllegalArgument},
1498               EXIST => {:type => ::Thrift::Types::STRUCT, :name => 'exist', :class => ::Apache::Hadoop::Hbase::Thrift::AlreadyExists}
1499             }
1501             def struct_fields; FIELDS; end
1503             def validate
1504             end
1506             ::Thrift::Struct.generate_accessors self
1507           end
1509           class DeleteTable_args
1510             include ::Thrift::Struct, ::Thrift::Struct_Union
1511             TABLENAME = 1
1513             FIELDS = {
1514               # name of table to delete
1515               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true}
1516             }
1518             def struct_fields; FIELDS; end
1520             def validate
1521             end
1523             ::Thrift::Struct.generate_accessors self
1524           end
1526           class DeleteTable_result
1527             include ::Thrift::Struct, ::Thrift::Struct_Union
1528             IO = 1
1530             FIELDS = {
1531               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1532             }
1534             def struct_fields; FIELDS; end
1536             def validate
1537             end
1539             ::Thrift::Struct.generate_accessors self
1540           end
1542           class Get_args
1543             include ::Thrift::Struct, ::Thrift::Struct_Union
1544             TABLENAME = 1
1545             ROW = 2
1546             COLUMN = 3
1547             ATTRIBUTES = 4
1549             FIELDS = {
1550               # name of table
1551               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1552               # row key
1553               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
1554               # column name
1555               COLUMN => {:type => ::Thrift::Types::STRING, :name => 'column', :binary => true},
1556               # Get attributes
1557               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
1558             }
1560             def struct_fields; FIELDS; end
1562             def validate
1563             end
1565             ::Thrift::Struct.generate_accessors self
1566           end
1568           class Get_result
1569             include ::Thrift::Struct, ::Thrift::Struct_Union
1570             SUCCESS = 0
1571             IO = 1
1573             FIELDS = {
1574               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TCell}},
1575               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1576             }
1578             def struct_fields; FIELDS; end
1580             def validate
1581             end
1583             ::Thrift::Struct.generate_accessors self
1584           end
1586           class GetVer_args
1587             include ::Thrift::Struct, ::Thrift::Struct_Union
1588             TABLENAME = 1
1589             ROW = 2
1590             COLUMN = 3
1591             NUMVERSIONS = 4
1592             ATTRIBUTES = 5
1594             FIELDS = {
1595               # name of table
1596               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1597               # row key
1598               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
1599               # column name
1600               COLUMN => {:type => ::Thrift::Types::STRING, :name => 'column', :binary => true},
1601               # number of versions to retrieve
1602               NUMVERSIONS => {:type => ::Thrift::Types::I32, :name => 'numVersions'},
1603               # Get attributes
1604               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
1605             }
1607             def struct_fields; FIELDS; end
1609             def validate
1610             end
1612             ::Thrift::Struct.generate_accessors self
1613           end
1615           class GetVer_result
1616             include ::Thrift::Struct, ::Thrift::Struct_Union
1617             SUCCESS = 0
1618             IO = 1
1620             FIELDS = {
1621               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TCell}},
1622               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1623             }
1625             def struct_fields; FIELDS; end
1627             def validate
1628             end
1630             ::Thrift::Struct.generate_accessors self
1631           end
1633           class GetVerTs_args
1634             include ::Thrift::Struct, ::Thrift::Struct_Union
1635             TABLENAME = 1
1636             ROW = 2
1637             COLUMN = 3
1638             TIMESTAMP = 4
1639             NUMVERSIONS = 5
1640             ATTRIBUTES = 6
1642             FIELDS = {
1643               # name of table
1644               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1645               # row key
1646               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
1647               # column name
1648               COLUMN => {:type => ::Thrift::Types::STRING, :name => 'column', :binary => true},
1649               # timestamp
1650               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
1651               # number of versions to retrieve
1652               NUMVERSIONS => {:type => ::Thrift::Types::I32, :name => 'numVersions'},
1653               # Get attributes
1654               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
1655             }
1657             def struct_fields; FIELDS; end
1659             def validate
1660             end
1662             ::Thrift::Struct.generate_accessors self
1663           end
1665           class GetVerTs_result
1666             include ::Thrift::Struct, ::Thrift::Struct_Union
1667             SUCCESS = 0
1668             IO = 1
1670             FIELDS = {
1671               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TCell}},
1672               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1673             }
1675             def struct_fields; FIELDS; end
1677             def validate
1678             end
1680             ::Thrift::Struct.generate_accessors self
1681           end
1683           class GetRow_args
1684             include ::Thrift::Struct, ::Thrift::Struct_Union
1685             TABLENAME = 1
1686             ROW = 2
1687             ATTRIBUTES = 3
1689             FIELDS = {
1690               # name of table
1691               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1692               # row key
1693               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
1694               # Get attributes
1695               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
1696             }
1698             def struct_fields; FIELDS; end
1700             def validate
1701             end
1703             ::Thrift::Struct.generate_accessors self
1704           end
1706           class GetRow_result
1707             include ::Thrift::Struct, ::Thrift::Struct_Union
1708             SUCCESS = 0
1709             IO = 1
1711             FIELDS = {
1712               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRowResult}},
1713               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1714             }
1716             def struct_fields; FIELDS; end
1718             def validate
1719             end
1721             ::Thrift::Struct.generate_accessors self
1722           end
1724           class GetRowWithColumns_args
1725             include ::Thrift::Struct, ::Thrift::Struct_Union
1726             TABLENAME = 1
1727             ROW = 2
1728             COLUMNS = 3
1729             ATTRIBUTES = 4
1731             FIELDS = {
1732               # name of table
1733               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1734               # row key
1735               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
1736               # List of columns to return, null for all columns
1737               COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
1738               # Get attributes
1739               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
1740             }
1742             def struct_fields; FIELDS; end
1744             def validate
1745             end
1747             ::Thrift::Struct.generate_accessors self
1748           end
1750           class GetRowWithColumns_result
1751             include ::Thrift::Struct, ::Thrift::Struct_Union
1752             SUCCESS = 0
1753             IO = 1
1755             FIELDS = {
1756               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRowResult}},
1757               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1758             }
1760             def struct_fields; FIELDS; end
1762             def validate
1763             end
1765             ::Thrift::Struct.generate_accessors self
1766           end
1768           class GetRowTs_args
1769             include ::Thrift::Struct, ::Thrift::Struct_Union
1770             TABLENAME = 1
1771             ROW = 2
1772             TIMESTAMP = 3
1773             ATTRIBUTES = 4
1775             FIELDS = {
1776               # name of the table
1777               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1778               # row key
1779               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
1780               # timestamp
1781               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
1782               # Get attributes
1783               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
1784             }
1786             def struct_fields; FIELDS; end
1788             def validate
1789             end
1791             ::Thrift::Struct.generate_accessors self
1792           end
1794           class GetRowTs_result
1795             include ::Thrift::Struct, ::Thrift::Struct_Union
1796             SUCCESS = 0
1797             IO = 1
1799             FIELDS = {
1800               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRowResult}},
1801               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1802             }
1804             def struct_fields; FIELDS; end
1806             def validate
1807             end
1809             ::Thrift::Struct.generate_accessors self
1810           end
1812           class GetRowWithColumnsTs_args
1813             include ::Thrift::Struct, ::Thrift::Struct_Union
1814             TABLENAME = 1
1815             ROW = 2
1816             COLUMNS = 3
1817             TIMESTAMP = 4
1818             ATTRIBUTES = 5
1820             FIELDS = {
1821               # name of table
1822               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1823               # row key
1824               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
1825               # List of columns to return, null for all columns
1826               COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
1827               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
1828               # Get attributes
1829               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
1830             }
1832             def struct_fields; FIELDS; end
1834             def validate
1835             end
1837             ::Thrift::Struct.generate_accessors self
1838           end
1840           class GetRowWithColumnsTs_result
1841             include ::Thrift::Struct, ::Thrift::Struct_Union
1842             SUCCESS = 0
1843             IO = 1
1845             FIELDS = {
1846               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRowResult}},
1847               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1848             }
1850             def struct_fields; FIELDS; end
1852             def validate
1853             end
1855             ::Thrift::Struct.generate_accessors self
1856           end
1858           class GetRows_args
1859             include ::Thrift::Struct, ::Thrift::Struct_Union
1860             TABLENAME = 1
1861             ROWS = 2
1862             ATTRIBUTES = 3
1864             FIELDS = {
1865               # name of table
1866               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1867               # row keys
1868               ROWS => {:type => ::Thrift::Types::LIST, :name => 'rows', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
1869               # Get attributes
1870               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
1871             }
1873             def struct_fields; FIELDS; end
1875             def validate
1876             end
1878             ::Thrift::Struct.generate_accessors self
1879           end
1881           class GetRows_result
1882             include ::Thrift::Struct, ::Thrift::Struct_Union
1883             SUCCESS = 0
1884             IO = 1
1886             FIELDS = {
1887               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRowResult}},
1888               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1889             }
1891             def struct_fields; FIELDS; end
1893             def validate
1894             end
1896             ::Thrift::Struct.generate_accessors self
1897           end
1899           class GetRowsWithColumns_args
1900             include ::Thrift::Struct, ::Thrift::Struct_Union
1901             TABLENAME = 1
1902             ROWS = 2
1903             COLUMNS = 3
1904             ATTRIBUTES = 4
1906             FIELDS = {
1907               # name of table
1908               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1909               # row keys
1910               ROWS => {:type => ::Thrift::Types::LIST, :name => 'rows', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
1911               # List of columns to return, null for all columns
1912               COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
1913               # Get attributes
1914               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
1915             }
1917             def struct_fields; FIELDS; end
1919             def validate
1920             end
1922             ::Thrift::Struct.generate_accessors self
1923           end
1925           class GetRowsWithColumns_result
1926             include ::Thrift::Struct, ::Thrift::Struct_Union
1927             SUCCESS = 0
1928             IO = 1
1930             FIELDS = {
1931               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRowResult}},
1932               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1933             }
1935             def struct_fields; FIELDS; end
1937             def validate
1938             end
1940             ::Thrift::Struct.generate_accessors self
1941           end
1943           class GetRowsTs_args
1944             include ::Thrift::Struct, ::Thrift::Struct_Union
1945             TABLENAME = 1
1946             ROWS = 2
1947             TIMESTAMP = 3
1948             ATTRIBUTES = 4
1950             FIELDS = {
1951               # name of the table
1952               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1953               # row keys
1954               ROWS => {:type => ::Thrift::Types::LIST, :name => 'rows', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
1955               # timestamp
1956               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
1957               # Get attributes
1958               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
1959             }
1961             def struct_fields; FIELDS; end
1963             def validate
1964             end
1966             ::Thrift::Struct.generate_accessors self
1967           end
1969           class GetRowsTs_result
1970             include ::Thrift::Struct, ::Thrift::Struct_Union
1971             SUCCESS = 0
1972             IO = 1
1974             FIELDS = {
1975               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRowResult}},
1976               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
1977             }
1979             def struct_fields; FIELDS; end
1981             def validate
1982             end
1984             ::Thrift::Struct.generate_accessors self
1985           end
1987           class GetRowsWithColumnsTs_args
1988             include ::Thrift::Struct, ::Thrift::Struct_Union
1989             TABLENAME = 1
1990             ROWS = 2
1991             COLUMNS = 3
1992             TIMESTAMP = 4
1993             ATTRIBUTES = 5
1995             FIELDS = {
1996               # name of table
1997               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
1998               # row keys
1999               ROWS => {:type => ::Thrift::Types::LIST, :name => 'rows', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
2000               # List of columns to return, null for all columns
2001               COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
2002               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
2003               # Get attributes
2004               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2005             }
2007             def struct_fields; FIELDS; end
2009             def validate
2010             end
2012             ::Thrift::Struct.generate_accessors self
2013           end
2015           class GetRowsWithColumnsTs_result
2016             include ::Thrift::Struct, ::Thrift::Struct_Union
2017             SUCCESS = 0
2018             IO = 1
2020             FIELDS = {
2021               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRowResult}},
2022               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2023             }
2025             def struct_fields; FIELDS; end
2027             def validate
2028             end
2030             ::Thrift::Struct.generate_accessors self
2031           end
2033           class MutateRow_args
2034             include ::Thrift::Struct, ::Thrift::Struct_Union
2035             TABLENAME = 1
2036             ROW = 2
2037             MUTATIONS = 3
2038             ATTRIBUTES = 4
2040             FIELDS = {
2041               # name of table
2042               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2043               # row key
2044               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
2045               # list of mutation commands
2046               MUTATIONS => {:type => ::Thrift::Types::LIST, :name => 'mutations', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::Mutation}},
2047               # Mutation attributes
2048               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2049             }
2051             def struct_fields; FIELDS; end
2053             def validate
2054             end
2056             ::Thrift::Struct.generate_accessors self
2057           end
2059           class MutateRow_result
2060             include ::Thrift::Struct, ::Thrift::Struct_Union
2061             IO = 1
2062             IA = 2
2064             FIELDS = {
2065               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError},
2066               IA => {:type => ::Thrift::Types::STRUCT, :name => 'ia', :class => ::Apache::Hadoop::Hbase::Thrift::IllegalArgument}
2067             }
2069             def struct_fields; FIELDS; end
2071             def validate
2072             end
2074             ::Thrift::Struct.generate_accessors self
2075           end
2077           class MutateRowTs_args
2078             include ::Thrift::Struct, ::Thrift::Struct_Union
2079             TABLENAME = 1
2080             ROW = 2
2081             MUTATIONS = 3
2082             TIMESTAMP = 4
2083             ATTRIBUTES = 5
2085             FIELDS = {
2086               # name of table
2087               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2088               # row key
2089               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
2090               # list of mutation commands
2091               MUTATIONS => {:type => ::Thrift::Types::LIST, :name => 'mutations', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::Mutation}},
2092               # timestamp
2093               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
2094               # Mutation attributes
2095               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2096             }
2098             def struct_fields; FIELDS; end
2100             def validate
2101             end
2103             ::Thrift::Struct.generate_accessors self
2104           end
2106           class MutateRowTs_result
2107             include ::Thrift::Struct, ::Thrift::Struct_Union
2108             IO = 1
2109             IA = 2
2111             FIELDS = {
2112               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError},
2113               IA => {:type => ::Thrift::Types::STRUCT, :name => 'ia', :class => ::Apache::Hadoop::Hbase::Thrift::IllegalArgument}
2114             }
2116             def struct_fields; FIELDS; end
2118             def validate
2119             end
2121             ::Thrift::Struct.generate_accessors self
2122           end
2124           class MutateRows_args
2125             include ::Thrift::Struct, ::Thrift::Struct_Union
2126             TABLENAME = 1
2127             ROWBATCHES = 2
2128             ATTRIBUTES = 3
2130             FIELDS = {
2131               # name of table
2132               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2133               # list of row batches
2134               ROWBATCHES => {:type => ::Thrift::Types::LIST, :name => 'rowBatches', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::BatchMutation}},
2135               # Mutation attributes
2136               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2137             }
2139             def struct_fields; FIELDS; end
2141             def validate
2142             end
2144             ::Thrift::Struct.generate_accessors self
2145           end
2147           class MutateRows_result
2148             include ::Thrift::Struct, ::Thrift::Struct_Union
2149             IO = 1
2150             IA = 2
2152             FIELDS = {
2153               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError},
2154               IA => {:type => ::Thrift::Types::STRUCT, :name => 'ia', :class => ::Apache::Hadoop::Hbase::Thrift::IllegalArgument}
2155             }
2157             def struct_fields; FIELDS; end
2159             def validate
2160             end
2162             ::Thrift::Struct.generate_accessors self
2163           end
2165           class MutateRowsTs_args
2166             include ::Thrift::Struct, ::Thrift::Struct_Union
2167             TABLENAME = 1
2168             ROWBATCHES = 2
2169             TIMESTAMP = 3
2170             ATTRIBUTES = 4
2172             FIELDS = {
2173               # name of table
2174               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2175               # list of row batches
2176               ROWBATCHES => {:type => ::Thrift::Types::LIST, :name => 'rowBatches', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::BatchMutation}},
2177               # timestamp
2178               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
2179               # Mutation attributes
2180               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2181             }
2183             def struct_fields; FIELDS; end
2185             def validate
2186             end
2188             ::Thrift::Struct.generate_accessors self
2189           end
2191           class MutateRowsTs_result
2192             include ::Thrift::Struct, ::Thrift::Struct_Union
2193             IO = 1
2194             IA = 2
2196             FIELDS = {
2197               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError},
2198               IA => {:type => ::Thrift::Types::STRUCT, :name => 'ia', :class => ::Apache::Hadoop::Hbase::Thrift::IllegalArgument}
2199             }
2201             def struct_fields; FIELDS; end
2203             def validate
2204             end
2206             ::Thrift::Struct.generate_accessors self
2207           end
2209           class AtomicIncrement_args
2210             include ::Thrift::Struct, ::Thrift::Struct_Union
2211             TABLENAME = 1
2212             ROW = 2
2213             COLUMN = 3
2214             VALUE = 4
2216             FIELDS = {
2217               # name of table
2218               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2219               # row to increment
2220               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
2221               # name of column
2222               COLUMN => {:type => ::Thrift::Types::STRING, :name => 'column', :binary => true},
2223               # amount to increment by
2224               VALUE => {:type => ::Thrift::Types::I64, :name => 'value'}
2225             }
2227             def struct_fields; FIELDS; end
2229             def validate
2230             end
2232             ::Thrift::Struct.generate_accessors self
2233           end
2235           class AtomicIncrement_result
2236             include ::Thrift::Struct, ::Thrift::Struct_Union
2237             SUCCESS = 0
2238             IO = 1
2239             IA = 2
2241             FIELDS = {
2242               SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'},
2243               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError},
2244               IA => {:type => ::Thrift::Types::STRUCT, :name => 'ia', :class => ::Apache::Hadoop::Hbase::Thrift::IllegalArgument}
2245             }
2247             def struct_fields; FIELDS; end
2249             def validate
2250             end
2252             ::Thrift::Struct.generate_accessors self
2253           end
2255           class DeleteAll_args
2256             include ::Thrift::Struct, ::Thrift::Struct_Union
2257             TABLENAME = 1
2258             ROW = 2
2259             COLUMN = 3
2260             ATTRIBUTES = 4
2262             FIELDS = {
2263               # name of table
2264               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2265               # Row to update
2266               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
2267               # name of column whose value is to be deleted
2268               COLUMN => {:type => ::Thrift::Types::STRING, :name => 'column', :binary => true},
2269               # Delete attributes
2270               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2271             }
2273             def struct_fields; FIELDS; end
2275             def validate
2276             end
2278             ::Thrift::Struct.generate_accessors self
2279           end
2281           class DeleteAll_result
2282             include ::Thrift::Struct, ::Thrift::Struct_Union
2283             IO = 1
2285             FIELDS = {
2286               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2287             }
2289             def struct_fields; FIELDS; end
2291             def validate
2292             end
2294             ::Thrift::Struct.generate_accessors self
2295           end
2297           class DeleteAllTs_args
2298             include ::Thrift::Struct, ::Thrift::Struct_Union
2299             TABLENAME = 1
2300             ROW = 2
2301             COLUMN = 3
2302             TIMESTAMP = 4
2303             ATTRIBUTES = 5
2305             FIELDS = {
2306               # name of table
2307               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2308               # Row to update
2309               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
2310               # name of column whose value is to be deleted
2311               COLUMN => {:type => ::Thrift::Types::STRING, :name => 'column', :binary => true},
2312               # timestamp
2313               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
2314               # Delete attributes
2315               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2316             }
2318             def struct_fields; FIELDS; end
2320             def validate
2321             end
2323             ::Thrift::Struct.generate_accessors self
2324           end
2326           class DeleteAllTs_result
2327             include ::Thrift::Struct, ::Thrift::Struct_Union
2328             IO = 1
2330             FIELDS = {
2331               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2332             }
2334             def struct_fields; FIELDS; end
2336             def validate
2337             end
2339             ::Thrift::Struct.generate_accessors self
2340           end
2342           class DeleteAllRow_args
2343             include ::Thrift::Struct, ::Thrift::Struct_Union
2344             TABLENAME = 1
2345             ROW = 2
2346             ATTRIBUTES = 3
2348             FIELDS = {
2349               # name of table
2350               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2351               # key of the row to be completely deleted.
2352               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
2353               # Delete attributes
2354               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2355             }
2357             def struct_fields; FIELDS; end
2359             def validate
2360             end
2362             ::Thrift::Struct.generate_accessors self
2363           end
2365           class DeleteAllRow_result
2366             include ::Thrift::Struct, ::Thrift::Struct_Union
2367             IO = 1
2369             FIELDS = {
2370               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2371             }
2373             def struct_fields; FIELDS; end
2375             def validate
2376             end
2378             ::Thrift::Struct.generate_accessors self
2379           end
2381           class Increment_args
2382             include ::Thrift::Struct, ::Thrift::Struct_Union
2383             INCREMENT = 1
2385             FIELDS = {
2386               # The single increment to apply
2387               INCREMENT => {:type => ::Thrift::Types::STRUCT, :name => 'increment', :class => ::Apache::Hadoop::Hbase::Thrift::TIncrement}
2388             }
2390             def struct_fields; FIELDS; end
2392             def validate
2393             end
2395             ::Thrift::Struct.generate_accessors self
2396           end
2398           class Increment_result
2399             include ::Thrift::Struct, ::Thrift::Struct_Union
2400             IO = 1
2402             FIELDS = {
2403               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2404             }
2406             def struct_fields; FIELDS; end
2408             def validate
2409             end
2411             ::Thrift::Struct.generate_accessors self
2412           end
2414           class IncrementRows_args
2415             include ::Thrift::Struct, ::Thrift::Struct_Union
2416             INCREMENTS = 1
2418             FIELDS = {
2419               # The list of increments
2420               INCREMENTS => {:type => ::Thrift::Types::LIST, :name => 'increments', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TIncrement}}
2421             }
2423             def struct_fields; FIELDS; end
2425             def validate
2426             end
2428             ::Thrift::Struct.generate_accessors self
2429           end
2431           class IncrementRows_result
2432             include ::Thrift::Struct, ::Thrift::Struct_Union
2433             IO = 1
2435             FIELDS = {
2436               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2437             }
2439             def struct_fields; FIELDS; end
2441             def validate
2442             end
2444             ::Thrift::Struct.generate_accessors self
2445           end
2447           class DeleteAllRowTs_args
2448             include ::Thrift::Struct, ::Thrift::Struct_Union
2449             TABLENAME = 1
2450             ROW = 2
2451             TIMESTAMP = 3
2452             ATTRIBUTES = 4
2454             FIELDS = {
2455               # name of table
2456               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2457               # key of the row to be completely deleted.
2458               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
2459               # timestamp
2460               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
2461               # Delete attributes
2462               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2463             }
2465             def struct_fields; FIELDS; end
2467             def validate
2468             end
2470             ::Thrift::Struct.generate_accessors self
2471           end
2473           class DeleteAllRowTs_result
2474             include ::Thrift::Struct, ::Thrift::Struct_Union
2475             IO = 1
2477             FIELDS = {
2478               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2479             }
2481             def struct_fields; FIELDS; end
2483             def validate
2484             end
2486             ::Thrift::Struct.generate_accessors self
2487           end
2489           class ScannerOpenWithScan_args
2490             include ::Thrift::Struct, ::Thrift::Struct_Union
2491             TABLENAME = 1
2492             SCAN = 2
2493             ATTRIBUTES = 3
2495             FIELDS = {
2496               # name of table
2497               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2498               # Scan instance
2499               SCAN => {:type => ::Thrift::Types::STRUCT, :name => 'scan', :class => ::Apache::Hadoop::Hbase::Thrift::TScan},
2500               # Scan attributes
2501               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2502             }
2504             def struct_fields; FIELDS; end
2506             def validate
2507             end
2509             ::Thrift::Struct.generate_accessors self
2510           end
2512           class ScannerOpenWithScan_result
2513             include ::Thrift::Struct, ::Thrift::Struct_Union
2514             SUCCESS = 0
2515             IO = 1
2517             FIELDS = {
2518               SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
2519               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2520             }
2522             def struct_fields; FIELDS; end
2524             def validate
2525             end
2527             ::Thrift::Struct.generate_accessors self
2528           end
2530           class ScannerOpen_args
2531             include ::Thrift::Struct, ::Thrift::Struct_Union
2532             TABLENAME = 1
2533             STARTROW = 2
2534             COLUMNS = 3
2535             ATTRIBUTES = 4
2537             FIELDS = {
2538               # name of table
2539               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2540               # Starting row in table to scan.
2541 # Send "" (empty string) to start at the first row.
2542               STARTROW => {:type => ::Thrift::Types::STRING, :name => 'startRow', :binary => true},
2543               # columns to scan. If column name is a column family, all
2544 # columns of the specified column family are returned. It's also possible
2545 # to pass a regex in the column qualifier.
2546               COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
2547               # Scan attributes
2548               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2549             }
2551             def struct_fields; FIELDS; end
2553             def validate
2554             end
2556             ::Thrift::Struct.generate_accessors self
2557           end
2559           class ScannerOpen_result
2560             include ::Thrift::Struct, ::Thrift::Struct_Union
2561             SUCCESS = 0
2562             IO = 1
2564             FIELDS = {
2565               SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
2566               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2567             }
2569             def struct_fields; FIELDS; end
2571             def validate
2572             end
2574             ::Thrift::Struct.generate_accessors self
2575           end
2577           class ScannerOpenWithStop_args
2578             include ::Thrift::Struct, ::Thrift::Struct_Union
2579             TABLENAME = 1
2580             STARTROW = 2
2581             STOPROW = 3
2582             COLUMNS = 4
2583             ATTRIBUTES = 5
2585             FIELDS = {
2586               # name of table
2587               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2588               # Starting row in table to scan.
2589 # Send "" (empty string) to start at the first row.
2590               STARTROW => {:type => ::Thrift::Types::STRING, :name => 'startRow', :binary => true},
2591               # row to stop scanning on. This row is *not* included in the
2592 # scanner's results
2593               STOPROW => {:type => ::Thrift::Types::STRING, :name => 'stopRow', :binary => true},
2594               # columns to scan. If column name is a column family, all
2595 # columns of the specified column family are returned. It's also possible
2596 # to pass a regex in the column qualifier.
2597               COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
2598               # Scan attributes
2599               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2600             }
2602             def struct_fields; FIELDS; end
2604             def validate
2605             end
2607             ::Thrift::Struct.generate_accessors self
2608           end
2610           class ScannerOpenWithStop_result
2611             include ::Thrift::Struct, ::Thrift::Struct_Union
2612             SUCCESS = 0
2613             IO = 1
2615             FIELDS = {
2616               SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
2617               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2618             }
2620             def struct_fields; FIELDS; end
2622             def validate
2623             end
2625             ::Thrift::Struct.generate_accessors self
2626           end
2628           class ScannerOpenWithPrefix_args
2629             include ::Thrift::Struct, ::Thrift::Struct_Union
2630             TABLENAME = 1
2631             STARTANDPREFIX = 2
2632             COLUMNS = 3
2633             ATTRIBUTES = 4
2635             FIELDS = {
2636               # name of table
2637               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2638               # the prefix (and thus start row) of the keys you want
2639               STARTANDPREFIX => {:type => ::Thrift::Types::STRING, :name => 'startAndPrefix', :binary => true},
2640               # the columns you want returned
2641               COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
2642               # Scan attributes
2643               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2644             }
2646             def struct_fields; FIELDS; end
2648             def validate
2649             end
2651             ::Thrift::Struct.generate_accessors self
2652           end
2654           class ScannerOpenWithPrefix_result
2655             include ::Thrift::Struct, ::Thrift::Struct_Union
2656             SUCCESS = 0
2657             IO = 1
2659             FIELDS = {
2660               SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
2661               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2662             }
2664             def struct_fields; FIELDS; end
2666             def validate
2667             end
2669             ::Thrift::Struct.generate_accessors self
2670           end
2672           class ScannerOpenTs_args
2673             include ::Thrift::Struct, ::Thrift::Struct_Union
2674             TABLENAME = 1
2675             STARTROW = 2
2676             COLUMNS = 3
2677             TIMESTAMP = 4
2678             ATTRIBUTES = 5
2680             FIELDS = {
2681               # name of table
2682               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2683               # Starting row in table to scan.
2684 # Send "" (empty string) to start at the first row.
2685               STARTROW => {:type => ::Thrift::Types::STRING, :name => 'startRow', :binary => true},
2686               # columns to scan. If column name is a column family, all
2687 # columns of the specified column family are returned. It's also possible
2688 # to pass a regex in the column qualifier.
2689               COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
2690               # timestamp
2691               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
2692               # Scan attributes
2693               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2694             }
2696             def struct_fields; FIELDS; end
2698             def validate
2699             end
2701             ::Thrift::Struct.generate_accessors self
2702           end
2704           class ScannerOpenTs_result
2705             include ::Thrift::Struct, ::Thrift::Struct_Union
2706             SUCCESS = 0
2707             IO = 1
2709             FIELDS = {
2710               SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
2711               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2712             }
2714             def struct_fields; FIELDS; end
2716             def validate
2717             end
2719             ::Thrift::Struct.generate_accessors self
2720           end
2722           class ScannerOpenWithStopTs_args
2723             include ::Thrift::Struct, ::Thrift::Struct_Union
2724             TABLENAME = 1
2725             STARTROW = 2
2726             STOPROW = 3
2727             COLUMNS = 4
2728             TIMESTAMP = 5
2729             ATTRIBUTES = 6
2731             FIELDS = {
2732               # name of table
2733               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2734               # Starting row in table to scan.
2735 # Send "" (empty string) to start at the first row.
2736               STARTROW => {:type => ::Thrift::Types::STRING, :name => 'startRow', :binary => true},
2737               # row to stop scanning on. This row is *not* included in the
2738 # scanner's results
2739               STOPROW => {:type => ::Thrift::Types::STRING, :name => 'stopRow', :binary => true},
2740               # columns to scan. If column name is a column family, all
2741 # columns of the specified column family are returned. It's also possible
2742 # to pass a regex in the column qualifier.
2743               COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
2744               # timestamp
2745               TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
2746               # Scan attributes
2747               ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
2748             }
2750             def struct_fields; FIELDS; end
2752             def validate
2753             end
2755             ::Thrift::Struct.generate_accessors self
2756           end
2758           class ScannerOpenWithStopTs_result
2759             include ::Thrift::Struct, ::Thrift::Struct_Union
2760             SUCCESS = 0
2761             IO = 1
2763             FIELDS = {
2764               SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
2765               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2766             }
2768             def struct_fields; FIELDS; end
2770             def validate
2771             end
2773             ::Thrift::Struct.generate_accessors self
2774           end
2776           class ScannerGet_args
2777             include ::Thrift::Struct, ::Thrift::Struct_Union
2778             ID = 1
2780             FIELDS = {
2781               # id of a scanner returned by scannerOpen
2782               ID => {:type => ::Thrift::Types::I32, :name => 'id'}
2783             }
2785             def struct_fields; FIELDS; end
2787             def validate
2788             end
2790             ::Thrift::Struct.generate_accessors self
2791           end
2793           class ScannerGet_result
2794             include ::Thrift::Struct, ::Thrift::Struct_Union
2795             SUCCESS = 0
2796             IO = 1
2797             IA = 2
2799             FIELDS = {
2800               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRowResult}},
2801               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError},
2802               IA => {:type => ::Thrift::Types::STRUCT, :name => 'ia', :class => ::Apache::Hadoop::Hbase::Thrift::IllegalArgument}
2803             }
2805             def struct_fields; FIELDS; end
2807             def validate
2808             end
2810             ::Thrift::Struct.generate_accessors self
2811           end
2813           class ScannerGetList_args
2814             include ::Thrift::Struct, ::Thrift::Struct_Union
2815             ID = 1
2816             NBROWS = 2
2818             FIELDS = {
2819               # id of a scanner returned by scannerOpen
2820               ID => {:type => ::Thrift::Types::I32, :name => 'id'},
2821               # number of results to return
2822               NBROWS => {:type => ::Thrift::Types::I32, :name => 'nbRows'}
2823             }
2825             def struct_fields; FIELDS; end
2827             def validate
2828             end
2830             ::Thrift::Struct.generate_accessors self
2831           end
2833           class ScannerGetList_result
2834             include ::Thrift::Struct, ::Thrift::Struct_Union
2835             SUCCESS = 0
2836             IO = 1
2837             IA = 2
2839             FIELDS = {
2840               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TRowResult}},
2841               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError},
2842               IA => {:type => ::Thrift::Types::STRUCT, :name => 'ia', :class => ::Apache::Hadoop::Hbase::Thrift::IllegalArgument}
2843             }
2845             def struct_fields; FIELDS; end
2847             def validate
2848             end
2850             ::Thrift::Struct.generate_accessors self
2851           end
2853           class ScannerClose_args
2854             include ::Thrift::Struct, ::Thrift::Struct_Union
2855             ID = 1
2857             FIELDS = {
2858               # id of a scanner returned by scannerOpen
2859               ID => {:type => ::Thrift::Types::I32, :name => 'id'}
2860             }
2862             def struct_fields; FIELDS; end
2864             def validate
2865             end
2867             ::Thrift::Struct.generate_accessors self
2868           end
2870           class ScannerClose_result
2871             include ::Thrift::Struct, ::Thrift::Struct_Union
2872             IO = 1
2873             IA = 2
2875             FIELDS = {
2876               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError},
2877               IA => {:type => ::Thrift::Types::STRUCT, :name => 'ia', :class => ::Apache::Hadoop::Hbase::Thrift::IllegalArgument}
2878             }
2880             def struct_fields; FIELDS; end
2882             def validate
2883             end
2885             ::Thrift::Struct.generate_accessors self
2886           end
2888           class GetRowOrBefore_args
2889             include ::Thrift::Struct, ::Thrift::Struct_Union
2890             TABLENAME = 1
2891             ROW = 2
2892             FAMILY = 3
2894             FIELDS = {
2895               # name of table
2896               TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
2897               # row key
2898               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
2899               # column name
2900               FAMILY => {:type => ::Thrift::Types::STRING, :name => 'family', :binary => true}
2901             }
2903             def struct_fields; FIELDS; end
2905             def validate
2906             end
2908             ::Thrift::Struct.generate_accessors self
2909           end
2911           class GetRowOrBefore_result
2912             include ::Thrift::Struct, ::Thrift::Struct_Union
2913             SUCCESS = 0
2914             IO = 1
2916             FIELDS = {
2917               SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::TCell}},
2918               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2919             }
2921             def struct_fields; FIELDS; end
2923             def validate
2924             end
2926             ::Thrift::Struct.generate_accessors self
2927           end
2929           class GetRegionInfo_args
2930             include ::Thrift::Struct, ::Thrift::Struct_Union
2931             ROW = 1
2933             FIELDS = {
2934               # row key
2935               ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true}
2936             }
2938             def struct_fields; FIELDS; end
2940             def validate
2941             end
2943             ::Thrift::Struct.generate_accessors self
2944           end
2946           class GetRegionInfo_result
2947             include ::Thrift::Struct, ::Thrift::Struct_Union
2948             SUCCESS = 0
2949             IO = 1
2951             FIELDS = {
2952               SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Apache::Hadoop::Hbase::Thrift::TRegionInfo},
2953               IO => {:type => ::Thrift::Types::STRUCT, :name => 'io', :class => ::Apache::Hadoop::Hbase::Thrift::IOError}
2954             }
2956             def struct_fields; FIELDS; end
2958             def validate
2959             end
2961             ::Thrift::Struct.generate_accessors self
2962           end
2964         end
2966       end
2967     end
2968   end