001/**
002 * Autogenerated by Thrift Compiler (0.8.0)
003 *
004 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
005 *  @generated
006 */
007package org.apache.hadoop.hbase.thrift.generated;
008
009import org.apache.commons.lang.builder.HashCodeBuilder;
010import org.apache.thrift.scheme.IScheme;
011import org.apache.thrift.scheme.SchemeFactory;
012import org.apache.thrift.scheme.StandardScheme;
013
014import org.apache.thrift.scheme.TupleScheme;
015import org.apache.thrift.protocol.TTupleProtocol;
016import java.util.List;
017import java.util.ArrayList;
018import java.util.Map;
019import java.util.HashMap;
020import java.util.EnumMap;
021import java.util.Set;
022import java.util.HashSet;
023import java.util.EnumSet;
024import java.util.Collections;
025import java.util.BitSet;
026import java.nio.ByteBuffer;
027import java.util.Arrays;
028import org.slf4j.Logger;
029import org.slf4j.LoggerFactory;
030
031public class Hbase {
032
033  public interface Iface {
034
035    /**
036     * Brings a table on-line (enables it)
037     * 
038     * @param tableName name of the table
039     */
040    public void enableTable(ByteBuffer tableName) throws IOError, org.apache.thrift.TException;
041
042    /**
043     * Disables a table (takes it off-line) If it is being served, the master
044     * will tell the servers to stop serving it.
045     * 
046     * @param tableName name of the table
047     */
048    public void disableTable(ByteBuffer tableName) throws IOError, org.apache.thrift.TException;
049
050    /**
051     * @return true if table is on-line
052     * 
053     * @param tableName name of the table to check
054     */
055    public boolean isTableEnabled(ByteBuffer tableName) throws IOError, org.apache.thrift.TException;
056
057    public void compact(ByteBuffer tableNameOrRegionName) throws IOError, org.apache.thrift.TException;
058
059    public void majorCompact(ByteBuffer tableNameOrRegionName) throws IOError, org.apache.thrift.TException;
060
061    /**
062     * List all the userspace tables.
063     * 
064     * @return returns a list of names
065     */
066    public List<ByteBuffer> getTableNames() throws IOError, org.apache.thrift.TException;
067
068    /**
069     * List all the column families assoicated with a table.
070     * 
071     * @return list of column family descriptors
072     * 
073     * @param tableName table name
074     */
075    public Map<ByteBuffer,ColumnDescriptor> getColumnDescriptors(ByteBuffer tableName) throws IOError, org.apache.thrift.TException;
076
077    /**
078     * List the regions associated with a table.
079     * 
080     * @return list of region descriptors
081     * 
082     * @param tableName table name
083     */
084    public List<TRegionInfo> getTableRegions(ByteBuffer tableName) throws IOError, org.apache.thrift.TException;
085
086    /**
087     * Create a table with the specified column families.  The name
088     * field for each ColumnDescriptor must be set and must end in a
089     * colon (:). All other fields are optional and will get default
090     * values if not explicitly specified.
091     * 
092     * @throws IllegalArgument if an input parameter is invalid
093     * 
094     * @throws AlreadyExists if the table name already exists
095     * 
096     * @param tableName name of table to create
097     * 
098     * @param columnFamilies list of column family descriptors
099     */
100    public void createTable(ByteBuffer tableName, List<ColumnDescriptor> columnFamilies) throws IOError, IllegalArgument, AlreadyExists, org.apache.thrift.TException;
101
102    /**
103     * Deletes a table
104     * 
105     * @throws IOError if table doesn't exist on server or there was some other
106     * problem
107     * 
108     * @param tableName name of table to delete
109     */
110    public void deleteTable(ByteBuffer tableName) throws IOError, org.apache.thrift.TException;
111
112    /**
113     * Get a single TCell for the specified table, row, and column at the
114     * latest timestamp. Returns an empty list if no such value exists.
115     * 
116     * @return value for specified row/column
117     * 
118     * @param tableName name of table
119     * 
120     * @param row row key
121     * 
122     * @param column column name
123     * 
124     * @param attributes Get attributes
125     */
126    public List<TCell> get(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
127
128    /**
129     * Get the specified number of versions for the specified table,
130     * row, and column.
131     * 
132     * @return list of cells for specified row/column
133     * 
134     * @param tableName name of table
135     * 
136     * @param row row key
137     * 
138     * @param column column name
139     * 
140     * @param numVersions number of versions to retrieve
141     * 
142     * @param attributes Get attributes
143     */
144    public List<TCell> getVer(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, int numVersions, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
145
146    /**
147     * Get the specified number of versions for the specified table,
148     * row, and column.  Only versions less than or equal to the specified
149     * timestamp will be returned.
150     * 
151     * @return list of cells for specified row/column
152     * 
153     * @param tableName name of table
154     * 
155     * @param row row key
156     * 
157     * @param column column name
158     * 
159     * @param timestamp timestamp
160     * 
161     * @param numVersions number of versions to retrieve
162     * 
163     * @param attributes Get attributes
164     */
165    public List<TCell> getVerTs(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, int numVersions, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
166
167    /**
168     * Get all the data for the specified table and row at the latest
169     * timestamp. Returns an empty list if the row does not exist.
170     * 
171     * @return TRowResult containing the row and map of columns to TCells
172     * 
173     * @param tableName name of table
174     * 
175     * @param row row key
176     * 
177     * @param attributes Get attributes
178     */
179    public List<TRowResult> getRow(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
180
181    /**
182     * Get the specified columns for the specified table and row at the latest
183     * timestamp. Returns an empty list if the row does not exist.
184     * 
185     * @return TRowResult containing the row and map of columns to TCells
186     * 
187     * @param tableName name of table
188     * 
189     * @param row row key
190     * 
191     * @param columns List of columns to return, null for all columns
192     * 
193     * @param attributes Get attributes
194     */
195    public List<TRowResult> getRowWithColumns(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
196
197    /**
198     * Get all the data for the specified table and row at the specified
199     * timestamp. Returns an empty list if the row does not exist.
200     * 
201     * @return TRowResult containing the row and map of columns to TCells
202     * 
203     * @param tableName name of the table
204     * 
205     * @param row row key
206     * 
207     * @param timestamp timestamp
208     * 
209     * @param attributes Get attributes
210     */
211    public List<TRowResult> getRowTs(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
212
213    /**
214     * Get the specified columns for the specified table and row at the specified
215     * timestamp. Returns an empty list if the row does not exist.
216     * 
217     * @return TRowResult containing the row and map of columns to TCells
218     * 
219     * @param tableName name of table
220     * 
221     * @param row row key
222     * 
223     * @param columns List of columns to return, null for all columns
224     * 
225     * @param timestamp
226     * @param attributes Get attributes
227     */
228    public List<TRowResult> getRowWithColumnsTs(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
229
230    /**
231     * Get all the data for the specified table and rows at the latest
232     * timestamp. Returns an empty list if no rows exist.
233     * 
234     * @return TRowResult containing the rows and map of columns to TCells
235     * 
236     * @param tableName name of table
237     * 
238     * @param rows row keys
239     * 
240     * @param attributes Get attributes
241     */
242    public List<TRowResult> getRows(ByteBuffer tableName, List<ByteBuffer> rows, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
243
244    /**
245     * Get the specified columns for the specified table and rows at the latest
246     * timestamp. Returns an empty list if no rows exist.
247     * 
248     * @return TRowResult containing the rows and map of columns to TCells
249     * 
250     * @param tableName name of table
251     * 
252     * @param rows row keys
253     * 
254     * @param columns List of columns to return, null for all columns
255     * 
256     * @param attributes Get attributes
257     */
258    public List<TRowResult> getRowsWithColumns(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
259
260    /**
261     * Get all the data for the specified table and rows at the specified
262     * timestamp. Returns an empty list if no rows exist.
263     * 
264     * @return TRowResult containing the rows and map of columns to TCells
265     * 
266     * @param tableName name of the table
267     * 
268     * @param rows row keys
269     * 
270     * @param timestamp timestamp
271     * 
272     * @param attributes Get attributes
273     */
274    public List<TRowResult> getRowsTs(ByteBuffer tableName, List<ByteBuffer> rows, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
275
276    /**
277     * Get the specified columns for the specified table and rows at the specified
278     * timestamp. Returns an empty list if no rows exist.
279     * 
280     * @return TRowResult containing the rows and map of columns to TCells
281     * 
282     * @param tableName name of table
283     * 
284     * @param rows row keys
285     * 
286     * @param columns List of columns to return, null for all columns
287     * 
288     * @param timestamp
289     * @param attributes Get attributes
290     */
291    public List<TRowResult> getRowsWithColumnsTs(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
292
293    /**
294     * Apply a series of mutations (updates/deletes) to a row in a
295     * single transaction.  If an exception is thrown, then the
296     * transaction is aborted.  Default current timestamp is used, and
297     * all entries will have an identical timestamp.
298     * 
299     * @param tableName name of table
300     * 
301     * @param row row key
302     * 
303     * @param mutations list of mutation commands
304     * 
305     * @param attributes Mutation attributes
306     */
307    public void mutateRow(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, IllegalArgument, org.apache.thrift.TException;
308
309    /**
310     * Apply a series of mutations (updates/deletes) to a row in a
311     * single transaction.  If an exception is thrown, then the
312     * transaction is aborted.  The specified timestamp is used, and
313     * all entries will have an identical timestamp.
314     * 
315     * @param tableName name of table
316     * 
317     * @param row row key
318     * 
319     * @param mutations list of mutation commands
320     * 
321     * @param timestamp timestamp
322     * 
323     * @param attributes Mutation attributes
324     */
325    public void mutateRowTs(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, IllegalArgument, org.apache.thrift.TException;
326
327    /**
328     * Apply a series of batches (each a series of mutations on a single row)
329     * in a single transaction.  If an exception is thrown, then the
330     * transaction is aborted.  Default current timestamp is used, and
331     * all entries will have an identical timestamp.
332     * 
333     * @param tableName name of table
334     * 
335     * @param rowBatches list of row batches
336     * 
337     * @param attributes Mutation attributes
338     */
339    public void mutateRows(ByteBuffer tableName, List<BatchMutation> rowBatches, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, IllegalArgument, org.apache.thrift.TException;
340
341    /**
342     * Apply a series of batches (each a series of mutations on a single row)
343     * in a single transaction.  If an exception is thrown, then the
344     * transaction is aborted.  The specified timestamp is used, and
345     * all entries will have an identical timestamp.
346     * 
347     * @param tableName name of table
348     * 
349     * @param rowBatches list of row batches
350     * 
351     * @param timestamp timestamp
352     * 
353     * @param attributes Mutation attributes
354     */
355    public void mutateRowsTs(ByteBuffer tableName, List<BatchMutation> rowBatches, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, IllegalArgument, org.apache.thrift.TException;
356
357    /**
358     * Atomically increment the column value specified.  Returns the next value post increment.
359     * 
360     * @param tableName name of table
361     * 
362     * @param row row to increment
363     * 
364     * @param column name of column
365     * 
366     * @param value amount to increment by
367     */
368    public long atomicIncrement(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long value) throws IOError, IllegalArgument, org.apache.thrift.TException;
369
370    /**
371     * Delete all cells that match the passed row and column.
372     * 
373     * @param tableName name of table
374     * 
375     * @param row Row to update
376     * 
377     * @param column name of column whose value is to be deleted
378     * 
379     * @param attributes Delete attributes
380     */
381    public void deleteAll(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
382
383    /**
384     * Delete all cells that match the passed row and column and whose
385     * timestamp is equal-to or older than the passed timestamp.
386     * 
387     * @param tableName name of table
388     * 
389     * @param row Row to update
390     * 
391     * @param column name of column whose value is to be deleted
392     * 
393     * @param timestamp timestamp
394     * 
395     * @param attributes Delete attributes
396     */
397    public void deleteAllTs(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
398
399    /**
400     * Completely delete the row's cells.
401     * 
402     * @param tableName name of table
403     * 
404     * @param row key of the row to be completely deleted.
405     * 
406     * @param attributes Delete attributes
407     */
408    public void deleteAllRow(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
409
410    /**
411     * Increment a cell by the ammount.
412     * Increments can be applied async if hbase.regionserver.thrift.coalesceIncrement is set to true.
413     * False is the default.  Turn to true if you need the extra performance and can accept some
414     * data loss if a thrift server dies with increments still in the queue.
415     * 
416     * @param increment The single increment to apply
417     */
418    public void increment(TIncrement increment) throws IOError, org.apache.thrift.TException;
419
420    public void incrementRows(List<TIncrement> increments) throws IOError, org.apache.thrift.TException;
421
422    /**
423     * Completely delete the row's cells marked with a timestamp
424     * equal-to or older than the passed timestamp.
425     * 
426     * @param tableName name of table
427     * 
428     * @param row key of the row to be completely deleted.
429     * 
430     * @param timestamp timestamp
431     * 
432     * @param attributes Delete attributes
433     */
434    public void deleteAllRowTs(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
435
436    /**
437     * Get a scanner on the current table, using the Scan instance
438     * for the scan parameters.
439     * 
440     * @param tableName name of table
441     * 
442     * @param scan Scan instance
443     * 
444     * @param attributes Scan attributes
445     */
446    public int scannerOpenWithScan(ByteBuffer tableName, TScan scan, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
447
448    /**
449     * Get a scanner on the current table starting at the specified row and
450     * ending at the last row in the table.  Return the specified columns.
451     * 
452     * @return scanner id to be used with other scanner procedures
453     * 
454     * @param tableName name of table
455     * 
456     * @param startRow Starting row in table to scan.
457     * Send "" (empty string) to start at the first row.
458     * 
459     * @param columns columns to scan. If column name is a column family, all
460     * columns of the specified column family are returned. It's also possible
461     * to pass a regex in the column qualifier.
462     * 
463     * @param attributes Scan attributes
464     */
465    public int scannerOpen(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
466
467    /**
468     * Get a scanner on the current table starting and stopping at the
469     * specified rows.  ending at the last row in the table.  Return the
470     * specified columns.
471     * 
472     * @return scanner id to be used with other scanner procedures
473     * 
474     * @param tableName name of table
475     * 
476     * @param startRow Starting row in table to scan.
477     * Send "" (empty string) to start at the first row.
478     * 
479     * @param stopRow row to stop scanning on. This row is *not* included in the
480     * scanner's results
481     * 
482     * @param columns columns to scan. If column name is a column family, all
483     * columns of the specified column family are returned. It's also possible
484     * to pass a regex in the column qualifier.
485     * 
486     * @param attributes Scan attributes
487     */
488    public int scannerOpenWithStop(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
489
490    /**
491     * Open a scanner for a given prefix.  That is all rows will have the specified
492     * prefix. No other rows will be returned.
493     * 
494     * @return scanner id to use with other scanner calls
495     * 
496     * @param tableName name of table
497     * 
498     * @param startAndPrefix the prefix (and thus start row) of the keys you want
499     * 
500     * @param columns the columns you want returned
501     * 
502     * @param attributes Scan attributes
503     */
504    public int scannerOpenWithPrefix(ByteBuffer tableName, ByteBuffer startAndPrefix, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
505
506    /**
507     * Get a scanner on the current table starting at the specified row and
508     * ending at the last row in the table.  Return the specified columns.
509     * Only values with the specified timestamp are returned.
510     * 
511     * @return scanner id to be used with other scanner procedures
512     * 
513     * @param tableName name of table
514     * 
515     * @param startRow Starting row in table to scan.
516     * Send "" (empty string) to start at the first row.
517     * 
518     * @param columns columns to scan. If column name is a column family, all
519     * columns of the specified column family are returned. It's also possible
520     * to pass a regex in the column qualifier.
521     * 
522     * @param timestamp timestamp
523     * 
524     * @param attributes Scan attributes
525     */
526    public int scannerOpenTs(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
527
528    /**
529     * Get a scanner on the current table starting and stopping at the
530     * specified rows.  ending at the last row in the table.  Return the
531     * specified columns.  Only values with the specified timestamp are
532     * returned.
533     * 
534     * @return scanner id to be used with other scanner procedures
535     * 
536     * @param tableName name of table
537     * 
538     * @param startRow Starting row in table to scan.
539     * Send "" (empty string) to start at the first row.
540     * 
541     * @param stopRow row to stop scanning on. This row is *not* included in the
542     * scanner's results
543     * 
544     * @param columns columns to scan. If column name is a column family, all
545     * columns of the specified column family are returned. It's also possible
546     * to pass a regex in the column qualifier.
547     * 
548     * @param timestamp timestamp
549     * 
550     * @param attributes Scan attributes
551     */
552    public int scannerOpenWithStopTs(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException;
553
554    /**
555     * Returns the scanner's current row value and advances to the next
556     * row in the table.  When there are no more rows in the table, or a key
557     * greater-than-or-equal-to the scanner's specified stopRow is reached,
558     * an empty list is returned.
559     * 
560     * @return a TRowResult containing the current row and a map of the columns to TCells.
561     * 
562     * @throws IllegalArgument if ScannerID is invalid
563     * 
564     * @throws NotFound when the scanner reaches the end
565     * 
566     * @param id id of a scanner returned by scannerOpen
567     */
568    public List<TRowResult> scannerGet(int id) throws IOError, IllegalArgument, org.apache.thrift.TException;
569
570    /**
571     * Returns, starting at the scanner's current row value nbRows worth of
572     * rows and advances to the next row in the table.  When there are no more
573     * rows in the table, or a key greater-than-or-equal-to the scanner's
574     * specified stopRow is reached,  an empty list is returned.
575     * 
576     * @return a TRowResult containing the current row and a map of the columns to TCells.
577     * 
578     * @throws IllegalArgument if ScannerID is invalid
579     * 
580     * @throws NotFound when the scanner reaches the end
581     * 
582     * @param id id of a scanner returned by scannerOpen
583     * 
584     * @param nbRows number of results to return
585     */
586    public List<TRowResult> scannerGetList(int id, int nbRows) throws IOError, IllegalArgument, org.apache.thrift.TException;
587
588    /**
589     * Closes the server-state associated with an open scanner.
590     * 
591     * @throws IllegalArgument if ScannerID is invalid
592     * 
593     * @param id id of a scanner returned by scannerOpen
594     */
595    public void scannerClose(int id) throws IOError, IllegalArgument, org.apache.thrift.TException;
596
597    /**
598     * Get the row just before the specified one.
599     * 
600     * @return value for specified row/column
601     * 
602     * @param tableName name of table
603     * 
604     * @param row row key
605     * 
606     * @param family column name
607     */
608    public List<TCell> getRowOrBefore(ByteBuffer tableName, ByteBuffer row, ByteBuffer family) throws IOError, org.apache.thrift.TException;
609
610    /**
611     * Get the regininfo for the specified row. It scans
612     * the metatable to find region's start and end keys.
613     * 
614     * @return value for specified row/column
615     * 
616     * @param row row key
617     */
618    public TRegionInfo getRegionInfo(ByteBuffer row) throws IOError, org.apache.thrift.TException;
619
620  }
621
622  public interface AsyncIface {
623
624    public void enableTable(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.enableTable_call> resultHandler) throws org.apache.thrift.TException;
625
626    public void disableTable(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.disableTable_call> resultHandler) throws org.apache.thrift.TException;
627
628    public void isTableEnabled(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isTableEnabled_call> resultHandler) throws org.apache.thrift.TException;
629
630    public void compact(ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.compact_call> resultHandler) throws org.apache.thrift.TException;
631
632    public void majorCompact(ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.majorCompact_call> resultHandler) throws org.apache.thrift.TException;
633
634    public void getTableNames(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTableNames_call> resultHandler) throws org.apache.thrift.TException;
635
636    public void getColumnDescriptors(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getColumnDescriptors_call> resultHandler) throws org.apache.thrift.TException;
637
638    public void getTableRegions(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTableRegions_call> resultHandler) throws org.apache.thrift.TException;
639
640    public void createTable(ByteBuffer tableName, List<ColumnDescriptor> columnFamilies, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTable_call> resultHandler) throws org.apache.thrift.TException;
641
642    public void deleteTable(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteTable_call> resultHandler) throws org.apache.thrift.TException;
643
644    public void get(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.get_call> resultHandler) throws org.apache.thrift.TException;
645
646    public void getVer(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, int numVersions, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getVer_call> resultHandler) throws org.apache.thrift.TException;
647
648    public void getVerTs(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, int numVersions, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getVerTs_call> resultHandler) throws org.apache.thrift.TException;
649
650    public void getRow(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRow_call> resultHandler) throws org.apache.thrift.TException;
651
652    public void getRowWithColumns(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRowWithColumns_call> resultHandler) throws org.apache.thrift.TException;
653
654    public void getRowTs(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRowTs_call> resultHandler) throws org.apache.thrift.TException;
655
656    public void getRowWithColumnsTs(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRowWithColumnsTs_call> resultHandler) throws org.apache.thrift.TException;
657
658    public void getRows(ByteBuffer tableName, List<ByteBuffer> rows, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRows_call> resultHandler) throws org.apache.thrift.TException;
659
660    public void getRowsWithColumns(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRowsWithColumns_call> resultHandler) throws org.apache.thrift.TException;
661
662    public void getRowsTs(ByteBuffer tableName, List<ByteBuffer> rows, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRowsTs_call> resultHandler) throws org.apache.thrift.TException;
663
664    public void getRowsWithColumnsTs(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRowsWithColumnsTs_call> resultHandler) throws org.apache.thrift.TException;
665
666    public void mutateRow(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.mutateRow_call> resultHandler) throws org.apache.thrift.TException;
667
668    public void mutateRowTs(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.mutateRowTs_call> resultHandler) throws org.apache.thrift.TException;
669
670    public void mutateRows(ByteBuffer tableName, List<BatchMutation> rowBatches, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.mutateRows_call> resultHandler) throws org.apache.thrift.TException;
671
672    public void mutateRowsTs(ByteBuffer tableName, List<BatchMutation> rowBatches, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.mutateRowsTs_call> resultHandler) throws org.apache.thrift.TException;
673
674    public void atomicIncrement(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long value, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.atomicIncrement_call> resultHandler) throws org.apache.thrift.TException;
675
676    public void deleteAll(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteAll_call> resultHandler) throws org.apache.thrift.TException;
677
678    public void deleteAllTs(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteAllTs_call> resultHandler) throws org.apache.thrift.TException;
679
680    public void deleteAllRow(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteAllRow_call> resultHandler) throws org.apache.thrift.TException;
681
682    public void increment(TIncrement increment, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.increment_call> resultHandler) throws org.apache.thrift.TException;
683
684    public void incrementRows(List<TIncrement> increments, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.incrementRows_call> resultHandler) throws org.apache.thrift.TException;
685
686    public void deleteAllRowTs(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteAllRowTs_call> resultHandler) throws org.apache.thrift.TException;
687
688    public void scannerOpenWithScan(ByteBuffer tableName, TScan scan, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scannerOpenWithScan_call> resultHandler) throws org.apache.thrift.TException;
689
690    public void scannerOpen(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scannerOpen_call> resultHandler) throws org.apache.thrift.TException;
691
692    public void scannerOpenWithStop(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scannerOpenWithStop_call> resultHandler) throws org.apache.thrift.TException;
693
694    public void scannerOpenWithPrefix(ByteBuffer tableName, ByteBuffer startAndPrefix, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scannerOpenWithPrefix_call> resultHandler) throws org.apache.thrift.TException;
695
696    public void scannerOpenTs(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scannerOpenTs_call> resultHandler) throws org.apache.thrift.TException;
697
698    public void scannerOpenWithStopTs(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scannerOpenWithStopTs_call> resultHandler) throws org.apache.thrift.TException;
699
700    public void scannerGet(int id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scannerGet_call> resultHandler) throws org.apache.thrift.TException;
701
702    public void scannerGetList(int id, int nbRows, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scannerGetList_call> resultHandler) throws org.apache.thrift.TException;
703
704    public void scannerClose(int id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scannerClose_call> resultHandler) throws org.apache.thrift.TException;
705
706    public void getRowOrBefore(ByteBuffer tableName, ByteBuffer row, ByteBuffer family, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRowOrBefore_call> resultHandler) throws org.apache.thrift.TException;
707
708    public void getRegionInfo(ByteBuffer row, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRegionInfo_call> resultHandler) throws org.apache.thrift.TException;
709
710  }
711
712  public static class Client extends org.apache.thrift.TServiceClient implements Iface {
713    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
714      public Factory() {}
715      public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
716        return new Client(prot);
717      }
718      public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
719        return new Client(iprot, oprot);
720      }
721    }
722
723    public Client(org.apache.thrift.protocol.TProtocol prot)
724    {
725      super(prot, prot);
726    }
727
728    public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
729      super(iprot, oprot);
730    }
731
732    public void enableTable(ByteBuffer tableName) throws IOError, org.apache.thrift.TException
733    {
734      send_enableTable(tableName);
735      recv_enableTable();
736    }
737
738    public void send_enableTable(ByteBuffer tableName) throws org.apache.thrift.TException
739    {
740      enableTable_args args = new enableTable_args();
741      args.setTableName(tableName);
742      sendBase("enableTable", args);
743    }
744
745    public void recv_enableTable() throws IOError, org.apache.thrift.TException
746    {
747      enableTable_result result = new enableTable_result();
748      receiveBase(result, "enableTable");
749      if (result.io != null) {
750        throw result.io;
751      }
752      return;
753    }
754
755    public void disableTable(ByteBuffer tableName) throws IOError, org.apache.thrift.TException
756    {
757      send_disableTable(tableName);
758      recv_disableTable();
759    }
760
761    public void send_disableTable(ByteBuffer tableName) throws org.apache.thrift.TException
762    {
763      disableTable_args args = new disableTable_args();
764      args.setTableName(tableName);
765      sendBase("disableTable", args);
766    }
767
768    public void recv_disableTable() throws IOError, org.apache.thrift.TException
769    {
770      disableTable_result result = new disableTable_result();
771      receiveBase(result, "disableTable");
772      if (result.io != null) {
773        throw result.io;
774      }
775      return;
776    }
777
778    public boolean isTableEnabled(ByteBuffer tableName) throws IOError, org.apache.thrift.TException
779    {
780      send_isTableEnabled(tableName);
781      return recv_isTableEnabled();
782    }
783
784    public void send_isTableEnabled(ByteBuffer tableName) throws org.apache.thrift.TException
785    {
786      isTableEnabled_args args = new isTableEnabled_args();
787      args.setTableName(tableName);
788      sendBase("isTableEnabled", args);
789    }
790
791    public boolean recv_isTableEnabled() throws IOError, org.apache.thrift.TException
792    {
793      isTableEnabled_result result = new isTableEnabled_result();
794      receiveBase(result, "isTableEnabled");
795      if (result.isSetSuccess()) {
796        return result.success;
797      }
798      if (result.io != null) {
799        throw result.io;
800      }
801      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isTableEnabled failed: unknown result");
802    }
803
804    public void compact(ByteBuffer tableNameOrRegionName) throws IOError, org.apache.thrift.TException
805    {
806      send_compact(tableNameOrRegionName);
807      recv_compact();
808    }
809
810    public void send_compact(ByteBuffer tableNameOrRegionName) throws org.apache.thrift.TException
811    {
812      compact_args args = new compact_args();
813      args.setTableNameOrRegionName(tableNameOrRegionName);
814      sendBase("compact", args);
815    }
816
817    public void recv_compact() throws IOError, org.apache.thrift.TException
818    {
819      compact_result result = new compact_result();
820      receiveBase(result, "compact");
821      if (result.io != null) {
822        throw result.io;
823      }
824      return;
825    }
826
827    public void majorCompact(ByteBuffer tableNameOrRegionName) throws IOError, org.apache.thrift.TException
828    {
829      send_majorCompact(tableNameOrRegionName);
830      recv_majorCompact();
831    }
832
833    public void send_majorCompact(ByteBuffer tableNameOrRegionName) throws org.apache.thrift.TException
834    {
835      majorCompact_args args = new majorCompact_args();
836      args.setTableNameOrRegionName(tableNameOrRegionName);
837      sendBase("majorCompact", args);
838    }
839
840    public void recv_majorCompact() throws IOError, org.apache.thrift.TException
841    {
842      majorCompact_result result = new majorCompact_result();
843      receiveBase(result, "majorCompact");
844      if (result.io != null) {
845        throw result.io;
846      }
847      return;
848    }
849
850    public List<ByteBuffer> getTableNames() throws IOError, org.apache.thrift.TException
851    {
852      send_getTableNames();
853      return recv_getTableNames();
854    }
855
856    public void send_getTableNames() throws org.apache.thrift.TException
857    {
858      getTableNames_args args = new getTableNames_args();
859      sendBase("getTableNames", args);
860    }
861
862    public List<ByteBuffer> recv_getTableNames() throws IOError, org.apache.thrift.TException
863    {
864      getTableNames_result result = new getTableNames_result();
865      receiveBase(result, "getTableNames");
866      if (result.isSetSuccess()) {
867        return result.success;
868      }
869      if (result.io != null) {
870        throw result.io;
871      }
872      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableNames failed: unknown result");
873    }
874
875    public Map<ByteBuffer,ColumnDescriptor> getColumnDescriptors(ByteBuffer tableName) throws IOError, org.apache.thrift.TException
876    {
877      send_getColumnDescriptors(tableName);
878      return recv_getColumnDescriptors();
879    }
880
881    public void send_getColumnDescriptors(ByteBuffer tableName) throws org.apache.thrift.TException
882    {
883      getColumnDescriptors_args args = new getColumnDescriptors_args();
884      args.setTableName(tableName);
885      sendBase("getColumnDescriptors", args);
886    }
887
888    public Map<ByteBuffer,ColumnDescriptor> recv_getColumnDescriptors() throws IOError, org.apache.thrift.TException
889    {
890      getColumnDescriptors_result result = new getColumnDescriptors_result();
891      receiveBase(result, "getColumnDescriptors");
892      if (result.isSetSuccess()) {
893        return result.success;
894      }
895      if (result.io != null) {
896        throw result.io;
897      }
898      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getColumnDescriptors failed: unknown result");
899    }
900
901    public List<TRegionInfo> getTableRegions(ByteBuffer tableName) throws IOError, org.apache.thrift.TException
902    {
903      send_getTableRegions(tableName);
904      return recv_getTableRegions();
905    }
906
907    public void send_getTableRegions(ByteBuffer tableName) throws org.apache.thrift.TException
908    {
909      getTableRegions_args args = new getTableRegions_args();
910      args.setTableName(tableName);
911      sendBase("getTableRegions", args);
912    }
913
914    public List<TRegionInfo> recv_getTableRegions() throws IOError, org.apache.thrift.TException
915    {
916      getTableRegions_result result = new getTableRegions_result();
917      receiveBase(result, "getTableRegions");
918      if (result.isSetSuccess()) {
919        return result.success;
920      }
921      if (result.io != null) {
922        throw result.io;
923      }
924      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableRegions failed: unknown result");
925    }
926
927    public void createTable(ByteBuffer tableName, List<ColumnDescriptor> columnFamilies) throws IOError, IllegalArgument, AlreadyExists, org.apache.thrift.TException
928    {
929      send_createTable(tableName, columnFamilies);
930      recv_createTable();
931    }
932
933    public void send_createTable(ByteBuffer tableName, List<ColumnDescriptor> columnFamilies) throws org.apache.thrift.TException
934    {
935      createTable_args args = new createTable_args();
936      args.setTableName(tableName);
937      args.setColumnFamilies(columnFamilies);
938      sendBase("createTable", args);
939    }
940
941    public void recv_createTable() throws IOError, IllegalArgument, AlreadyExists, org.apache.thrift.TException
942    {
943      createTable_result result = new createTable_result();
944      receiveBase(result, "createTable");
945      if (result.io != null) {
946        throw result.io;
947      }
948      if (result.ia != null) {
949        throw result.ia;
950      }
951      if (result.exist != null) {
952        throw result.exist;
953      }
954      return;
955    }
956
957    public void deleteTable(ByteBuffer tableName) throws IOError, org.apache.thrift.TException
958    {
959      send_deleteTable(tableName);
960      recv_deleteTable();
961    }
962
963    public void send_deleteTable(ByteBuffer tableName) throws org.apache.thrift.TException
964    {
965      deleteTable_args args = new deleteTable_args();
966      args.setTableName(tableName);
967      sendBase("deleteTable", args);
968    }
969
970    public void recv_deleteTable() throws IOError, org.apache.thrift.TException
971    {
972      deleteTable_result result = new deleteTable_result();
973      receiveBase(result, "deleteTable");
974      if (result.io != null) {
975        throw result.io;
976      }
977      return;
978    }
979
980    public List<TCell> get(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
981    {
982      send_get(tableName, row, column, attributes);
983      return recv_get();
984    }
985
986    public void send_get(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
987    {
988      get_args args = new get_args();
989      args.setTableName(tableName);
990      args.setRow(row);
991      args.setColumn(column);
992      args.setAttributes(attributes);
993      sendBase("get", args);
994    }
995
996    public List<TCell> recv_get() throws IOError, org.apache.thrift.TException
997    {
998      get_result result = new get_result();
999      receiveBase(result, "get");
1000      if (result.isSetSuccess()) {
1001        return result.success;
1002      }
1003      if (result.io != null) {
1004        throw result.io;
1005      }
1006      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get failed: unknown result");
1007    }
1008
1009    public List<TCell> getVer(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, int numVersions, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1010    {
1011      send_getVer(tableName, row, column, numVersions, attributes);
1012      return recv_getVer();
1013    }
1014
1015    public void send_getVer(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, int numVersions, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1016    {
1017      getVer_args args = new getVer_args();
1018      args.setTableName(tableName);
1019      args.setRow(row);
1020      args.setColumn(column);
1021      args.setNumVersions(numVersions);
1022      args.setAttributes(attributes);
1023      sendBase("getVer", args);
1024    }
1025
1026    public List<TCell> recv_getVer() throws IOError, org.apache.thrift.TException
1027    {
1028      getVer_result result = new getVer_result();
1029      receiveBase(result, "getVer");
1030      if (result.isSetSuccess()) {
1031        return result.success;
1032      }
1033      if (result.io != null) {
1034        throw result.io;
1035      }
1036      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getVer failed: unknown result");
1037    }
1038
1039    public List<TCell> getVerTs(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, int numVersions, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1040    {
1041      send_getVerTs(tableName, row, column, timestamp, numVersions, attributes);
1042      return recv_getVerTs();
1043    }
1044
1045    public void send_getVerTs(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, int numVersions, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1046    {
1047      getVerTs_args args = new getVerTs_args();
1048      args.setTableName(tableName);
1049      args.setRow(row);
1050      args.setColumn(column);
1051      args.setTimestamp(timestamp);
1052      args.setNumVersions(numVersions);
1053      args.setAttributes(attributes);
1054      sendBase("getVerTs", args);
1055    }
1056
1057    public List<TCell> recv_getVerTs() throws IOError, org.apache.thrift.TException
1058    {
1059      getVerTs_result result = new getVerTs_result();
1060      receiveBase(result, "getVerTs");
1061      if (result.isSetSuccess()) {
1062        return result.success;
1063      }
1064      if (result.io != null) {
1065        throw result.io;
1066      }
1067      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getVerTs failed: unknown result");
1068    }
1069
1070    public List<TRowResult> getRow(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1071    {
1072      send_getRow(tableName, row, attributes);
1073      return recv_getRow();
1074    }
1075
1076    public void send_getRow(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1077    {
1078      getRow_args args = new getRow_args();
1079      args.setTableName(tableName);
1080      args.setRow(row);
1081      args.setAttributes(attributes);
1082      sendBase("getRow", args);
1083    }
1084
1085    public List<TRowResult> recv_getRow() throws IOError, org.apache.thrift.TException
1086    {
1087      getRow_result result = new getRow_result();
1088      receiveBase(result, "getRow");
1089      if (result.isSetSuccess()) {
1090        return result.success;
1091      }
1092      if (result.io != null) {
1093        throw result.io;
1094      }
1095      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRow failed: unknown result");
1096    }
1097
1098    public List<TRowResult> getRowWithColumns(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1099    {
1100      send_getRowWithColumns(tableName, row, columns, attributes);
1101      return recv_getRowWithColumns();
1102    }
1103
1104    public void send_getRowWithColumns(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1105    {
1106      getRowWithColumns_args args = new getRowWithColumns_args();
1107      args.setTableName(tableName);
1108      args.setRow(row);
1109      args.setColumns(columns);
1110      args.setAttributes(attributes);
1111      sendBase("getRowWithColumns", args);
1112    }
1113
1114    public List<TRowResult> recv_getRowWithColumns() throws IOError, org.apache.thrift.TException
1115    {
1116      getRowWithColumns_result result = new getRowWithColumns_result();
1117      receiveBase(result, "getRowWithColumns");
1118      if (result.isSetSuccess()) {
1119        return result.success;
1120      }
1121      if (result.io != null) {
1122        throw result.io;
1123      }
1124      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowWithColumns failed: unknown result");
1125    }
1126
1127    public List<TRowResult> getRowTs(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1128    {
1129      send_getRowTs(tableName, row, timestamp, attributes);
1130      return recv_getRowTs();
1131    }
1132
1133    public void send_getRowTs(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1134    {
1135      getRowTs_args args = new getRowTs_args();
1136      args.setTableName(tableName);
1137      args.setRow(row);
1138      args.setTimestamp(timestamp);
1139      args.setAttributes(attributes);
1140      sendBase("getRowTs", args);
1141    }
1142
1143    public List<TRowResult> recv_getRowTs() throws IOError, org.apache.thrift.TException
1144    {
1145      getRowTs_result result = new getRowTs_result();
1146      receiveBase(result, "getRowTs");
1147      if (result.isSetSuccess()) {
1148        return result.success;
1149      }
1150      if (result.io != null) {
1151        throw result.io;
1152      }
1153      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowTs failed: unknown result");
1154    }
1155
1156    public List<TRowResult> getRowWithColumnsTs(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1157    {
1158      send_getRowWithColumnsTs(tableName, row, columns, timestamp, attributes);
1159      return recv_getRowWithColumnsTs();
1160    }
1161
1162    public void send_getRowWithColumnsTs(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1163    {
1164      getRowWithColumnsTs_args args = new getRowWithColumnsTs_args();
1165      args.setTableName(tableName);
1166      args.setRow(row);
1167      args.setColumns(columns);
1168      args.setTimestamp(timestamp);
1169      args.setAttributes(attributes);
1170      sendBase("getRowWithColumnsTs", args);
1171    }
1172
1173    public List<TRowResult> recv_getRowWithColumnsTs() throws IOError, org.apache.thrift.TException
1174    {
1175      getRowWithColumnsTs_result result = new getRowWithColumnsTs_result();
1176      receiveBase(result, "getRowWithColumnsTs");
1177      if (result.isSetSuccess()) {
1178        return result.success;
1179      }
1180      if (result.io != null) {
1181        throw result.io;
1182      }
1183      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowWithColumnsTs failed: unknown result");
1184    }
1185
1186    public List<TRowResult> getRows(ByteBuffer tableName, List<ByteBuffer> rows, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1187    {
1188      send_getRows(tableName, rows, attributes);
1189      return recv_getRows();
1190    }
1191
1192    public void send_getRows(ByteBuffer tableName, List<ByteBuffer> rows, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1193    {
1194      getRows_args args = new getRows_args();
1195      args.setTableName(tableName);
1196      args.setRows(rows);
1197      args.setAttributes(attributes);
1198      sendBase("getRows", args);
1199    }
1200
1201    public List<TRowResult> recv_getRows() throws IOError, org.apache.thrift.TException
1202    {
1203      getRows_result result = new getRows_result();
1204      receiveBase(result, "getRows");
1205      if (result.isSetSuccess()) {
1206        return result.success;
1207      }
1208      if (result.io != null) {
1209        throw result.io;
1210      }
1211      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRows failed: unknown result");
1212    }
1213
1214    public List<TRowResult> getRowsWithColumns(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1215    {
1216      send_getRowsWithColumns(tableName, rows, columns, attributes);
1217      return recv_getRowsWithColumns();
1218    }
1219
1220    public void send_getRowsWithColumns(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1221    {
1222      getRowsWithColumns_args args = new getRowsWithColumns_args();
1223      args.setTableName(tableName);
1224      args.setRows(rows);
1225      args.setColumns(columns);
1226      args.setAttributes(attributes);
1227      sendBase("getRowsWithColumns", args);
1228    }
1229
1230    public List<TRowResult> recv_getRowsWithColumns() throws IOError, org.apache.thrift.TException
1231    {
1232      getRowsWithColumns_result result = new getRowsWithColumns_result();
1233      receiveBase(result, "getRowsWithColumns");
1234      if (result.isSetSuccess()) {
1235        return result.success;
1236      }
1237      if (result.io != null) {
1238        throw result.io;
1239      }
1240      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowsWithColumns failed: unknown result");
1241    }
1242
1243    public List<TRowResult> getRowsTs(ByteBuffer tableName, List<ByteBuffer> rows, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1244    {
1245      send_getRowsTs(tableName, rows, timestamp, attributes);
1246      return recv_getRowsTs();
1247    }
1248
1249    public void send_getRowsTs(ByteBuffer tableName, List<ByteBuffer> rows, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1250    {
1251      getRowsTs_args args = new getRowsTs_args();
1252      args.setTableName(tableName);
1253      args.setRows(rows);
1254      args.setTimestamp(timestamp);
1255      args.setAttributes(attributes);
1256      sendBase("getRowsTs", args);
1257    }
1258
1259    public List<TRowResult> recv_getRowsTs() throws IOError, org.apache.thrift.TException
1260    {
1261      getRowsTs_result result = new getRowsTs_result();
1262      receiveBase(result, "getRowsTs");
1263      if (result.isSetSuccess()) {
1264        return result.success;
1265      }
1266      if (result.io != null) {
1267        throw result.io;
1268      }
1269      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowsTs failed: unknown result");
1270    }
1271
1272    public List<TRowResult> getRowsWithColumnsTs(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1273    {
1274      send_getRowsWithColumnsTs(tableName, rows, columns, timestamp, attributes);
1275      return recv_getRowsWithColumnsTs();
1276    }
1277
1278    public void send_getRowsWithColumnsTs(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1279    {
1280      getRowsWithColumnsTs_args args = new getRowsWithColumnsTs_args();
1281      args.setTableName(tableName);
1282      args.setRows(rows);
1283      args.setColumns(columns);
1284      args.setTimestamp(timestamp);
1285      args.setAttributes(attributes);
1286      sendBase("getRowsWithColumnsTs", args);
1287    }
1288
1289    public List<TRowResult> recv_getRowsWithColumnsTs() throws IOError, org.apache.thrift.TException
1290    {
1291      getRowsWithColumnsTs_result result = new getRowsWithColumnsTs_result();
1292      receiveBase(result, "getRowsWithColumnsTs");
1293      if (result.isSetSuccess()) {
1294        return result.success;
1295      }
1296      if (result.io != null) {
1297        throw result.io;
1298      }
1299      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowsWithColumnsTs failed: unknown result");
1300    }
1301
1302    public void mutateRow(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, IllegalArgument, org.apache.thrift.TException
1303    {
1304      send_mutateRow(tableName, row, mutations, attributes);
1305      recv_mutateRow();
1306    }
1307
1308    public void send_mutateRow(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1309    {
1310      mutateRow_args args = new mutateRow_args();
1311      args.setTableName(tableName);
1312      args.setRow(row);
1313      args.setMutations(mutations);
1314      args.setAttributes(attributes);
1315      sendBase("mutateRow", args);
1316    }
1317
1318    public void recv_mutateRow() throws IOError, IllegalArgument, org.apache.thrift.TException
1319    {
1320      mutateRow_result result = new mutateRow_result();
1321      receiveBase(result, "mutateRow");
1322      if (result.io != null) {
1323        throw result.io;
1324      }
1325      if (result.ia != null) {
1326        throw result.ia;
1327      }
1328      return;
1329    }
1330
1331    public void mutateRowTs(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, IllegalArgument, org.apache.thrift.TException
1332    {
1333      send_mutateRowTs(tableName, row, mutations, timestamp, attributes);
1334      recv_mutateRowTs();
1335    }
1336
1337    public void send_mutateRowTs(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1338    {
1339      mutateRowTs_args args = new mutateRowTs_args();
1340      args.setTableName(tableName);
1341      args.setRow(row);
1342      args.setMutations(mutations);
1343      args.setTimestamp(timestamp);
1344      args.setAttributes(attributes);
1345      sendBase("mutateRowTs", args);
1346    }
1347
1348    public void recv_mutateRowTs() throws IOError, IllegalArgument, org.apache.thrift.TException
1349    {
1350      mutateRowTs_result result = new mutateRowTs_result();
1351      receiveBase(result, "mutateRowTs");
1352      if (result.io != null) {
1353        throw result.io;
1354      }
1355      if (result.ia != null) {
1356        throw result.ia;
1357      }
1358      return;
1359    }
1360
1361    public void mutateRows(ByteBuffer tableName, List<BatchMutation> rowBatches, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, IllegalArgument, org.apache.thrift.TException
1362    {
1363      send_mutateRows(tableName, rowBatches, attributes);
1364      recv_mutateRows();
1365    }
1366
1367    public void send_mutateRows(ByteBuffer tableName, List<BatchMutation> rowBatches, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1368    {
1369      mutateRows_args args = new mutateRows_args();
1370      args.setTableName(tableName);
1371      args.setRowBatches(rowBatches);
1372      args.setAttributes(attributes);
1373      sendBase("mutateRows", args);
1374    }
1375
1376    public void recv_mutateRows() throws IOError, IllegalArgument, org.apache.thrift.TException
1377    {
1378      mutateRows_result result = new mutateRows_result();
1379      receiveBase(result, "mutateRows");
1380      if (result.io != null) {
1381        throw result.io;
1382      }
1383      if (result.ia != null) {
1384        throw result.ia;
1385      }
1386      return;
1387    }
1388
1389    public void mutateRowsTs(ByteBuffer tableName, List<BatchMutation> rowBatches, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, IllegalArgument, org.apache.thrift.TException
1390    {
1391      send_mutateRowsTs(tableName, rowBatches, timestamp, attributes);
1392      recv_mutateRowsTs();
1393    }
1394
1395    public void send_mutateRowsTs(ByteBuffer tableName, List<BatchMutation> rowBatches, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1396    {
1397      mutateRowsTs_args args = new mutateRowsTs_args();
1398      args.setTableName(tableName);
1399      args.setRowBatches(rowBatches);
1400      args.setTimestamp(timestamp);
1401      args.setAttributes(attributes);
1402      sendBase("mutateRowsTs", args);
1403    }
1404
1405    public void recv_mutateRowsTs() throws IOError, IllegalArgument, org.apache.thrift.TException
1406    {
1407      mutateRowsTs_result result = new mutateRowsTs_result();
1408      receiveBase(result, "mutateRowsTs");
1409      if (result.io != null) {
1410        throw result.io;
1411      }
1412      if (result.ia != null) {
1413        throw result.ia;
1414      }
1415      return;
1416    }
1417
1418    public long atomicIncrement(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long value) throws IOError, IllegalArgument, org.apache.thrift.TException
1419    {
1420      send_atomicIncrement(tableName, row, column, value);
1421      return recv_atomicIncrement();
1422    }
1423
1424    public void send_atomicIncrement(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long value) throws org.apache.thrift.TException
1425    {
1426      atomicIncrement_args args = new atomicIncrement_args();
1427      args.setTableName(tableName);
1428      args.setRow(row);
1429      args.setColumn(column);
1430      args.setValue(value);
1431      sendBase("atomicIncrement", args);
1432    }
1433
1434    public long recv_atomicIncrement() throws IOError, IllegalArgument, org.apache.thrift.TException
1435    {
1436      atomicIncrement_result result = new atomicIncrement_result();
1437      receiveBase(result, "atomicIncrement");
1438      if (result.isSetSuccess()) {
1439        return result.success;
1440      }
1441      if (result.io != null) {
1442        throw result.io;
1443      }
1444      if (result.ia != null) {
1445        throw result.ia;
1446      }
1447      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "atomicIncrement failed: unknown result");
1448    }
1449
1450    public void deleteAll(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1451    {
1452      send_deleteAll(tableName, row, column, attributes);
1453      recv_deleteAll();
1454    }
1455
1456    public void send_deleteAll(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1457    {
1458      deleteAll_args args = new deleteAll_args();
1459      args.setTableName(tableName);
1460      args.setRow(row);
1461      args.setColumn(column);
1462      args.setAttributes(attributes);
1463      sendBase("deleteAll", args);
1464    }
1465
1466    public void recv_deleteAll() throws IOError, org.apache.thrift.TException
1467    {
1468      deleteAll_result result = new deleteAll_result();
1469      receiveBase(result, "deleteAll");
1470      if (result.io != null) {
1471        throw result.io;
1472      }
1473      return;
1474    }
1475
1476    public void deleteAllTs(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1477    {
1478      send_deleteAllTs(tableName, row, column, timestamp, attributes);
1479      recv_deleteAllTs();
1480    }
1481
1482    public void send_deleteAllTs(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1483    {
1484      deleteAllTs_args args = new deleteAllTs_args();
1485      args.setTableName(tableName);
1486      args.setRow(row);
1487      args.setColumn(column);
1488      args.setTimestamp(timestamp);
1489      args.setAttributes(attributes);
1490      sendBase("deleteAllTs", args);
1491    }
1492
1493    public void recv_deleteAllTs() throws IOError, org.apache.thrift.TException
1494    {
1495      deleteAllTs_result result = new deleteAllTs_result();
1496      receiveBase(result, "deleteAllTs");
1497      if (result.io != null) {
1498        throw result.io;
1499      }
1500      return;
1501    }
1502
1503    public void deleteAllRow(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1504    {
1505      send_deleteAllRow(tableName, row, attributes);
1506      recv_deleteAllRow();
1507    }
1508
1509    public void send_deleteAllRow(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1510    {
1511      deleteAllRow_args args = new deleteAllRow_args();
1512      args.setTableName(tableName);
1513      args.setRow(row);
1514      args.setAttributes(attributes);
1515      sendBase("deleteAllRow", args);
1516    }
1517
1518    public void recv_deleteAllRow() throws IOError, org.apache.thrift.TException
1519    {
1520      deleteAllRow_result result = new deleteAllRow_result();
1521      receiveBase(result, "deleteAllRow");
1522      if (result.io != null) {
1523        throw result.io;
1524      }
1525      return;
1526    }
1527
1528    public void increment(TIncrement increment) throws IOError, org.apache.thrift.TException
1529    {
1530      send_increment(increment);
1531      recv_increment();
1532    }
1533
1534    public void send_increment(TIncrement increment) throws org.apache.thrift.TException
1535    {
1536      increment_args args = new increment_args();
1537      args.setIncrement(increment);
1538      sendBase("increment", args);
1539    }
1540
1541    public void recv_increment() throws IOError, org.apache.thrift.TException
1542    {
1543      increment_result result = new increment_result();
1544      receiveBase(result, "increment");
1545      if (result.io != null) {
1546        throw result.io;
1547      }
1548      return;
1549    }
1550
1551    public void incrementRows(List<TIncrement> increments) throws IOError, org.apache.thrift.TException
1552    {
1553      send_incrementRows(increments);
1554      recv_incrementRows();
1555    }
1556
1557    public void send_incrementRows(List<TIncrement> increments) throws org.apache.thrift.TException
1558    {
1559      incrementRows_args args = new incrementRows_args();
1560      args.setIncrements(increments);
1561      sendBase("incrementRows", args);
1562    }
1563
1564    public void recv_incrementRows() throws IOError, org.apache.thrift.TException
1565    {
1566      incrementRows_result result = new incrementRows_result();
1567      receiveBase(result, "incrementRows");
1568      if (result.io != null) {
1569        throw result.io;
1570      }
1571      return;
1572    }
1573
1574    public void deleteAllRowTs(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1575    {
1576      send_deleteAllRowTs(tableName, row, timestamp, attributes);
1577      recv_deleteAllRowTs();
1578    }
1579
1580    public void send_deleteAllRowTs(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1581    {
1582      deleteAllRowTs_args args = new deleteAllRowTs_args();
1583      args.setTableName(tableName);
1584      args.setRow(row);
1585      args.setTimestamp(timestamp);
1586      args.setAttributes(attributes);
1587      sendBase("deleteAllRowTs", args);
1588    }
1589
1590    public void recv_deleteAllRowTs() throws IOError, org.apache.thrift.TException
1591    {
1592      deleteAllRowTs_result result = new deleteAllRowTs_result();
1593      receiveBase(result, "deleteAllRowTs");
1594      if (result.io != null) {
1595        throw result.io;
1596      }
1597      return;
1598    }
1599
1600    public int scannerOpenWithScan(ByteBuffer tableName, TScan scan, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1601    {
1602      send_scannerOpenWithScan(tableName, scan, attributes);
1603      return recv_scannerOpenWithScan();
1604    }
1605
1606    public void send_scannerOpenWithScan(ByteBuffer tableName, TScan scan, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1607    {
1608      scannerOpenWithScan_args args = new scannerOpenWithScan_args();
1609      args.setTableName(tableName);
1610      args.setScan(scan);
1611      args.setAttributes(attributes);
1612      sendBase("scannerOpenWithScan", args);
1613    }
1614
1615    public int recv_scannerOpenWithScan() throws IOError, org.apache.thrift.TException
1616    {
1617      scannerOpenWithScan_result result = new scannerOpenWithScan_result();
1618      receiveBase(result, "scannerOpenWithScan");
1619      if (result.isSetSuccess()) {
1620        return result.success;
1621      }
1622      if (result.io != null) {
1623        throw result.io;
1624      }
1625      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithScan failed: unknown result");
1626    }
1627
1628    public int scannerOpen(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1629    {
1630      send_scannerOpen(tableName, startRow, columns, attributes);
1631      return recv_scannerOpen();
1632    }
1633
1634    public void send_scannerOpen(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1635    {
1636      scannerOpen_args args = new scannerOpen_args();
1637      args.setTableName(tableName);
1638      args.setStartRow(startRow);
1639      args.setColumns(columns);
1640      args.setAttributes(attributes);
1641      sendBase("scannerOpen", args);
1642    }
1643
1644    public int recv_scannerOpen() throws IOError, org.apache.thrift.TException
1645    {
1646      scannerOpen_result result = new scannerOpen_result();
1647      receiveBase(result, "scannerOpen");
1648      if (result.isSetSuccess()) {
1649        return result.success;
1650      }
1651      if (result.io != null) {
1652        throw result.io;
1653      }
1654      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpen failed: unknown result");
1655    }
1656
1657    public int scannerOpenWithStop(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1658    {
1659      send_scannerOpenWithStop(tableName, startRow, stopRow, columns, attributes);
1660      return recv_scannerOpenWithStop();
1661    }
1662
1663    public void send_scannerOpenWithStop(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1664    {
1665      scannerOpenWithStop_args args = new scannerOpenWithStop_args();
1666      args.setTableName(tableName);
1667      args.setStartRow(startRow);
1668      args.setStopRow(stopRow);
1669      args.setColumns(columns);
1670      args.setAttributes(attributes);
1671      sendBase("scannerOpenWithStop", args);
1672    }
1673
1674    public int recv_scannerOpenWithStop() throws IOError, org.apache.thrift.TException
1675    {
1676      scannerOpenWithStop_result result = new scannerOpenWithStop_result();
1677      receiveBase(result, "scannerOpenWithStop");
1678      if (result.isSetSuccess()) {
1679        return result.success;
1680      }
1681      if (result.io != null) {
1682        throw result.io;
1683      }
1684      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithStop failed: unknown result");
1685    }
1686
1687    public int scannerOpenWithPrefix(ByteBuffer tableName, ByteBuffer startAndPrefix, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1688    {
1689      send_scannerOpenWithPrefix(tableName, startAndPrefix, columns, attributes);
1690      return recv_scannerOpenWithPrefix();
1691    }
1692
1693    public void send_scannerOpenWithPrefix(ByteBuffer tableName, ByteBuffer startAndPrefix, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1694    {
1695      scannerOpenWithPrefix_args args = new scannerOpenWithPrefix_args();
1696      args.setTableName(tableName);
1697      args.setStartAndPrefix(startAndPrefix);
1698      args.setColumns(columns);
1699      args.setAttributes(attributes);
1700      sendBase("scannerOpenWithPrefix", args);
1701    }
1702
1703    public int recv_scannerOpenWithPrefix() throws IOError, org.apache.thrift.TException
1704    {
1705      scannerOpenWithPrefix_result result = new scannerOpenWithPrefix_result();
1706      receiveBase(result, "scannerOpenWithPrefix");
1707      if (result.isSetSuccess()) {
1708        return result.success;
1709      }
1710      if (result.io != null) {
1711        throw result.io;
1712      }
1713      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithPrefix failed: unknown result");
1714    }
1715
1716    public int scannerOpenTs(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1717    {
1718      send_scannerOpenTs(tableName, startRow, columns, timestamp, attributes);
1719      return recv_scannerOpenTs();
1720    }
1721
1722    public void send_scannerOpenTs(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1723    {
1724      scannerOpenTs_args args = new scannerOpenTs_args();
1725      args.setTableName(tableName);
1726      args.setStartRow(startRow);
1727      args.setColumns(columns);
1728      args.setTimestamp(timestamp);
1729      args.setAttributes(attributes);
1730      sendBase("scannerOpenTs", args);
1731    }
1732
1733    public int recv_scannerOpenTs() throws IOError, org.apache.thrift.TException
1734    {
1735      scannerOpenTs_result result = new scannerOpenTs_result();
1736      receiveBase(result, "scannerOpenTs");
1737      if (result.isSetSuccess()) {
1738        return result.success;
1739      }
1740      if (result.io != null) {
1741        throw result.io;
1742      }
1743      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenTs failed: unknown result");
1744    }
1745
1746    public int scannerOpenWithStopTs(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws IOError, org.apache.thrift.TException
1747    {
1748      send_scannerOpenWithStopTs(tableName, startRow, stopRow, columns, timestamp, attributes);
1749      return recv_scannerOpenWithStopTs();
1750    }
1751
1752    public void send_scannerOpenWithStopTs(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes) throws org.apache.thrift.TException
1753    {
1754      scannerOpenWithStopTs_args args = new scannerOpenWithStopTs_args();
1755      args.setTableName(tableName);
1756      args.setStartRow(startRow);
1757      args.setStopRow(stopRow);
1758      args.setColumns(columns);
1759      args.setTimestamp(timestamp);
1760      args.setAttributes(attributes);
1761      sendBase("scannerOpenWithStopTs", args);
1762    }
1763
1764    public int recv_scannerOpenWithStopTs() throws IOError, org.apache.thrift.TException
1765    {
1766      scannerOpenWithStopTs_result result = new scannerOpenWithStopTs_result();
1767      receiveBase(result, "scannerOpenWithStopTs");
1768      if (result.isSetSuccess()) {
1769        return result.success;
1770      }
1771      if (result.io != null) {
1772        throw result.io;
1773      }
1774      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerOpenWithStopTs failed: unknown result");
1775    }
1776
1777    public List<TRowResult> scannerGet(int id) throws IOError, IllegalArgument, org.apache.thrift.TException
1778    {
1779      send_scannerGet(id);
1780      return recv_scannerGet();
1781    }
1782
1783    public void send_scannerGet(int id) throws org.apache.thrift.TException
1784    {
1785      scannerGet_args args = new scannerGet_args();
1786      args.setId(id);
1787      sendBase("scannerGet", args);
1788    }
1789
1790    public List<TRowResult> recv_scannerGet() throws IOError, IllegalArgument, org.apache.thrift.TException
1791    {
1792      scannerGet_result result = new scannerGet_result();
1793      receiveBase(result, "scannerGet");
1794      if (result.isSetSuccess()) {
1795        return result.success;
1796      }
1797      if (result.io != null) {
1798        throw result.io;
1799      }
1800      if (result.ia != null) {
1801        throw result.ia;
1802      }
1803      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerGet failed: unknown result");
1804    }
1805
1806    public List<TRowResult> scannerGetList(int id, int nbRows) throws IOError, IllegalArgument, org.apache.thrift.TException
1807    {
1808      send_scannerGetList(id, nbRows);
1809      return recv_scannerGetList();
1810    }
1811
1812    public void send_scannerGetList(int id, int nbRows) throws org.apache.thrift.TException
1813    {
1814      scannerGetList_args args = new scannerGetList_args();
1815      args.setId(id);
1816      args.setNbRows(nbRows);
1817      sendBase("scannerGetList", args);
1818    }
1819
1820    public List<TRowResult> recv_scannerGetList() throws IOError, IllegalArgument, org.apache.thrift.TException
1821    {
1822      scannerGetList_result result = new scannerGetList_result();
1823      receiveBase(result, "scannerGetList");
1824      if (result.isSetSuccess()) {
1825        return result.success;
1826      }
1827      if (result.io != null) {
1828        throw result.io;
1829      }
1830      if (result.ia != null) {
1831        throw result.ia;
1832      }
1833      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scannerGetList failed: unknown result");
1834    }
1835
1836    public void scannerClose(int id) throws IOError, IllegalArgument, org.apache.thrift.TException
1837    {
1838      send_scannerClose(id);
1839      recv_scannerClose();
1840    }
1841
1842    public void send_scannerClose(int id) throws org.apache.thrift.TException
1843    {
1844      scannerClose_args args = new scannerClose_args();
1845      args.setId(id);
1846      sendBase("scannerClose", args);
1847    }
1848
1849    public void recv_scannerClose() throws IOError, IllegalArgument, org.apache.thrift.TException
1850    {
1851      scannerClose_result result = new scannerClose_result();
1852      receiveBase(result, "scannerClose");
1853      if (result.io != null) {
1854        throw result.io;
1855      }
1856      if (result.ia != null) {
1857        throw result.ia;
1858      }
1859      return;
1860    }
1861
1862    public List<TCell> getRowOrBefore(ByteBuffer tableName, ByteBuffer row, ByteBuffer family) throws IOError, org.apache.thrift.TException
1863    {
1864      send_getRowOrBefore(tableName, row, family);
1865      return recv_getRowOrBefore();
1866    }
1867
1868    public void send_getRowOrBefore(ByteBuffer tableName, ByteBuffer row, ByteBuffer family) throws org.apache.thrift.TException
1869    {
1870      getRowOrBefore_args args = new getRowOrBefore_args();
1871      args.setTableName(tableName);
1872      args.setRow(row);
1873      args.setFamily(family);
1874      sendBase("getRowOrBefore", args);
1875    }
1876
1877    public List<TCell> recv_getRowOrBefore() throws IOError, org.apache.thrift.TException
1878    {
1879      getRowOrBefore_result result = new getRowOrBefore_result();
1880      receiveBase(result, "getRowOrBefore");
1881      if (result.isSetSuccess()) {
1882        return result.success;
1883      }
1884      if (result.io != null) {
1885        throw result.io;
1886      }
1887      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowOrBefore failed: unknown result");
1888    }
1889
1890    public TRegionInfo getRegionInfo(ByteBuffer row) throws IOError, org.apache.thrift.TException
1891    {
1892      send_getRegionInfo(row);
1893      return recv_getRegionInfo();
1894    }
1895
1896    public void send_getRegionInfo(ByteBuffer row) throws org.apache.thrift.TException
1897    {
1898      getRegionInfo_args args = new getRegionInfo_args();
1899      args.setRow(row);
1900      sendBase("getRegionInfo", args);
1901    }
1902
1903    public TRegionInfo recv_getRegionInfo() throws IOError, org.apache.thrift.TException
1904    {
1905      getRegionInfo_result result = new getRegionInfo_result();
1906      receiveBase(result, "getRegionInfo");
1907      if (result.isSetSuccess()) {
1908        return result.success;
1909      }
1910      if (result.io != null) {
1911        throw result.io;
1912      }
1913      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRegionInfo failed: unknown result");
1914    }
1915
1916  }
1917  public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface {
1918    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
1919      private org.apache.thrift.async.TAsyncClientManager clientManager;
1920      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
1921      public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) {
1922        this.clientManager = clientManager;
1923        this.protocolFactory = protocolFactory;
1924      }
1925      public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) {
1926        return new AsyncClient(protocolFactory, clientManager, transport);
1927      }
1928    }
1929
1930    public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) {
1931      super(protocolFactory, clientManager, transport);
1932    }
1933
1934    public void enableTable(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<enableTable_call> resultHandler) throws org.apache.thrift.TException {
1935      checkReady();
1936      enableTable_call method_call = new enableTable_call(tableName, resultHandler, this, ___protocolFactory, ___transport);
1937      this.___currentMethod = method_call;
1938      ___manager.call(method_call);
1939    }
1940
1941    public static class enableTable_call extends org.apache.thrift.async.TAsyncMethodCall {
1942      private ByteBuffer tableName;
1943      public enableTable_call(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<enableTable_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
1944        super(client, protocolFactory, transport, resultHandler, false);
1945        this.tableName = tableName;
1946      }
1947
1948      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1949        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("enableTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
1950        enableTable_args args = new enableTable_args();
1951        args.setTableName(tableName);
1952        args.write(prot);
1953        prot.writeMessageEnd();
1954      }
1955
1956      public void getResult() throws IOError, org.apache.thrift.TException {
1957        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1958          throw new IllegalStateException("Method call not finished!");
1959        }
1960        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1961        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1962        (new Client(prot)).recv_enableTable();
1963      }
1964    }
1965
1966    public void disableTable(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<disableTable_call> resultHandler) throws org.apache.thrift.TException {
1967      checkReady();
1968      disableTable_call method_call = new disableTable_call(tableName, resultHandler, this, ___protocolFactory, ___transport);
1969      this.___currentMethod = method_call;
1970      ___manager.call(method_call);
1971    }
1972
1973    public static class disableTable_call extends org.apache.thrift.async.TAsyncMethodCall {
1974      private ByteBuffer tableName;
1975      public disableTable_call(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<disableTable_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
1976        super(client, protocolFactory, transport, resultHandler, false);
1977        this.tableName = tableName;
1978      }
1979
1980      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1981        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("disableTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
1982        disableTable_args args = new disableTable_args();
1983        args.setTableName(tableName);
1984        args.write(prot);
1985        prot.writeMessageEnd();
1986      }
1987
1988      public void getResult() throws IOError, org.apache.thrift.TException {
1989        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1990          throw new IllegalStateException("Method call not finished!");
1991        }
1992        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1993        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1994        (new Client(prot)).recv_disableTable();
1995      }
1996    }
1997
1998    public void isTableEnabled(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<isTableEnabled_call> resultHandler) throws org.apache.thrift.TException {
1999      checkReady();
2000      isTableEnabled_call method_call = new isTableEnabled_call(tableName, resultHandler, this, ___protocolFactory, ___transport);
2001      this.___currentMethod = method_call;
2002      ___manager.call(method_call);
2003    }
2004
2005    public static class isTableEnabled_call extends org.apache.thrift.async.TAsyncMethodCall {
2006      private ByteBuffer tableName;
2007      public isTableEnabled_call(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<isTableEnabled_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2008        super(client, protocolFactory, transport, resultHandler, false);
2009        this.tableName = tableName;
2010      }
2011
2012      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2013        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("isTableEnabled", org.apache.thrift.protocol.TMessageType.CALL, 0));
2014        isTableEnabled_args args = new isTableEnabled_args();
2015        args.setTableName(tableName);
2016        args.write(prot);
2017        prot.writeMessageEnd();
2018      }
2019
2020      public boolean getResult() throws IOError, org.apache.thrift.TException {
2021        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2022          throw new IllegalStateException("Method call not finished!");
2023        }
2024        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2025        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2026        return (new Client(prot)).recv_isTableEnabled();
2027      }
2028    }
2029
2030    public void compact(ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback<compact_call> resultHandler) throws org.apache.thrift.TException {
2031      checkReady();
2032      compact_call method_call = new compact_call(tableNameOrRegionName, resultHandler, this, ___protocolFactory, ___transport);
2033      this.___currentMethod = method_call;
2034      ___manager.call(method_call);
2035    }
2036
2037    public static class compact_call extends org.apache.thrift.async.TAsyncMethodCall {
2038      private ByteBuffer tableNameOrRegionName;
2039      public compact_call(ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback<compact_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2040        super(client, protocolFactory, transport, resultHandler, false);
2041        this.tableNameOrRegionName = tableNameOrRegionName;
2042      }
2043
2044      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2045        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("compact", org.apache.thrift.protocol.TMessageType.CALL, 0));
2046        compact_args args = new compact_args();
2047        args.setTableNameOrRegionName(tableNameOrRegionName);
2048        args.write(prot);
2049        prot.writeMessageEnd();
2050      }
2051
2052      public void getResult() throws IOError, org.apache.thrift.TException {
2053        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2054          throw new IllegalStateException("Method call not finished!");
2055        }
2056        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2057        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2058        (new Client(prot)).recv_compact();
2059      }
2060    }
2061
2062    public void majorCompact(ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback<majorCompact_call> resultHandler) throws org.apache.thrift.TException {
2063      checkReady();
2064      majorCompact_call method_call = new majorCompact_call(tableNameOrRegionName, resultHandler, this, ___protocolFactory, ___transport);
2065      this.___currentMethod = method_call;
2066      ___manager.call(method_call);
2067    }
2068
2069    public static class majorCompact_call extends org.apache.thrift.async.TAsyncMethodCall {
2070      private ByteBuffer tableNameOrRegionName;
2071      public majorCompact_call(ByteBuffer tableNameOrRegionName, org.apache.thrift.async.AsyncMethodCallback<majorCompact_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2072        super(client, protocolFactory, transport, resultHandler, false);
2073        this.tableNameOrRegionName = tableNameOrRegionName;
2074      }
2075
2076      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2077        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("majorCompact", org.apache.thrift.protocol.TMessageType.CALL, 0));
2078        majorCompact_args args = new majorCompact_args();
2079        args.setTableNameOrRegionName(tableNameOrRegionName);
2080        args.write(prot);
2081        prot.writeMessageEnd();
2082      }
2083
2084      public void getResult() throws IOError, org.apache.thrift.TException {
2085        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2086          throw new IllegalStateException("Method call not finished!");
2087        }
2088        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2089        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2090        (new Client(prot)).recv_majorCompact();
2091      }
2092    }
2093
2094    public void getTableNames(org.apache.thrift.async.AsyncMethodCallback<getTableNames_call> resultHandler) throws org.apache.thrift.TException {
2095      checkReady();
2096      getTableNames_call method_call = new getTableNames_call(resultHandler, this, ___protocolFactory, ___transport);
2097      this.___currentMethod = method_call;
2098      ___manager.call(method_call);
2099    }
2100
2101    public static class getTableNames_call extends org.apache.thrift.async.TAsyncMethodCall {
2102      public getTableNames_call(org.apache.thrift.async.AsyncMethodCallback<getTableNames_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2103        super(client, protocolFactory, transport, resultHandler, false);
2104      }
2105
2106      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2107        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableNames", org.apache.thrift.protocol.TMessageType.CALL, 0));
2108        getTableNames_args args = new getTableNames_args();
2109        args.write(prot);
2110        prot.writeMessageEnd();
2111      }
2112
2113      public List<ByteBuffer> getResult() throws IOError, org.apache.thrift.TException {
2114        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2115          throw new IllegalStateException("Method call not finished!");
2116        }
2117        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2118        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2119        return (new Client(prot)).recv_getTableNames();
2120      }
2121    }
2122
2123    public void getColumnDescriptors(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<getColumnDescriptors_call> resultHandler) throws org.apache.thrift.TException {
2124      checkReady();
2125      getColumnDescriptors_call method_call = new getColumnDescriptors_call(tableName, resultHandler, this, ___protocolFactory, ___transport);
2126      this.___currentMethod = method_call;
2127      ___manager.call(method_call);
2128    }
2129
2130    public static class getColumnDescriptors_call extends org.apache.thrift.async.TAsyncMethodCall {
2131      private ByteBuffer tableName;
2132      public getColumnDescriptors_call(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<getColumnDescriptors_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2133        super(client, protocolFactory, transport, resultHandler, false);
2134        this.tableName = tableName;
2135      }
2136
2137      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2138        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getColumnDescriptors", org.apache.thrift.protocol.TMessageType.CALL, 0));
2139        getColumnDescriptors_args args = new getColumnDescriptors_args();
2140        args.setTableName(tableName);
2141        args.write(prot);
2142        prot.writeMessageEnd();
2143      }
2144
2145      public Map<ByteBuffer,ColumnDescriptor> getResult() throws IOError, org.apache.thrift.TException {
2146        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2147          throw new IllegalStateException("Method call not finished!");
2148        }
2149        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2150        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2151        return (new Client(prot)).recv_getColumnDescriptors();
2152      }
2153    }
2154
2155    public void getTableRegions(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<getTableRegions_call> resultHandler) throws org.apache.thrift.TException {
2156      checkReady();
2157      getTableRegions_call method_call = new getTableRegions_call(tableName, resultHandler, this, ___protocolFactory, ___transport);
2158      this.___currentMethod = method_call;
2159      ___manager.call(method_call);
2160    }
2161
2162    public static class getTableRegions_call extends org.apache.thrift.async.TAsyncMethodCall {
2163      private ByteBuffer tableName;
2164      public getTableRegions_call(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<getTableRegions_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2165        super(client, protocolFactory, transport, resultHandler, false);
2166        this.tableName = tableName;
2167      }
2168
2169      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2170        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableRegions", org.apache.thrift.protocol.TMessageType.CALL, 0));
2171        getTableRegions_args args = new getTableRegions_args();
2172        args.setTableName(tableName);
2173        args.write(prot);
2174        prot.writeMessageEnd();
2175      }
2176
2177      public List<TRegionInfo> getResult() throws IOError, org.apache.thrift.TException {
2178        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2179          throw new IllegalStateException("Method call not finished!");
2180        }
2181        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2182        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2183        return (new Client(prot)).recv_getTableRegions();
2184      }
2185    }
2186
2187    public void createTable(ByteBuffer tableName, List<ColumnDescriptor> columnFamilies, org.apache.thrift.async.AsyncMethodCallback<createTable_call> resultHandler) throws org.apache.thrift.TException {
2188      checkReady();
2189      createTable_call method_call = new createTable_call(tableName, columnFamilies, resultHandler, this, ___protocolFactory, ___transport);
2190      this.___currentMethod = method_call;
2191      ___manager.call(method_call);
2192    }
2193
2194    public static class createTable_call extends org.apache.thrift.async.TAsyncMethodCall {
2195      private ByteBuffer tableName;
2196      private List<ColumnDescriptor> columnFamilies;
2197      public createTable_call(ByteBuffer tableName, List<ColumnDescriptor> columnFamilies, org.apache.thrift.async.AsyncMethodCallback<createTable_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2198        super(client, protocolFactory, transport, resultHandler, false);
2199        this.tableName = tableName;
2200        this.columnFamilies = columnFamilies;
2201      }
2202
2203      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2204        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
2205        createTable_args args = new createTable_args();
2206        args.setTableName(tableName);
2207        args.setColumnFamilies(columnFamilies);
2208        args.write(prot);
2209        prot.writeMessageEnd();
2210      }
2211
2212      public void getResult() throws IOError, IllegalArgument, AlreadyExists, org.apache.thrift.TException {
2213        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2214          throw new IllegalStateException("Method call not finished!");
2215        }
2216        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2217        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2218        (new Client(prot)).recv_createTable();
2219      }
2220    }
2221
2222    public void deleteTable(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<deleteTable_call> resultHandler) throws org.apache.thrift.TException {
2223      checkReady();
2224      deleteTable_call method_call = new deleteTable_call(tableName, resultHandler, this, ___protocolFactory, ___transport);
2225      this.___currentMethod = method_call;
2226      ___manager.call(method_call);
2227    }
2228
2229    public static class deleteTable_call extends org.apache.thrift.async.TAsyncMethodCall {
2230      private ByteBuffer tableName;
2231      public deleteTable_call(ByteBuffer tableName, org.apache.thrift.async.AsyncMethodCallback<deleteTable_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2232        super(client, protocolFactory, transport, resultHandler, false);
2233        this.tableName = tableName;
2234      }
2235
2236      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2237        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
2238        deleteTable_args args = new deleteTable_args();
2239        args.setTableName(tableName);
2240        args.write(prot);
2241        prot.writeMessageEnd();
2242      }
2243
2244      public void getResult() throws IOError, org.apache.thrift.TException {
2245        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2246          throw new IllegalStateException("Method call not finished!");
2247        }
2248        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2249        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2250        (new Client(prot)).recv_deleteTable();
2251      }
2252    }
2253
2254    public void get(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<get_call> resultHandler) throws org.apache.thrift.TException {
2255      checkReady();
2256      get_call method_call = new get_call(tableName, row, column, attributes, resultHandler, this, ___protocolFactory, ___transport);
2257      this.___currentMethod = method_call;
2258      ___manager.call(method_call);
2259    }
2260
2261    public static class get_call extends org.apache.thrift.async.TAsyncMethodCall {
2262      private ByteBuffer tableName;
2263      private ByteBuffer row;
2264      private ByteBuffer column;
2265      private Map<ByteBuffer,ByteBuffer> attributes;
2266      public get_call(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<get_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2267        super(client, protocolFactory, transport, resultHandler, false);
2268        this.tableName = tableName;
2269        this.row = row;
2270        this.column = column;
2271        this.attributes = attributes;
2272      }
2273
2274      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2275        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get", org.apache.thrift.protocol.TMessageType.CALL, 0));
2276        get_args args = new get_args();
2277        args.setTableName(tableName);
2278        args.setRow(row);
2279        args.setColumn(column);
2280        args.setAttributes(attributes);
2281        args.write(prot);
2282        prot.writeMessageEnd();
2283      }
2284
2285      public List<TCell> getResult() throws IOError, org.apache.thrift.TException {
2286        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2287          throw new IllegalStateException("Method call not finished!");
2288        }
2289        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2290        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2291        return (new Client(prot)).recv_get();
2292      }
2293    }
2294
2295    public void getVer(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, int numVersions, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getVer_call> resultHandler) throws org.apache.thrift.TException {
2296      checkReady();
2297      getVer_call method_call = new getVer_call(tableName, row, column, numVersions, attributes, resultHandler, this, ___protocolFactory, ___transport);
2298      this.___currentMethod = method_call;
2299      ___manager.call(method_call);
2300    }
2301
2302    public static class getVer_call extends org.apache.thrift.async.TAsyncMethodCall {
2303      private ByteBuffer tableName;
2304      private ByteBuffer row;
2305      private ByteBuffer column;
2306      private int numVersions;
2307      private Map<ByteBuffer,ByteBuffer> attributes;
2308      public getVer_call(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, int numVersions, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getVer_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2309        super(client, protocolFactory, transport, resultHandler, false);
2310        this.tableName = tableName;
2311        this.row = row;
2312        this.column = column;
2313        this.numVersions = numVersions;
2314        this.attributes = attributes;
2315      }
2316
2317      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2318        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getVer", org.apache.thrift.protocol.TMessageType.CALL, 0));
2319        getVer_args args = new getVer_args();
2320        args.setTableName(tableName);
2321        args.setRow(row);
2322        args.setColumn(column);
2323        args.setNumVersions(numVersions);
2324        args.setAttributes(attributes);
2325        args.write(prot);
2326        prot.writeMessageEnd();
2327      }
2328
2329      public List<TCell> getResult() throws IOError, org.apache.thrift.TException {
2330        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2331          throw new IllegalStateException("Method call not finished!");
2332        }
2333        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2334        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2335        return (new Client(prot)).recv_getVer();
2336      }
2337    }
2338
2339    public void getVerTs(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, int numVersions, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getVerTs_call> resultHandler) throws org.apache.thrift.TException {
2340      checkReady();
2341      getVerTs_call method_call = new getVerTs_call(tableName, row, column, timestamp, numVersions, attributes, resultHandler, this, ___protocolFactory, ___transport);
2342      this.___currentMethod = method_call;
2343      ___manager.call(method_call);
2344    }
2345
2346    public static class getVerTs_call extends org.apache.thrift.async.TAsyncMethodCall {
2347      private ByteBuffer tableName;
2348      private ByteBuffer row;
2349      private ByteBuffer column;
2350      private long timestamp;
2351      private int numVersions;
2352      private Map<ByteBuffer,ByteBuffer> attributes;
2353      public getVerTs_call(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, int numVersions, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getVerTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2354        super(client, protocolFactory, transport, resultHandler, false);
2355        this.tableName = tableName;
2356        this.row = row;
2357        this.column = column;
2358        this.timestamp = timestamp;
2359        this.numVersions = numVersions;
2360        this.attributes = attributes;
2361      }
2362
2363      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2364        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getVerTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
2365        getVerTs_args args = new getVerTs_args();
2366        args.setTableName(tableName);
2367        args.setRow(row);
2368        args.setColumn(column);
2369        args.setTimestamp(timestamp);
2370        args.setNumVersions(numVersions);
2371        args.setAttributes(attributes);
2372        args.write(prot);
2373        prot.writeMessageEnd();
2374      }
2375
2376      public List<TCell> getResult() throws IOError, org.apache.thrift.TException {
2377        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2378          throw new IllegalStateException("Method call not finished!");
2379        }
2380        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2381        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2382        return (new Client(prot)).recv_getVerTs();
2383      }
2384    }
2385
2386    public void getRow(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRow_call> resultHandler) throws org.apache.thrift.TException {
2387      checkReady();
2388      getRow_call method_call = new getRow_call(tableName, row, attributes, resultHandler, this, ___protocolFactory, ___transport);
2389      this.___currentMethod = method_call;
2390      ___manager.call(method_call);
2391    }
2392
2393    public static class getRow_call extends org.apache.thrift.async.TAsyncMethodCall {
2394      private ByteBuffer tableName;
2395      private ByteBuffer row;
2396      private Map<ByteBuffer,ByteBuffer> attributes;
2397      public getRow_call(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRow_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2398        super(client, protocolFactory, transport, resultHandler, false);
2399        this.tableName = tableName;
2400        this.row = row;
2401        this.attributes = attributes;
2402      }
2403
2404      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2405        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRow", org.apache.thrift.protocol.TMessageType.CALL, 0));
2406        getRow_args args = new getRow_args();
2407        args.setTableName(tableName);
2408        args.setRow(row);
2409        args.setAttributes(attributes);
2410        args.write(prot);
2411        prot.writeMessageEnd();
2412      }
2413
2414      public List<TRowResult> getResult() throws IOError, org.apache.thrift.TException {
2415        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2416          throw new IllegalStateException("Method call not finished!");
2417        }
2418        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2419        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2420        return (new Client(prot)).recv_getRow();
2421      }
2422    }
2423
2424    public void getRowWithColumns(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowWithColumns_call> resultHandler) throws org.apache.thrift.TException {
2425      checkReady();
2426      getRowWithColumns_call method_call = new getRowWithColumns_call(tableName, row, columns, attributes, resultHandler, this, ___protocolFactory, ___transport);
2427      this.___currentMethod = method_call;
2428      ___manager.call(method_call);
2429    }
2430
2431    public static class getRowWithColumns_call extends org.apache.thrift.async.TAsyncMethodCall {
2432      private ByteBuffer tableName;
2433      private ByteBuffer row;
2434      private List<ByteBuffer> columns;
2435      private Map<ByteBuffer,ByteBuffer> attributes;
2436      public getRowWithColumns_call(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowWithColumns_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2437        super(client, protocolFactory, transport, resultHandler, false);
2438        this.tableName = tableName;
2439        this.row = row;
2440        this.columns = columns;
2441        this.attributes = attributes;
2442      }
2443
2444      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2445        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowWithColumns", org.apache.thrift.protocol.TMessageType.CALL, 0));
2446        getRowWithColumns_args args = new getRowWithColumns_args();
2447        args.setTableName(tableName);
2448        args.setRow(row);
2449        args.setColumns(columns);
2450        args.setAttributes(attributes);
2451        args.write(prot);
2452        prot.writeMessageEnd();
2453      }
2454
2455      public List<TRowResult> getResult() throws IOError, org.apache.thrift.TException {
2456        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2457          throw new IllegalStateException("Method call not finished!");
2458        }
2459        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2460        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2461        return (new Client(prot)).recv_getRowWithColumns();
2462      }
2463    }
2464
2465    public void getRowTs(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowTs_call> resultHandler) throws org.apache.thrift.TException {
2466      checkReady();
2467      getRowTs_call method_call = new getRowTs_call(tableName, row, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport);
2468      this.___currentMethod = method_call;
2469      ___manager.call(method_call);
2470    }
2471
2472    public static class getRowTs_call extends org.apache.thrift.async.TAsyncMethodCall {
2473      private ByteBuffer tableName;
2474      private ByteBuffer row;
2475      private long timestamp;
2476      private Map<ByteBuffer,ByteBuffer> attributes;
2477      public getRowTs_call(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2478        super(client, protocolFactory, transport, resultHandler, false);
2479        this.tableName = tableName;
2480        this.row = row;
2481        this.timestamp = timestamp;
2482        this.attributes = attributes;
2483      }
2484
2485      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2486        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
2487        getRowTs_args args = new getRowTs_args();
2488        args.setTableName(tableName);
2489        args.setRow(row);
2490        args.setTimestamp(timestamp);
2491        args.setAttributes(attributes);
2492        args.write(prot);
2493        prot.writeMessageEnd();
2494      }
2495
2496      public List<TRowResult> getResult() throws IOError, org.apache.thrift.TException {
2497        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2498          throw new IllegalStateException("Method call not finished!");
2499        }
2500        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2501        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2502        return (new Client(prot)).recv_getRowTs();
2503      }
2504    }
2505
2506    public void getRowWithColumnsTs(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowWithColumnsTs_call> resultHandler) throws org.apache.thrift.TException {
2507      checkReady();
2508      getRowWithColumnsTs_call method_call = new getRowWithColumnsTs_call(tableName, row, columns, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport);
2509      this.___currentMethod = method_call;
2510      ___manager.call(method_call);
2511    }
2512
2513    public static class getRowWithColumnsTs_call extends org.apache.thrift.async.TAsyncMethodCall {
2514      private ByteBuffer tableName;
2515      private ByteBuffer row;
2516      private List<ByteBuffer> columns;
2517      private long timestamp;
2518      private Map<ByteBuffer,ByteBuffer> attributes;
2519      public getRowWithColumnsTs_call(ByteBuffer tableName, ByteBuffer row, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowWithColumnsTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2520        super(client, protocolFactory, transport, resultHandler, false);
2521        this.tableName = tableName;
2522        this.row = row;
2523        this.columns = columns;
2524        this.timestamp = timestamp;
2525        this.attributes = attributes;
2526      }
2527
2528      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2529        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowWithColumnsTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
2530        getRowWithColumnsTs_args args = new getRowWithColumnsTs_args();
2531        args.setTableName(tableName);
2532        args.setRow(row);
2533        args.setColumns(columns);
2534        args.setTimestamp(timestamp);
2535        args.setAttributes(attributes);
2536        args.write(prot);
2537        prot.writeMessageEnd();
2538      }
2539
2540      public List<TRowResult> getResult() throws IOError, org.apache.thrift.TException {
2541        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2542          throw new IllegalStateException("Method call not finished!");
2543        }
2544        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2545        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2546        return (new Client(prot)).recv_getRowWithColumnsTs();
2547      }
2548    }
2549
2550    public void getRows(ByteBuffer tableName, List<ByteBuffer> rows, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRows_call> resultHandler) throws org.apache.thrift.TException {
2551      checkReady();
2552      getRows_call method_call = new getRows_call(tableName, rows, attributes, resultHandler, this, ___protocolFactory, ___transport);
2553      this.___currentMethod = method_call;
2554      ___manager.call(method_call);
2555    }
2556
2557    public static class getRows_call extends org.apache.thrift.async.TAsyncMethodCall {
2558      private ByteBuffer tableName;
2559      private List<ByteBuffer> rows;
2560      private Map<ByteBuffer,ByteBuffer> attributes;
2561      public getRows_call(ByteBuffer tableName, List<ByteBuffer> rows, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRows_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2562        super(client, protocolFactory, transport, resultHandler, false);
2563        this.tableName = tableName;
2564        this.rows = rows;
2565        this.attributes = attributes;
2566      }
2567
2568      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2569        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRows", org.apache.thrift.protocol.TMessageType.CALL, 0));
2570        getRows_args args = new getRows_args();
2571        args.setTableName(tableName);
2572        args.setRows(rows);
2573        args.setAttributes(attributes);
2574        args.write(prot);
2575        prot.writeMessageEnd();
2576      }
2577
2578      public List<TRowResult> getResult() throws IOError, org.apache.thrift.TException {
2579        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2580          throw new IllegalStateException("Method call not finished!");
2581        }
2582        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2583        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2584        return (new Client(prot)).recv_getRows();
2585      }
2586    }
2587
2588    public void getRowsWithColumns(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowsWithColumns_call> resultHandler) throws org.apache.thrift.TException {
2589      checkReady();
2590      getRowsWithColumns_call method_call = new getRowsWithColumns_call(tableName, rows, columns, attributes, resultHandler, this, ___protocolFactory, ___transport);
2591      this.___currentMethod = method_call;
2592      ___manager.call(method_call);
2593    }
2594
2595    public static class getRowsWithColumns_call extends org.apache.thrift.async.TAsyncMethodCall {
2596      private ByteBuffer tableName;
2597      private List<ByteBuffer> rows;
2598      private List<ByteBuffer> columns;
2599      private Map<ByteBuffer,ByteBuffer> attributes;
2600      public getRowsWithColumns_call(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowsWithColumns_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2601        super(client, protocolFactory, transport, resultHandler, false);
2602        this.tableName = tableName;
2603        this.rows = rows;
2604        this.columns = columns;
2605        this.attributes = attributes;
2606      }
2607
2608      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2609        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowsWithColumns", org.apache.thrift.protocol.TMessageType.CALL, 0));
2610        getRowsWithColumns_args args = new getRowsWithColumns_args();
2611        args.setTableName(tableName);
2612        args.setRows(rows);
2613        args.setColumns(columns);
2614        args.setAttributes(attributes);
2615        args.write(prot);
2616        prot.writeMessageEnd();
2617      }
2618
2619      public List<TRowResult> getResult() throws IOError, org.apache.thrift.TException {
2620        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2621          throw new IllegalStateException("Method call not finished!");
2622        }
2623        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2624        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2625        return (new Client(prot)).recv_getRowsWithColumns();
2626      }
2627    }
2628
2629    public void getRowsTs(ByteBuffer tableName, List<ByteBuffer> rows, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowsTs_call> resultHandler) throws org.apache.thrift.TException {
2630      checkReady();
2631      getRowsTs_call method_call = new getRowsTs_call(tableName, rows, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport);
2632      this.___currentMethod = method_call;
2633      ___manager.call(method_call);
2634    }
2635
2636    public static class getRowsTs_call extends org.apache.thrift.async.TAsyncMethodCall {
2637      private ByteBuffer tableName;
2638      private List<ByteBuffer> rows;
2639      private long timestamp;
2640      private Map<ByteBuffer,ByteBuffer> attributes;
2641      public getRowsTs_call(ByteBuffer tableName, List<ByteBuffer> rows, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowsTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2642        super(client, protocolFactory, transport, resultHandler, false);
2643        this.tableName = tableName;
2644        this.rows = rows;
2645        this.timestamp = timestamp;
2646        this.attributes = attributes;
2647      }
2648
2649      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2650        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowsTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
2651        getRowsTs_args args = new getRowsTs_args();
2652        args.setTableName(tableName);
2653        args.setRows(rows);
2654        args.setTimestamp(timestamp);
2655        args.setAttributes(attributes);
2656        args.write(prot);
2657        prot.writeMessageEnd();
2658      }
2659
2660      public List<TRowResult> getResult() throws IOError, org.apache.thrift.TException {
2661        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2662          throw new IllegalStateException("Method call not finished!");
2663        }
2664        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2665        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2666        return (new Client(prot)).recv_getRowsTs();
2667      }
2668    }
2669
2670    public void getRowsWithColumnsTs(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowsWithColumnsTs_call> resultHandler) throws org.apache.thrift.TException {
2671      checkReady();
2672      getRowsWithColumnsTs_call method_call = new getRowsWithColumnsTs_call(tableName, rows, columns, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport);
2673      this.___currentMethod = method_call;
2674      ___manager.call(method_call);
2675    }
2676
2677    public static class getRowsWithColumnsTs_call extends org.apache.thrift.async.TAsyncMethodCall {
2678      private ByteBuffer tableName;
2679      private List<ByteBuffer> rows;
2680      private List<ByteBuffer> columns;
2681      private long timestamp;
2682      private Map<ByteBuffer,ByteBuffer> attributes;
2683      public getRowsWithColumnsTs_call(ByteBuffer tableName, List<ByteBuffer> rows, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<getRowsWithColumnsTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2684        super(client, protocolFactory, transport, resultHandler, false);
2685        this.tableName = tableName;
2686        this.rows = rows;
2687        this.columns = columns;
2688        this.timestamp = timestamp;
2689        this.attributes = attributes;
2690      }
2691
2692      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2693        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowsWithColumnsTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
2694        getRowsWithColumnsTs_args args = new getRowsWithColumnsTs_args();
2695        args.setTableName(tableName);
2696        args.setRows(rows);
2697        args.setColumns(columns);
2698        args.setTimestamp(timestamp);
2699        args.setAttributes(attributes);
2700        args.write(prot);
2701        prot.writeMessageEnd();
2702      }
2703
2704      public List<TRowResult> getResult() throws IOError, org.apache.thrift.TException {
2705        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2706          throw new IllegalStateException("Method call not finished!");
2707        }
2708        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2709        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2710        return (new Client(prot)).recv_getRowsWithColumnsTs();
2711      }
2712    }
2713
2714    public void mutateRow(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<mutateRow_call> resultHandler) throws org.apache.thrift.TException {
2715      checkReady();
2716      mutateRow_call method_call = new mutateRow_call(tableName, row, mutations, attributes, resultHandler, this, ___protocolFactory, ___transport);
2717      this.___currentMethod = method_call;
2718      ___manager.call(method_call);
2719    }
2720
2721    public static class mutateRow_call extends org.apache.thrift.async.TAsyncMethodCall {
2722      private ByteBuffer tableName;
2723      private ByteBuffer row;
2724      private List<Mutation> mutations;
2725      private Map<ByteBuffer,ByteBuffer> attributes;
2726      public mutateRow_call(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<mutateRow_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2727        super(client, protocolFactory, transport, resultHandler, false);
2728        this.tableName = tableName;
2729        this.row = row;
2730        this.mutations = mutations;
2731        this.attributes = attributes;
2732      }
2733
2734      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2735        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("mutateRow", org.apache.thrift.protocol.TMessageType.CALL, 0));
2736        mutateRow_args args = new mutateRow_args();
2737        args.setTableName(tableName);
2738        args.setRow(row);
2739        args.setMutations(mutations);
2740        args.setAttributes(attributes);
2741        args.write(prot);
2742        prot.writeMessageEnd();
2743      }
2744
2745      public void getResult() throws IOError, IllegalArgument, org.apache.thrift.TException {
2746        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2747          throw new IllegalStateException("Method call not finished!");
2748        }
2749        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2750        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2751        (new Client(prot)).recv_mutateRow();
2752      }
2753    }
2754
2755    public void mutateRowTs(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<mutateRowTs_call> resultHandler) throws org.apache.thrift.TException {
2756      checkReady();
2757      mutateRowTs_call method_call = new mutateRowTs_call(tableName, row, mutations, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport);
2758      this.___currentMethod = method_call;
2759      ___manager.call(method_call);
2760    }
2761
2762    public static class mutateRowTs_call extends org.apache.thrift.async.TAsyncMethodCall {
2763      private ByteBuffer tableName;
2764      private ByteBuffer row;
2765      private List<Mutation> mutations;
2766      private long timestamp;
2767      private Map<ByteBuffer,ByteBuffer> attributes;
2768      public mutateRowTs_call(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<mutateRowTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2769        super(client, protocolFactory, transport, resultHandler, false);
2770        this.tableName = tableName;
2771        this.row = row;
2772        this.mutations = mutations;
2773        this.timestamp = timestamp;
2774        this.attributes = attributes;
2775      }
2776
2777      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2778        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("mutateRowTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
2779        mutateRowTs_args args = new mutateRowTs_args();
2780        args.setTableName(tableName);
2781        args.setRow(row);
2782        args.setMutations(mutations);
2783        args.setTimestamp(timestamp);
2784        args.setAttributes(attributes);
2785        args.write(prot);
2786        prot.writeMessageEnd();
2787      }
2788
2789      public void getResult() throws IOError, IllegalArgument, org.apache.thrift.TException {
2790        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2791          throw new IllegalStateException("Method call not finished!");
2792        }
2793        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2794        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2795        (new Client(prot)).recv_mutateRowTs();
2796      }
2797    }
2798
2799    public void mutateRows(ByteBuffer tableName, List<BatchMutation> rowBatches, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<mutateRows_call> resultHandler) throws org.apache.thrift.TException {
2800      checkReady();
2801      mutateRows_call method_call = new mutateRows_call(tableName, rowBatches, attributes, resultHandler, this, ___protocolFactory, ___transport);
2802      this.___currentMethod = method_call;
2803      ___manager.call(method_call);
2804    }
2805
2806    public static class mutateRows_call extends org.apache.thrift.async.TAsyncMethodCall {
2807      private ByteBuffer tableName;
2808      private List<BatchMutation> rowBatches;
2809      private Map<ByteBuffer,ByteBuffer> attributes;
2810      public mutateRows_call(ByteBuffer tableName, List<BatchMutation> rowBatches, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<mutateRows_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2811        super(client, protocolFactory, transport, resultHandler, false);
2812        this.tableName = tableName;
2813        this.rowBatches = rowBatches;
2814        this.attributes = attributes;
2815      }
2816
2817      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2818        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("mutateRows", org.apache.thrift.protocol.TMessageType.CALL, 0));
2819        mutateRows_args args = new mutateRows_args();
2820        args.setTableName(tableName);
2821        args.setRowBatches(rowBatches);
2822        args.setAttributes(attributes);
2823        args.write(prot);
2824        prot.writeMessageEnd();
2825      }
2826
2827      public void getResult() throws IOError, IllegalArgument, org.apache.thrift.TException {
2828        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2829          throw new IllegalStateException("Method call not finished!");
2830        }
2831        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2832        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2833        (new Client(prot)).recv_mutateRows();
2834      }
2835    }
2836
2837    public void mutateRowsTs(ByteBuffer tableName, List<BatchMutation> rowBatches, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<mutateRowsTs_call> resultHandler) throws org.apache.thrift.TException {
2838      checkReady();
2839      mutateRowsTs_call method_call = new mutateRowsTs_call(tableName, rowBatches, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport);
2840      this.___currentMethod = method_call;
2841      ___manager.call(method_call);
2842    }
2843
2844    public static class mutateRowsTs_call extends org.apache.thrift.async.TAsyncMethodCall {
2845      private ByteBuffer tableName;
2846      private List<BatchMutation> rowBatches;
2847      private long timestamp;
2848      private Map<ByteBuffer,ByteBuffer> attributes;
2849      public mutateRowsTs_call(ByteBuffer tableName, List<BatchMutation> rowBatches, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<mutateRowsTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2850        super(client, protocolFactory, transport, resultHandler, false);
2851        this.tableName = tableName;
2852        this.rowBatches = rowBatches;
2853        this.timestamp = timestamp;
2854        this.attributes = attributes;
2855      }
2856
2857      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2858        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("mutateRowsTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
2859        mutateRowsTs_args args = new mutateRowsTs_args();
2860        args.setTableName(tableName);
2861        args.setRowBatches(rowBatches);
2862        args.setTimestamp(timestamp);
2863        args.setAttributes(attributes);
2864        args.write(prot);
2865        prot.writeMessageEnd();
2866      }
2867
2868      public void getResult() throws IOError, IllegalArgument, org.apache.thrift.TException {
2869        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2870          throw new IllegalStateException("Method call not finished!");
2871        }
2872        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2873        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2874        (new Client(prot)).recv_mutateRowsTs();
2875      }
2876    }
2877
2878    public void atomicIncrement(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long value, org.apache.thrift.async.AsyncMethodCallback<atomicIncrement_call> resultHandler) throws org.apache.thrift.TException {
2879      checkReady();
2880      atomicIncrement_call method_call = new atomicIncrement_call(tableName, row, column, value, resultHandler, this, ___protocolFactory, ___transport);
2881      this.___currentMethod = method_call;
2882      ___manager.call(method_call);
2883    }
2884
2885    public static class atomicIncrement_call extends org.apache.thrift.async.TAsyncMethodCall {
2886      private ByteBuffer tableName;
2887      private ByteBuffer row;
2888      private ByteBuffer column;
2889      private long value;
2890      public atomicIncrement_call(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long value, org.apache.thrift.async.AsyncMethodCallback<atomicIncrement_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2891        super(client, protocolFactory, transport, resultHandler, false);
2892        this.tableName = tableName;
2893        this.row = row;
2894        this.column = column;
2895        this.value = value;
2896      }
2897
2898      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2899        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("atomicIncrement", org.apache.thrift.protocol.TMessageType.CALL, 0));
2900        atomicIncrement_args args = new atomicIncrement_args();
2901        args.setTableName(tableName);
2902        args.setRow(row);
2903        args.setColumn(column);
2904        args.setValue(value);
2905        args.write(prot);
2906        prot.writeMessageEnd();
2907      }
2908
2909      public long getResult() throws IOError, IllegalArgument, org.apache.thrift.TException {
2910        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2911          throw new IllegalStateException("Method call not finished!");
2912        }
2913        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2914        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2915        return (new Client(prot)).recv_atomicIncrement();
2916      }
2917    }
2918
2919    public void deleteAll(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<deleteAll_call> resultHandler) throws org.apache.thrift.TException {
2920      checkReady();
2921      deleteAll_call method_call = new deleteAll_call(tableName, row, column, attributes, resultHandler, this, ___protocolFactory, ___transport);
2922      this.___currentMethod = method_call;
2923      ___manager.call(method_call);
2924    }
2925
2926    public static class deleteAll_call extends org.apache.thrift.async.TAsyncMethodCall {
2927      private ByteBuffer tableName;
2928      private ByteBuffer row;
2929      private ByteBuffer column;
2930      private Map<ByteBuffer,ByteBuffer> attributes;
2931      public deleteAll_call(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<deleteAll_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2932        super(client, protocolFactory, transport, resultHandler, false);
2933        this.tableName = tableName;
2934        this.row = row;
2935        this.column = column;
2936        this.attributes = attributes;
2937      }
2938
2939      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2940        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteAll", org.apache.thrift.protocol.TMessageType.CALL, 0));
2941        deleteAll_args args = new deleteAll_args();
2942        args.setTableName(tableName);
2943        args.setRow(row);
2944        args.setColumn(column);
2945        args.setAttributes(attributes);
2946        args.write(prot);
2947        prot.writeMessageEnd();
2948      }
2949
2950      public void getResult() throws IOError, org.apache.thrift.TException {
2951        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2952          throw new IllegalStateException("Method call not finished!");
2953        }
2954        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2955        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2956        (new Client(prot)).recv_deleteAll();
2957      }
2958    }
2959
2960    public void deleteAllTs(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<deleteAllTs_call> resultHandler) throws org.apache.thrift.TException {
2961      checkReady();
2962      deleteAllTs_call method_call = new deleteAllTs_call(tableName, row, column, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport);
2963      this.___currentMethod = method_call;
2964      ___manager.call(method_call);
2965    }
2966
2967    public static class deleteAllTs_call extends org.apache.thrift.async.TAsyncMethodCall {
2968      private ByteBuffer tableName;
2969      private ByteBuffer row;
2970      private ByteBuffer column;
2971      private long timestamp;
2972      private Map<ByteBuffer,ByteBuffer> attributes;
2973      public deleteAllTs_call(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<deleteAllTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
2974        super(client, protocolFactory, transport, resultHandler, false);
2975        this.tableName = tableName;
2976        this.row = row;
2977        this.column = column;
2978        this.timestamp = timestamp;
2979        this.attributes = attributes;
2980      }
2981
2982      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2983        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteAllTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
2984        deleteAllTs_args args = new deleteAllTs_args();
2985        args.setTableName(tableName);
2986        args.setRow(row);
2987        args.setColumn(column);
2988        args.setTimestamp(timestamp);
2989        args.setAttributes(attributes);
2990        args.write(prot);
2991        prot.writeMessageEnd();
2992      }
2993
2994      public void getResult() throws IOError, org.apache.thrift.TException {
2995        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
2996          throw new IllegalStateException("Method call not finished!");
2997        }
2998        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
2999        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3000        (new Client(prot)).recv_deleteAllTs();
3001      }
3002    }
3003
3004    public void deleteAllRow(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<deleteAllRow_call> resultHandler) throws org.apache.thrift.TException {
3005      checkReady();
3006      deleteAllRow_call method_call = new deleteAllRow_call(tableName, row, attributes, resultHandler, this, ___protocolFactory, ___transport);
3007      this.___currentMethod = method_call;
3008      ___manager.call(method_call);
3009    }
3010
3011    public static class deleteAllRow_call extends org.apache.thrift.async.TAsyncMethodCall {
3012      private ByteBuffer tableName;
3013      private ByteBuffer row;
3014      private Map<ByteBuffer,ByteBuffer> attributes;
3015      public deleteAllRow_call(ByteBuffer tableName, ByteBuffer row, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<deleteAllRow_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3016        super(client, protocolFactory, transport, resultHandler, false);
3017        this.tableName = tableName;
3018        this.row = row;
3019        this.attributes = attributes;
3020      }
3021
3022      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3023        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteAllRow", org.apache.thrift.protocol.TMessageType.CALL, 0));
3024        deleteAllRow_args args = new deleteAllRow_args();
3025        args.setTableName(tableName);
3026        args.setRow(row);
3027        args.setAttributes(attributes);
3028        args.write(prot);
3029        prot.writeMessageEnd();
3030      }
3031
3032      public void getResult() throws IOError, org.apache.thrift.TException {
3033        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3034          throw new IllegalStateException("Method call not finished!");
3035        }
3036        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3037        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3038        (new Client(prot)).recv_deleteAllRow();
3039      }
3040    }
3041
3042    public void increment(TIncrement increment, org.apache.thrift.async.AsyncMethodCallback<increment_call> resultHandler) throws org.apache.thrift.TException {
3043      checkReady();
3044      increment_call method_call = new increment_call(increment, resultHandler, this, ___protocolFactory, ___transport);
3045      this.___currentMethod = method_call;
3046      ___manager.call(method_call);
3047    }
3048
3049    public static class increment_call extends org.apache.thrift.async.TAsyncMethodCall {
3050      private TIncrement increment;
3051      public increment_call(TIncrement increment, org.apache.thrift.async.AsyncMethodCallback<increment_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3052        super(client, protocolFactory, transport, resultHandler, false);
3053        this.increment = increment;
3054      }
3055
3056      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3057        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("increment", org.apache.thrift.protocol.TMessageType.CALL, 0));
3058        increment_args args = new increment_args();
3059        args.setIncrement(increment);
3060        args.write(prot);
3061        prot.writeMessageEnd();
3062      }
3063
3064      public void getResult() throws IOError, org.apache.thrift.TException {
3065        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3066          throw new IllegalStateException("Method call not finished!");
3067        }
3068        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3069        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3070        (new Client(prot)).recv_increment();
3071      }
3072    }
3073
3074    public void incrementRows(List<TIncrement> increments, org.apache.thrift.async.AsyncMethodCallback<incrementRows_call> resultHandler) throws org.apache.thrift.TException {
3075      checkReady();
3076      incrementRows_call method_call = new incrementRows_call(increments, resultHandler, this, ___protocolFactory, ___transport);
3077      this.___currentMethod = method_call;
3078      ___manager.call(method_call);
3079    }
3080
3081    public static class incrementRows_call extends org.apache.thrift.async.TAsyncMethodCall {
3082      private List<TIncrement> increments;
3083      public incrementRows_call(List<TIncrement> increments, org.apache.thrift.async.AsyncMethodCallback<incrementRows_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3084        super(client, protocolFactory, transport, resultHandler, false);
3085        this.increments = increments;
3086      }
3087
3088      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3089        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("incrementRows", org.apache.thrift.protocol.TMessageType.CALL, 0));
3090        incrementRows_args args = new incrementRows_args();
3091        args.setIncrements(increments);
3092        args.write(prot);
3093        prot.writeMessageEnd();
3094      }
3095
3096      public void getResult() throws IOError, org.apache.thrift.TException {
3097        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3098          throw new IllegalStateException("Method call not finished!");
3099        }
3100        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3101        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3102        (new Client(prot)).recv_incrementRows();
3103      }
3104    }
3105
3106    public void deleteAllRowTs(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<deleteAllRowTs_call> resultHandler) throws org.apache.thrift.TException {
3107      checkReady();
3108      deleteAllRowTs_call method_call = new deleteAllRowTs_call(tableName, row, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport);
3109      this.___currentMethod = method_call;
3110      ___manager.call(method_call);
3111    }
3112
3113    public static class deleteAllRowTs_call extends org.apache.thrift.async.TAsyncMethodCall {
3114      private ByteBuffer tableName;
3115      private ByteBuffer row;
3116      private long timestamp;
3117      private Map<ByteBuffer,ByteBuffer> attributes;
3118      public deleteAllRowTs_call(ByteBuffer tableName, ByteBuffer row, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<deleteAllRowTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3119        super(client, protocolFactory, transport, resultHandler, false);
3120        this.tableName = tableName;
3121        this.row = row;
3122        this.timestamp = timestamp;
3123        this.attributes = attributes;
3124      }
3125
3126      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3127        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteAllRowTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
3128        deleteAllRowTs_args args = new deleteAllRowTs_args();
3129        args.setTableName(tableName);
3130        args.setRow(row);
3131        args.setTimestamp(timestamp);
3132        args.setAttributes(attributes);
3133        args.write(prot);
3134        prot.writeMessageEnd();
3135      }
3136
3137      public void getResult() throws IOError, org.apache.thrift.TException {
3138        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3139          throw new IllegalStateException("Method call not finished!");
3140        }
3141        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3142        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3143        (new Client(prot)).recv_deleteAllRowTs();
3144      }
3145    }
3146
3147    public void scannerOpenWithScan(ByteBuffer tableName, TScan scan, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpenWithScan_call> resultHandler) throws org.apache.thrift.TException {
3148      checkReady();
3149      scannerOpenWithScan_call method_call = new scannerOpenWithScan_call(tableName, scan, attributes, resultHandler, this, ___protocolFactory, ___transport);
3150      this.___currentMethod = method_call;
3151      ___manager.call(method_call);
3152    }
3153
3154    public static class scannerOpenWithScan_call extends org.apache.thrift.async.TAsyncMethodCall {
3155      private ByteBuffer tableName;
3156      private TScan scan;
3157      private Map<ByteBuffer,ByteBuffer> attributes;
3158      public scannerOpenWithScan_call(ByteBuffer tableName, TScan scan, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpenWithScan_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3159        super(client, protocolFactory, transport, resultHandler, false);
3160        this.tableName = tableName;
3161        this.scan = scan;
3162        this.attributes = attributes;
3163      }
3164
3165      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3166        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpenWithScan", org.apache.thrift.protocol.TMessageType.CALL, 0));
3167        scannerOpenWithScan_args args = new scannerOpenWithScan_args();
3168        args.setTableName(tableName);
3169        args.setScan(scan);
3170        args.setAttributes(attributes);
3171        args.write(prot);
3172        prot.writeMessageEnd();
3173      }
3174
3175      public int getResult() throws IOError, org.apache.thrift.TException {
3176        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3177          throw new IllegalStateException("Method call not finished!");
3178        }
3179        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3180        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3181        return (new Client(prot)).recv_scannerOpenWithScan();
3182      }
3183    }
3184
3185    public void scannerOpen(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpen_call> resultHandler) throws org.apache.thrift.TException {
3186      checkReady();
3187      scannerOpen_call method_call = new scannerOpen_call(tableName, startRow, columns, attributes, resultHandler, this, ___protocolFactory, ___transport);
3188      this.___currentMethod = method_call;
3189      ___manager.call(method_call);
3190    }
3191
3192    public static class scannerOpen_call extends org.apache.thrift.async.TAsyncMethodCall {
3193      private ByteBuffer tableName;
3194      private ByteBuffer startRow;
3195      private List<ByteBuffer> columns;
3196      private Map<ByteBuffer,ByteBuffer> attributes;
3197      public scannerOpen_call(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpen_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3198        super(client, protocolFactory, transport, resultHandler, false);
3199        this.tableName = tableName;
3200        this.startRow = startRow;
3201        this.columns = columns;
3202        this.attributes = attributes;
3203      }
3204
3205      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3206        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpen", org.apache.thrift.protocol.TMessageType.CALL, 0));
3207        scannerOpen_args args = new scannerOpen_args();
3208        args.setTableName(tableName);
3209        args.setStartRow(startRow);
3210        args.setColumns(columns);
3211        args.setAttributes(attributes);
3212        args.write(prot);
3213        prot.writeMessageEnd();
3214      }
3215
3216      public int getResult() throws IOError, org.apache.thrift.TException {
3217        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3218          throw new IllegalStateException("Method call not finished!");
3219        }
3220        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3221        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3222        return (new Client(prot)).recv_scannerOpen();
3223      }
3224    }
3225
3226    public void scannerOpenWithStop(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpenWithStop_call> resultHandler) throws org.apache.thrift.TException {
3227      checkReady();
3228      scannerOpenWithStop_call method_call = new scannerOpenWithStop_call(tableName, startRow, stopRow, columns, attributes, resultHandler, this, ___protocolFactory, ___transport);
3229      this.___currentMethod = method_call;
3230      ___manager.call(method_call);
3231    }
3232
3233    public static class scannerOpenWithStop_call extends org.apache.thrift.async.TAsyncMethodCall {
3234      private ByteBuffer tableName;
3235      private ByteBuffer startRow;
3236      private ByteBuffer stopRow;
3237      private List<ByteBuffer> columns;
3238      private Map<ByteBuffer,ByteBuffer> attributes;
3239      public scannerOpenWithStop_call(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpenWithStop_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3240        super(client, protocolFactory, transport, resultHandler, false);
3241        this.tableName = tableName;
3242        this.startRow = startRow;
3243        this.stopRow = stopRow;
3244        this.columns = columns;
3245        this.attributes = attributes;
3246      }
3247
3248      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3249        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpenWithStop", org.apache.thrift.protocol.TMessageType.CALL, 0));
3250        scannerOpenWithStop_args args = new scannerOpenWithStop_args();
3251        args.setTableName(tableName);
3252        args.setStartRow(startRow);
3253        args.setStopRow(stopRow);
3254        args.setColumns(columns);
3255        args.setAttributes(attributes);
3256        args.write(prot);
3257        prot.writeMessageEnd();
3258      }
3259
3260      public int getResult() throws IOError, org.apache.thrift.TException {
3261        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3262          throw new IllegalStateException("Method call not finished!");
3263        }
3264        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3265        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3266        return (new Client(prot)).recv_scannerOpenWithStop();
3267      }
3268    }
3269
3270    public void scannerOpenWithPrefix(ByteBuffer tableName, ByteBuffer startAndPrefix, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpenWithPrefix_call> resultHandler) throws org.apache.thrift.TException {
3271      checkReady();
3272      scannerOpenWithPrefix_call method_call = new scannerOpenWithPrefix_call(tableName, startAndPrefix, columns, attributes, resultHandler, this, ___protocolFactory, ___transport);
3273      this.___currentMethod = method_call;
3274      ___manager.call(method_call);
3275    }
3276
3277    public static class scannerOpenWithPrefix_call extends org.apache.thrift.async.TAsyncMethodCall {
3278      private ByteBuffer tableName;
3279      private ByteBuffer startAndPrefix;
3280      private List<ByteBuffer> columns;
3281      private Map<ByteBuffer,ByteBuffer> attributes;
3282      public scannerOpenWithPrefix_call(ByteBuffer tableName, ByteBuffer startAndPrefix, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpenWithPrefix_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3283        super(client, protocolFactory, transport, resultHandler, false);
3284        this.tableName = tableName;
3285        this.startAndPrefix = startAndPrefix;
3286        this.columns = columns;
3287        this.attributes = attributes;
3288      }
3289
3290      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3291        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpenWithPrefix", org.apache.thrift.protocol.TMessageType.CALL, 0));
3292        scannerOpenWithPrefix_args args = new scannerOpenWithPrefix_args();
3293        args.setTableName(tableName);
3294        args.setStartAndPrefix(startAndPrefix);
3295        args.setColumns(columns);
3296        args.setAttributes(attributes);
3297        args.write(prot);
3298        prot.writeMessageEnd();
3299      }
3300
3301      public int getResult() throws IOError, org.apache.thrift.TException {
3302        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3303          throw new IllegalStateException("Method call not finished!");
3304        }
3305        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3306        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3307        return (new Client(prot)).recv_scannerOpenWithPrefix();
3308      }
3309    }
3310
3311    public void scannerOpenTs(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpenTs_call> resultHandler) throws org.apache.thrift.TException {
3312      checkReady();
3313      scannerOpenTs_call method_call = new scannerOpenTs_call(tableName, startRow, columns, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport);
3314      this.___currentMethod = method_call;
3315      ___manager.call(method_call);
3316    }
3317
3318    public static class scannerOpenTs_call extends org.apache.thrift.async.TAsyncMethodCall {
3319      private ByteBuffer tableName;
3320      private ByteBuffer startRow;
3321      private List<ByteBuffer> columns;
3322      private long timestamp;
3323      private Map<ByteBuffer,ByteBuffer> attributes;
3324      public scannerOpenTs_call(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpenTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3325        super(client, protocolFactory, transport, resultHandler, false);
3326        this.tableName = tableName;
3327        this.startRow = startRow;
3328        this.columns = columns;
3329        this.timestamp = timestamp;
3330        this.attributes = attributes;
3331      }
3332
3333      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3334        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpenTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
3335        scannerOpenTs_args args = new scannerOpenTs_args();
3336        args.setTableName(tableName);
3337        args.setStartRow(startRow);
3338        args.setColumns(columns);
3339        args.setTimestamp(timestamp);
3340        args.setAttributes(attributes);
3341        args.write(prot);
3342        prot.writeMessageEnd();
3343      }
3344
3345      public int getResult() throws IOError, org.apache.thrift.TException {
3346        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3347          throw new IllegalStateException("Method call not finished!");
3348        }
3349        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3350        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3351        return (new Client(prot)).recv_scannerOpenTs();
3352      }
3353    }
3354
3355    public void scannerOpenWithStopTs(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpenWithStopTs_call> resultHandler) throws org.apache.thrift.TException {
3356      checkReady();
3357      scannerOpenWithStopTs_call method_call = new scannerOpenWithStopTs_call(tableName, startRow, stopRow, columns, timestamp, attributes, resultHandler, this, ___protocolFactory, ___transport);
3358      this.___currentMethod = method_call;
3359      ___manager.call(method_call);
3360    }
3361
3362    public static class scannerOpenWithStopTs_call extends org.apache.thrift.async.TAsyncMethodCall {
3363      private ByteBuffer tableName;
3364      private ByteBuffer startRow;
3365      private ByteBuffer stopRow;
3366      private List<ByteBuffer> columns;
3367      private long timestamp;
3368      private Map<ByteBuffer,ByteBuffer> attributes;
3369      public scannerOpenWithStopTs_call(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, long timestamp, Map<ByteBuffer,ByteBuffer> attributes, org.apache.thrift.async.AsyncMethodCallback<scannerOpenWithStopTs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3370        super(client, protocolFactory, transport, resultHandler, false);
3371        this.tableName = tableName;
3372        this.startRow = startRow;
3373        this.stopRow = stopRow;
3374        this.columns = columns;
3375        this.timestamp = timestamp;
3376        this.attributes = attributes;
3377      }
3378
3379      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3380        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerOpenWithStopTs", org.apache.thrift.protocol.TMessageType.CALL, 0));
3381        scannerOpenWithStopTs_args args = new scannerOpenWithStopTs_args();
3382        args.setTableName(tableName);
3383        args.setStartRow(startRow);
3384        args.setStopRow(stopRow);
3385        args.setColumns(columns);
3386        args.setTimestamp(timestamp);
3387        args.setAttributes(attributes);
3388        args.write(prot);
3389        prot.writeMessageEnd();
3390      }
3391
3392      public int getResult() throws IOError, org.apache.thrift.TException {
3393        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3394          throw new IllegalStateException("Method call not finished!");
3395        }
3396        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3397        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3398        return (new Client(prot)).recv_scannerOpenWithStopTs();
3399      }
3400    }
3401
3402    public void scannerGet(int id, org.apache.thrift.async.AsyncMethodCallback<scannerGet_call> resultHandler) throws org.apache.thrift.TException {
3403      checkReady();
3404      scannerGet_call method_call = new scannerGet_call(id, resultHandler, this, ___protocolFactory, ___transport);
3405      this.___currentMethod = method_call;
3406      ___manager.call(method_call);
3407    }
3408
3409    public static class scannerGet_call extends org.apache.thrift.async.TAsyncMethodCall {
3410      private int id;
3411      public scannerGet_call(int id, org.apache.thrift.async.AsyncMethodCallback<scannerGet_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3412        super(client, protocolFactory, transport, resultHandler, false);
3413        this.id = id;
3414      }
3415
3416      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3417        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerGet", org.apache.thrift.protocol.TMessageType.CALL, 0));
3418        scannerGet_args args = new scannerGet_args();
3419        args.setId(id);
3420        args.write(prot);
3421        prot.writeMessageEnd();
3422      }
3423
3424      public List<TRowResult> getResult() throws IOError, IllegalArgument, org.apache.thrift.TException {
3425        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3426          throw new IllegalStateException("Method call not finished!");
3427        }
3428        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3429        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3430        return (new Client(prot)).recv_scannerGet();
3431      }
3432    }
3433
3434    public void scannerGetList(int id, int nbRows, org.apache.thrift.async.AsyncMethodCallback<scannerGetList_call> resultHandler) throws org.apache.thrift.TException {
3435      checkReady();
3436      scannerGetList_call method_call = new scannerGetList_call(id, nbRows, resultHandler, this, ___protocolFactory, ___transport);
3437      this.___currentMethod = method_call;
3438      ___manager.call(method_call);
3439    }
3440
3441    public static class scannerGetList_call extends org.apache.thrift.async.TAsyncMethodCall {
3442      private int id;
3443      private int nbRows;
3444      public scannerGetList_call(int id, int nbRows, org.apache.thrift.async.AsyncMethodCallback<scannerGetList_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3445        super(client, protocolFactory, transport, resultHandler, false);
3446        this.id = id;
3447        this.nbRows = nbRows;
3448      }
3449
3450      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3451        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerGetList", org.apache.thrift.protocol.TMessageType.CALL, 0));
3452        scannerGetList_args args = new scannerGetList_args();
3453        args.setId(id);
3454        args.setNbRows(nbRows);
3455        args.write(prot);
3456        prot.writeMessageEnd();
3457      }
3458
3459      public List<TRowResult> getResult() throws IOError, IllegalArgument, org.apache.thrift.TException {
3460        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3461          throw new IllegalStateException("Method call not finished!");
3462        }
3463        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3464        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3465        return (new Client(prot)).recv_scannerGetList();
3466      }
3467    }
3468
3469    public void scannerClose(int id, org.apache.thrift.async.AsyncMethodCallback<scannerClose_call> resultHandler) throws org.apache.thrift.TException {
3470      checkReady();
3471      scannerClose_call method_call = new scannerClose_call(id, resultHandler, this, ___protocolFactory, ___transport);
3472      this.___currentMethod = method_call;
3473      ___manager.call(method_call);
3474    }
3475
3476    public static class scannerClose_call extends org.apache.thrift.async.TAsyncMethodCall {
3477      private int id;
3478      public scannerClose_call(int id, org.apache.thrift.async.AsyncMethodCallback<scannerClose_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3479        super(client, protocolFactory, transport, resultHandler, false);
3480        this.id = id;
3481      }
3482
3483      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3484        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scannerClose", org.apache.thrift.protocol.TMessageType.CALL, 0));
3485        scannerClose_args args = new scannerClose_args();
3486        args.setId(id);
3487        args.write(prot);
3488        prot.writeMessageEnd();
3489      }
3490
3491      public void getResult() throws IOError, IllegalArgument, org.apache.thrift.TException {
3492        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3493          throw new IllegalStateException("Method call not finished!");
3494        }
3495        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3496        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3497        (new Client(prot)).recv_scannerClose();
3498      }
3499    }
3500
3501    public void getRowOrBefore(ByteBuffer tableName, ByteBuffer row, ByteBuffer family, org.apache.thrift.async.AsyncMethodCallback<getRowOrBefore_call> resultHandler) throws org.apache.thrift.TException {
3502      checkReady();
3503      getRowOrBefore_call method_call = new getRowOrBefore_call(tableName, row, family, resultHandler, this, ___protocolFactory, ___transport);
3504      this.___currentMethod = method_call;
3505      ___manager.call(method_call);
3506    }
3507
3508    public static class getRowOrBefore_call extends org.apache.thrift.async.TAsyncMethodCall {
3509      private ByteBuffer tableName;
3510      private ByteBuffer row;
3511      private ByteBuffer family;
3512      public getRowOrBefore_call(ByteBuffer tableName, ByteBuffer row, ByteBuffer family, org.apache.thrift.async.AsyncMethodCallback<getRowOrBefore_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3513        super(client, protocolFactory, transport, resultHandler, false);
3514        this.tableName = tableName;
3515        this.row = row;
3516        this.family = family;
3517      }
3518
3519      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3520        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowOrBefore", org.apache.thrift.protocol.TMessageType.CALL, 0));
3521        getRowOrBefore_args args = new getRowOrBefore_args();
3522        args.setTableName(tableName);
3523        args.setRow(row);
3524        args.setFamily(family);
3525        args.write(prot);
3526        prot.writeMessageEnd();
3527      }
3528
3529      public List<TCell> getResult() throws IOError, org.apache.thrift.TException {
3530        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3531          throw new IllegalStateException("Method call not finished!");
3532        }
3533        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3534        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3535        return (new Client(prot)).recv_getRowOrBefore();
3536      }
3537    }
3538
3539    public void getRegionInfo(ByteBuffer row, org.apache.thrift.async.AsyncMethodCallback<getRegionInfo_call> resultHandler) throws org.apache.thrift.TException {
3540      checkReady();
3541      getRegionInfo_call method_call = new getRegionInfo_call(row, resultHandler, this, ___protocolFactory, ___transport);
3542      this.___currentMethod = method_call;
3543      ___manager.call(method_call);
3544    }
3545
3546    public static class getRegionInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
3547      private ByteBuffer row;
3548      public getRegionInfo_call(ByteBuffer row, org.apache.thrift.async.AsyncMethodCallback<getRegionInfo_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3549        super(client, protocolFactory, transport, resultHandler, false);
3550        this.row = row;
3551      }
3552
3553      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3554        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRegionInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
3555        getRegionInfo_args args = new getRegionInfo_args();
3556        args.setRow(row);
3557        args.write(prot);
3558        prot.writeMessageEnd();
3559      }
3560
3561      public TRegionInfo getResult() throws IOError, org.apache.thrift.TException {
3562        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3563          throw new IllegalStateException("Method call not finished!");
3564        }
3565        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3566        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3567        return (new Client(prot)).recv_getRegionInfo();
3568      }
3569    }
3570
3571  }
3572
3573  public static class Processor<I extends Iface> extends org.apache.thrift.TBaseProcessor<I> implements org.apache.thrift.TProcessor {
3574    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
3575    public Processor(I iface) {
3576      super(iface, getProcessMap(new HashMap<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>>()));
3577    }
3578
3579    protected Processor(I iface, Map<String,  org.apache.thrift.ProcessFunction<I, ? extends  org.apache.thrift.TBase>> processMap) {
3580      super(iface, getProcessMap(processMap));
3581    }
3582
3583    private static <I extends Iface> Map<String,  org.apache.thrift.ProcessFunction<I, ? extends  org.apache.thrift.TBase>> getProcessMap(Map<String,  org.apache.thrift.ProcessFunction<I, ? extends  org.apache.thrift.TBase>> processMap) {
3584      processMap.put("enableTable", new enableTable());
3585      processMap.put("disableTable", new disableTable());
3586      processMap.put("isTableEnabled", new isTableEnabled());
3587      processMap.put("compact", new compact());
3588      processMap.put("majorCompact", new majorCompact());
3589      processMap.put("getTableNames", new getTableNames());
3590      processMap.put("getColumnDescriptors", new getColumnDescriptors());
3591      processMap.put("getTableRegions", new getTableRegions());
3592      processMap.put("createTable", new createTable());
3593      processMap.put("deleteTable", new deleteTable());
3594      processMap.put("get", new get());
3595      processMap.put("getVer", new getVer());
3596      processMap.put("getVerTs", new getVerTs());
3597      processMap.put("getRow", new getRow());
3598      processMap.put("getRowWithColumns", new getRowWithColumns());
3599      processMap.put("getRowTs", new getRowTs());
3600      processMap.put("getRowWithColumnsTs", new getRowWithColumnsTs());
3601      processMap.put("getRows", new getRows());
3602      processMap.put("getRowsWithColumns", new getRowsWithColumns());
3603      processMap.put("getRowsTs", new getRowsTs());
3604      processMap.put("getRowsWithColumnsTs", new getRowsWithColumnsTs());
3605      processMap.put("mutateRow", new mutateRow());
3606      processMap.put("mutateRowTs", new mutateRowTs());
3607      processMap.put("mutateRows", new mutateRows());
3608      processMap.put("mutateRowsTs", new mutateRowsTs());
3609      processMap.put("atomicIncrement", new atomicIncrement());
3610      processMap.put("deleteAll", new deleteAll());
3611      processMap.put("deleteAllTs", new deleteAllTs());
3612      processMap.put("deleteAllRow", new deleteAllRow());
3613      processMap.put("increment", new increment());
3614      processMap.put("incrementRows", new incrementRows());
3615      processMap.put("deleteAllRowTs", new deleteAllRowTs());
3616      processMap.put("scannerOpenWithScan", new scannerOpenWithScan());
3617      processMap.put("scannerOpen", new scannerOpen());
3618      processMap.put("scannerOpenWithStop", new scannerOpenWithStop());
3619      processMap.put("scannerOpenWithPrefix", new scannerOpenWithPrefix());
3620      processMap.put("scannerOpenTs", new scannerOpenTs());
3621      processMap.put("scannerOpenWithStopTs", new scannerOpenWithStopTs());
3622      processMap.put("scannerGet", new scannerGet());
3623      processMap.put("scannerGetList", new scannerGetList());
3624      processMap.put("scannerClose", new scannerClose());
3625      processMap.put("getRowOrBefore", new getRowOrBefore());
3626      processMap.put("getRegionInfo", new getRegionInfo());
3627      return processMap;
3628    }
3629
3630    private static class enableTable<I extends Iface> extends org.apache.thrift.ProcessFunction<I, enableTable_args> {
3631      public enableTable() {
3632        super("enableTable");
3633      }
3634
3635      protected enableTable_args getEmptyArgsInstance() {
3636        return new enableTable_args();
3637      }
3638
3639      protected enableTable_result getResult(I iface, enableTable_args args) throws org.apache.thrift.TException {
3640        enableTable_result result = new enableTable_result();
3641        try {
3642          iface.enableTable(args.tableName);
3643        } catch (IOError io) {
3644          result.io = io;
3645        }
3646        return result;
3647      }
3648    }
3649
3650    private static class disableTable<I extends Iface> extends org.apache.thrift.ProcessFunction<I, disableTable_args> {
3651      public disableTable() {
3652        super("disableTable");
3653      }
3654
3655      protected disableTable_args getEmptyArgsInstance() {
3656        return new disableTable_args();
3657      }
3658
3659      protected disableTable_result getResult(I iface, disableTable_args args) throws org.apache.thrift.TException {
3660        disableTable_result result = new disableTable_result();
3661        try {
3662          iface.disableTable(args.tableName);
3663        } catch (IOError io) {
3664          result.io = io;
3665        }
3666        return result;
3667      }
3668    }
3669
3670    private static class isTableEnabled<I extends Iface> extends org.apache.thrift.ProcessFunction<I, isTableEnabled_args> {
3671      public isTableEnabled() {
3672        super("isTableEnabled");
3673      }
3674
3675      protected isTableEnabled_args getEmptyArgsInstance() {
3676        return new isTableEnabled_args();
3677      }
3678
3679      protected isTableEnabled_result getResult(I iface, isTableEnabled_args args) throws org.apache.thrift.TException {
3680        isTableEnabled_result result = new isTableEnabled_result();
3681        try {
3682          result.success = iface.isTableEnabled(args.tableName);
3683          result.setSuccessIsSet(true);
3684        } catch (IOError io) {
3685          result.io = io;
3686        }
3687        return result;
3688      }
3689    }
3690
3691    private static class compact<I extends Iface> extends org.apache.thrift.ProcessFunction<I, compact_args> {
3692      public compact() {
3693        super("compact");
3694      }
3695
3696      protected compact_args getEmptyArgsInstance() {
3697        return new compact_args();
3698      }
3699
3700      protected compact_result getResult(I iface, compact_args args) throws org.apache.thrift.TException {
3701        compact_result result = new compact_result();
3702        try {
3703          iface.compact(args.tableNameOrRegionName);
3704        } catch (IOError io) {
3705          result.io = io;
3706        }
3707        return result;
3708      }
3709    }
3710
3711    private static class majorCompact<I extends Iface> extends org.apache.thrift.ProcessFunction<I, majorCompact_args> {
3712      public majorCompact() {
3713        super("majorCompact");
3714      }
3715
3716      protected majorCompact_args getEmptyArgsInstance() {
3717        return new majorCompact_args();
3718      }
3719
3720      protected majorCompact_result getResult(I iface, majorCompact_args args) throws org.apache.thrift.TException {
3721        majorCompact_result result = new majorCompact_result();
3722        try {
3723          iface.majorCompact(args.tableNameOrRegionName);
3724        } catch (IOError io) {
3725          result.io = io;
3726        }
3727        return result;
3728      }
3729    }
3730
3731    private static class getTableNames<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTableNames_args> {
3732      public getTableNames() {
3733        super("getTableNames");
3734      }
3735
3736      protected getTableNames_args getEmptyArgsInstance() {
3737        return new getTableNames_args();
3738      }
3739
3740      protected getTableNames_result getResult(I iface, getTableNames_args args) throws org.apache.thrift.TException {
3741        getTableNames_result result = new getTableNames_result();
3742        try {
3743          result.success = iface.getTableNames();
3744        } catch (IOError io) {
3745          result.io = io;
3746        }
3747        return result;
3748      }
3749    }
3750
3751    private static class getColumnDescriptors<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getColumnDescriptors_args> {
3752      public getColumnDescriptors() {
3753        super("getColumnDescriptors");
3754      }
3755
3756      protected getColumnDescriptors_args getEmptyArgsInstance() {
3757        return new getColumnDescriptors_args();
3758      }
3759
3760      protected getColumnDescriptors_result getResult(I iface, getColumnDescriptors_args args) throws org.apache.thrift.TException {
3761        getColumnDescriptors_result result = new getColumnDescriptors_result();
3762        try {
3763          result.success = iface.getColumnDescriptors(args.tableName);
3764        } catch (IOError io) {
3765          result.io = io;
3766        }
3767        return result;
3768      }
3769    }
3770
3771    private static class getTableRegions<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTableRegions_args> {
3772      public getTableRegions() {
3773        super("getTableRegions");
3774      }
3775
3776      protected getTableRegions_args getEmptyArgsInstance() {
3777        return new getTableRegions_args();
3778      }
3779
3780      protected getTableRegions_result getResult(I iface, getTableRegions_args args) throws org.apache.thrift.TException {
3781        getTableRegions_result result = new getTableRegions_result();
3782        try {
3783          result.success = iface.getTableRegions(args.tableName);
3784        } catch (IOError io) {
3785          result.io = io;
3786        }
3787        return result;
3788      }
3789    }
3790
3791    private static class createTable<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTable_args> {
3792      public createTable() {
3793        super("createTable");
3794      }
3795
3796      protected createTable_args getEmptyArgsInstance() {
3797        return new createTable_args();
3798      }
3799
3800      protected createTable_result getResult(I iface, createTable_args args) throws org.apache.thrift.TException {
3801        createTable_result result = new createTable_result();
3802        try {
3803          iface.createTable(args.tableName, args.columnFamilies);
3804        } catch (IOError io) {
3805          result.io = io;
3806        } catch (IllegalArgument ia) {
3807          result.ia = ia;
3808        } catch (AlreadyExists exist) {
3809          result.exist = exist;
3810        }
3811        return result;
3812      }
3813    }
3814
3815    private static class deleteTable<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteTable_args> {
3816      public deleteTable() {
3817        super("deleteTable");
3818      }
3819
3820      protected deleteTable_args getEmptyArgsInstance() {
3821        return new deleteTable_args();
3822      }
3823
3824      protected deleteTable_result getResult(I iface, deleteTable_args args) throws org.apache.thrift.TException {
3825        deleteTable_result result = new deleteTable_result();
3826        try {
3827          iface.deleteTable(args.tableName);
3828        } catch (IOError io) {
3829          result.io = io;
3830        }
3831        return result;
3832      }
3833    }
3834
3835    private static class get<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_args> {
3836      public get() {
3837        super("get");
3838      }
3839
3840      protected get_args getEmptyArgsInstance() {
3841        return new get_args();
3842      }
3843
3844      protected get_result getResult(I iface, get_args args) throws org.apache.thrift.TException {
3845        get_result result = new get_result();
3846        try {
3847          result.success = iface.get(args.tableName, args.row, args.column, args.attributes);
3848        } catch (IOError io) {
3849          result.io = io;
3850        }
3851        return result;
3852      }
3853    }
3854
3855    private static class getVer<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getVer_args> {
3856      public getVer() {
3857        super("getVer");
3858      }
3859
3860      protected getVer_args getEmptyArgsInstance() {
3861        return new getVer_args();
3862      }
3863
3864      protected getVer_result getResult(I iface, getVer_args args) throws org.apache.thrift.TException {
3865        getVer_result result = new getVer_result();
3866        try {
3867          result.success = iface.getVer(args.tableName, args.row, args.column, args.numVersions, args.attributes);
3868        } catch (IOError io) {
3869          result.io = io;
3870        }
3871        return result;
3872      }
3873    }
3874
3875    private static class getVerTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getVerTs_args> {
3876      public getVerTs() {
3877        super("getVerTs");
3878      }
3879
3880      protected getVerTs_args getEmptyArgsInstance() {
3881        return new getVerTs_args();
3882      }
3883
3884      protected getVerTs_result getResult(I iface, getVerTs_args args) throws org.apache.thrift.TException {
3885        getVerTs_result result = new getVerTs_result();
3886        try {
3887          result.success = iface.getVerTs(args.tableName, args.row, args.column, args.timestamp, args.numVersions, args.attributes);
3888        } catch (IOError io) {
3889          result.io = io;
3890        }
3891        return result;
3892      }
3893    }
3894
3895    private static class getRow<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRow_args> {
3896      public getRow() {
3897        super("getRow");
3898      }
3899
3900      protected getRow_args getEmptyArgsInstance() {
3901        return new getRow_args();
3902      }
3903
3904      protected getRow_result getResult(I iface, getRow_args args) throws org.apache.thrift.TException {
3905        getRow_result result = new getRow_result();
3906        try {
3907          result.success = iface.getRow(args.tableName, args.row, args.attributes);
3908        } catch (IOError io) {
3909          result.io = io;
3910        }
3911        return result;
3912      }
3913    }
3914
3915    private static class getRowWithColumns<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRowWithColumns_args> {
3916      public getRowWithColumns() {
3917        super("getRowWithColumns");
3918      }
3919
3920      protected getRowWithColumns_args getEmptyArgsInstance() {
3921        return new getRowWithColumns_args();
3922      }
3923
3924      protected getRowWithColumns_result getResult(I iface, getRowWithColumns_args args) throws org.apache.thrift.TException {
3925        getRowWithColumns_result result = new getRowWithColumns_result();
3926        try {
3927          result.success = iface.getRowWithColumns(args.tableName, args.row, args.columns, args.attributes);
3928        } catch (IOError io) {
3929          result.io = io;
3930        }
3931        return result;
3932      }
3933    }
3934
3935    private static class getRowTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRowTs_args> {
3936      public getRowTs() {
3937        super("getRowTs");
3938      }
3939
3940      protected getRowTs_args getEmptyArgsInstance() {
3941        return new getRowTs_args();
3942      }
3943
3944      protected getRowTs_result getResult(I iface, getRowTs_args args) throws org.apache.thrift.TException {
3945        getRowTs_result result = new getRowTs_result();
3946        try {
3947          result.success = iface.getRowTs(args.tableName, args.row, args.timestamp, args.attributes);
3948        } catch (IOError io) {
3949          result.io = io;
3950        }
3951        return result;
3952      }
3953    }
3954
3955    private static class getRowWithColumnsTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRowWithColumnsTs_args> {
3956      public getRowWithColumnsTs() {
3957        super("getRowWithColumnsTs");
3958      }
3959
3960      protected getRowWithColumnsTs_args getEmptyArgsInstance() {
3961        return new getRowWithColumnsTs_args();
3962      }
3963
3964      protected getRowWithColumnsTs_result getResult(I iface, getRowWithColumnsTs_args args) throws org.apache.thrift.TException {
3965        getRowWithColumnsTs_result result = new getRowWithColumnsTs_result();
3966        try {
3967          result.success = iface.getRowWithColumnsTs(args.tableName, args.row, args.columns, args.timestamp, args.attributes);
3968        } catch (IOError io) {
3969          result.io = io;
3970        }
3971        return result;
3972      }
3973    }
3974
3975    private static class getRows<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRows_args> {
3976      public getRows() {
3977        super("getRows");
3978      }
3979
3980      protected getRows_args getEmptyArgsInstance() {
3981        return new getRows_args();
3982      }
3983
3984      protected getRows_result getResult(I iface, getRows_args args) throws org.apache.thrift.TException {
3985        getRows_result result = new getRows_result();
3986        try {
3987          result.success = iface.getRows(args.tableName, args.rows, args.attributes);
3988        } catch (IOError io) {
3989          result.io = io;
3990        }
3991        return result;
3992      }
3993    }
3994
3995    private static class getRowsWithColumns<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRowsWithColumns_args> {
3996      public getRowsWithColumns() {
3997        super("getRowsWithColumns");
3998      }
3999
4000      protected getRowsWithColumns_args getEmptyArgsInstance() {
4001        return new getRowsWithColumns_args();
4002      }
4003
4004      protected getRowsWithColumns_result getResult(I iface, getRowsWithColumns_args args) throws org.apache.thrift.TException {
4005        getRowsWithColumns_result result = new getRowsWithColumns_result();
4006        try {
4007          result.success = iface.getRowsWithColumns(args.tableName, args.rows, args.columns, args.attributes);
4008        } catch (IOError io) {
4009          result.io = io;
4010        }
4011        return result;
4012      }
4013    }
4014
4015    private static class getRowsTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRowsTs_args> {
4016      public getRowsTs() {
4017        super("getRowsTs");
4018      }
4019
4020      protected getRowsTs_args getEmptyArgsInstance() {
4021        return new getRowsTs_args();
4022      }
4023
4024      protected getRowsTs_result getResult(I iface, getRowsTs_args args) throws org.apache.thrift.TException {
4025        getRowsTs_result result = new getRowsTs_result();
4026        try {
4027          result.success = iface.getRowsTs(args.tableName, args.rows, args.timestamp, args.attributes);
4028        } catch (IOError io) {
4029          result.io = io;
4030        }
4031        return result;
4032      }
4033    }
4034
4035    private static class getRowsWithColumnsTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRowsWithColumnsTs_args> {
4036      public getRowsWithColumnsTs() {
4037        super("getRowsWithColumnsTs");
4038      }
4039
4040      protected getRowsWithColumnsTs_args getEmptyArgsInstance() {
4041        return new getRowsWithColumnsTs_args();
4042      }
4043
4044      protected getRowsWithColumnsTs_result getResult(I iface, getRowsWithColumnsTs_args args) throws org.apache.thrift.TException {
4045        getRowsWithColumnsTs_result result = new getRowsWithColumnsTs_result();
4046        try {
4047          result.success = iface.getRowsWithColumnsTs(args.tableName, args.rows, args.columns, args.timestamp, args.attributes);
4048        } catch (IOError io) {
4049          result.io = io;
4050        }
4051        return result;
4052      }
4053    }
4054
4055    private static class mutateRow<I extends Iface> extends org.apache.thrift.ProcessFunction<I, mutateRow_args> {
4056      public mutateRow() {
4057        super("mutateRow");
4058      }
4059
4060      protected mutateRow_args getEmptyArgsInstance() {
4061        return new mutateRow_args();
4062      }
4063
4064      protected mutateRow_result getResult(I iface, mutateRow_args args) throws org.apache.thrift.TException {
4065        mutateRow_result result = new mutateRow_result();
4066        try {
4067          iface.mutateRow(args.tableName, args.row, args.mutations, args.attributes);
4068        } catch (IOError io) {
4069          result.io = io;
4070        } catch (IllegalArgument ia) {
4071          result.ia = ia;
4072        }
4073        return result;
4074      }
4075    }
4076
4077    private static class mutateRowTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, mutateRowTs_args> {
4078      public mutateRowTs() {
4079        super("mutateRowTs");
4080      }
4081
4082      protected mutateRowTs_args getEmptyArgsInstance() {
4083        return new mutateRowTs_args();
4084      }
4085
4086      protected mutateRowTs_result getResult(I iface, mutateRowTs_args args) throws org.apache.thrift.TException {
4087        mutateRowTs_result result = new mutateRowTs_result();
4088        try {
4089          iface.mutateRowTs(args.tableName, args.row, args.mutations, args.timestamp, args.attributes);
4090        } catch (IOError io) {
4091          result.io = io;
4092        } catch (IllegalArgument ia) {
4093          result.ia = ia;
4094        }
4095        return result;
4096      }
4097    }
4098
4099    private static class mutateRows<I extends Iface> extends org.apache.thrift.ProcessFunction<I, mutateRows_args> {
4100      public mutateRows() {
4101        super("mutateRows");
4102      }
4103
4104      protected mutateRows_args getEmptyArgsInstance() {
4105        return new mutateRows_args();
4106      }
4107
4108      protected mutateRows_result getResult(I iface, mutateRows_args args) throws org.apache.thrift.TException {
4109        mutateRows_result result = new mutateRows_result();
4110        try {
4111          iface.mutateRows(args.tableName, args.rowBatches, args.attributes);
4112        } catch (IOError io) {
4113          result.io = io;
4114        } catch (IllegalArgument ia) {
4115          result.ia = ia;
4116        }
4117        return result;
4118      }
4119    }
4120
4121    private static class mutateRowsTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, mutateRowsTs_args> {
4122      public mutateRowsTs() {
4123        super("mutateRowsTs");
4124      }
4125
4126      protected mutateRowsTs_args getEmptyArgsInstance() {
4127        return new mutateRowsTs_args();
4128      }
4129
4130      protected mutateRowsTs_result getResult(I iface, mutateRowsTs_args args) throws org.apache.thrift.TException {
4131        mutateRowsTs_result result = new mutateRowsTs_result();
4132        try {
4133          iface.mutateRowsTs(args.tableName, args.rowBatches, args.timestamp, args.attributes);
4134        } catch (IOError io) {
4135          result.io = io;
4136        } catch (IllegalArgument ia) {
4137          result.ia = ia;
4138        }
4139        return result;
4140      }
4141    }
4142
4143    private static class atomicIncrement<I extends Iface> extends org.apache.thrift.ProcessFunction<I, atomicIncrement_args> {
4144      public atomicIncrement() {
4145        super("atomicIncrement");
4146      }
4147
4148      protected atomicIncrement_args getEmptyArgsInstance() {
4149        return new atomicIncrement_args();
4150      }
4151
4152      protected atomicIncrement_result getResult(I iface, atomicIncrement_args args) throws org.apache.thrift.TException {
4153        atomicIncrement_result result = new atomicIncrement_result();
4154        try {
4155          result.success = iface.atomicIncrement(args.tableName, args.row, args.column, args.value);
4156          result.setSuccessIsSet(true);
4157        } catch (IOError io) {
4158          result.io = io;
4159        } catch (IllegalArgument ia) {
4160          result.ia = ia;
4161        }
4162        return result;
4163      }
4164    }
4165
4166    private static class deleteAll<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteAll_args> {
4167      public deleteAll() {
4168        super("deleteAll");
4169      }
4170
4171      protected deleteAll_args getEmptyArgsInstance() {
4172        return new deleteAll_args();
4173      }
4174
4175      protected deleteAll_result getResult(I iface, deleteAll_args args) throws org.apache.thrift.TException {
4176        deleteAll_result result = new deleteAll_result();
4177        try {
4178          iface.deleteAll(args.tableName, args.row, args.column, args.attributes);
4179        } catch (IOError io) {
4180          result.io = io;
4181        }
4182        return result;
4183      }
4184    }
4185
4186    private static class deleteAllTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteAllTs_args> {
4187      public deleteAllTs() {
4188        super("deleteAllTs");
4189      }
4190
4191      protected deleteAllTs_args getEmptyArgsInstance() {
4192        return new deleteAllTs_args();
4193      }
4194
4195      protected deleteAllTs_result getResult(I iface, deleteAllTs_args args) throws org.apache.thrift.TException {
4196        deleteAllTs_result result = new deleteAllTs_result();
4197        try {
4198          iface.deleteAllTs(args.tableName, args.row, args.column, args.timestamp, args.attributes);
4199        } catch (IOError io) {
4200          result.io = io;
4201        }
4202        return result;
4203      }
4204    }
4205
4206    private static class deleteAllRow<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteAllRow_args> {
4207      public deleteAllRow() {
4208        super("deleteAllRow");
4209      }
4210
4211      protected deleteAllRow_args getEmptyArgsInstance() {
4212        return new deleteAllRow_args();
4213      }
4214
4215      protected deleteAllRow_result getResult(I iface, deleteAllRow_args args) throws org.apache.thrift.TException {
4216        deleteAllRow_result result = new deleteAllRow_result();
4217        try {
4218          iface.deleteAllRow(args.tableName, args.row, args.attributes);
4219        } catch (IOError io) {
4220          result.io = io;
4221        }
4222        return result;
4223      }
4224    }
4225
4226    private static class increment<I extends Iface> extends org.apache.thrift.ProcessFunction<I, increment_args> {
4227      public increment() {
4228        super("increment");
4229      }
4230
4231      protected increment_args getEmptyArgsInstance() {
4232        return new increment_args();
4233      }
4234
4235      protected increment_result getResult(I iface, increment_args args) throws org.apache.thrift.TException {
4236        increment_result result = new increment_result();
4237        try {
4238          iface.increment(args.increment);
4239        } catch (IOError io) {
4240          result.io = io;
4241        }
4242        return result;
4243      }
4244    }
4245
4246    private static class incrementRows<I extends Iface> extends org.apache.thrift.ProcessFunction<I, incrementRows_args> {
4247      public incrementRows() {
4248        super("incrementRows");
4249      }
4250
4251      protected incrementRows_args getEmptyArgsInstance() {
4252        return new incrementRows_args();
4253      }
4254
4255      protected incrementRows_result getResult(I iface, incrementRows_args args) throws org.apache.thrift.TException {
4256        incrementRows_result result = new incrementRows_result();
4257        try {
4258          iface.incrementRows(args.increments);
4259        } catch (IOError io) {
4260          result.io = io;
4261        }
4262        return result;
4263      }
4264    }
4265
4266    private static class deleteAllRowTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteAllRowTs_args> {
4267      public deleteAllRowTs() {
4268        super("deleteAllRowTs");
4269      }
4270
4271      protected deleteAllRowTs_args getEmptyArgsInstance() {
4272        return new deleteAllRowTs_args();
4273      }
4274
4275      protected deleteAllRowTs_result getResult(I iface, deleteAllRowTs_args args) throws org.apache.thrift.TException {
4276        deleteAllRowTs_result result = new deleteAllRowTs_result();
4277        try {
4278          iface.deleteAllRowTs(args.tableName, args.row, args.timestamp, args.attributes);
4279        } catch (IOError io) {
4280          result.io = io;
4281        }
4282        return result;
4283      }
4284    }
4285
4286    private static class scannerOpenWithScan<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scannerOpenWithScan_args> {
4287      public scannerOpenWithScan() {
4288        super("scannerOpenWithScan");
4289      }
4290
4291      protected scannerOpenWithScan_args getEmptyArgsInstance() {
4292        return new scannerOpenWithScan_args();
4293      }
4294
4295      protected scannerOpenWithScan_result getResult(I iface, scannerOpenWithScan_args args) throws org.apache.thrift.TException {
4296        scannerOpenWithScan_result result = new scannerOpenWithScan_result();
4297        try {
4298          result.success = iface.scannerOpenWithScan(args.tableName, args.scan, args.attributes);
4299          result.setSuccessIsSet(true);
4300        } catch (IOError io) {
4301          result.io = io;
4302        }
4303        return result;
4304      }
4305    }
4306
4307    private static class scannerOpen<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scannerOpen_args> {
4308      public scannerOpen() {
4309        super("scannerOpen");
4310      }
4311
4312      protected scannerOpen_args getEmptyArgsInstance() {
4313        return new scannerOpen_args();
4314      }
4315
4316      protected scannerOpen_result getResult(I iface, scannerOpen_args args) throws org.apache.thrift.TException {
4317        scannerOpen_result result = new scannerOpen_result();
4318        try {
4319          result.success = iface.scannerOpen(args.tableName, args.startRow, args.columns, args.attributes);
4320          result.setSuccessIsSet(true);
4321        } catch (IOError io) {
4322          result.io = io;
4323        }
4324        return result;
4325      }
4326    }
4327
4328    private static class scannerOpenWithStop<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scannerOpenWithStop_args> {
4329      public scannerOpenWithStop() {
4330        super("scannerOpenWithStop");
4331      }
4332
4333      protected scannerOpenWithStop_args getEmptyArgsInstance() {
4334        return new scannerOpenWithStop_args();
4335      }
4336
4337      protected scannerOpenWithStop_result getResult(I iface, scannerOpenWithStop_args args) throws org.apache.thrift.TException {
4338        scannerOpenWithStop_result result = new scannerOpenWithStop_result();
4339        try {
4340          result.success = iface.scannerOpenWithStop(args.tableName, args.startRow, args.stopRow, args.columns, args.attributes);
4341          result.setSuccessIsSet(true);
4342        } catch (IOError io) {
4343          result.io = io;
4344        }
4345        return result;
4346      }
4347    }
4348
4349    private static class scannerOpenWithPrefix<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scannerOpenWithPrefix_args> {
4350      public scannerOpenWithPrefix() {
4351        super("scannerOpenWithPrefix");
4352      }
4353
4354      protected scannerOpenWithPrefix_args getEmptyArgsInstance() {
4355        return new scannerOpenWithPrefix_args();
4356      }
4357
4358      protected scannerOpenWithPrefix_result getResult(I iface, scannerOpenWithPrefix_args args) throws org.apache.thrift.TException {
4359        scannerOpenWithPrefix_result result = new scannerOpenWithPrefix_result();
4360        try {
4361          result.success = iface.scannerOpenWithPrefix(args.tableName, args.startAndPrefix, args.columns, args.attributes);
4362          result.setSuccessIsSet(true);
4363        } catch (IOError io) {
4364          result.io = io;
4365        }
4366        return result;
4367      }
4368    }
4369
4370    private static class scannerOpenTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scannerOpenTs_args> {
4371      public scannerOpenTs() {
4372        super("scannerOpenTs");
4373      }
4374
4375      protected scannerOpenTs_args getEmptyArgsInstance() {
4376        return new scannerOpenTs_args();
4377      }
4378
4379      protected scannerOpenTs_result getResult(I iface, scannerOpenTs_args args) throws org.apache.thrift.TException {
4380        scannerOpenTs_result result = new scannerOpenTs_result();
4381        try {
4382          result.success = iface.scannerOpenTs(args.tableName, args.startRow, args.columns, args.timestamp, args.attributes);
4383          result.setSuccessIsSet(true);
4384        } catch (IOError io) {
4385          result.io = io;
4386        }
4387        return result;
4388      }
4389    }
4390
4391    private static class scannerOpenWithStopTs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scannerOpenWithStopTs_args> {
4392      public scannerOpenWithStopTs() {
4393        super("scannerOpenWithStopTs");
4394      }
4395
4396      protected scannerOpenWithStopTs_args getEmptyArgsInstance() {
4397        return new scannerOpenWithStopTs_args();
4398      }
4399
4400      protected scannerOpenWithStopTs_result getResult(I iface, scannerOpenWithStopTs_args args) throws org.apache.thrift.TException {
4401        scannerOpenWithStopTs_result result = new scannerOpenWithStopTs_result();
4402        try {
4403          result.success = iface.scannerOpenWithStopTs(args.tableName, args.startRow, args.stopRow, args.columns, args.timestamp, args.attributes);
4404          result.setSuccessIsSet(true);
4405        } catch (IOError io) {
4406          result.io = io;
4407        }
4408        return result;
4409      }
4410    }
4411
4412    private static class scannerGet<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scannerGet_args> {
4413      public scannerGet() {
4414        super("scannerGet");
4415      }
4416
4417      protected scannerGet_args getEmptyArgsInstance() {
4418        return new scannerGet_args();
4419      }
4420
4421      protected scannerGet_result getResult(I iface, scannerGet_args args) throws org.apache.thrift.TException {
4422        scannerGet_result result = new scannerGet_result();
4423        try {
4424          result.success = iface.scannerGet(args.id);
4425        } catch (IOError io) {
4426          result.io = io;
4427        } catch (IllegalArgument ia) {
4428          result.ia = ia;
4429        }
4430        return result;
4431      }
4432    }
4433
4434    private static class scannerGetList<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scannerGetList_args> {
4435      public scannerGetList() {
4436        super("scannerGetList");
4437      }
4438
4439      protected scannerGetList_args getEmptyArgsInstance() {
4440        return new scannerGetList_args();
4441      }
4442
4443      protected scannerGetList_result getResult(I iface, scannerGetList_args args) throws org.apache.thrift.TException {
4444        scannerGetList_result result = new scannerGetList_result();
4445        try {
4446          result.success = iface.scannerGetList(args.id, args.nbRows);
4447        } catch (IOError io) {
4448          result.io = io;
4449        } catch (IllegalArgument ia) {
4450          result.ia = ia;
4451        }
4452        return result;
4453      }
4454    }
4455
4456    private static class scannerClose<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scannerClose_args> {
4457      public scannerClose() {
4458        super("scannerClose");
4459      }
4460
4461      protected scannerClose_args getEmptyArgsInstance() {
4462        return new scannerClose_args();
4463      }
4464
4465      protected scannerClose_result getResult(I iface, scannerClose_args args) throws org.apache.thrift.TException {
4466        scannerClose_result result = new scannerClose_result();
4467        try {
4468          iface.scannerClose(args.id);
4469        } catch (IOError io) {
4470          result.io = io;
4471        } catch (IllegalArgument ia) {
4472          result.ia = ia;
4473        }
4474        return result;
4475      }
4476    }
4477
4478    private static class getRowOrBefore<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRowOrBefore_args> {
4479      public getRowOrBefore() {
4480        super("getRowOrBefore");
4481      }
4482
4483      protected getRowOrBefore_args getEmptyArgsInstance() {
4484        return new getRowOrBefore_args();
4485      }
4486
4487      protected getRowOrBefore_result getResult(I iface, getRowOrBefore_args args) throws org.apache.thrift.TException {
4488        getRowOrBefore_result result = new getRowOrBefore_result();
4489        try {
4490          result.success = iface.getRowOrBefore(args.tableName, args.row, args.family);
4491        } catch (IOError io) {
4492          result.io = io;
4493        }
4494        return result;
4495      }
4496    }
4497
4498    private static class getRegionInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRegionInfo_args> {
4499      public getRegionInfo() {
4500        super("getRegionInfo");
4501      }
4502
4503      protected getRegionInfo_args getEmptyArgsInstance() {
4504        return new getRegionInfo_args();
4505      }
4506
4507      protected getRegionInfo_result getResult(I iface, getRegionInfo_args args) throws org.apache.thrift.TException {
4508        getRegionInfo_result result = new getRegionInfo_result();
4509        try {
4510          result.success = iface.getRegionInfo(args.row);
4511        } catch (IOError io) {
4512          result.io = io;
4513        }
4514        return result;
4515      }
4516    }
4517
4518  }
4519
4520  public static class enableTable_args implements org.apache.thrift.TBase<enableTable_args, enableTable_args._Fields>, java.io.Serializable, Cloneable   {
4521    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("enableTable_args");
4522
4523    private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1);
4524
4525    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
4526    static {
4527      schemes.put(StandardScheme.class, new enableTable_argsStandardSchemeFactory());
4528      schemes.put(TupleScheme.class, new enableTable_argsTupleSchemeFactory());
4529    }
4530
4531    /**
4532     * name of the table
4533     */
4534    public ByteBuffer tableName; // required
4535
4536    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
4537    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
4538      /**
4539       * name of the table
4540       */
4541      TABLE_NAME((short)1, "tableName");
4542
4543      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
4544
4545      static {
4546        for (_Fields field : EnumSet.allOf(_Fields.class)) {
4547          byName.put(field.getFieldName(), field);
4548        }
4549      }
4550
4551      /**
4552       * Find the _Fields constant that matches fieldId, or null if its not found.
4553       */
4554      public static _Fields findByThriftId(int fieldId) {
4555        switch(fieldId) {
4556          case 1: // TABLE_NAME
4557            return TABLE_NAME;
4558          default:
4559            return null;
4560        }
4561      }
4562
4563      /**
4564       * Find the _Fields constant that matches fieldId, throwing an exception
4565       * if it is not found.
4566       */
4567      public static _Fields findByThriftIdOrThrow(int fieldId) {
4568        _Fields fields = findByThriftId(fieldId);
4569        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
4570        return fields;
4571      }
4572
4573      /**
4574       * Find the _Fields constant that matches name, or null if its not found.
4575       */
4576      public static _Fields findByName(String name) {
4577        return byName.get(name);
4578      }
4579
4580      private final short _thriftId;
4581      private final String _fieldName;
4582
4583      _Fields(short thriftId, String fieldName) {
4584        _thriftId = thriftId;
4585        _fieldName = fieldName;
4586      }
4587
4588      public short getThriftFieldId() {
4589        return _thriftId;
4590      }
4591
4592      public String getFieldName() {
4593        return _fieldName;
4594      }
4595    }
4596
4597    // isset id assignments
4598    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
4599    static {
4600      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
4601      tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4602          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , "Bytes")));
4603      metaDataMap = Collections.unmodifiableMap(tmpMap);
4604      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_args.class, metaDataMap);
4605    }
4606
4607    public enableTable_args() {
4608    }
4609
4610    public enableTable_args(
4611      ByteBuffer tableName)
4612    {
4613      this();
4614      this.tableName = tableName;
4615    }
4616
4617    /**
4618     * Performs a deep copy on <i>other</i>.
4619     */
4620    public enableTable_args(enableTable_args other) {
4621      if (other.isSetTableName()) {
4622        this.tableName = other.tableName;
4623      }
4624    }
4625
4626    public enableTable_args deepCopy() {
4627      return new enableTable_args(this);
4628    }
4629
4630    @Override
4631    public void clear() {
4632      this.tableName = null;
4633    }
4634
4635    /**
4636     * name of the table
4637     */
4638    public byte[] getTableName() {
4639      setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName));
4640      return tableName == null ? null : tableName.array();
4641    }
4642
4643    public ByteBuffer bufferForTableName() {
4644      return tableName;
4645    }
4646
4647    /**
4648     * name of the table
4649     */
4650    public enableTable_args setTableName(byte[] tableName) {
4651      setTableName(tableName == null ? (ByteBuffer)null : ByteBuffer.wrap(tableName));
4652      return this;
4653    }
4654
4655    public enableTable_args setTableName(ByteBuffer tableName) {
4656      this.tableName = tableName;
4657      return this;
4658    }
4659
4660    public void unsetTableName() {
4661      this.tableName = null;
4662    }
4663
4664    /** Returns true if field tableName is set (has been assigned a value) and false otherwise */
4665    public boolean isSetTableName() {
4666      return this.tableName != null;
4667    }
4668
4669    public void setTableNameIsSet(boolean value) {
4670      if (!value) {
4671        this.tableName = null;
4672      }
4673    }
4674
4675    public void setFieldValue(_Fields field, Object value) {
4676      switch (field) {
4677      case TABLE_NAME:
4678        if (value == null) {
4679          unsetTableName();
4680        } else {
4681          setTableName((ByteBuffer)value);
4682        }
4683        break;
4684
4685      }
4686    }
4687
4688    public Object getFieldValue(_Fields field) {
4689      switch (field) {
4690      case TABLE_NAME:
4691        return getTableName();
4692
4693      }
4694      throw new IllegalStateException();
4695    }
4696
4697    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
4698    public boolean isSet(_Fields field) {
4699      if (field == null) {
4700        throw new IllegalArgumentException();
4701      }
4702
4703      switch (field) {
4704      case TABLE_NAME:
4705        return isSetTableName();
4706      }
4707      throw new IllegalStateException();
4708    }
4709
4710    @Override
4711    public boolean equals(Object that) {
4712      if (that == null)
4713        return false;
4714      if (that instanceof enableTable_args)
4715        return this.equals((enableTable_args)that);
4716      return false;
4717    }
4718
4719    public boolean equals(enableTable_args that) {
4720      if (that == null)
4721        return false;
4722
4723      boolean this_present_tableName = true && this.isSetTableName();
4724      boolean that_present_tableName = true && that.isSetTableName();
4725      if (this_present_tableName || that_present_tableName) {
4726        if (!(this_present_tableName && that_present_tableName))
4727          return false;
4728        if (!this.tableName.equals(that.tableName))
4729          return false;
4730      }
4731
4732      return true;
4733    }
4734
4735    @Override
4736    public int hashCode() {
4737      HashCodeBuilder builder = new HashCodeBuilder();
4738
4739      boolean present_tableName = true && (isSetTableName());
4740      builder.append(present_tableName);
4741      if (present_tableName)
4742        builder.append(tableName);
4743
4744      return builder.toHashCode();
4745    }
4746
4747    public int compareTo(enableTable_args other) {
4748      if (!getClass().equals(other.getClass())) {
4749        return getClass().getName().compareTo(other.getClass().getName());
4750      }
4751
4752      int lastComparison = 0;
4753      enableTable_args typedOther = (enableTable_args)other;
4754
4755      lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
4756      if (lastComparison != 0) {
4757        return lastComparison;
4758      }
4759      if (isSetTableName()) {
4760        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
4761        if (lastComparison != 0) {
4762          return lastComparison;
4763        }
4764      }
4765      return 0;
4766    }
4767
4768    public _Fields fieldForId(int fieldId) {
4769      return _Fields.findByThriftId(fieldId);
4770    }
4771
4772    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
4773      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
4774    }
4775
4776    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
4777      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
4778    }
4779
4780    @Override
4781    public String toString() {
4782      StringBuilder sb = new StringBuilder("enableTable_args(");
4783      boolean first = true;
4784
4785      sb.append("tableName:");
4786      if (this.tableName == null) {
4787        sb.append("null");
4788      } else {
4789        sb.append(this.tableName);
4790      }
4791      first = false;
4792      sb.append(")");
4793      return sb.toString();
4794    }
4795
4796    public void validate() throws org.apache.thrift.TException {
4797      // check for required fields
4798    }
4799
4800    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
4801      try {
4802        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
4803      } catch (org.apache.thrift.TException te) {
4804        throw new java.io.IOException(te);
4805      }
4806    }
4807
4808    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
4809      try {
4810        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
4811      } catch (org.apache.thrift.TException te) {
4812        throw new java.io.IOException(te);
4813      }
4814    }
4815
4816    private static class enableTable_argsStandardSchemeFactory implements SchemeFactory {
4817      public enableTable_argsStandardScheme getScheme() {
4818        return new enableTable_argsStandardScheme();
4819      }
4820    }
4821
4822    private static class enableTable_argsStandardScheme extends StandardScheme<enableTable_args> {
4823
4824      public void read(org.apache.thrift.protocol.TProtocol iprot, enableTable_args struct) throws org.apache.thrift.TException {
4825        org.apache.thrift.protocol.TField schemeField;
4826        iprot.readStructBegin();
4827        while (true)
4828        {
4829          schemeField = iprot.readFieldBegin();
4830          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
4831            break;
4832          }
4833          switch (schemeField.id) {
4834            case 1: // TABLE_NAME
4835              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
4836                struct.tableName = iprot.readBinary();
4837                struct.setTableNameIsSet(true);
4838              } else { 
4839                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4840              }
4841              break;
4842            default:
4843              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4844          }
4845          iprot.readFieldEnd();
4846        }
4847        iprot.readStructEnd();
4848
4849        // check for required fields of primitive type, which can't be checked in the validate method
4850        struct.validate();
4851      }
4852
4853      public void write(org.apache.thrift.protocol.TProtocol oprot, enableTable_args struct) throws org.apache.thrift.TException {
4854        struct.validate();
4855
4856        oprot.writeStructBegin(STRUCT_DESC);
4857        if (struct.tableName != null) {
4858          oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC);
4859          oprot.writeBinary(struct.tableName);
4860          oprot.writeFieldEnd();
4861        }
4862        oprot.writeFieldStop();
4863        oprot.writeStructEnd();
4864      }
4865
4866    }
4867
4868    private static class enableTable_argsTupleSchemeFactory implements SchemeFactory {
4869      public enableTable_argsTupleScheme getScheme() {
4870        return new enableTable_argsTupleScheme();
4871      }
4872    }
4873
4874    private static class enableTable_argsTupleScheme extends TupleScheme<enableTable_args> {
4875
4876      @Override
4877      public void write(org.apache.thrift.protocol.TProtocol prot, enableTable_args struct) throws org.apache.thrift.TException {
4878        TTupleProtocol oprot = (TTupleProtocol) prot;
4879        BitSet optionals = new BitSet();
4880        if (struct.isSetTableName()) {
4881          optionals.set(0);
4882        }
4883        oprot.writeBitSet(optionals, 1);
4884        if (struct.isSetTableName()) {
4885          oprot.writeBinary(struct.tableName);
4886        }
4887      }
4888
4889      @Override
4890      public void read(org.apache.thrift.protocol.TProtocol prot, enableTable_args struct) throws org.apache.thrift.TException {
4891        TTupleProtocol iprot = (TTupleProtocol) prot;
4892        BitSet incoming = iprot.readBitSet(1);
4893        if (incoming.get(0)) {
4894          struct.tableName = iprot.readBinary();
4895          struct.setTableNameIsSet(true);
4896        }
4897      }
4898    }
4899
4900  }
4901
4902  public static class enableTable_result implements org.apache.thrift.TBase<enableTable_result, enableTable_result._Fields>, java.io.Serializable, Cloneable   {
4903    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("enableTable_result");
4904
4905    private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1);
4906
4907    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
4908    static {
4909      schemes.put(StandardScheme.class, new enableTable_resultStandardSchemeFactory());
4910      schemes.put(TupleScheme.class, new enableTable_resultTupleSchemeFactory());
4911    }
4912
4913    public IOError io; // required
4914
4915    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
4916    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
4917      IO((short)1, "io");
4918
4919      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
4920
4921      static {
4922        for (_Fields field : EnumSet.allOf(_Fields.class)) {
4923          byName.put(field.getFieldName(), field);
4924        }
4925      }
4926
4927      /**
4928       * Find the _Fields constant that matches fieldId, or null if its not found.
4929       */
4930      public static _Fields findByThriftId(int fieldId) {
4931        switch(fieldId) {
4932          case 1: // IO
4933            return IO;
4934          default:
4935            return null;
4936        }
4937      }
4938
4939      /**
4940       * Find the _Fields constant that matches fieldId, throwing an exception
4941       * if it is not found.
4942       */
4943      public static _Fields findByThriftIdOrThrow(int fieldId) {
4944        _Fields fields = findByThriftId(fieldId);
4945        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
4946        return fields;
4947      }
4948
4949      /**
4950       * Find the _Fields constant that matches name, or null if its not found.
4951       */
4952      public static _Fields findByName(String name) {
4953        return byName.get(name);
4954      }
4955
4956      private final short _thriftId;
4957      private final String _fieldName;
4958
4959      _Fields(short thriftId, String fieldName) {
4960        _thriftId = thriftId;
4961        _fieldName = fieldName;
4962      }
4963
4964      public short getThriftFieldId() {
4965        return _thriftId;
4966      }
4967
4968      public String getFieldName() {
4969        return _fieldName;
4970      }
4971    }
4972
4973    // isset id assignments
4974    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
4975    static {
4976      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
4977      tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4978          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
4979      metaDataMap = Collections.unmodifiableMap(tmpMap);
4980      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_result.class, metaDataMap);
4981    }
4982
4983    public enableTable_result() {
4984    }
4985
4986    public enableTable_result(
4987      IOError io)
4988    {
4989      this();
4990      this.io = io;
4991    }
4992
4993    /**
4994     * Performs a deep copy on <i>other</i>.
4995     */
4996    public enableTable_result(enableTable_result other) {
4997      if (other.isSetIo()) {
4998        this.io = new IOError(other.io);
4999      }
5000    }
5001
5002    public enableTable_result deepCopy() {
5003      return new enableTable_result(this);
5004    }
5005
5006    @Override
5007    public void clear() {
5008      this.io = null;
5009    }
5010
5011    public IOError getIo() {
5012      return this.io;
5013    }
5014
5015    public enableTable_result setIo(IOError io) {
5016      this.io = io;
5017      return this;
5018    }
5019
5020    public void unsetIo() {
5021      this.io = null;
5022    }
5023
5024    /** Returns true if field io is set (has been assigned a value) and false otherwise */
5025    public boolean isSetIo() {
5026      return this.io != null;
5027    }
5028
5029    public void setIoIsSet(boolean value) {
5030      if (!value) {
5031        this.io = null;
5032      }
5033    }
5034
5035    public void setFieldValue(_Fields field, Object value) {
5036      switch (field) {
5037      case IO:
5038        if (value == null) {
5039          unsetIo();
5040        } else {
5041          setIo((IOError)value);
5042        }
5043        break;
5044
5045      }
5046    }
5047
5048    public Object getFieldValue(_Fields field) {
5049      switch (field) {
5050      case IO:
5051        return getIo();
5052
5053      }
5054      throw new IllegalStateException();
5055    }
5056
5057    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
5058    public boolean isSet(_Fields field) {
5059      if (field == null) {
5060        throw new IllegalArgumentException();
5061      }
5062
5063      switch (field) {
5064      case IO:
5065        return isSetIo();
5066      }
5067      throw new IllegalStateException();
5068    }
5069
5070    @Override
5071    public boolean equals(Object that) {
5072      if (that == null)
5073        return false;
5074      if (that instanceof enableTable_result)
5075        return this.equals((enableTable_result)that);
5076      return false;
5077    }
5078
5079    public boolean equals(enableTable_result that) {
5080      if (that == null)
5081        return false;
5082
5083      boolean this_present_io = true && this.isSetIo();
5084      boolean that_present_io = true && that.isSetIo();
5085      if (this_present_io || that_present_io) {
5086        if (!(this_present_io && that_present_io))
5087          return false;
5088        if (!this.io.equals(that.io))
5089          return false;
5090      }
5091
5092      return true;
5093    }
5094
5095    @Override
5096    public int hashCode() {
5097      HashCodeBuilder builder = new HashCodeBuilder();
5098
5099      boolean present_io = true && (isSetIo());
5100      builder.append(present_io);
5101      if (present_io)
5102        builder.append(io);
5103
5104      return builder.toHashCode();
5105    }
5106
5107    public int compareTo(enableTable_result other) {
5108      if (!getClass().equals(other.getClass())) {
5109        return getClass().getName().compareTo(other.getClass().getName());
5110      }
5111
5112      int lastComparison = 0;
5113      enableTable_result typedOther = (enableTable_result)other;
5114
5115      lastComparison = Boolean.valueOf(isSetIo()).compareTo(typedOther.isSetIo());
5116      if (lastComparison != 0) {
5117        return lastComparison;
5118      }
5119      if (isSetIo()) {
5120        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, typedOther.io);
5121        if (lastComparison != 0) {
5122          return lastComparison;
5123        }
5124      }
5125      return 0;
5126    }
5127
5128    public _Fields fieldForId(int fieldId) {
5129      return _Fields.findByThriftId(fieldId);
5130    }
5131
5132    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
5133      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
5134    }
5135
5136    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
5137      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
5138      }
5139
5140    @Override
5141    public String toString() {
5142      StringBuilder sb = new StringBuilder("enableTable_result(");
5143      boolean first = true;
5144
5145      sb.append("io:");
5146      if (this.io == null) {
5147        sb.append("null");
5148      } else {
5149        sb.append(this.io);
5150      }
5151      first = false;
5152      sb.append(")");
5153      return sb.toString();
5154    }
5155
5156    public void validate() throws org.apache.thrift.TException {
5157      // check for required fields
5158    }
5159
5160    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
5161      try {
5162        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
5163      } catch (org.apache.thrift.TException te) {
5164        throw new java.io.IOException(te);
5165      }
5166    }
5167
5168    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5169      try {
5170        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5171      } catch (org.apache.thrift.TException te) {
5172        throw new java.io.IOException(te);
5173      }
5174    }
5175
5176    private static class enableTable_resultStandardSchemeFactory implements SchemeFactory {
5177      public enableTable_resultStandardScheme getScheme() {
5178        return new enableTable_resultStandardScheme();
5179      }
5180    }
5181
5182    private static class enableTable_resultStandardScheme extends StandardScheme<enableTable_result> {
5183
5184      public void read(org.apache.thrift.protocol.TProtocol iprot, enableTable_result struct) throws org.apache.thrift.TException {
5185        org.apache.thrift.protocol.TField schemeField;
5186        iprot.readStructBegin();
5187        while (true)
5188        {
5189          schemeField = iprot.readFieldBegin();
5190          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
5191            break;
5192          }
5193          switch (schemeField.id) {
5194            case 1: // IO
5195              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
5196                struct.io = new IOError();
5197                struct.io.read(iprot);
5198                struct.setIoIsSet(true);
5199              } else { 
5200                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5201              }
5202              break;
5203            default:
5204              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5205          }
5206          iprot.readFieldEnd();
5207        }
5208        iprot.readStructEnd();
5209
5210        // check for required fields of primitive type, which can't be checked in the validate method
5211        struct.validate();
5212      }
5213
5214      public void write(org.apache.thrift.protocol.TProtocol oprot, enableTable_result struct) throws org.apache.thrift.TException {
5215        struct.validate();
5216
5217        oprot.writeStructBegin(STRUCT_DESC);
5218        if (struct.io != null) {
5219          oprot.writeFieldBegin(IO_FIELD_DESC);
5220          struct.io.write(oprot);
5221          oprot.writeFieldEnd();
5222        }
5223        oprot.writeFieldStop();
5224        oprot.writeStructEnd();
5225      }
5226
5227    }
5228
5229    private static class enableTable_resultTupleSchemeFactory implements SchemeFactory {
5230      public enableTable_resultTupleScheme getScheme() {
5231        return new enableTable_resultTupleScheme();
5232      }
5233    }
5234
5235    private static class enableTable_resultTupleScheme extends TupleScheme<enableTable_result> {
5236
5237      @Override
5238      public void write(org.apache.thrift.protocol.TProtocol prot, enableTable_result struct) throws org.apache.thrift.TException {
5239        TTupleProtocol oprot = (TTupleProtocol) prot;
5240        BitSet optionals = new BitSet();
5241        if (struct.isSetIo()) {
5242          optionals.set(0);
5243        }
5244        oprot.writeBitSet(optionals, 1);
5245        if (struct.isSetIo()) {
5246          struct.io.write(oprot);
5247        }
5248      }
5249
5250      @Override
5251      public void read(org.apache.thrift.protocol.TProtocol prot, enableTable_result struct) throws org.apache.thrift.TException {
5252        TTupleProtocol iprot = (TTupleProtocol) prot;
5253        BitSet incoming = iprot.readBitSet(1);
5254        if (incoming.get(0)) {
5255          struct.io = new IOError();
5256          struct.io.read(iprot);
5257          struct.setIoIsSet(true);
5258        }
5259      }
5260    }
5261
5262  }
5263
5264  public static class disableTable_args implements org.apache.thrift.TBase<disableTable_args, disableTable_args._Fields>, java.io.Serializable, Cloneable   {
5265    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("disableTable_args");
5266
5267    private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1);
5268
5269    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
5270    static {
5271      schemes.put(StandardScheme.class, new disableTable_argsStandardSchemeFactory());
5272      schemes.put(TupleScheme.class, new disableTable_argsTupleSchemeFactory());
5273    }
5274
5275    /**
5276     * name of the table
5277     */
5278    public ByteBuffer tableName; // required
5279
5280    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
5281    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
5282      /**
5283       * name of the table
5284       */
5285      TABLE_NAME((short)1, "tableName");
5286
5287      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
5288
5289      static {
5290        for (_Fields field : EnumSet.allOf(_Fields.class)) {
5291          byName.put(field.getFieldName(), field);
5292        }
5293      }
5294
5295      /**
5296       * Find the _Fields constant that matches fieldId, or null if its not found.
5297       */
5298      public static _Fields findByThriftId(int fieldId) {
5299        switch(fieldId) {
5300          case 1: // TABLE_NAME
5301            return TABLE_NAME;
5302          default:
5303            return null;
5304        }
5305      }
5306
5307      /**
5308       * Find the _Fields constant that matches fieldId, throwing an exception
5309       * if it is not found.
5310       */
5311      public static _Fields findByThriftIdOrThrow(int fieldId) {
5312        _Fields fields = findByThriftId(fieldId);
5313        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
5314        return fields;
5315      }
5316
5317      /**
5318       * Find the _Fields constant that matches name, or null if its not found.
5319       */
5320      public static _Fields findByName(String name) {
5321        return byName.get(name);
5322      }
5323
5324      private final short _thriftId;
5325      private final String _fieldName;
5326
5327      _Fields(short thriftId, String fieldName) {
5328        _thriftId = thriftId;
5329        _fieldName = fieldName;
5330      }
5331
5332      public short getThriftFieldId() {
5333        return _thriftId;
5334      }
5335
5336      public String getFieldName() {
5337        return _fieldName;
5338      }
5339    }
5340
5341    // isset id assignments
5342    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
5343    static {
5344      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
5345      tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5346          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , "Bytes")));
5347      metaDataMap = Collections.unmodifiableMap(tmpMap);
5348      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_args.class, metaDataMap);
5349    }
5350
5351    public disableTable_args() {
5352    }
5353
5354    public disableTable_args(
5355      ByteBuffer tableName)
5356    {
5357      this();
5358      this.tableName = tableName;
5359    }
5360
5361    /**
5362     * Performs a deep copy on <i>other</i>.
5363     */
5364    public disableTable_args(disableTable_args other) {
5365      if (other.isSetTableName()) {
5366        this.tableName = other.tableName;
5367      }
5368    }
5369
5370    public disableTable_args deepCopy() {
5371      return new disableTable_args(this);
5372    }
5373
5374    @Override
5375    public void clear() {
5376      this.tableName = null;
5377    }
5378
5379    /**
5380     * name of the table
5381     */
5382    public byte[] getTableName() {
5383      setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName));
5384      return tableName == null ? null : tableName.array();
5385    }
5386
5387    public ByteBuffer bufferForTableName() {
5388      return tableName;
5389    }
5390
5391    /**
5392     * name of the table
5393     */
5394    public disableTable_args setTableName(byte[] tableName) {
5395      setTableName(tableName == null ? (ByteBuffer)null : ByteBuffer.wrap(tableName));
5396      return this;
5397    }
5398
5399    public disableTable_args setTableName(ByteBuffer tableName) {
5400      this.tableName = tableName;
5401      return this;
5402    }
5403
5404    public void unsetTableName() {
5405      this.tableName = null;
5406    }
5407
5408    /** Returns true if field tableName is set (has been assigned a value) and false otherwise */
5409    public boolean isSetTableName() {
5410      return this.tableName != null;
5411    }
5412
5413    public void setTableNameIsSet(boolean value) {
5414      if (!value) {
5415        this.tableName = null;
5416      }
5417    }
5418
5419    public void setFieldValue(_Fields field, Object value) {
5420      switch (field) {
5421      case TABLE_NAME:
5422        if (value == null) {
5423          unsetTableName();
5424        } else {
5425          setTableName((ByteBuffer)value);
5426        }
5427        break;
5428
5429      }
5430    }
5431
5432    public Object getFieldValue(_Fields field) {
5433      switch (field) {
5434      case TABLE_NAME:
5435        return getTableName();
5436
5437      }
5438      throw new IllegalStateException();
5439    }
5440
5441    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
5442    public boolean isSet(_Fields field) {
5443      if (field == null) {
5444        throw new IllegalArgumentException();
5445      }
5446
5447      switch (field) {
5448      case TABLE_NAME:
5449        return isSetTableName();
5450      }
5451      throw new IllegalStateException();
5452    }
5453
5454    @Override
5455    public boolean equals(Object that) {
5456      if (that == null)
5457        return false;
5458      if (that instanceof disableTable_args)
5459        return this.equals((disableTable_args)that);
5460      return false;
5461    }
5462
5463    public boolean equals(disableTable_args that) {
5464      if (that == null)
5465        return false;
5466
5467      boolean this_present_tableName = true && this.isSetTableName();
5468      boolean that_present_tableName = true && that.isSetTableName();
5469      if (this_present_tableName || that_present_tableName) {
5470        if (!(this_present_tableName && that_present_tableName))
5471          return false;
5472        if (!this.tableName.equals(that.tableName))
5473          return false;
5474      }
5475
5476      return true;
5477    }
5478
5479    @Override
5480    public int hashCode() {
5481      HashCodeBuilder builder = new HashCodeBuilder();
5482
5483      boolean present_tableName = true && (isSetTableName());
5484      builder.append(present_tableName);
5485      if (present_tableName)
5486        builder.append(tableName);
5487
5488      return builder.toHashCode();
5489    }
5490
5491    public int compareTo(disableTable_args other) {
5492      if (!getClass().equals(other.getClass())) {
5493        return getClass().getName().compareTo(other.getClass().getName());
5494      }
5495
5496      int lastComparison = 0;
5497      disableTable_args typedOther = (disableTable_args)other;
5498
5499      lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
5500      if (lastComparison != 0) {
5501        return lastComparison;
5502      }
5503      if (isSetTableName()) {
5504        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
5505        if (lastComparison != 0) {
5506          return lastComparison;
5507        }
5508      }
5509      return 0;
5510    }
5511
5512    public _Fields fieldForId(int fieldId) {
5513      return _Fields.findByThriftId(fieldId);
5514    }
5515
5516    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
5517      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
5518    }
5519
5520    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
5521      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
5522    }
5523
5524    @Override
5525    public String toString() {
5526      StringBuilder sb = new StringBuilder("disableTable_args(");
5527      boolean first = true;
5528
5529      sb.append("tableName:");
5530      if (this.tableName == null) {
5531        sb.append("null");
5532      } else {
5533        sb.append(this.tableName);
5534      }
5535      first = false;
5536      sb.append(")");
5537      return sb.toString();
5538    }
5539
5540    public void validate() throws org.apache.thrift.TException {
5541      // check for required fields
5542    }
5543
5544    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
5545      try {
5546        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
5547      } catch (org.apache.thrift.TException te) {
5548        throw new java.io.IOException(te);
5549      }
5550    }
5551
5552    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5553      try {
5554        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5555      } catch (org.apache.thrift.TException te) {
5556        throw new java.io.IOException(te);
5557      }
5558    }
5559
5560    private static class disableTable_argsStandardSchemeFactory implements SchemeFactory {
5561      public disableTable_argsStandardScheme getScheme() {
5562        return new disableTable_argsStandardScheme();
5563      }
5564    }
5565
5566    private static class disableTable_argsStandardScheme extends StandardScheme<disableTable_args> {
5567
5568      public void read(org.apache.thrift.protocol.TProtocol iprot, disableTable_args struct) throws org.apache.thrift.TException {
5569        org.apache.thrift.protocol.TField schemeField;
5570        iprot.readStructBegin();
5571        while (true)
5572        {
5573          schemeField = iprot.readFieldBegin();
5574          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
5575            break;
5576          }
5577          switch (schemeField.id) {
5578            case 1: // TABLE_NAME
5579              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
5580                struct.tableName = iprot.readBinary();
5581                struct.setTableNameIsSet(true);
5582              } else { 
5583                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5584              }
5585              break;
5586            default:
5587              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5588          }
5589          iprot.readFieldEnd();
5590        }
5591        iprot.readStructEnd();
5592
5593        // check for required fields of primitive type, which can't be checked in the validate method
5594        struct.validate();
5595      }
5596
5597      public void write(org.apache.thrift.protocol.TProtocol oprot, disableTable_args struct) throws org.apache.thrift.TException {
5598        struct.validate();
5599
5600        oprot.writeStructBegin(STRUCT_DESC);
5601        if (struct.tableName != null) {
5602          oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC);
5603          oprot.writeBinary(struct.tableName);
5604          oprot.writeFieldEnd();
5605        }
5606        oprot.writeFieldStop();
5607        oprot.writeStructEnd();
5608      }
5609
5610    }
5611
5612    private static class disableTable_argsTupleSchemeFactory implements SchemeFactory {
5613      public disableTable_argsTupleScheme getScheme() {
5614        return new disableTable_argsTupleScheme();
5615      }
5616    }
5617
5618    private static class disableTable_argsTupleScheme extends TupleScheme<disableTable_args> {
5619
5620      @Override
5621      public void write(org.apache.thrift.protocol.TProtocol prot, disableTable_args struct) throws org.apache.thrift.TException {
5622        TTupleProtocol oprot = (TTupleProtocol) prot;
5623        BitSet optionals = new BitSet();
5624        if (struct.isSetTableName()) {
5625          optionals.set(0);
5626        }
5627        oprot.writeBitSet(optionals, 1);
5628        if (struct.isSetTableName()) {
5629          oprot.writeBinary(struct.tableName);
5630        }
5631      }
5632
5633      @Override
5634      public void read(org.apache.thrift.protocol.TProtocol prot, disableTable_args struct) throws org.apache.thrift.TException {
5635        TTupleProtocol iprot = (TTupleProtocol) prot;
5636        BitSet incoming = iprot.readBitSet(1);
5637        if (incoming.get(0)) {
5638          struct.tableName = iprot.readBinary();
5639          struct.setTableNameIsSet(true);
5640        }
5641      }
5642    }
5643
5644  }
5645
5646  public static class disableTable_result implements org.apache.thrift.TBase<disableTable_result, disableTable_result._Fields>, java.io.Serializable, Cloneable   {
5647    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("disableTable_result");
5648
5649    private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1);
5650
5651    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
5652    static {
5653      schemes.put(StandardScheme.class, new disableTable_resultStandardSchemeFactory());
5654      schemes.put(TupleScheme.class, new disableTable_resultTupleSchemeFactory());
5655    }
5656
5657    public IOError io; // required
5658
5659    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
5660    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
5661      IO((short)1, "io");
5662
5663      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
5664
5665      static {
5666        for (_Fields field : EnumSet.allOf(_Fields.class)) {
5667          byName.put(field.getFieldName(), field);
5668        }
5669      }
5670
5671      /**
5672       * Find the _Fields constant that matches fieldId, or null if its not found.
5673       */
5674      public static _Fields findByThriftId(int fieldId) {
5675        switch(fieldId) {
5676          case 1: // IO
5677            return IO;
5678          default:
5679            return null;
5680        }
5681      }
5682
5683      /**
5684       * Find the _Fields constant that matches fieldId, throwing an exception
5685       * if it is not found.
5686       */
5687      public static _Fields findByThriftIdOrThrow(int fieldId) {
5688        _Fields fields = findByThriftId(fieldId);
5689        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
5690        return fields;
5691      }
5692
5693      /**
5694       * Find the _Fields constant that matches name, or null if its not found.
5695       */
5696      public static _Fields findByName(String name) {
5697        return byName.get(name);
5698      }
5699
5700      private final short _thriftId;
5701      private final String _fieldName;
5702
5703      _Fields(short thriftId, String fieldName) {
5704        _thriftId = thriftId;
5705        _fieldName = fieldName;
5706      }
5707
5708      public short getThriftFieldId() {
5709        return _thriftId;
5710      }
5711
5712      public String getFieldName() {
5713        return _fieldName;
5714      }
5715    }
5716
5717    // isset id assignments
5718    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
5719    static {
5720      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
5721      tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5722          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
5723      metaDataMap = Collections.unmodifiableMap(tmpMap);
5724      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_result.class, metaDataMap);
5725    }
5726
5727    public disableTable_result() {
5728    }
5729
5730    public disableTable_result(
5731      IOError io)
5732    {
5733      this();
5734      this.io = io;
5735    }
5736
5737    /**
5738     * Performs a deep copy on <i>other</i>.
5739     */
5740    public disableTable_result(disableTable_result other) {
5741      if (other.isSetIo()) {
5742        this.io = new IOError(other.io);
5743      }
5744    }
5745
5746    public disableTable_result deepCopy() {
5747      return new disableTable_result(this);
5748    }
5749
5750    @Override
5751    public void clear() {
5752      this.io = null;
5753    }
5754
5755    public IOError getIo() {
5756      return this.io;
5757    }
5758
5759    public disableTable_result setIo(IOError io) {
5760      this.io = io;
5761      return this;
5762    }
5763
5764    public void unsetIo() {
5765      this.io = null;
5766    }
5767
5768    /** Returns true if field io is set (has been assigned a value) and false otherwise */
5769    public boolean isSetIo() {
5770      return this.io != null;
5771    }
5772
5773    public void setIoIsSet(boolean value) {
5774      if (!value) {
5775        this.io = null;
5776      }
5777    }
5778
5779    public void setFieldValue(_Fields field, Object value) {
5780      switch (field) {
5781      case IO:
5782        if (value == null) {
5783          unsetIo();
5784        } else {
5785          setIo((IOError)value);
5786        }
5787        break;
5788
5789      }
5790    }
5791
5792    public Object getFieldValue(_Fields field) {
5793      switch (field) {
5794      case IO:
5795        return getIo();
5796
5797      }
5798      throw new IllegalStateException();
5799    }
5800
5801    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
5802    public boolean isSet(_Fields field) {
5803      if (field == null) {
5804        throw new IllegalArgumentException();
5805      }
5806
5807      switch (field) {
5808      case IO:
5809        return isSetIo();
5810      }
5811      throw new IllegalStateException();
5812    }
5813
5814    @Override
5815    public boolean equals(Object that) {
5816      if (that == null)
5817        return false;
5818      if (that instanceof disableTable_result)
5819        return this.equals((disableTable_result)that);
5820      return false;
5821    }
5822
5823    public boolean equals(disableTable_result that) {
5824      if (that == null)
5825        return false;
5826
5827      boolean this_present_io = true && this.isSetIo();
5828      boolean that_present_io = true && that.isSetIo();
5829      if (this_present_io || that_present_io) {
5830        if (!(this_present_io && that_present_io))
5831          return false;
5832        if (!this.io.equals(that.io))
5833          return false;
5834      }
5835
5836      return true;
5837    }
5838
5839    @Override
5840    public int hashCode() {
5841      HashCodeBuilder builder = new HashCodeBuilder();
5842
5843      boolean present_io = true && (isSetIo());
5844      builder.append(present_io);
5845      if (present_io)
5846        builder.append(io);
5847
5848      return builder.toHashCode();
5849    }
5850
5851    public int compareTo(disableTable_result other) {
5852      if (!getClass().equals(other.getClass())) {
5853        return getClass().getName().compareTo(other.getClass().getName());
5854      }
5855
5856      int lastComparison = 0;
5857      disableTable_result typedOther = (disableTable_result)other;
5858
5859      lastComparison = Boolean.valueOf(isSetIo()).compareTo(typedOther.isSetIo());
5860      if (lastComparison != 0) {
5861        return lastComparison;
5862      }
5863      if (isSetIo()) {
5864        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, typedOther.io);
5865        if (lastComparison != 0) {
5866          return lastComparison;
5867        }
5868      }
5869      return 0;
5870    }
5871
5872    public _Fields fieldForId(int fieldId) {
5873      return _Fields.findByThriftId(fieldId);
5874    }
5875
5876    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
5877      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
5878    }
5879
5880    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
5881      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
5882      }
5883
5884    @Override
5885    public String toString() {
5886      StringBuilder sb = new StringBuilder("disableTable_result(");
5887      boolean first = true;
5888
5889      sb.append("io:");
5890      if (this.io == null) {
5891        sb.append("null");
5892      } else {
5893        sb.append(this.io);
5894      }
5895      first = false;
5896      sb.append(")");
5897      return sb.toString();
5898    }
5899
5900    public void validate() throws org.apache.thrift.TException {
5901      // check for required fields
5902    }
5903
5904    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
5905      try {
5906        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
5907      } catch (org.apache.thrift.TException te) {
5908        throw new java.io.IOException(te);
5909      }
5910    }
5911
5912    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5913      try {
5914        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5915      } catch (org.apache.thrift.TException te) {
5916        throw new java.io.IOException(te);
5917      }
5918    }
5919
5920    private static class disableTable_resultStandardSchemeFactory implements SchemeFactory {
5921      public disableTable_resultStandardScheme getScheme() {
5922        return new disableTable_resultStandardScheme();
5923      }
5924    }
5925
5926    private static class disableTable_resultStandardScheme extends StandardScheme<disableTable_result> {
5927
5928      public void read(org.apache.thrift.protocol.TProtocol iprot, disableTable_result struct) throws org.apache.thrift.TException {
5929        org.apache.thrift.protocol.TField schemeField;
5930        iprot.readStructBegin();
5931        while (true)
5932        {
5933          schemeField = iprot.readFieldBegin();
5934          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
5935            break;
5936          }
5937          switch (schemeField.id) {
5938            case 1: // IO
5939              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
5940                struct.io = new IOError();
5941                struct.io.read(iprot);
5942                struct.setIoIsSet(true);
5943              } else { 
5944                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5945              }
5946              break;
5947            default:
5948              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5949          }
5950          iprot.readFieldEnd();
5951        }
5952        iprot.readStructEnd();
5953
5954        // check for required fields of primitive type, which can't be checked in the validate method
5955        struct.validate();
5956      }
5957
5958      public void write(org.apache.thrift.protocol.TProtocol oprot, disableTable_result struct) throws org.apache.thrift.TException {
5959        struct.validate();
5960
5961        oprot.writeStructBegin(STRUCT_DESC);
5962        if (struct.io != null) {
5963          oprot.writeFieldBegin(IO_FIELD_DESC);
5964          struct.io.write(oprot);
5965          oprot.writeFieldEnd();
5966        }
5967        oprot.writeFieldStop();
5968        oprot.writeStructEnd();
5969      }
5970
5971    }
5972
5973    private static class disableTable_resultTupleSchemeFactory implements SchemeFactory {
5974      public disableTable_resultTupleScheme getScheme() {
5975        return new disableTable_resultTupleScheme();
5976      }
5977    }
5978
5979    private static class disableTable_resultTupleScheme extends TupleScheme<disableTable_result> {
5980
5981      @Override
5982      public void write(org.apache.thrift.protocol.TProtocol prot, disableTable_result struct) throws org.apache.thrift.TException {
5983        TTupleProtocol oprot = (TTupleProtocol) prot;
5984        BitSet optionals = new BitSet();
5985        if (struct.isSetIo()) {
5986          optionals.set(0);
5987        }
5988        oprot.writeBitSet(optionals, 1);
5989        if (struct.isSetIo()) {
5990          struct.io.write(oprot);
5991        }
5992      }
5993
5994      @Override
5995      public void read(org.apache.thrift.protocol.TProtocol prot, disableTable_result struct) throws org.apache.thrift.TException {
5996        TTupleProtocol iprot = (TTupleProtocol) prot;
5997        BitSet incoming = iprot.readBitSet(1);
5998        if (incoming.get(0)) {
5999          struct.io = new IOError();
6000          struct.io.read(iprot);
6001          struct.setIoIsSet(true);
6002        }
6003      }
6004    }
6005
6006  }
6007
6008  public static class isTableEnabled_args implements org.apache.thrift.TBase<isTableEnabled_args, isTableEnabled_args._Fields>, java.io.Serializable, Cloneable   {
6009    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isTableEnabled_args");
6010
6011    private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1);
6012
6013    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
6014    static {
6015      schemes.put(StandardScheme.class, new isTableEnabled_argsStandardSchemeFactory());
6016      schemes.put(TupleScheme.class, new isTableEnabled_argsTupleSchemeFactory());
6017    }
6018
6019    /**
6020     * name of the table to check
6021     */
6022    public ByteBuffer tableName; // required
6023
6024    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
6025    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
6026      /**
6027       * name of the table to check
6028       */
6029      TABLE_NAME((short)1, "tableName");
6030
6031      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
6032
6033      static {
6034        for (_Fields field : EnumSet.allOf(_Fields.class)) {
6035          byName.put(field.getFieldName(), field);
6036        }
6037      }
6038
6039      /**
6040       * Find the _Fields constant that matches fieldId, or null if its not found.
6041       */
6042      public static _Fields findByThriftId(int fieldId) {
6043        switch(fieldId) {
6044          case 1: // TABLE_NAME
6045            return TABLE_NAME;
6046          default:
6047            return null;
6048        }
6049      }
6050
6051      /**
6052       * Find the _Fields constant that matches fieldId, throwing an exception
6053       * if it is not found.
6054       */
6055      public static _Fields findByThriftIdOrThrow(int fieldId) {
6056        _Fields fields = findByThriftId(fieldId);
6057        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
6058        return fields;
6059      }
6060
6061      /**
6062       * Find the _Fields constant that matches name, or null if its not found.
6063       */
6064      public static _Fields findByName(String name) {
6065        return byName.get(name);
6066      }
6067
6068      private final short _thriftId;
6069      private final String _fieldName;
6070
6071      _Fields(short thriftId, String fieldName) {
6072        _thriftId = thriftId;
6073        _fieldName = fieldName;
6074      }
6075
6076      public short getThriftFieldId() {
6077        return _thriftId;
6078      }
6079
6080      public String getFieldName() {
6081        return _fieldName;
6082      }
6083    }
6084
6085    // isset id assignments
6086    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
6087    static {
6088      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
6089      tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6090          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , "Bytes")));
6091      metaDataMap = Collections.unmodifiableMap(tmpMap);
6092      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableEnabled_args.class, metaDataMap);
6093    }
6094
6095    public isTableEnabled_args() {
6096    }
6097
6098    public isTableEnabled_args(
6099      ByteBuffer tableName)
6100    {
6101      this();
6102      this.tableName = tableName;
6103    }
6104
6105    /**
6106     * Performs a deep copy on <i>other</i>.
6107     */
6108    public isTableEnabled_args(isTableEnabled_args other) {
6109      if (other.isSetTableName()) {
6110        this.tableName = other.tableName;
6111      }
6112    }
6113
6114    public isTableEnabled_args deepCopy() {
6115      return new isTableEnabled_args(this);
6116    }
6117
6118    @Override
6119    public void clear() {
6120      this.tableName = null;
6121    }
6122
6123    /**
6124     * name of the table to check
6125     */
6126    public byte[] getTableName() {
6127      setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName));
6128      return tableName == null ? null : tableName.array();
6129    }
6130
6131    public ByteBuffer bufferForTableName() {
6132      return tableName;
6133    }
6134
6135    /**
6136     * name of the table to check
6137     */
6138    public isTableEnabled_args setTableName(byte[] tableName) {
6139      setTableName(tableName == null ? (ByteBuffer)null : ByteBuffer.wrap(tableName));
6140      return this;
6141    }
6142
6143    public isTableEnabled_args setTableName(ByteBuffer tableName) {
6144      this.tableName = tableName;
6145      return this;
6146    }
6147
6148    public void unsetTableName() {
6149      this.tableName = null;
6150    }
6151
6152    /** Returns true if field tableName is set (has been assigned a value) and false otherwise */
6153    public boolean isSetTableName() {
6154      return this.tableName != null;
6155    }
6156
6157    public void setTableNameIsSet(boolean value) {
6158      if (!value) {
6159        this.tableName = null;
6160      }
6161    }
6162
6163    public void setFieldValue(_Fields field, Object value) {
6164      switch (field) {
6165      case TABLE_NAME:
6166        if (value == null) {
6167          unsetTableName();
6168        } else {
6169          setTableName((ByteBuffer)value);
6170        }
6171        break;
6172
6173      }
6174    }
6175
6176    public Object getFieldValue(_Fields field) {
6177      switch (field) {
6178      case TABLE_NAME:
6179        return getTableName();
6180
6181      }
6182      throw new IllegalStateException();
6183    }
6184
6185    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
6186    public boolean isSet(_Fields field) {
6187      if (field == null) {
6188        throw new IllegalArgumentException();
6189      }
6190
6191      switch (field) {
6192      case TABLE_NAME:
6193        return isSetTableName();
6194      }
6195      throw new IllegalStateException();
6196    }
6197
6198    @Override
6199    public boolean equals(Object that) {
6200      if (that == null)
6201        return false;
6202      if (that instanceof isTableEnabled_args)
6203        return this.equals((isTableEnabled_args)that);
6204      return false;
6205    }
6206
6207    public boolean equals(isTableEnabled_args that) {
6208      if (that == null)
6209        return false;
6210
6211      boolean this_present_tableName = true && this.isSetTableName();
6212      boolean that_present_tableName = true && that.isSetTableName();
6213      if (this_present_tableName || that_present_tableName) {
6214        if (!(this_present_tableName && that_present_tableName))
6215          return false;
6216        if (!this.tableName.equals(that.tableName))
6217          return false;
6218      }
6219
6220      return true;
6221    }
6222
6223    @Override
6224    public int hashCode() {
6225      HashCodeBuilder builder = new HashCodeBuilder();
6226
6227      boolean present_tableName = true && (isSetTableName());
6228      builder.append(present_tableName);
6229      if (present_tableName)
6230        builder.append(tableName);
6231
6232      return builder.toHashCode();
6233    }
6234
6235    public int compareTo(isTableEnabled_args other) {
6236      if (!getClass().equals(other.getClass())) {
6237        return getClass().getName().compareTo(other.getClass().getName());
6238      }
6239
6240      int lastComparison = 0;
6241      isTableEnabled_args typedOther = (isTableEnabled_args)other;
6242
6243      lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
6244      if (lastComparison != 0) {
6245        return lastComparison;
6246      }
6247      if (isSetTableName()) {
6248        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
6249        if (lastComparison != 0) {
6250          return lastComparison;
6251        }
6252      }
6253      return 0;
6254    }
6255
6256    public _Fields fieldForId(int fieldId) {
6257      return _Fields.findByThriftId(fieldId);
6258    }
6259
6260    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
6261      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
6262    }
6263
6264    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
6265      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
6266    }
6267
6268    @Override
6269    public String toString() {
6270      StringBuilder sb = new StringBuilder("isTableEnabled_args(");
6271      boolean first = true;
6272
6273      sb.append("tableName:");
6274      if (this.tableName == null) {
6275        sb.append("null");
6276      } else {
6277        sb.append(this.tableName);
6278      }
6279      first = false;
6280      sb.append(")");
6281      return sb.toString();
6282    }
6283
6284    public void validate() throws org.apache.thrift.TException {
6285      // check for required fields
6286    }
6287
6288    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
6289      try {
6290        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
6291      } catch (org.apache.thrift.TException te) {
6292        throw new java.io.IOException(te);
6293      }
6294    }
6295
6296    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
6297      try {
6298        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
6299      } catch (org.apache.thrift.TException te) {
6300        throw new java.io.IOException(te);
6301      }
6302    }
6303
6304    private static class isTableEnabled_argsStandardSchemeFactory implements SchemeFactory {
6305      public isTableEnabled_argsStandardScheme getScheme() {
6306        return new isTableEnabled_argsStandardScheme();
6307      }
6308    }
6309
6310    private static class isTableEnabled_argsStandardScheme extends StandardScheme<isTableEnabled_args> {
6311
6312      public void read(org.apache.thrift.protocol.TProtocol iprot, isTableEnabled_args struct) throws org.apache.thrift.TException {
6313        org.apache.thrift.protocol.TField schemeField;
6314        iprot.readStructBegin();
6315        while (true)
6316        {
6317          schemeField = iprot.readFieldBegin();
6318          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
6319            break;
6320          }
6321          switch (schemeField.id) {
6322            case 1: // TABLE_NAME
6323              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
6324                struct.tableName = iprot.readBinary();
6325                struct.setTableNameIsSet(true);
6326              } else { 
6327                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6328              }
6329              break;
6330            default:
6331              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6332          }
6333          iprot.readFieldEnd();
6334        }
6335        iprot.readStructEnd();
6336
6337        // check for required fields of primitive type, which can't be checked in the validate method
6338        struct.validate();
6339      }
6340
6341      public void write(org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_args struct) throws org.apache.thrift.TException {
6342        struct.validate();
6343
6344        oprot.writeStructBegin(STRUCT_DESC);
6345        if (struct.tableName != null) {
6346          oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC);
6347          oprot.writeBinary(struct.tableName);
6348          oprot.writeFieldEnd();
6349        }
6350        oprot.writeFieldStop();
6351        oprot.writeStructEnd();
6352      }
6353
6354    }
6355
6356    private static class isTableEnabled_argsTupleSchemeFactory implements SchemeFactory {
6357      public isTableEnabled_argsTupleScheme getScheme() {
6358        return new isTableEnabled_argsTupleScheme();
6359      }
6360    }
6361
6362    private static class isTableEnabled_argsTupleScheme extends TupleScheme<isTableEnabled_args> {
6363
6364      @Override
6365      public void write(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args struct) throws org.apache.thrift.TException {
6366        TTupleProtocol oprot = (TTupleProtocol) prot;
6367        BitSet optionals = new BitSet();
6368        if (struct.isSetTableName()) {
6369          optionals.set(0);
6370        }
6371        oprot.writeBitSet(optionals, 1);
6372        if (struct.isSetTableName()) {
6373          oprot.writeBinary(struct.tableName);
6374        }
6375      }
6376
6377      @Override
6378      public void read(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_args struct) throws org.apache.thrift.TException {
6379        TTupleProtocol iprot = (TTupleProtocol) prot;
6380        BitSet incoming = iprot.readBitSet(1);
6381        if (incoming.get(0)) {
6382          struct.tableName = iprot.readBinary();
6383          struct.setTableNameIsSet(true);
6384        }
6385      }
6386    }
6387
6388  }
6389
6390  public static class isTableEnabled_result implements org.apache.thrift.TBase<isTableEnabled_result, isTableEnabled_result._Fields>, java.io.Serializable, Cloneable   {
6391    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isTableEnabled_result");
6392
6393    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
6394    private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1);
6395
6396    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
6397    static {
6398      schemes.put(StandardScheme.class, new isTableEnabled_resultStandardSchemeFactory());
6399      schemes.put(TupleScheme.class, new isTableEnabled_resultTupleSchemeFactory());
6400    }
6401
6402    public boolean success; // required
6403    public IOError io; // required
6404
6405    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
6406    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
6407      SUCCESS((short)0, "success"),
6408      IO((short)1, "io");
6409
6410      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
6411
6412      static {
6413        for (_Fields field : EnumSet.allOf(_Fields.class)) {
6414          byName.put(field.getFieldName(), field);
6415        }
6416      }
6417
6418      /**
6419       * Find the _Fields constant that matches fieldId, or null if its not found.
6420       */
6421      public static _Fields findByThriftId(int fieldId) {
6422        switch(fieldId) {
6423          case 0: // SUCCESS
6424            return SUCCESS;
6425          case 1: // IO
6426            return IO;
6427          default:
6428            return null;
6429        }
6430      }
6431
6432      /**
6433       * Find the _Fields constant that matches fieldId, throwing an exception
6434       * if it is not found.
6435       */
6436      public static _Fields findByThriftIdOrThrow(int fieldId) {
6437        _Fields fields = findByThriftId(fieldId);
6438        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
6439        return fields;
6440      }
6441
6442      /**
6443       * Find the _Fields constant that matches name, or null if its not found.
6444       */
6445      public static _Fields findByName(String name) {
6446        return byName.get(name);
6447      }
6448
6449      private final short _thriftId;
6450      private final String _fieldName;
6451
6452      _Fields(short thriftId, String fieldName) {
6453        _thriftId = thriftId;
6454        _fieldName = fieldName;
6455      }
6456
6457      public short getThriftFieldId() {
6458        return _thriftId;
6459      }
6460
6461      public String getFieldName() {
6462        return _fieldName;
6463      }
6464    }
6465
6466    // isset id assignments
6467    private static final int __SUCCESS_ISSET_ID = 0;
6468    private BitSet __isset_bit_vector = new BitSet(1);
6469    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
6470    static {
6471      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
6472      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6473          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
6474      tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6475          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
6476      metaDataMap = Collections.unmodifiableMap(tmpMap);
6477      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTableEnabled_result.class, metaDataMap);
6478    }
6479
6480    public isTableEnabled_result() {
6481    }
6482
6483    public isTableEnabled_result(
6484      boolean success,
6485      IOError io)
6486    {
6487      this();
6488      this.success = success;
6489      setSuccessIsSet(true);
6490      this.io = io;
6491    }
6492
6493    /**
6494     * Performs a deep copy on <i>other</i>.
6495     */
6496    public isTableEnabled_result(isTableEnabled_result other) {
6497      __isset_bit_vector.clear();
6498      __isset_bit_vector.or(other.__isset_bit_vector);
6499      this.success = other.success;
6500      if (other.isSetIo()) {
6501        this.io = new IOError(other.io);
6502      }
6503    }
6504
6505    public isTableEnabled_result deepCopy() {
6506      return new isTableEnabled_result(this);
6507    }
6508
6509    @Override
6510    public void clear() {
6511      setSuccessIsSet(false);
6512      this.success = false;
6513      this.io = null;
6514    }
6515
6516    public boolean isSuccess() {
6517      return this.success;
6518    }
6519
6520    public isTableEnabled_result setSuccess(boolean success) {
6521      this.success = success;
6522      setSuccessIsSet(true);
6523      return this;
6524    }
6525
6526    public void unsetSuccess() {
6527      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
6528    }
6529
6530    /** Returns true if field success is set (has been assigned a value) and false otherwise */
6531    public boolean isSetSuccess() {
6532      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
6533    }
6534
6535    public void setSuccessIsSet(boolean value) {
6536      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
6537    }
6538
6539    public IOError getIo() {
6540      return this.io;
6541    }
6542
6543    public isTableEnabled_result setIo(IOError io) {
6544      this.io = io;
6545      return this;
6546    }
6547
6548    public void unsetIo() {
6549      this.io = null;
6550    }
6551
6552    /** Returns true if field io is set (has been assigned a value) and false otherwise */
6553    public boolean isSetIo() {
6554      return this.io != null;
6555    }
6556
6557    public void setIoIsSet(boolean value) {
6558      if (!value) {
6559        this.io = null;
6560      }
6561    }
6562
6563    public void setFieldValue(_Fields field, Object value) {
6564      switch (field) {
6565      case SUCCESS:
6566        if (value == null) {
6567          unsetSuccess();
6568        } else {
6569          setSuccess((Boolean)value);
6570        }
6571        break;
6572
6573      case IO:
6574        if (value == null) {
6575          unsetIo();
6576        } else {
6577          setIo((IOError)value);
6578        }
6579        break;
6580
6581      }
6582    }
6583
6584    public Object getFieldValue(_Fields field) {
6585      switch (field) {
6586      case SUCCESS:
6587        return Boolean.valueOf(isSuccess());
6588
6589      case IO:
6590        return getIo();
6591
6592      }
6593      throw new IllegalStateException();
6594    }
6595
6596    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
6597    public boolean isSet(_Fields field) {
6598      if (field == null) {
6599        throw new IllegalArgumentException();
6600      }
6601
6602      switch (field) {
6603      case SUCCESS:
6604        return isSetSuccess();
6605      case IO:
6606        return isSetIo();
6607      }
6608      throw new IllegalStateException();
6609    }
6610
6611    @Override
6612    public boolean equals(Object that) {
6613      if (that == null)
6614        return false;
6615      if (that instanceof isTableEnabled_result)
6616        return this.equals((isTableEnabled_result)that);
6617      return false;
6618    }
6619
6620    public boolean equals(isTableEnabled_result that) {
6621      if (that == null)
6622        return false;
6623
6624      boolean this_present_success = true;
6625      boolean that_present_success = true;
6626      if (this_present_success || that_present_success) {
6627        if (!(this_present_success && that_present_success))
6628          return false;
6629        if (this.success != that.success)
6630          return false;
6631      }
6632
6633      boolean this_present_io = true && this.isSetIo();
6634      boolean that_present_io = true && that.isSetIo();
6635      if (this_present_io || that_present_io) {
6636        if (!(this_present_io && that_present_io))
6637          return false;
6638        if (!this.io.equals(that.io))
6639          return false;
6640      }
6641
6642      return true;
6643    }
6644
6645    @Override
6646    public int hashCode() {
6647      HashCodeBuilder builder = new HashCodeBuilder();
6648
6649      boolean present_success = true;
6650      builder.append(present_success);
6651      if (present_success)
6652        builder.append(success);
6653
6654      boolean present_io = true && (isSetIo());
6655      builder.append(present_io);
6656      if (present_io)
6657        builder.append(io);
6658
6659      return builder.toHashCode();
6660    }
6661
6662    public int compareTo(isTableEnabled_result other) {
6663      if (!getClass().equals(other.getClass())) {
6664        return getClass().getName().compareTo(other.getClass().getName());
6665      }
6666
6667      int lastComparison = 0;
6668      isTableEnabled_result typedOther = (isTableEnabled_result)other;
6669
6670      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
6671      if (lastComparison != 0) {
6672        return lastComparison;
6673      }
6674      if (isSetSuccess()) {
6675        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
6676        if (lastComparison != 0) {
6677          return lastComparison;
6678        }
6679      }
6680      lastComparison = Boolean.valueOf(isSetIo()).compareTo(typedOther.isSetIo());
6681      if (lastComparison != 0) {
6682        return lastComparison;
6683      }
6684      if (isSetIo()) {
6685        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, typedOther.io);
6686        if (lastComparison != 0) {
6687          return lastComparison;
6688        }
6689      }
6690      return 0;
6691    }
6692
6693    public _Fields fieldForId(int fieldId) {
6694      return _Fields.findByThriftId(fieldId);
6695    }
6696
6697    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
6698      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
6699    }
6700
6701    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
6702      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
6703      }
6704
6705    @Override
6706    public String toString() {
6707      StringBuilder sb = new StringBuilder("isTableEnabled_result(");
6708      boolean first = true;
6709
6710      sb.append("success:");
6711      sb.append(this.success);
6712      first = false;
6713      if (!first) sb.append(", ");
6714      sb.append("io:");
6715      if (this.io == null) {
6716        sb.append("null");
6717      } else {
6718        sb.append(this.io);
6719      }
6720      first = false;
6721      sb.append(")");
6722      return sb.toString();
6723    }
6724
6725    public void validate() throws org.apache.thrift.TException {
6726      // check for required fields
6727    }
6728
6729    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
6730      try {
6731        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
6732      } catch (org.apache.thrift.TException te) {
6733        throw new java.io.IOException(te);
6734      }
6735    }
6736
6737    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
6738      try {
6739        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
6740      } catch (org.apache.thrift.TException te) {
6741        throw new java.io.IOException(te);
6742      }
6743    }
6744
6745    private static class isTableEnabled_resultStandardSchemeFactory implements SchemeFactory {
6746      public isTableEnabled_resultStandardScheme getScheme() {
6747        return new isTableEnabled_resultStandardScheme();
6748      }
6749    }
6750
6751    private static class isTableEnabled_resultStandardScheme extends StandardScheme<isTableEnabled_result> {
6752
6753      public void read(org.apache.thrift.protocol.TProtocol iprot, isTableEnabled_result struct) throws org.apache.thrift.TException {
6754        org.apache.thrift.protocol.TField schemeField;
6755        iprot.readStructBegin();
6756        while (true)
6757        {
6758          schemeField = iprot.readFieldBegin();
6759          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
6760            break;
6761          }
6762          switch (schemeField.id) {
6763            case 0: // SUCCESS
6764              if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
6765                struct.success = iprot.readBool();
6766                struct.setSuccessIsSet(true);
6767              } else { 
6768                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6769              }
6770              break;
6771            case 1: // IO
6772              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
6773                struct.io = new IOError();
6774                struct.io.read(iprot);
6775                struct.setIoIsSet(true);
6776              } else { 
6777                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6778              }
6779              break;
6780            default:
6781              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6782          }
6783          iprot.readFieldEnd();
6784        }
6785        iprot.readStructEnd();
6786
6787        // check for required fields of primitive type, which can't be checked in the validate method
6788        struct.validate();
6789      }
6790
6791      public void write(org.apache.thrift.protocol.TProtocol oprot, isTableEnabled_result struct) throws org.apache.thrift.TException {
6792        struct.validate();
6793
6794        oprot.writeStructBegin(STRUCT_DESC);
6795        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
6796        oprot.writeBool(struct.success);
6797        oprot.writeFieldEnd();
6798        if (struct.io != null) {
6799          oprot.writeFieldBegin(IO_FIELD_DESC);
6800          struct.io.write(oprot);
6801          oprot.writeFieldEnd();
6802        }
6803        oprot.writeFieldStop();
6804        oprot.writeStructEnd();
6805      }
6806
6807    }
6808
6809    private static class isTableEnabled_resultTupleSchemeFactory implements SchemeFactory {
6810      public isTableEnabled_resultTupleScheme getScheme() {
6811        return new isTableEnabled_resultTupleScheme();
6812      }
6813    }
6814
6815    private static class isTableEnabled_resultTupleScheme extends TupleScheme<isTableEnabled_result> {
6816
6817      @Override
6818      public void write(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_result struct) throws org.apache.thrift.TException {
6819        TTupleProtocol oprot = (TTupleProtocol) prot;
6820        BitSet optionals = new BitSet();
6821        if (struct.isSetSuccess()) {
6822          optionals.set(0);
6823        }
6824        if (struct.isSetIo()) {
6825          optionals.set(1);
6826        }
6827        oprot.writeBitSet(optionals, 2);
6828        if (struct.isSetSuccess()) {
6829          oprot.writeBool(struct.success);
6830        }
6831        if (struct.isSetIo()) {
6832          struct.io.write(oprot);
6833        }
6834      }
6835
6836      @Override
6837      public void read(org.apache.thrift.protocol.TProtocol prot, isTableEnabled_result struct) throws org.apache.thrift.TException {
6838        TTupleProtocol iprot = (TTupleProtocol) prot;
6839        BitSet incoming = iprot.readBitSet(2);
6840        if (incoming.get(0)) {
6841          struct.success = iprot.readBool();
6842          struct.setSuccessIsSet(true);
6843        }
6844        if (incoming.get(1)) {
6845          struct.io = new IOError();
6846          struct.io.read(iprot);
6847          struct.setIoIsSet(true);
6848        }
6849      }
6850    }
6851
6852  }
6853
6854  public static class compact_args implements org.apache.thrift.TBase<compact_args, compact_args._Fields>, java.io.Serializable, Cloneable   {
6855    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("compact_args");
6856
6857    private static final org.apache.thrift.protocol.TField TABLE_NAME_OR_REGION_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableNameOrRegionName", org.apache.thrift.protocol.TType.STRING, (short)1);
6858
6859    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
6860    static {
6861      schemes.put(StandardScheme.class, new compact_argsStandardSchemeFactory());
6862      schemes.put(TupleScheme.class, new compact_argsTupleSchemeFactory());
6863    }
6864
6865    public ByteBuffer tableNameOrRegionName; // required
6866
6867    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
6868    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
6869      TABLE_NAME_OR_REGION_NAME((short)1, "tableNameOrRegionName");
6870
6871      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
6872
6873      static {
6874        for (_Fields field : EnumSet.allOf(_Fields.class)) {
6875          byName.put(field.getFieldName(), field);
6876        }
6877      }
6878
6879      /**
6880       * Find the _Fields constant that matches fieldId, or null if its not found.
6881       */
6882      public static _Fields findByThriftId(int fieldId) {
6883        switch(fieldId) {
6884          case 1: // TABLE_NAME_OR_REGION_NAME
6885            return TABLE_NAME_OR_REGION_NAME;
6886          default:
6887            return null;
6888        }
6889      }
6890
6891      /**
6892       * Find the _Fields constant that matches fieldId, throwing an exception
6893       * if it is not found.
6894       */
6895      public static _Fields findByThriftIdOrThrow(int fieldId) {
6896        _Fields fields = findByThriftId(fieldId);
6897        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
6898        return fields;
6899      }
6900
6901      /**
6902       * Find the _Fields constant that matches name, or null if its not found.
6903       */
6904      public static _Fields findByName(String name) {
6905        return byName.get(name);
6906      }
6907
6908      private final short _thriftId;
6909      private final String _fieldName;
6910
6911      _Fields(short thriftId, String fieldName) {
6912        _thriftId = thriftId;
6913        _fieldName = fieldName;
6914      }
6915
6916      public short getThriftFieldId() {
6917        return _thriftId;
6918      }
6919
6920      public String getFieldName() {
6921        return _fieldName;
6922      }
6923    }
6924
6925    // isset id assignments
6926    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
6927    static {
6928      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
6929      tmpMap.put(_Fields.TABLE_NAME_OR_REGION_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableNameOrRegionName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6930          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , "Bytes")));
6931      metaDataMap = Collections.unmodifiableMap(tmpMap);
6932      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(compact_args.class, metaDataMap);
6933    }
6934
6935    public compact_args() {
6936    }
6937
6938    public compact_args(
6939      ByteBuffer tableNameOrRegionName)
6940    {
6941      this();
6942      this.tableNameOrRegionName = tableNameOrRegionName;
6943    }
6944
6945    /**
6946     * Performs a deep copy on <i>other</i>.
6947     */
6948    public compact_args(compact_args other) {
6949      if (other.isSetTableNameOrRegionName()) {
6950        this.tableNameOrRegionName = other.tableNameOrRegionName;
6951      }
6952    }
6953
6954    public compact_args deepCopy() {
6955      return new compact_args(this);
6956    }
6957
6958    @Override
6959    public void clear() {
6960      this.tableNameOrRegionName = null;
6961    }
6962
6963    public byte[] getTableNameOrRegionName() {
6964      setTableNameOrRegionName(org.apache.thrift.TBaseHelper.rightSize(tableNameOrRegionName));
6965      return tableNameOrRegionName == null ? null : tableNameOrRegionName.array();
6966    }
6967
6968    public ByteBuffer bufferForTableNameOrRegionName() {
6969      return tableNameOrRegionName;
6970    }
6971
6972    public compact_args setTableNameOrRegionName(byte[] tableNameOrRegionName) {
6973      setTableNameOrRegionName(tableNameOrRegionName == null ? (ByteBuffer)null : ByteBuffer.wrap(tableNameOrRegionName));
6974      return this;
6975    }
6976
6977    public compact_args setTableNameOrRegionName(ByteBuffer tableNameOrRegionName) {
6978      this.tableNameOrRegionName = tableNameOrRegionName;
6979      return this;
6980    }
6981
6982    public void unsetTableNameOrRegionName() {
6983      this.tableNameOrRegionName = null;
6984    }
6985
6986    /** Returns true if field tableNameOrRegionName is set (has been assigned a value) and false otherwise */
6987    public boolean isSetTableNameOrRegionName() {
6988      return this.tableNameOrRegionName != null;
6989    }
6990
6991    public void setTableNameOrRegionNameIsSet(boolean value) {
6992      if (!value) {
6993        this.tableNameOrRegionName = null;
6994      }
6995    }
6996
6997    public void setFieldValue(_Fields field, Object value) {
6998      switch (field) {
6999      case TABLE_NAME_OR_REGION_NAME:
7000        if (value == null) {
7001          unsetTableNameOrRegionName();
7002        } else {
7003          setTableNameOrRegionName((ByteBuffer)value);
7004        }
7005        break;
7006
7007      }
7008    }
7009
7010    public Object getFieldValue(_Fields field) {
7011      switch (field) {
7012      case TABLE_NAME_OR_REGION_NAME:
7013        return getTableNameOrRegionName();
7014
7015      }
7016      throw new IllegalStateException();
7017    }
7018
7019    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
7020    public boolean isSet(_Fields field) {
7021      if (field == null) {
7022        throw new IllegalArgumentException();
7023      }
7024
7025      switch (field) {
7026      case TABLE_NAME_OR_REGION_NAME:
7027        return isSetTableNameOrRegionName();
7028      }
7029      throw new IllegalStateException();
7030    }
7031
7032    @Override
7033    public boolean equals(Object that) {
7034      if (that == null)
7035        return false;
7036      if (that instanceof compact_args)
7037        return this.equals((compact_args)that);
7038      return false;
7039    }
7040
7041    public boolean equals(compact_args that) {
7042      if (that == null)
7043        return false;
7044
7045      boolean this_present_tableNameOrRegionName = true && this.isSetTableNameOrRegionName();
7046      boolean that_present_tableNameOrRegionName = true && that.isSetTableNameOrRegionName();
7047      if (this_present_tableNameOrRegionName || that_present_tableNameOrRegionName) {
7048        if (!(this_present_tableNameOrRegionName && that_present_tableNameOrRegionName))
7049          return false;
7050        if (!this.tableNameOrRegionName.equals(that.tableNameOrRegionName))
7051          return false;
7052      }
7053
7054      return true;
7055    }
7056
7057    @Override
7058    public int hashCode() {
7059      HashCodeBuilder builder = new HashCodeBuilder();
7060
7061      boolean present_tableNameOrRegionName = true && (isSetTableNameOrRegionName());
7062      builder.append(present_tableNameOrRegionName);
7063      if (present_tableNameOrRegionName)
7064        builder.append(tableNameOrRegionName);
7065
7066      return builder.toHashCode();
7067    }
7068
7069    public int compareTo(compact_args other) {
7070      if (!getClass().equals(other.getClass())) {
7071        return getClass().getName().compareTo(other.getClass().getName());
7072      }
7073
7074      int lastComparison = 0;
7075      compact_args typedOther = (compact_args)other;
7076
7077      lastComparison = Boolean.valueOf(isSetTableNameOrRegionName()).compareTo(typedOther.isSetTableNameOrRegionName());
7078      if (lastComparison != 0) {
7079        return lastComparison;
7080      }
7081      if (isSetTableNameOrRegionName()) {
7082        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableNameOrRegionName, typedOther.tableNameOrRegionName);
7083        if (lastComparison != 0) {
7084          return lastComparison;
7085        }
7086      }
7087      return 0;
7088    }
7089
7090    public _Fields fieldForId(int fieldId) {
7091      return _Fields.findByThriftId(fieldId);
7092    }
7093
7094    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
7095      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
7096    }
7097
7098    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
7099      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
7100    }
7101
7102    @Override
7103    public String toString() {
7104      StringBuilder sb = new StringBuilder("compact_args(");
7105      boolean first = true;
7106
7107      sb.append("tableNameOrRegionName:");
7108      if (this.tableNameOrRegionName == null) {
7109        sb.append("null");
7110      } else {
7111        sb.append(this.tableNameOrRegionName);
7112      }
7113      first = false;
7114      sb.append(")");
7115      return sb.toString();
7116    }
7117
7118    public void validate() throws org.apache.thrift.TException {
7119      // check for required fields
7120    }
7121
7122    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
7123      try {
7124        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
7125      } catch (org.apache.thrift.TException te) {
7126        throw new java.io.IOException(te);
7127      }
7128    }
7129
7130    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
7131      try {
7132        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
7133      } catch (org.apache.thrift.TException te) {
7134        throw new java.io.IOException(te);
7135      }
7136    }
7137
7138    private static class compact_argsStandardSchemeFactory implements SchemeFactory {
7139      public compact_argsStandardScheme getScheme() {
7140        return new compact_argsStandardScheme();
7141      }
7142    }
7143
7144    private static class compact_argsStandardScheme extends StandardScheme<compact_args> {
7145
7146      public void read(org.apache.thrift.protocol.TProtocol iprot, compact_args struct) throws org.apache.thrift.TException {
7147        org.apache.thrift.protocol.TField schemeField;
7148        iprot.readStructBegin();
7149        while (true)
7150        {
7151          schemeField = iprot.readFieldBegin();
7152          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
7153            break;
7154          }
7155          switch (schemeField.id) {
7156            case 1: // TABLE_NAME_OR_REGION_NAME
7157              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
7158                struct.tableNameOrRegionName = iprot.readBinary();
7159                struct.setTableNameOrRegionNameIsSet(true);
7160              } else { 
7161                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7162              }
7163              break;
7164            default:
7165              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7166          }
7167          iprot.readFieldEnd();
7168        }
7169        iprot.readStructEnd();
7170
7171        // check for required fields of primitive type, which can't be checked in the validate method
7172        struct.validate();
7173      }
7174
7175      public void write(org.apache.thrift.protocol.TProtocol oprot, compact_args struct) throws org.apache.thrift.TException {
7176        struct.validate();
7177
7178        oprot.writeStructBegin(STRUCT_DESC);
7179        if (struct.tableNameOrRegionName != null) {
7180          oprot.writeFieldBegin(TABLE_NAME_OR_REGION_NAME_FIELD_DESC);
7181          oprot.writeBinary(struct.tableNameOrRegionName);
7182          oprot.writeFieldEnd();
7183        }
7184        oprot.writeFieldStop();
7185        oprot.writeStructEnd();
7186      }
7187
7188    }
7189
7190    private static class compact_argsTupleSchemeFactory implements SchemeFactory {
7191      public compact_argsTupleScheme getScheme() {
7192        return new compact_argsTupleScheme();
7193      }
7194    }
7195
7196    private static class compact_argsTupleScheme extends TupleScheme<compact_args> {
7197
7198      @Override
7199      public void write(org.apache.thrift.protocol.TProtocol prot, compact_args struct) throws org.apache.thrift.TException {
7200        TTupleProtocol oprot = (TTupleProtocol) prot;
7201        BitSet optionals = new BitSet();
7202        if (struct.isSetTableNameOrRegionName()) {
7203          optionals.set(0);
7204        }
7205        oprot.writeBitSet(optionals, 1);
7206        if (struct.isSetTableNameOrRegionName()) {
7207          oprot.writeBinary(struct.tableNameOrRegionName);
7208        }
7209      }
7210
7211      @Override
7212      public void read(org.apache.thrift.protocol.TProtocol prot, compact_args struct) throws org.apache.thrift.TException {
7213        TTupleProtocol iprot = (TTupleProtocol) prot;
7214        BitSet incoming = iprot.readBitSet(1);
7215        if (incoming.get(0)) {
7216          struct.tableNameOrRegionName = iprot.readBinary();
7217          struct.setTableNameOrRegionNameIsSet(true);
7218        }
7219      }
7220    }
7221
7222  }
7223
7224  public static class compact_result implements org.apache.thrift.TBase<compact_result, compact_result._Fields>, java.io.Serializable, Cloneable   {
7225    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("compact_result");
7226
7227    private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1);
7228
7229    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
7230    static {
7231      schemes.put(StandardScheme.class, new compact_resultStandardSchemeFactory());
7232      schemes.put(TupleScheme.class, new compact_resultTupleSchemeFactory());
7233    }
7234
7235    public IOError io; // required
7236
7237    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
7238    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
7239      IO((short)1, "io");
7240
7241      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
7242
7243      static {
7244        for (_Fields field : EnumSet.allOf(_Fields.class)) {
7245          byName.put(field.getFieldName(), field);
7246        }
7247      }
7248
7249      /**
7250       * Find the _Fields constant that matches fieldId, or null if its not found.
7251       */
7252      public static _Fields findByThriftId(int fieldId) {
7253        switch(fieldId) {
7254          case 1: // IO
7255            return IO;
7256          default:
7257            return null;
7258        }
7259      }
7260
7261      /**
7262       * Find the _Fields constant that matches fieldId, throwing an exception
7263       * if it is not found.
7264       */
7265      public static _Fields findByThriftIdOrThrow(int fieldId) {
7266        _Fields fields = findByThriftId(fieldId);
7267        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
7268        return fields;
7269      }
7270
7271      /**
7272       * Find the _Fields constant that matches name, or null if its not found.
7273       */
7274      public static _Fields findByName(String name) {
7275        return byName.get(name);
7276      }
7277
7278      private final short _thriftId;
7279      private final String _fieldName;
7280
7281      _Fields(short thriftId, String fieldName) {
7282        _thriftId = thriftId;
7283        _fieldName = fieldName;
7284      }
7285
7286      public short getThriftFieldId() {
7287        return _thriftId;
7288      }
7289
7290      public String getFieldName() {
7291        return _fieldName;
7292      }
7293    }
7294
7295    // isset id assignments
7296    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
7297    static {
7298      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
7299      tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, 
7300          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
7301      metaDataMap = Collections.unmodifiableMap(tmpMap);
7302      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(compact_result.class, metaDataMap);
7303    }
7304
7305    public compact_result() {
7306    }
7307
7308    public compact_result(
7309      IOError io)
7310    {
7311      this();
7312      this.io = io;
7313    }
7314
7315    /**
7316     * Performs a deep copy on <i>other</i>.
7317     */
7318    public compact_result(compact_result other) {
7319      if (other.isSetIo()) {
7320        this.io = new IOError(other.io);
7321      }
7322    }
7323
7324    public compact_result deepCopy() {
7325      return new compact_result(this);
7326    }
7327
7328    @Override
7329    public void clear() {
7330      this.io = null;
7331    }
7332
7333    public IOError getIo() {
7334      return this.io;
7335    }
7336
7337    public compact_result setIo(IOError io) {
7338      this.io = io;
7339      return this;
7340    }
7341
7342    public void unsetIo() {
7343      this.io = null;
7344    }
7345
7346    /** Returns true if field io is set (has been assigned a value) and false otherwise */
7347    public boolean isSetIo() {
7348      return this.io != null;
7349    }
7350
7351    public void setIoIsSet(boolean value) {
7352      if (!value) {
7353        this.io = null;
7354      }
7355    }
7356
7357    public void setFieldValue(_Fields field, Object value) {
7358      switch (field) {
7359      case IO:
7360        if (value == null) {
7361          unsetIo();
7362        } else {
7363          setIo((IOError)value);
7364        }
7365        break;
7366
7367      }
7368    }
7369
7370    public Object getFieldValue(_Fields field) {
7371      switch (field) {
7372      case IO:
7373        return getIo();
7374
7375      }
7376      throw new IllegalStateException();
7377    }
7378
7379    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
7380    public boolean isSet(_Fields field) {
7381      if (field == null) {
7382        throw new IllegalArgumentException();
7383      }
7384
7385      switch (field) {
7386      case IO:
7387        return isSetIo();
7388      }
7389      throw new IllegalStateException();
7390    }
7391
7392    @Override
7393    public boolean equals(Object that) {
7394      if (that == null)
7395        return false;
7396      if (that instanceof compact_result)
7397        return this.equals((compact_result)that);
7398      return false;
7399    }
7400
7401    public boolean equals(compact_result that) {
7402      if (that == null)
7403        return false;
7404
7405      boolean this_present_io = true && this.isSetIo();
7406      boolean that_present_io = true && that.isSetIo();
7407      if (this_present_io || that_present_io) {
7408        if (!(this_present_io && that_present_io))
7409          return false;
7410        if (!this.io.equals(that.io))
7411          return false;
7412      }
7413
7414      return true;
7415    }
7416
7417    @Override
7418    public int hashCode() {
7419      HashCodeBuilder builder = new HashCodeBuilder();
7420
7421      boolean present_io = true && (isSetIo());
7422      builder.append(present_io);
7423      if (present_io)
7424        builder.append(io);
7425
7426      return builder.toHashCode();
7427    }
7428
7429    public int compareTo(compact_result other) {
7430      if (!getClass().equals(other.getClass())) {
7431        return getClass().getName().compareTo(other.getClass().getName());
7432      }
7433
7434      int lastComparison = 0;
7435      compact_result typedOther = (compact_result)other;
7436
7437      lastComparison = Boolean.valueOf(isSetIo()).compareTo(typedOther.isSetIo());
7438      if (lastComparison != 0) {
7439        return lastComparison;
7440      }
7441      if (isSetIo()) {
7442        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, typedOther.io);
7443        if (lastComparison != 0) {
7444          return lastComparison;
7445        }
7446      }
7447      return 0;
7448    }
7449
7450    public _Fields fieldForId(int fieldId) {
7451      return _Fields.findByThriftId(fieldId);
7452    }
7453
7454    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
7455      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
7456    }
7457
7458    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
7459      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
7460      }
7461
7462    @Override
7463    public String toString() {
7464      StringBuilder sb = new StringBuilder("compact_result(");
7465      boolean first = true;
7466
7467      sb.append("io:");
7468      if (this.io == null) {
7469        sb.append("null");
7470      } else {
7471        sb.append(this.io);
7472      }
7473      first = false;
7474      sb.append(")");
7475      return sb.toString();
7476    }
7477
7478    public void validate() throws org.apache.thrift.TException {
7479      // check for required fields
7480    }
7481
7482    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
7483      try {
7484        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
7485      } catch (org.apache.thrift.TException te) {
7486        throw new java.io.IOException(te);
7487      }
7488    }
7489
7490    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
7491      try {
7492        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
7493      } catch (org.apache.thrift.TException te) {
7494        throw new java.io.IOException(te);
7495      }
7496    }
7497
7498    private static class compact_resultStandardSchemeFactory implements SchemeFactory {
7499      public compact_resultStandardScheme getScheme() {
7500        return new compact_resultStandardScheme();
7501      }
7502    }
7503
7504    private static class compact_resultStandardScheme extends StandardScheme<compact_result> {
7505
7506      public void read(org.apache.thrift.protocol.TProtocol iprot, compact_result struct) throws org.apache.thrift.TException {
7507        org.apache.thrift.protocol.TField schemeField;
7508        iprot.readStructBegin();
7509        while (true)
7510        {
7511          schemeField = iprot.readFieldBegin();
7512          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
7513            break;
7514          }
7515          switch (schemeField.id) {
7516            case 1: // IO
7517              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
7518                struct.io = new IOError();
7519                struct.io.read(iprot);
7520                struct.setIoIsSet(true);
7521              } else { 
7522                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7523              }
7524              break;
7525            default:
7526              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7527          }
7528          iprot.readFieldEnd();
7529        }
7530        iprot.readStructEnd();
7531
7532        // check for required fields of primitive type, which can't be checked in the validate method
7533        struct.validate();
7534      }
7535
7536      public void write(org.apache.thrift.protocol.TProtocol oprot, compact_result struct) throws org.apache.thrift.TException {
7537        struct.validate();
7538
7539        oprot.writeStructBegin(STRUCT_DESC);
7540        if (struct.io != null) {
7541          oprot.writeFieldBegin(IO_FIELD_DESC);
7542          struct.io.write(oprot);
7543          oprot.writeFieldEnd();
7544        }
7545        oprot.writeFieldStop();
7546        oprot.writeStructEnd();
7547      }
7548
7549    }
7550
7551    private static class compact_resultTupleSchemeFactory implements SchemeFactory {
7552      public compact_resultTupleScheme getScheme() {
7553        return new compact_resultTupleScheme();
7554      }
7555    }
7556
7557    private static class compact_resultTupleScheme extends TupleScheme<compact_result> {
7558
7559      @Override
7560      public void write(org.apache.thrift.protocol.TProtocol prot, compact_result struct) throws org.apache.thrift.TException {
7561        TTupleProtocol oprot = (TTupleProtocol) prot;
7562        BitSet optionals = new BitSet();
7563        if (struct.isSetIo()) {
7564          optionals.set(0);
7565        }
7566        oprot.writeBitSet(optionals, 1);
7567        if (struct.isSetIo()) {
7568          struct.io.write(oprot);
7569        }
7570      }
7571
7572      @Override
7573      public void read(org.apache.thrift.protocol.TProtocol prot, compact_result struct) throws org.apache.thrift.TException {
7574        TTupleProtocol iprot = (TTupleProtocol) prot;
7575        BitSet incoming = iprot.readBitSet(1);
7576        if (incoming.get(0)) {
7577          struct.io = new IOError();
7578          struct.io.read(iprot);
7579          struct.setIoIsSet(true);
7580        }
7581      }
7582    }
7583
7584  }
7585
7586  public static class majorCompact_args implements org.apache.thrift.TBase<majorCompact_args, majorCompact_args._Fields>, java.io.Serializable, Cloneable   {
7587    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("majorCompact_args");
7588
7589    private static final org.apache.thrift.protocol.TField TABLE_NAME_OR_REGION_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableNameOrRegionName", org.apache.thrift.protocol.TType.STRING, (short)1);
7590
7591    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
7592    static {
7593      schemes.put(StandardScheme.class, new majorCompact_argsStandardSchemeFactory());
7594      schemes.put(TupleScheme.class, new majorCompact_argsTupleSchemeFactory());
7595    }
7596
7597    public ByteBuffer tableNameOrRegionName; // required
7598
7599    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
7600    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
7601      TABLE_NAME_OR_REGION_NAME((short)1, "tableNameOrRegionName");
7602
7603      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
7604
7605      static {
7606        for (_Fields field : EnumSet.allOf(_Fields.class)) {
7607          byName.put(field.getFieldName(), field);
7608        }
7609      }
7610
7611      /**
7612       * Find the _Fields constant that matches fieldId, or null if its not found.
7613       */
7614      public static _Fields findByThriftId(int fieldId) {
7615        switch(fieldId) {
7616          case 1: // TABLE_NAME_OR_REGION_NAME
7617            return TABLE_NAME_OR_REGION_NAME;
7618          default:
7619            return null;
7620        }
7621      }
7622
7623      /**
7624       * Find the _Fields constant that matches fieldId, throwing an exception
7625       * if it is not found.
7626       */
7627      public static _Fields findByThriftIdOrThrow(int fieldId) {
7628        _Fields fields = findByThriftId(fieldId);
7629        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
7630        return fields;
7631      }
7632
7633      /**
7634       * Find the _Fields constant that matches name, or null if its not found.
7635       */
7636      public static _Fields findByName(String name) {
7637        return byName.get(name);
7638      }
7639
7640      private final short _thriftId;
7641      private final String _fieldName;
7642
7643      _Fields(short thriftId, String fieldName) {
7644        _thriftId = thriftId;
7645        _fieldName = fieldName;
7646      }
7647
7648      public short getThriftFieldId() {
7649        return _thriftId;
7650      }
7651
7652      public String getFieldName() {
7653        return _fieldName;
7654      }
7655    }
7656
7657    // isset id assignments
7658    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
7659    static {
7660      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
7661      tmpMap.put(_Fields.TABLE_NAME_OR_REGION_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableNameOrRegionName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
7662          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , "Bytes")));
7663      metaDataMap = Collections.unmodifiableMap(tmpMap);
7664      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(majorCompact_args.class, metaDataMap);
7665    }
7666
7667    public majorCompact_args() {
7668    }
7669
7670    public majorCompact_args(
7671      ByteBuffer tableNameOrRegionName)
7672    {
7673      this();
7674      this.tableNameOrRegionName = tableNameOrRegionName;
7675    }
7676
7677    /**
7678     * Performs a deep copy on <i>other</i>.
7679     */
7680    public majorCompact_args(majorCompact_args other) {
7681      if (other.isSetTableNameOrRegionName()) {
7682        this.tableNameOrRegionName = other.tableNameOrRegionName;
7683      }
7684    }
7685
7686    public majorCompact_args deepCopy() {
7687      return new majorCompact_args(this);
7688    }
7689
7690    @Override
7691    public void clear() {
7692      this.tableNameOrRegionName = null;
7693    }
7694
7695    public byte[] getTableNameOrRegionName() {
7696      setTableNameOrRegionName(org.apache.thrift.TBaseHelper.rightSize(tableNameOrRegionName));
7697      return tableNameOrRegionName == null ? null : tableNameOrRegionName.array();
7698    }
7699
7700    public ByteBuffer bufferForTableNameOrRegionName() {
7701      return tableNameOrRegionName;
7702    }
7703
7704    public majorCompact_args setTableNameOrRegionName(byte[] tableNameOrRegionName) {
7705      setTableNameOrRegionName(tableNameOrRegionName == null ? (ByteBuffer)null : ByteBuffer.wrap(tableNameOrRegionName));
7706      return this;
7707    }
7708
7709    public majorCompact_args setTableNameOrRegionName(ByteBuffer tableNameOrRegionName) {
7710      this.tableNameOrRegionName = tableNameOrRegionName;
7711      return this;
7712    }
7713
7714    public void unsetTableNameOrRegionName() {
7715      this.tableNameOrRegionName = null;
7716    }
7717
7718    /** Returns true if field tableNameOrRegionName is set (has been assigned a value) and false otherwise */
7719    public boolean isSetTableNameOrRegionName() {
7720      return this.tableNameOrRegionName != null;
7721    }
7722
7723    public void setTableNameOrRegionNameIsSet(boolean value) {
7724      if (!value) {
7725        this.tableNameOrRegionName = null;
7726      }
7727    }
7728
7729    public void setFieldValue(_Fields field, Object value) {
7730      switch (field) {
7731      case TABLE_NAME_OR_REGION_NAME:
7732        if (value == null) {
7733          unsetTableNameOrRegionName();
7734        } else {
7735          setTableNameOrRegionName((ByteBuffer)value);
7736        }
7737        break;
7738
7739      }
7740    }
7741
7742    public Object getFieldValue(_Fields field) {
7743      switch (field) {
7744      case TABLE_NAME_OR_REGION_NAME:
7745        return getTableNameOrRegionName();
7746
7747      }
7748      throw new IllegalStateException();
7749    }
7750
7751    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
7752    public boolean isSet(_Fields field) {
7753      if (field == null) {
7754        throw new IllegalArgumentException();
7755      }
7756
7757      switch (field) {
7758      case TABLE_NAME_OR_REGION_NAME:
7759        return isSetTableNameOrRegionName();
7760      }
7761      throw new IllegalStateException();
7762    }
7763
7764    @Override
7765    public boolean equals(Object that) {
7766      if (that == null)
7767        return false;
7768      if (that instanceof majorCompact_args)
7769        return this.equals((majorCompact_args)that);
7770      return false;
7771    }
7772
7773    public boolean equals(majorCompact_args that) {
7774      if (that == null)
7775        return false;
7776
7777      boolean this_present_tableNameOrRegionName = true && this.isSetTableNameOrRegionName();
7778      boolean that_present_tableNameOrRegionName = true && that.isSetTableNameOrRegionName();
7779      if (this_present_tableNameOrRegionName || that_present_tableNameOrRegionName) {
7780        if (!(this_present_tableNameOrRegionName && that_present_tableNameOrRegionName))
7781          return false;
7782        if (!this.tableNameOrRegionName.equals(that.tableNameOrRegionName))
7783          return false;
7784      }
7785
7786      return true;
7787    }
7788
7789    @Override
7790    public int hashCode() {
7791      HashCodeBuilder builder = new HashCodeBuilder();
7792
7793      boolean present_tableNameOrRegionName = true && (isSetTableNameOrRegionName());
7794      builder.append(present_tableNameOrRegionName);
7795      if (present_tableNameOrRegionName)
7796        builder.append(tableNameOrRegionName);
7797
7798      return builder.toHashCode();
7799    }
7800
7801    public int compareTo(majorCompact_args other) {
7802      if (!getClass().equals(other.getClass())) {
7803        return getClass().getName().compareTo(other.getClass().getName());
7804      }
7805
7806      int lastComparison = 0;
7807      majorCompact_args typedOther = (majorCompact_args)other;
7808
7809      lastComparison = Boolean.valueOf(isSetTableNameOrRegionName()).compareTo(typedOther.isSetTableNameOrRegionName());
7810      if (lastComparison != 0) {
7811        return lastComparison;
7812      }
7813      if (isSetTableNameOrRegionName()) {
7814        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableNameOrRegionName, typedOther.tableNameOrRegionName);
7815        if (lastComparison != 0) {
7816          return lastComparison;
7817        }
7818      }
7819      return 0;
7820    }
7821
7822    public _Fields fieldForId(int fieldId) {
7823      return _Fields.findByThriftId(fieldId);
7824    }
7825
7826    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
7827      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
7828    }
7829
7830    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
7831      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
7832    }
7833
7834    @Override
7835    public String toString() {
7836      StringBuilder sb = new StringBuilder("majorCompact_args(");
7837      boolean first = true;
7838
7839      sb.append("tableNameOrRegionName:");
7840      if (this.tableNameOrRegionName == null) {
7841        sb.append("null");
7842      } else {
7843        sb.append(this.tableNameOrRegionName);
7844      }
7845      first = false;
7846      sb.append(")");
7847      return sb.toString();
7848    }
7849
7850    public void validate() throws org.apache.thrift.TException {
7851      // check for required fields
7852    }
7853
7854    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
7855      try {
7856        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
7857      } catch (org.apache.thrift.TException te) {
7858        throw new java.io.IOException(te);
7859      }
7860    }
7861
7862    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
7863      try {
7864        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
7865      } catch (org.apache.thrift.TException te) {
7866        throw new java.io.IOException(te);
7867      }
7868    }
7869
7870    private static class majorCompact_argsStandardSchemeFactory implements SchemeFactory {
7871      public majorCompact_argsStandardScheme getScheme() {
7872        return new majorCompact_argsStandardScheme();
7873      }
7874    }
7875
7876    private static class majorCompact_argsStandardScheme extends StandardScheme<majorCompact_args> {
7877
7878      public void read(org.apache.thrift.protocol.TProtocol iprot, majorCompact_args struct) throws org.apache.thrift.TException {
7879        org.apache.thrift.protocol.TField schemeField;
7880        iprot.readStructBegin();
7881        while (true)
7882        {
7883          schemeField = iprot.readFieldBegin();
7884          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
7885            break;
7886          }
7887          switch (schemeField.id) {
7888            case 1: // TABLE_NAME_OR_REGION_NAME
7889              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
7890                struct.tableNameOrRegionName = iprot.readBinary();
7891                struct.setTableNameOrRegionNameIsSet(true);
7892              } else { 
7893                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7894              }
7895              break;
7896            default:
7897              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7898          }
7899          iprot.readFieldEnd();
7900        }
7901        iprot.readStructEnd();
7902
7903        // check for required fields of primitive type, which can't be checked in the validate method
7904        struct.validate();
7905      }
7906
7907      public void write(org.apache.thrift.protocol.TProtocol oprot, majorCompact_args struct) throws org.apache.thrift.TException {
7908        struct.validate();
7909
7910        oprot.writeStructBegin(STRUCT_DESC);
7911        if (struct.tableNameOrRegionName != null) {
7912          oprot.writeFieldBegin(TABLE_NAME_OR_REGION_NAME_FIELD_DESC);
7913          oprot.writeBinary(struct.tableNameOrRegionName);
7914          oprot.writeFieldEnd();
7915        }
7916        oprot.writeFieldStop();
7917        oprot.writeStructEnd();
7918      }
7919
7920    }
7921
7922    private static class majorCompact_argsTupleSchemeFactory implements SchemeFactory {
7923      public majorCompact_argsTupleScheme getScheme() {
7924        return new majorCompact_argsTupleScheme();
7925      }
7926    }
7927
7928    private static class majorCompact_argsTupleScheme extends TupleScheme<majorCompact_args> {
7929
7930      @Override
7931      public void write(org.apache.thrift.protocol.TProtocol prot, majorCompact_args struct) throws org.apache.thrift.TException {
7932        TTupleProtocol oprot = (TTupleProtocol) prot;
7933        BitSet optionals = new BitSet();
7934        if (struct.isSetTableNameOrRegionName()) {
7935          optionals.set(0);
7936        }
7937        oprot.writeBitSet(optionals, 1);
7938        if (struct.isSetTableNameOrRegionName()) {
7939          oprot.writeBinary(struct.tableNameOrRegionName);
7940        }
7941      }
7942
7943      @Override
7944      public void read(org.apache.thrift.protocol.TProtocol prot, majorCompact_args struct) throws org.apache.thrift.TException {
7945        TTupleProtocol iprot = (TTupleProtocol) prot;
7946        BitSet incoming = iprot.readBitSet(1);
7947        if (incoming.get(0)) {
7948          struct.tableNameOrRegionName = iprot.readBinary();
7949          struct.setTableNameOrRegionNameIsSet(true);
7950        }
7951      }
7952    }
7953
7954  }
7955
7956  public static class majorCompact_result implements org.apache.thrift.TBase<majorCompact_result, majorCompact_result._Fields>, java.io.Serializable, Cloneable   {
7957    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("majorCompact_result");
7958
7959    private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1);
7960
7961    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
7962    static {
7963      schemes.put(StandardScheme.class, new majorCompact_resultStandardSchemeFactory());
7964      schemes.put(TupleScheme.class, new majorCompact_resultTupleSchemeFactory());
7965    }
7966
7967    public IOError io; // required
7968
7969    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
7970    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
7971      IO((short)1, "io");
7972
7973      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
7974
7975      static {
7976        for (_Fields field : EnumSet.allOf(_Fields.class)) {
7977          byName.put(field.getFieldName(), field);
7978        }
7979      }
7980
7981      /**
7982       * Find the _Fields constant that matches fieldId, or null if its not found.
7983       */
7984      public static _Fields findByThriftId(int fieldId) {
7985        switch(fieldId) {
7986          case 1: // IO
7987            return IO;
7988          default:
7989            return null;
7990        }
7991      }
7992
7993      /**
7994       * Find the _Fields constant that matches fieldId, throwing an exception
7995       * if it is not found.
7996       */
7997      public static _Fields findByThriftIdOrThrow(int fieldId) {
7998        _Fields fields = findByThriftId(fieldId);
7999        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
8000        return fields;
8001      }
8002
8003      /**
8004       * Find the _Fields constant that matches name, or null if its not found.
8005       */
8006      public static _Fields findByName(String name) {
8007        return byName.get(name);
8008      }
8009
8010      private final short _thriftId;
8011      private final String _fieldName;
8012
8013      _Fields(short thriftId, String fieldName) {
8014        _thriftId = thriftId;
8015        _fieldName = fieldName;
8016      }
8017
8018      public short getThriftFieldId() {
8019        return _thriftId;
8020      }
8021
8022      public String getFieldName() {
8023        return _fieldName;
8024      }
8025    }
8026
8027    // isset id assignments
8028    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
8029    static {
8030      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
8031      tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8032          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
8033      metaDataMap = Collections.unmodifiableMap(tmpMap);
8034      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(majorCompact_result.class, metaDataMap);
8035    }
8036
8037    public majorCompact_result() {
8038    }
8039
8040    public majorCompact_result(
8041      IOError io)
8042    {
8043      this();
8044      this.io = io;
8045    }
8046
8047    /**
8048     * Performs a deep copy on <i>other</i>.
8049     */
8050    public majorCompact_result(majorCompact_result other) {
8051      if (other.isSetIo()) {
8052        this.io = new IOError(other.io);
8053      }
8054    }
8055
8056    public majorCompact_result deepCopy() {
8057      return new majorCompact_result(this);
8058    }
8059
8060    @Override
8061    public void clear() {
8062      this.io = null;
8063    }
8064
8065    public IOError getIo() {
8066      return this.io;
8067    }
8068
8069    public majorCompact_result setIo(IOError io) {
8070      this.io = io;
8071      return this;
8072    }
8073
8074    public void unsetIo() {
8075      this.io = null;
8076    }
8077
8078    /** Returns true if field io is set (has been assigned a value) and false otherwise */
8079    public boolean isSetIo() {
8080      return this.io != null;
8081    }
8082
8083    public void setIoIsSet(boolean value) {
8084      if (!value) {
8085        this.io = null;
8086      }
8087    }
8088
8089    public void setFieldValue(_Fields field, Object value) {
8090      switch (field) {
8091      case IO:
8092        if (value == null) {
8093          unsetIo();
8094        } else {
8095          setIo((IOError)value);
8096        }
8097        break;
8098
8099      }
8100    }
8101
8102    public Object getFieldValue(_Fields field) {
8103      switch (field) {
8104      case IO:
8105        return getIo();
8106
8107      }
8108      throw new IllegalStateException();
8109    }
8110
8111    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
8112    public boolean isSet(_Fields field) {
8113      if (field == null) {
8114        throw new IllegalArgumentException();
8115      }
8116
8117      switch (field) {
8118      case IO:
8119        return isSetIo();
8120      }
8121      throw new IllegalStateException();
8122    }
8123
8124    @Override
8125    public boolean equals(Object that) {
8126      if (that == null)
8127        return false;
8128      if (that instanceof majorCompact_result)
8129        return this.equals((majorCompact_result)that);
8130      return false;
8131    }
8132
8133    public boolean equals(majorCompact_result that) {
8134      if (that == null)
8135        return false;
8136
8137      boolean this_present_io = true && this.isSetIo();
8138      boolean that_present_io = true && that.isSetIo();
8139      if (this_present_io || that_present_io) {
8140        if (!(this_present_io && that_present_io))
8141          return false;
8142        if (!this.io.equals(that.io))
8143          return false;
8144      }
8145
8146      return true;
8147    }
8148
8149    @Override
8150    public int hashCode() {
8151      HashCodeBuilder builder = new HashCodeBuilder();
8152
8153      boolean present_io = true && (isSetIo());
8154      builder.append(present_io);
8155      if (present_io)
8156        builder.append(io);
8157
8158      return builder.toHashCode();
8159    }
8160
8161    public int compareTo(majorCompact_result other) {
8162      if (!getClass().equals(other.getClass())) {
8163        return getClass().getName().compareTo(other.getClass().getName());
8164      }
8165
8166      int lastComparison = 0;
8167      majorCompact_result typedOther = (majorCompact_result)other;
8168
8169      lastComparison = Boolean.valueOf(isSetIo()).compareTo(typedOther.isSetIo());
8170      if (lastComparison != 0) {
8171        return lastComparison;
8172      }
8173      if (isSetIo()) {
8174        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, typedOther.io);
8175        if (lastComparison != 0) {
8176          return lastComparison;
8177        }
8178      }
8179      return 0;
8180    }
8181
8182    public _Fields fieldForId(int fieldId) {
8183      return _Fields.findByThriftId(fieldId);
8184    }
8185
8186    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
8187      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
8188    }
8189
8190    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
8191      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
8192      }
8193
8194    @Override
8195    public String toString() {
8196      StringBuilder sb = new StringBuilder("majorCompact_result(");
8197      boolean first = true;
8198
8199      sb.append("io:");
8200      if (this.io == null) {
8201        sb.append("null");
8202      } else {
8203        sb.append(this.io);
8204      }
8205      first = false;
8206      sb.append(")");
8207      return sb.toString();
8208    }
8209
8210    public void validate() throws org.apache.thrift.TException {
8211      // check for required fields
8212    }
8213
8214    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
8215      try {
8216        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
8217      } catch (org.apache.thrift.TException te) {
8218        throw new java.io.IOException(te);
8219      }
8220    }
8221
8222    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
8223      try {
8224        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
8225      } catch (org.apache.thrift.TException te) {
8226        throw new java.io.IOException(te);
8227      }
8228    }
8229
8230    private static class majorCompact_resultStandardSchemeFactory implements SchemeFactory {
8231      public majorCompact_resultStandardScheme getScheme() {
8232        return new majorCompact_resultStandardScheme();
8233      }
8234    }
8235
8236    private static class majorCompact_resultStandardScheme extends StandardScheme<majorCompact_result> {
8237
8238      public void read(org.apache.thrift.protocol.TProtocol iprot, majorCompact_result struct) throws org.apache.thrift.TException {
8239        org.apache.thrift.protocol.TField schemeField;
8240        iprot.readStructBegin();
8241        while (true)
8242        {
8243          schemeField = iprot.readFieldBegin();
8244          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
8245            break;
8246          }
8247          switch (schemeField.id) {
8248            case 1: // IO
8249              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
8250                struct.io = new IOError();
8251                struct.io.read(iprot);
8252                struct.setIoIsSet(true);
8253              } else { 
8254                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8255              }
8256              break;
8257            default:
8258              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8259          }
8260          iprot.readFieldEnd();
8261        }
8262        iprot.readStructEnd();
8263
8264        // check for required fields of primitive type, which can't be checked in the validate method
8265        struct.validate();
8266      }
8267
8268      public void write(org.apache.thrift.protocol.TProtocol oprot, majorCompact_result struct) throws org.apache.thrift.TException {
8269        struct.validate();
8270
8271        oprot.writeStructBegin(STRUCT_DESC);
8272        if (struct.io != null) {
8273          oprot.writeFieldBegin(IO_FIELD_DESC);
8274          struct.io.write(oprot);
8275          oprot.writeFieldEnd();
8276        }
8277        oprot.writeFieldStop();
8278        oprot.writeStructEnd();
8279      }
8280
8281    }
8282
8283    private static class majorCompact_resultTupleSchemeFactory implements SchemeFactory {
8284      public majorCompact_resultTupleScheme getScheme() {
8285        return new majorCompact_resultTupleScheme();
8286      }
8287    }
8288
8289    private static class majorCompact_resultTupleScheme extends TupleScheme<majorCompact_result> {
8290
8291      @Override
8292      public void write(org.apache.thrift.protocol.TProtocol prot, majorCompact_result struct) throws org.apache.thrift.TException {
8293        TTupleProtocol oprot = (TTupleProtocol) prot;
8294        BitSet optionals = new BitSet();
8295        if (struct.isSetIo()) {
8296          optionals.set(0);
8297        }
8298        oprot.writeBitSet(optionals, 1);
8299        if (struct.isSetIo()) {
8300          struct.io.write(oprot);
8301        }
8302      }
8303
8304      @Override
8305      public void read(org.apache.thrift.protocol.TProtocol prot, majorCompact_result struct) throws org.apache.thrift.TException {
8306        TTupleProtocol iprot = (TTupleProtocol) prot;
8307        BitSet incoming = iprot.readBitSet(1);
8308        if (incoming.get(0)) {
8309          struct.io = new IOError();
8310          struct.io.read(iprot);
8311          struct.setIoIsSet(true);
8312        }
8313      }
8314    }
8315
8316  }
8317
8318  public static class getTableNames_args implements org.apache.thrift.TBase<getTableNames_args, getTableNames_args._Fields>, java.io.Serializable, Cloneable   {
8319    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTableNames_args");
8320
8321
8322    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
8323    static {
8324      schemes.put(StandardScheme.class, new getTableNames_argsStandardSchemeFactory());
8325      schemes.put(TupleScheme.class, new getTableNames_argsTupleSchemeFactory());
8326    }
8327
8328
8329    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
8330    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
8331;
8332
8333      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
8334
8335      static {
8336        for (_Fields field : EnumSet.allOf(_Fields.class)) {
8337          byName.put(field.getFieldName(), field);
8338        }
8339      }
8340
8341      /**
8342       * Find the _Fields constant that matches fieldId, or null if its not found.
8343       */
8344      public static _Fields findByThriftId(int fieldId) {
8345        switch(fieldId) {
8346          default:
8347            return null;
8348        }
8349      }
8350
8351      /**
8352       * Find the _Fields constant that matches fieldId, throwing an exception
8353       * if it is not found.
8354       */
8355      public static _Fields findByThriftIdOrThrow(int fieldId) {
8356        _Fields fields = findByThriftId(fieldId);
8357        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
8358        return fields;
8359      }
8360
8361      /**
8362       * Find the _Fields constant that matches name, or null if its not found.
8363       */
8364      public static _Fields findByName(String name) {
8365        return byName.get(name);
8366      }
8367
8368      private final short _thriftId;
8369      private final String _fieldName;
8370
8371      _Fields(short thriftId, String fieldName) {
8372        _thriftId = thriftId;
8373        _fieldName = fieldName;
8374      }
8375
8376      public short getThriftFieldId() {
8377        return _thriftId;
8378      }
8379
8380      public String getFieldName() {
8381        return _fieldName;
8382      }
8383    }
8384    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
8385    static {
8386      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
8387      metaDataMap = Collections.unmodifiableMap(tmpMap);
8388      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNames_args.class, metaDataMap);
8389    }
8390
8391    public getTableNames_args() {
8392    }
8393
8394    /**
8395     * Performs a deep copy on <i>other</i>.
8396     */
8397    public getTableNames_args(getTableNames_args other) {
8398    }
8399
8400    public getTableNames_args deepCopy() {
8401      return new getTableNames_args(this);
8402    }
8403
8404    @Override
8405    public void clear() {
8406    }
8407
8408    public void setFieldValue(_Fields field, Object value) {
8409      switch (field) {
8410      }
8411    }
8412
8413    public Object getFieldValue(_Fields field) {
8414      switch (field) {
8415      }
8416      throw new IllegalStateException();
8417    }
8418
8419    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
8420    public boolean isSet(_Fields field) {
8421      if (field == null) {
8422        throw new IllegalArgumentException();
8423      }
8424
8425      switch (field) {
8426      }
8427      throw new IllegalStateException();
8428    }
8429
8430    @Override
8431    public boolean equals(Object that) {
8432      if (that == null)
8433        return false;
8434      if (that instanceof getTableNames_args)
8435        return this.equals((getTableNames_args)that);
8436      return false;
8437    }
8438
8439    public boolean equals(getTableNames_args that) {
8440      if (that == null)
8441        return false;
8442
8443      return true;
8444    }
8445
8446    @Override
8447    public int hashCode() {
8448      HashCodeBuilder builder = new HashCodeBuilder();
8449
8450      return builder.toHashCode();
8451    }
8452
8453    public int compareTo(getTableNames_args other) {
8454      if (!getClass().equals(other.getClass())) {
8455        return getClass().getName().compareTo(other.getClass().getName());
8456      }
8457
8458      int lastComparison = 0;
8459      getTableNames_args typedOther = (getTableNames_args)other;
8460
8461      return 0;
8462    }
8463
8464    public _Fields fieldForId(int fieldId) {
8465      return _Fields.findByThriftId(fieldId);
8466    }
8467
8468    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
8469      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
8470    }
8471
8472    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
8473      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
8474    }
8475
8476    @Override
8477    public String toString() {
8478      StringBuilder sb = new StringBuilder("getTableNames_args(");
8479      boolean first = true;
8480
8481      sb.append(")");
8482      return sb.toString();
8483    }
8484
8485    public void validate() throws org.apache.thrift.TException {
8486      // check for required fields
8487    }
8488
8489    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
8490      try {
8491        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
8492      } catch (org.apache.thrift.TException te) {
8493        throw new java.io.IOException(te);
8494      }
8495    }
8496
8497    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
8498      try {
8499        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
8500      } catch (org.apache.thrift.TException te) {
8501        throw new java.io.IOException(te);
8502      }
8503    }
8504
8505    private static class getTableNames_argsStandardSchemeFactory implements SchemeFactory {
8506      public getTableNames_argsStandardScheme getScheme() {
8507        return new getTableNames_argsStandardScheme();
8508      }
8509    }
8510
8511    private static class getTableNames_argsStandardScheme extends StandardScheme<getTableNames_args> {
8512
8513      public void read(org.apache.thrift.protocol.TProtocol iprot, getTableNames_args struct) throws org.apache.thrift.TException {
8514        org.apache.thrift.protocol.TField schemeField;
8515        iprot.readStructBegin();
8516        while (true)
8517        {
8518          schemeField = iprot.readFieldBegin();
8519          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
8520            break;
8521          }
8522          switch (schemeField.id) {
8523            default:
8524              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8525          }
8526          iprot.readFieldEnd();
8527        }
8528        iprot.readStructEnd();
8529
8530        // check for required fields of primitive type, which can't be checked in the validate method
8531        struct.validate();
8532      }
8533
8534      public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNames_args struct) throws org.apache.thrift.TException {
8535        struct.validate();
8536
8537        oprot.writeStructBegin(STRUCT_DESC);
8538        oprot.writeFieldStop();
8539        oprot.writeStructEnd();
8540      }
8541
8542    }
8543
8544    private static class getTableNames_argsTupleSchemeFactory implements SchemeFactory {
8545      public getTableNames_argsTupleScheme getScheme() {
8546        return new getTableNames_argsTupleScheme();
8547      }
8548    }
8549
8550    private static class getTableNames_argsTupleScheme extends TupleScheme<getTableNames_args> {
8551
8552      @Override
8553      public void write(org.apache.thrift.protocol.TProtocol prot, getTableNames_args struct) throws org.apache.thrift.TException {
8554        TTupleProtocol oprot = (TTupleProtocol) prot;
8555      }
8556
8557      @Override
8558      public void read(org.apache.thrift.protocol.TProtocol prot, getTableNames_args struct) throws org.apache.thrift.TException {
8559        TTupleProtocol iprot = (TTupleProtocol) prot;
8560      }
8561    }
8562
8563  }
8564
8565  public static class getTableNames_result implements org.apache.thrift.TBase<getTableNames_result, getTableNames_result._Fields>, java.io.Serializable, Cloneable   {
8566    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTableNames_result");
8567
8568    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
8569    private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1);
8570
8571    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
8572    static {
8573      schemes.put(StandardScheme.class, new getTableNames_resultStandardSchemeFactory());
8574      schemes.put(TupleScheme.class, new getTableNames_resultTupleSchemeFactory());
8575    }
8576
8577    public List<ByteBuffer> success; // required
8578    public IOError io; // required
8579
8580    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
8581    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
8582      SUCCESS((short)0, "success"),
8583      IO((short)1, "io");
8584
8585      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
8586
8587      static {
8588        for (_Fields field : EnumSet.allOf(_Fields.class)) {
8589          byName.put(field.getFieldName(), field);
8590        }
8591      }
8592
8593      /**
8594       * Find the _Fields constant that matches fieldId, or null if its not found.
8595       */
8596      public static _Fields findByThriftId(int fieldId) {
8597        switch(fieldId) {
8598          case 0: // SUCCESS
8599            return SUCCESS;
8600          case 1: // IO
8601            return IO;
8602          default:
8603            return null;
8604        }
8605      }
8606
8607      /**
8608       * Find the _Fields constant that matches fieldId, throwing an exception
8609       * if it is not found.
8610       */
8611      public static _Fields findByThriftIdOrThrow(int fieldId) {
8612        _Fields fields = findByThriftId(fieldId);
8613        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
8614        return fields;
8615      }
8616
8617      /**
8618       * Find the _Fields constant that matches name, or null if its not found.
8619       */
8620      public static _Fields findByName(String name) {
8621        return byName.get(name);
8622      }
8623
8624      private final short _thriftId;
8625      private final String _fieldName;
8626
8627      _Fields(short thriftId, String fieldName) {
8628        _thriftId = thriftId;
8629        _fieldName = fieldName;
8630      }
8631
8632      public short getThriftFieldId() {
8633        return _thriftId;
8634      }
8635
8636      public String getFieldName() {
8637        return _fieldName;
8638      }
8639    }
8640
8641    // isset id assignments
8642    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
8643    static {
8644      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
8645      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8646          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
8647              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING              , "Text"))));
8648      tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8649          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
8650      metaDataMap = Collections.unmodifiableMap(tmpMap);
8651      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableNames_result.class, metaDataMap);
8652    }
8653
8654    public getTableNames_result() {
8655    }
8656
8657    public getTableNames_result(
8658      List<ByteBuffer> success,
8659      IOError io)
8660    {
8661      this();
8662      this.success = success;
8663      this.io = io;
8664    }
8665
8666    /**
8667     * Performs a deep copy on <i>other</i>.
8668     */
8669    public getTableNames_result(getTableNames_result other) {
8670      if (other.isSetSuccess()) {
8671        List<ByteBuffer> __this__success = new ArrayList<ByteBuffer>();
8672        for (ByteBuffer other_element : other.success) {
8673          __this__success.add(other_element);
8674        }
8675        this.success = __this__success;
8676      }
8677      if (other.isSetIo()) {
8678        this.io = new IOError(other.io);
8679      }
8680    }
8681
8682    public getTableNames_result deepCopy() {
8683      return new getTableNames_result(this);
8684    }
8685
8686    @Override
8687    public void clear() {
8688      this.success = null;
8689      this.io = null;
8690    }
8691
8692    public int getSuccessSize() {
8693      return (this.success == null) ? 0 : this.success.size();
8694    }
8695
8696    public java.util.Iterator<ByteBuffer> getSuccessIterator() {
8697      return (this.success == null) ? null : this.success.iterator();
8698    }
8699
8700    public void addToSuccess(ByteBuffer elem) {
8701      if (this.success == null) {
8702        this.success = new ArrayList<ByteBuffer>();
8703      }
8704      this.success.add(elem);
8705    }
8706
8707    public List<ByteBuffer> getSuccess() {
8708      return this.success;
8709    }
8710
8711    public getTableNames_result setSuccess(List<ByteBuffer> success) {
8712      this.success = success;
8713      return this;
8714    }
8715
8716    public void unsetSuccess() {
8717      this.success = null;
8718    }
8719
8720    /** Returns true if field success is set (has been assigned a value) and false otherwise */
8721    public boolean isSetSuccess() {
8722      return this.success != null;
8723    }
8724
8725    public void setSuccessIsSet(boolean value) {
8726      if (!value) {
8727        this.success = null;
8728      }
8729    }
8730
8731    public IOError getIo() {
8732      return this.io;
8733    }
8734
8735    public getTableNames_result setIo(IOError io) {
8736      this.io = io;
8737      return this;
8738    }
8739
8740    public void unsetIo() {
8741      this.io = null;
8742    }
8743
8744    /** Returns true if field io is set (has been assigned a value) and false otherwise */
8745    public boolean isSetIo() {
8746      return this.io != null;
8747    }
8748
8749    public void setIoIsSet(boolean value) {
8750      if (!value) {
8751        this.io = null;
8752      }
8753    }
8754
8755    public void setFieldValue(_Fields field, Object value) {
8756      switch (field) {
8757      case SUCCESS:
8758        if (value == null) {
8759          unsetSuccess();
8760        } else {
8761          setSuccess((List<ByteBuffer>)value);
8762        }
8763        break;
8764
8765      case IO:
8766        if (value == null) {
8767          unsetIo();
8768        } else {
8769          setIo((IOError)value);
8770        }
8771        break;
8772
8773      }
8774    }
8775
8776    public Object getFieldValue(_Fields field) {
8777      switch (field) {
8778      case SUCCESS:
8779        return getSuccess();
8780
8781      case IO:
8782        return getIo();
8783
8784      }
8785      throw new IllegalStateException();
8786    }
8787
8788    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
8789    public boolean isSet(_Fields field) {
8790      if (field == null) {
8791        throw new IllegalArgumentException();
8792      }
8793
8794      switch (field) {
8795      case SUCCESS:
8796        return isSetSuccess();
8797      case IO:
8798        return isSetIo();
8799      }
8800      throw new IllegalStateException();
8801    }
8802
8803    @Override
8804    public boolean equals(Object that) {
8805      if (that == null)
8806        return false;
8807      if (that instanceof getTableNames_result)
8808        return this.equals((getTableNames_result)that);
8809      return false;
8810    }
8811
8812    public boolean equals(getTableNames_result that) {
8813      if (that == null)
8814        return false;
8815
8816      boolean this_present_success = true && this.isSetSuccess();
8817      boolean that_present_success = true && that.isSetSuccess();
8818      if (this_present_success || that_present_success) {
8819        if (!(this_present_success && that_present_success))
8820          return false;
8821        if (!this.success.equals(that.success))
8822          return false;
8823      }
8824
8825      boolean this_present_io = true && this.isSetIo();
8826      boolean that_present_io = true && that.isSetIo();
8827      if (this_present_io || that_present_io) {
8828        if (!(this_present_io && that_present_io))
8829          return false;
8830        if (!this.io.equals(that.io))
8831          return false;
8832      }
8833
8834      return true;
8835    }
8836
8837    @Override
8838    public int hashCode() {
8839      HashCodeBuilder builder = new HashCodeBuilder();
8840
8841      boolean present_success = true && (isSetSuccess());
8842      builder.append(present_success);
8843      if (present_success)
8844        builder.append(success);
8845
8846      boolean present_io = true && (isSetIo());
8847      builder.append(present_io);
8848      if (present_io)
8849        builder.append(io);
8850
8851      return builder.toHashCode();
8852    }
8853
8854    public int compareTo(getTableNames_result other) {
8855      if (!getClass().equals(other.getClass())) {
8856        return getClass().getName().compareTo(other.getClass().getName());
8857      }
8858
8859      int lastComparison = 0;
8860      getTableNames_result typedOther = (getTableNames_result)other;
8861
8862      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
8863      if (lastComparison != 0) {
8864        return lastComparison;
8865      }
8866      if (isSetSuccess()) {
8867        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
8868        if (lastComparison != 0) {
8869          return lastComparison;
8870        }
8871      }
8872      lastComparison = Boolean.valueOf(isSetIo()).compareTo(typedOther.isSetIo());
8873      if (lastComparison != 0) {
8874        return lastComparison;
8875      }
8876      if (isSetIo()) {
8877        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, typedOther.io);
8878        if (lastComparison != 0) {
8879          return lastComparison;
8880        }
8881      }
8882      return 0;
8883    }
8884
8885    public _Fields fieldForId(int fieldId) {
8886      return _Fields.findByThriftId(fieldId);
8887    }
8888
8889    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
8890      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
8891    }
8892
8893    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
8894      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
8895      }
8896
8897    @Override
8898    public String toString() {
8899      StringBuilder sb = new StringBuilder("getTableNames_result(");
8900      boolean first = true;
8901
8902      sb.append("success:");
8903      if (this.success == null) {
8904        sb.append("null");
8905      } else {
8906        sb.append(this.success);
8907      }
8908      first = false;
8909      if (!first) sb.append(", ");
8910      sb.append("io:");
8911      if (this.io == null) {
8912        sb.append("null");
8913      } else {
8914        sb.append(this.io);
8915      }
8916      first = false;
8917      sb.append(")");
8918      return sb.toString();
8919    }
8920
8921    public void validate() throws org.apache.thrift.TException {
8922      // check for required fields
8923    }
8924
8925    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
8926      try {
8927        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
8928      } catch (org.apache.thrift.TException te) {
8929        throw new java.io.IOException(te);
8930      }
8931    }
8932
8933    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
8934      try {
8935        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
8936      } catch (org.apache.thrift.TException te) {
8937        throw new java.io.IOException(te);
8938      }
8939    }
8940
8941    private static class getTableNames_resultStandardSchemeFactory implements SchemeFactory {
8942      public getTableNames_resultStandardScheme getScheme() {
8943        return new getTableNames_resultStandardScheme();
8944      }
8945    }
8946
8947    private static class getTableNames_resultStandardScheme extends StandardScheme<getTableNames_result> {
8948
8949      public void read(org.apache.thrift.protocol.TProtocol iprot, getTableNames_result struct) throws org.apache.thrift.TException {
8950        org.apache.thrift.protocol.TField schemeField;
8951        iprot.readStructBegin();
8952        while (true)
8953        {
8954          schemeField = iprot.readFieldBegin();
8955          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
8956            break;
8957          }
8958          switch (schemeField.id) {
8959            case 0: // SUCCESS
8960              if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
8961                {
8962                  org.apache.thrift.protocol.TList _list34 = iprot.readListBegin();
8963                  struct.success = new ArrayList<ByteBuffer>(_list34.size);
8964                  for (int _i35 = 0; _i35 < _list34.size; ++_i35)
8965                  {
8966                    ByteBuffer _elem36; // required
8967                    _elem36 = iprot.readBinary();
8968                    struct.success.add(_elem36);
8969                  }
8970                  iprot.readListEnd();
8971                }
8972                struct.setSuccessIsSet(true);
8973              } else { 
8974                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8975              }
8976              break;
8977            case 1: // IO
8978              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
8979                struct.io = new IOError();
8980                struct.io.read(iprot);
8981                struct.setIoIsSet(true);
8982              } else { 
8983                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8984              }
8985              break;
8986            default:
8987              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8988          }
8989          iprot.readFieldEnd();
8990        }
8991        iprot.readStructEnd();
8992
8993        // check for required fields of primitive type, which can't be checked in the validate method
8994        struct.validate();
8995      }
8996
8997      public void write(org.apache.thrift.protocol.TProtocol oprot, getTableNames_result struct) throws org.apache.thrift.TException {
8998        struct.validate();
8999
9000        oprot.writeStructBegin(STRUCT_DESC);
9001        if (struct.success != null) {
9002          oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
9003          {
9004            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size()));
9005            for (ByteBuffer _iter37 : struct.success)
9006            {
9007              oprot.writeBinary(_iter37);
9008            }
9009            oprot.writeListEnd();
9010          }
9011          oprot.writeFieldEnd();
9012        }
9013        if (struct.io != null) {
9014          oprot.writeFieldBegin(IO_FIELD_DESC);
9015          struct.io.write(oprot);
9016          oprot.writeFieldEnd();
9017        }
9018        oprot.writeFieldStop();
9019        oprot.writeStructEnd();
9020      }
9021
9022    }
9023
9024    private static class getTableNames_resultTupleSchemeFactory implements SchemeFactory {
9025      public getTableNames_resultTupleScheme getScheme() {
9026        return new getTableNames_resultTupleScheme();
9027      }
9028    }
9029
9030    private static class getTableNames_resultTupleScheme extends TupleScheme<getTableNames_result> {
9031
9032      @Override
9033      public void write(org.apache.thrift.protocol.TProtocol prot, getTableNames_result struct) throws org.apache.thrift.TException {
9034        TTupleProtocol oprot = (TTupleProtocol) prot;
9035        BitSet optionals = new BitSet();
9036        if (struct.isSetSuccess()) {
9037          optionals.set(0);
9038        }
9039        if (struct.isSetIo()) {
9040          optionals.set(1);
9041        }
9042        oprot.writeBitSet(optionals, 2);
9043        if (struct.isSetSuccess()) {
9044          {
9045            oprot.writeI32(struct.success.size());
9046            for (ByteBuffer _iter38 : struct.success)
9047            {
9048              oprot.writeBinary(_iter38);
9049            }
9050          }
9051        }
9052        if (struct.isSetIo()) {
9053          struct.io.write(oprot);
9054        }
9055      }
9056
9057      @Override
9058      public void read(org.apache.thrift.protocol.TProtocol prot, getTableNames_result struct) throws org.apache.thrift.TException {
9059        TTupleProtocol iprot = (TTupleProtocol) prot;
9060        BitSet incoming = iprot.readBitSet(2);
9061        if (incoming.get(0)) {
9062          {
9063            org.apache.thrift.protocol.TList _list39 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
9064            struct.success = new ArrayList<ByteBuffer>(_list39.size);
9065            for (int _i40 = 0; _i40 < _list39.size; ++_i40)
9066            {
9067              ByteBuffer _elem41; // required
9068              _elem41 = iprot.readBinary();
9069              struct.success.add(_elem41);
9070            }
9071          }
9072          struct.setSuccessIsSet(true);
9073        }
9074        if (incoming.get(1)) {
9075          struct.io = new IOError();
9076          struct.io.read(iprot);
9077          struct.setIoIsSet(true);
9078        }
9079      }
9080    }
9081
9082  }
9083
9084  public static class getColumnDescriptors_args implements org.apache.thrift.TBase<getColumnDescriptors_args, getColumnDescriptors_args._Fields>, java.io.Serializable, Cloneable   {
9085    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getColumnDescriptors_args");
9086
9087    private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1);
9088
9089    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
9090    static {
9091      schemes.put(StandardScheme.class, new getColumnDescriptors_argsStandardSchemeFactory());
9092      schemes.put(TupleScheme.class, new getColumnDescriptors_argsTupleSchemeFactory());
9093    }
9094
9095    /**
9096     * table name
9097     */
9098    public ByteBuffer tableName; // required
9099
9100    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
9101    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
9102      /**
9103       * table name
9104       */
9105      TABLE_NAME((short)1, "tableName");
9106
9107      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
9108
9109      static {
9110        for (_Fields field : EnumSet.allOf(_Fields.class)) {
9111          byName.put(field.getFieldName(), field);
9112        }
9113      }
9114
9115      /**
9116       * Find the _Fields constant that matches fieldId, or null if its not found.
9117       */
9118      public static _Fields findByThriftId(int fieldId) {
9119        switch(fieldId) {
9120          case 1: // TABLE_NAME
9121            return TABLE_NAME;
9122          default:
9123            return null;
9124        }
9125      }
9126
9127      /**
9128       * Find the _Fields constant that matches fieldId, throwing an exception
9129       * if it is not found.
9130       */
9131      public static _Fields findByThriftIdOrThrow(int fieldId) {
9132        _Fields fields = findByThriftId(fieldId);
9133        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
9134        return fields;
9135      }
9136
9137      /**
9138       * Find the _Fields constant that matches name, or null if its not found.
9139       */
9140      public static _Fields findByName(String name) {
9141        return byName.get(name);
9142      }
9143
9144      private final short _thriftId;
9145      private final String _fieldName;
9146
9147      _Fields(short thriftId, String fieldName) {
9148        _thriftId = thriftId;
9149        _fieldName = fieldName;
9150      }
9151
9152      public short getThriftFieldId() {
9153        return _thriftId;
9154      }
9155
9156      public String getFieldName() {
9157        return _fieldName;
9158      }
9159    }
9160
9161    // isset id assignments
9162    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
9163    static {
9164      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
9165      tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9166          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , "Text")));
9167      metaDataMap = Collections.unmodifiableMap(tmpMap);
9168      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getColumnDescriptors_args.class, metaDataMap);
9169    }
9170
9171    public getColumnDescriptors_args() {
9172    }
9173
9174    public getColumnDescriptors_args(
9175      ByteBuffer tableName)
9176    {
9177      this();
9178      this.tableName = tableName;
9179    }
9180
9181    /**
9182     * Performs a deep copy on <i>other</i>.
9183     */
9184    public getColumnDescriptors_args(getColumnDescriptors_args other) {
9185      if (other.isSetTableName()) {
9186        this.tableName = other.tableName;
9187      }
9188    }
9189
9190    public getColumnDescriptors_args deepCopy() {
9191      return new getColumnDescriptors_args(this);
9192    }
9193
9194    @Override
9195    public void clear() {
9196      this.tableName = null;
9197    }
9198
9199    /**
9200     * table name
9201     */
9202    public byte[] getTableName() {
9203      setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName));
9204      return tableName == null ? null : tableName.array();
9205    }
9206
9207    public ByteBuffer bufferForTableName() {
9208      return tableName;
9209    }
9210
9211    /**
9212     * table name
9213     */
9214    public getColumnDescriptors_args setTableName(byte[] tableName) {
9215      setTableName(tableName == null ? (ByteBuffer)null : ByteBuffer.wrap(tableName));
9216      return this;
9217    }
9218
9219    public getColumnDescriptors_args setTableName(ByteBuffer tableName) {
9220      this.tableName = tableName;
9221      return this;
9222    }
9223
9224    public void unsetTableName() {
9225      this.tableName = null;
9226    }
9227
9228    /** Returns true if field tableName is set (has been assigned a value) and false otherwise */
9229    public boolean isSetTableName() {
9230      return this.tableName != null;
9231    }
9232
9233    public void setTableNameIsSet(boolean value) {
9234      if (!value) {
9235        this.tableName = null;
9236      }
9237    }
9238
9239    public void setFieldValue(_Fields field, Object value) {
9240      switch (field) {
9241      case TABLE_NAME:
9242        if (value == null) {
9243          unsetTableName();
9244        } else {
9245          setTableName((ByteBuffer)value);
9246        }
9247        break;
9248
9249      }
9250    }
9251
9252    public Object getFieldValue(_Fields field) {
9253      switch (field) {
9254      case TABLE_NAME:
9255        return getTableName();
9256
9257      }
9258      throw new IllegalStateException();
9259    }
9260
9261    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
9262    public boolean isSet(_Fields field) {
9263      if (field == null) {
9264        throw new IllegalArgumentException();
9265      }
9266
9267      switch (field) {
9268      case TABLE_NAME:
9269        return isSetTableName();
9270      }
9271      throw new IllegalStateException();
9272    }
9273
9274    @Override
9275    public boolean equals(Object that) {
9276      if (that == null)
9277        return false;
9278      if (that instanceof getColumnDescriptors_args)
9279        return this.equals((getColumnDescriptors_args)that);
9280      return false;
9281    }
9282
9283    public boolean equals(getColumnDescriptors_args that) {
9284      if (that == null)
9285        return false;
9286
9287      boolean this_present_tableName = true && this.isSetTableName();
9288      boolean that_present_tableName = true && that.isSetTableName();
9289      if (this_present_tableName || that_present_tableName) {
9290        if (!(this_present_tableName && that_present_tableName))
9291          return false;
9292        if (!this.tableName.equals(that.tableName))
9293          return false;
9294      }
9295
9296      return true;
9297    }
9298
9299    @Override
9300    public int hashCode() {
9301      HashCodeBuilder builder = new HashCodeBuilder();
9302
9303      boolean present_tableName = true && (isSetTableName());
9304      builder.append(present_tableName);
9305      if (present_tableName)
9306        builder.append(tableName);
9307
9308      return builder.toHashCode();
9309    }
9310
9311    public int compareTo(getColumnDescriptors_args other) {
9312      if (!getClass().equals(other.getClass())) {
9313        return getClass().getName().compareTo(other.getClass().getName());
9314      }
9315
9316      int lastComparison = 0;
9317      getColumnDescriptors_args typedOther = (getColumnDescriptors_args)other;
9318
9319      lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
9320      if (lastComparison != 0) {
9321        return lastComparison;
9322      }
9323      if (isSetTableName()) {
9324        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
9325        if (lastComparison != 0) {
9326          return lastComparison;
9327        }
9328      }
9329      return 0;
9330    }
9331
9332    public _Fields fieldForId(int fieldId) {
9333      return _Fields.findByThriftId(fieldId);
9334    }
9335
9336    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
9337      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
9338    }
9339
9340    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
9341      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
9342    }
9343
9344    @Override
9345    public String toString() {
9346      StringBuilder sb = new StringBuilder("getColumnDescriptors_args(");
9347      boolean first = true;
9348
9349      sb.append("tableName:");
9350      if (this.tableName == null) {
9351        sb.append("null");
9352      } else {
9353        sb.append(this.tableName);
9354      }
9355      first = false;
9356      sb.append(")");
9357      return sb.toString();
9358    }
9359
9360    public void validate() throws org.apache.thrift.TException {
9361      // check for required fields
9362    }
9363
9364    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
9365      try {
9366        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
9367      } catch (org.apache.thrift.TException te) {
9368        throw new java.io.IOException(te);
9369      }
9370    }
9371
9372    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
9373      try {
9374        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
9375      } catch (org.apache.thrift.TException te) {
9376        throw new java.io.IOException(te);
9377      }
9378    }
9379
9380    private static class getColumnDescriptors_argsStandardSchemeFactory implements SchemeFactory {
9381      public getColumnDescriptors_argsStandardScheme getScheme() {
9382        return new getColumnDescriptors_argsStandardScheme();
9383      }
9384    }
9385
9386    private static class getColumnDescriptors_argsStandardScheme extends StandardScheme<getColumnDescriptors_args> {
9387
9388      public void read(org.apache.thrift.protocol.TProtocol iprot, getColumnDescriptors_args struct) throws org.apache.thrift.TException {
9389        org.apache.thrift.protocol.TField schemeField;
9390        iprot.readStructBegin();
9391        while (true)
9392        {
9393          schemeField = iprot.readFieldBegin();
9394          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
9395            break;
9396          }
9397          switch (schemeField.id) {
9398            case 1: // TABLE_NAME
9399              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
9400                struct.tableName = iprot.readBinary();
9401                struct.setTableNameIsSet(true);
9402              } else { 
9403                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9404              }
9405              break;
9406            default:
9407              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9408          }
9409          iprot.readFieldEnd();
9410        }
9411        iprot.readStructEnd();
9412
9413        // check for required fields of primitive type, which can't be checked in the validate method
9414        struct.validate();
9415      }
9416
9417      public void write(org.apache.thrift.protocol.TProtocol oprot, getColumnDescriptors_args struct) throws org.apache.thrift.TException {
9418        struct.validate();
9419
9420        oprot.writeStructBegin(STRUCT_DESC);
9421        if (struct.tableName != null) {
9422          oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC);
9423          oprot.writeBinary(struct.tableName);
9424          oprot.writeFieldEnd();
9425        }
9426        oprot.writeFieldStop();
9427        oprot.writeStructEnd();
9428      }
9429
9430    }
9431
9432    private static class getColumnDescriptors_argsTupleSchemeFactory implements SchemeFactory {
9433      public getColumnDescriptors_argsTupleScheme getScheme() {
9434        return new getColumnDescriptors_argsTupleScheme();
9435      }
9436    }
9437
9438    private static class getColumnDescriptors_argsTupleScheme extends TupleScheme<getColumnDescriptors_args> {
9439
9440      @Override
9441      public void write(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_args struct) throws org.apache.thrift.TException {
9442        TTupleProtocol oprot = (TTupleProtocol) prot;
9443        BitSet optionals = new BitSet();
9444        if (struct.isSetTableName()) {
9445          optionals.set(0);
9446        }
9447        oprot.writeBitSet(optionals, 1);
9448        if (struct.isSetTableName()) {
9449          oprot.writeBinary(struct.tableName);
9450        }
9451      }
9452
9453      @Override
9454      public void read(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_args struct) throws org.apache.thrift.TException {
9455        TTupleProtocol iprot = (TTupleProtocol) prot;
9456        BitSet incoming = iprot.readBitSet(1);
9457        if (incoming.get(0)) {
9458          struct.tableName = iprot.readBinary();
9459          struct.setTableNameIsSet(true);
9460        }
9461      }
9462    }
9463
9464  }
9465
9466  public static class getColumnDescriptors_result implements org.apache.thrift.TBase<getColumnDescriptors_result, getColumnDescriptors_result._Fields>, java.io.Serializable, Cloneable   {
9467    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getColumnDescriptors_result");
9468
9469    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
9470    private static final org.apache.thrift.protocol.TField IO_FIELD_DESC = new org.apache.thrift.protocol.TField("io", org.apache.thrift.protocol.TType.STRUCT, (short)1);
9471
9472    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
9473    static {
9474      schemes.put(StandardScheme.class, new getColumnDescriptors_resultStandardSchemeFactory());
9475      schemes.put(TupleScheme.class, new getColumnDescriptors_resultTupleSchemeFactory());
9476    }
9477
9478    public Map<ByteBuffer,ColumnDescriptor> success; // required
9479    public IOError io; // required
9480
9481    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
9482    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
9483      SUCCESS((short)0, "success"),
9484      IO((short)1, "io");
9485
9486      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
9487
9488      static {
9489        for (_Fields field : EnumSet.allOf(_Fields.class)) {
9490          byName.put(field.getFieldName(), field);
9491        }
9492      }
9493
9494      /**
9495       * Find the _Fields constant that matches fieldId, or null if its not found.
9496       */
9497      public static _Fields findByThriftId(int fieldId) {
9498        switch(fieldId) {
9499          case 0: // SUCCESS
9500            return SUCCESS;
9501          case 1: // IO
9502            return IO;
9503          default:
9504            return null;
9505        }
9506      }
9507
9508      /**
9509       * Find the _Fields constant that matches fieldId, throwing an exception
9510       * if it is not found.
9511       */
9512      public static _Fields findByThriftIdOrThrow(int fieldId) {
9513        _Fields fields = findByThriftId(fieldId);
9514        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
9515        return fields;
9516      }
9517
9518      /**
9519       * Find the _Fields constant that matches name, or null if its not found.
9520       */
9521      public static _Fields findByName(String name) {
9522        return byName.get(name);
9523      }
9524
9525      private final short _thriftId;
9526      private final String _fieldName;
9527
9528      _Fields(short thriftId, String fieldName) {
9529        _thriftId = thriftId;
9530        _fieldName = fieldName;
9531      }
9532
9533      public short getThriftFieldId() {
9534        return _thriftId;
9535      }
9536
9537      public String getFieldName() {
9538        return _fieldName;
9539      }
9540    }
9541
9542    // isset id assignments
9543    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
9544    static {
9545      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
9546      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9547          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
9548              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING              , "Text"), 
9549              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnDescriptor.class))));
9550      tmpMap.put(_Fields.IO, new org.apache.thrift.meta_data.FieldMetaData("io", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9551          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
9552      metaDataMap = Collections.unmodifiableMap(tmpMap);
9553      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getColumnDescriptors_result.class, metaDataMap);
9554    }
9555
9556    public getColumnDescriptors_result() {
9557    }
9558
9559    public getColumnDescriptors_result(
9560      Map<ByteBuffer,ColumnDescriptor> success,
9561      IOError io)
9562    {
9563      this();
9564      this.success = success;
9565      this.io = io;
9566    }
9567
9568    /**
9569     * Performs a deep copy on <i>other</i>.
9570     */
9571    public getColumnDescriptors_result(getColumnDescriptors_result other) {
9572      if (other.isSetSuccess()) {
9573        Map<ByteBuffer,ColumnDescriptor> __this__success = new HashMap<ByteBuffer,ColumnDescriptor>();
9574        for (Map.Entry<ByteBuffer, ColumnDescriptor> other_element : other.success.entrySet()) {
9575
9576          ByteBuffer other_element_key = other_element.getKey();
9577          ColumnDescriptor other_element_value = other_element.getValue();
9578
9579          ByteBuffer __this__success_copy_key = other_element_key;
9580
9581          ColumnDescriptor __this__success_copy_value = new ColumnDescriptor(other_element_value);
9582
9583          __this__success.put(__this__success_copy_key, __this__success_copy_value);
9584        }
9585        this.success = __this__success;
9586      }
9587      if (other.isSetIo()) {
9588        this.io = new IOError(other.io);
9589      }
9590    }
9591
9592    public getColumnDescriptors_result deepCopy() {
9593      return new getColumnDescriptors_result(this);
9594    }
9595
9596    @Override
9597    public void clear() {
9598      this.success = null;
9599      this.io = null;
9600    }
9601
9602    public int getSuccessSize() {
9603      return (this.success == null) ? 0 : this.success.size();
9604    }
9605
9606    public void putToSuccess(ByteBuffer key, ColumnDescriptor val) {
9607      if (this.success == null) {
9608        this.success = new HashMap<ByteBuffer,ColumnDescriptor>();
9609      }
9610      this.success.put(key, val);
9611    }
9612
9613    public Map<ByteBuffer,ColumnDescriptor> getSuccess() {
9614      return this.success;
9615    }
9616
9617    public getColumnDescriptors_result setSuccess(Map<ByteBuffer,ColumnDescriptor> success) {
9618      this.success = success;
9619      return this;
9620    }
9621
9622    public void unsetSuccess() {
9623      this.success = null;
9624    }
9625
9626    /** Returns true if field success is set (has been assigned a value) and false otherwise */
9627    public boolean isSetSuccess() {
9628      return this.success != null;
9629    }
9630
9631    public void setSuccessIsSet(boolean value) {
9632      if (!value) {
9633        this.success = null;
9634      }
9635    }
9636
9637    public IOError getIo() {
9638      return this.io;
9639    }
9640
9641    public getColumnDescriptors_result setIo(IOError io) {
9642      this.io = io;
9643      return this;
9644    }
9645
9646    public void unsetIo() {
9647      this.io = null;
9648    }
9649
9650    /** Returns true if field io is set (has been assigned a value) and false otherwise */
9651    public boolean isSetIo() {
9652      return this.io != null;
9653    }
9654
9655    public void setIoIsSet(boolean value) {
9656      if (!value) {
9657        this.io = null;
9658      }
9659    }
9660
9661    public void setFieldValue(_Fields field, Object value) {
9662      switch (field) {
9663      case SUCCESS:
9664        if (value == null) {
9665          unsetSuccess();
9666        } else {
9667          setSuccess((Map<ByteBuffer,ColumnDescriptor>)value);
9668        }
9669        break;
9670
9671      case IO:
9672        if (value == null) {
9673          unsetIo();
9674        } else {
9675          setIo((IOError)value);
9676        }
9677        break;
9678
9679      }
9680    }
9681
9682    public Object getFieldValue(_Fields field) {
9683      switch (field) {
9684      case SUCCESS:
9685        return getSuccess();
9686
9687      case IO:
9688        return getIo();
9689
9690      }
9691      throw new IllegalStateException();
9692    }
9693
9694    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
9695    public boolean isSet(_Fields field) {
9696      if (field == null) {
9697        throw new IllegalArgumentException();
9698      }
9699
9700      switch (field) {
9701      case SUCCESS:
9702        return isSetSuccess();
9703      case IO:
9704        return isSetIo();
9705      }
9706      throw new IllegalStateException();
9707    }
9708
9709    @Override
9710    public boolean equals(Object that) {
9711      if (that == null)
9712        return false;
9713      if (that instanceof getColumnDescriptors_result)
9714        return this.equals((getColumnDescriptors_result)that);
9715      return false;
9716    }
9717
9718    public boolean equals(getColumnDescriptors_result that) {
9719      if (that == null)
9720        return false;
9721
9722      boolean this_present_success = true && this.isSetSuccess();
9723      boolean that_present_success = true && that.isSetSuccess();
9724      if (this_present_success || that_present_success) {
9725        if (!(this_present_success && that_present_success))
9726          return false;
9727        if (!this.success.equals(that.success))
9728          return false;
9729      }
9730
9731      boolean this_present_io = true && this.isSetIo();
9732      boolean that_present_io = true && that.isSetIo();
9733      if (this_present_io || that_present_io) {
9734        if (!(this_present_io && that_present_io))
9735          return false;
9736        if (!this.io.equals(that.io))
9737          return false;
9738      }
9739
9740      return true;
9741    }
9742
9743    @Override
9744    public int hashCode() {
9745      HashCodeBuilder builder = new HashCodeBuilder();
9746
9747      boolean present_success = true && (isSetSuccess());
9748      builder.append(present_success);
9749      if (present_success)
9750        builder.append(success);
9751
9752      boolean present_io = true && (isSetIo());
9753      builder.append(present_io);
9754      if (present_io)
9755        builder.append(io);
9756
9757      return builder.toHashCode();
9758    }
9759
9760    public int compareTo(getColumnDescriptors_result other) {
9761      if (!getClass().equals(other.getClass())) {
9762        return getClass().getName().compareTo(other.getClass().getName());
9763      }
9764
9765      int lastComparison = 0;
9766      getColumnDescriptors_result typedOther = (getColumnDescriptors_result)other;
9767
9768      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
9769      if (lastComparison != 0) {
9770        return lastComparison;
9771      }
9772      if (isSetSuccess()) {
9773        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
9774        if (lastComparison != 0) {
9775          return lastComparison;
9776        }
9777      }
9778      lastComparison = Boolean.valueOf(isSetIo()).compareTo(typedOther.isSetIo());
9779      if (lastComparison != 0) {
9780        return lastComparison;
9781      }
9782      if (isSetIo()) {
9783        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.io, typedOther.io);
9784        if (lastComparison != 0) {
9785          return lastComparison;
9786        }
9787      }
9788      return 0;
9789    }
9790
9791    public _Fields fieldForId(int fieldId) {
9792      return _Fields.findByThriftId(fieldId);
9793    }
9794
9795    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
9796      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
9797    }
9798
9799    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
9800      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
9801      }
9802
9803    @Override
9804    public String toString() {
9805      StringBuilder sb = new StringBuilder("getColumnDescriptors_result(");
9806      boolean first = true;
9807
9808      sb.append("success:");
9809      if (this.success == null) {
9810        sb.append("null");
9811      } else {
9812        sb.append(this.success);
9813      }
9814      first = false;
9815      if (!first) sb.append(", ");
9816      sb.append("io:");
9817      if (this.io == null) {
9818        sb.append("null");
9819      } else {
9820        sb.append(this.io);
9821      }
9822      first = false;
9823      sb.append(")");
9824      return sb.toString();
9825    }
9826
9827    public void validate() throws org.apache.thrift.TException {
9828      // check for required fields
9829    }
9830
9831    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
9832      try {
9833        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
9834      } catch (org.apache.thrift.TException te) {
9835        throw new java.io.IOException(te);
9836      }
9837    }
9838
9839    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
9840      try {
9841        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
9842      } catch (org.apache.thrift.TException te) {
9843        throw new java.io.IOException(te);
9844      }
9845    }
9846
9847    private static class getColumnDescriptors_resultStandardSchemeFactory implements SchemeFactory {
9848      public getColumnDescriptors_resultStandardScheme getScheme() {
9849        return new getColumnDescriptors_resultStandardScheme();
9850      }
9851    }
9852
9853    private static class getColumnDescriptors_resultStandardScheme extends StandardScheme<getColumnDescriptors_result> {
9854
9855      public void read(org.apache.thrift.protocol.TProtocol iprot, getColumnDescriptors_result struct) throws org.apache.thrift.TException {
9856        org.apache.thrift.protocol.TField schemeField;
9857        iprot.readStructBegin();
9858        while (true)
9859        {
9860          schemeField = iprot.readFieldBegin();
9861          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
9862            break;
9863          }
9864          switch (schemeField.id) {
9865            case 0: // SUCCESS
9866              if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
9867                {
9868                  org.apache.thrift.protocol.TMap _map42 = iprot.readMapBegin();
9869                  struct.success = new HashMap<ByteBuffer,ColumnDescriptor>(2*_map42.size);
9870                  for (int _i43 = 0; _i43 < _map42.size; ++_i43)
9871                  {
9872                    ByteBuffer _key44; // required
9873                    ColumnDescriptor _val45; // required
9874                    _key44 = iprot.readBinary();
9875                    _val45 = new ColumnDescriptor();
9876                    _val45.read(iprot);
9877                    struct.success.put(_key44, _val45);
9878                  }
9879                  iprot.readMapEnd();
9880                }
9881                struct.setSuccessIsSet(true);
9882              } else { 
9883                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9884              }
9885              break;
9886            case 1: // IO
9887              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
9888                struct.io = new IOError();
9889                struct.io.read(iprot);
9890                struct.setIoIsSet(true);
9891              } else { 
9892                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9893              }
9894              break;
9895            default:
9896              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9897          }
9898          iprot.readFieldEnd();
9899        }
9900        iprot.readStructEnd();
9901
9902        // check for required fields of primitive type, which can't be checked in the validate method
9903        struct.validate();
9904      }
9905
9906      public void write(org.apache.thrift.protocol.TProtocol oprot, getColumnDescriptors_result struct) throws org.apache.thrift.TException {
9907        struct.validate();
9908
9909        oprot.writeStructBegin(STRUCT_DESC);
9910        if (struct.success != null) {
9911          oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
9912          {
9913            oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
9914            for (Map.Entry<ByteBuffer, ColumnDescriptor> _iter46 : struct.success.entrySet())
9915            {
9916              oprot.writeBinary(_iter46.getKey());
9917              _iter46.getValue().write(oprot);
9918            }
9919            oprot.writeMapEnd();
9920          }
9921          oprot.writeFieldEnd();
9922        }
9923        if (struct.io != null) {
9924          oprot.writeFieldBegin(IO_FIELD_DESC);
9925          struct.io.write(oprot);
9926          oprot.writeFieldEnd();
9927        }
9928        oprot.writeFieldStop();
9929        oprot.writeStructEnd();
9930      }
9931
9932    }
9933
9934    private static class getColumnDescriptors_resultTupleSchemeFactory implements SchemeFactory {
9935      public getColumnDescriptors_resultTupleScheme getScheme() {
9936        return new getColumnDescriptors_resultTupleScheme();
9937      }
9938    }
9939
9940    private static class getColumnDescriptors_resultTupleScheme extends TupleScheme<getColumnDescriptors_result> {
9941
9942      @Override
9943      public void write(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_result struct) throws org.apache.thrift.TException {
9944        TTupleProtocol oprot = (TTupleProtocol) prot;
9945        BitSet optionals = new BitSet();
9946        if (struct.isSetSuccess()) {
9947          optionals.set(0);
9948        }
9949        if (struct.isSetIo()) {
9950          optionals.set(1);
9951        }
9952        oprot.writeBitSet(optionals, 2);
9953        if (struct.isSetSuccess()) {
9954          {
9955            oprot.writeI32(struct.success.size());
9956            for (Map.Entry<ByteBuffer, ColumnDescriptor> _iter47 : struct.success.entrySet())
9957            {
9958              oprot.writeBinary(_iter47.getKey());
9959              _iter47.getValue().write(oprot);
9960            }
9961          }
9962        }
9963        if (struct.isSetIo()) {
9964          struct.io.write(oprot);
9965        }
9966      }
9967
9968      @Override
9969      public void read(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors_result struct) throws org.apache.thrift.TException {
9970        TTupleProtocol iprot = (TTupleProtocol) prot;
9971        BitSet incoming = iprot.readBitSet(2);
9972        if (incoming.get(0)) {
9973          {
9974            org.apache.thrift.protocol.TMap _map48 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
9975            struct.success = new HashMap<ByteBuffer,ColumnDescriptor>(2*_map48.size);
9976            for (int _i49 = 0; _i49 < _map48.size; ++_i49)
9977            {
9978              ByteBuffer _key50; // required
9979              ColumnDescriptor _val51; // required
9980              _key50 = iprot.readBinary();
9981              _val51 = new ColumnDescriptor();
9982              _val51.read(iprot);
9983              struct.success.put(_key50, _val51);
9984            }
9985          }
9986          struct.setSuccessIsSet(true);
9987        }
9988        if (incoming.get(1)) {
9989          struct.io = new IOError();
9990          struct.io.read(iprot);
9991          struct.setIoIsSet(true);
9992        }
9993      }
9994    }
9995
9996  }
9997
9998  public static class getTableRegions_args implements org.apache.thrift.TBase<getTableRegions_args, getTableRegions_args._Fields>, java.io.Serializable, Cloneable   {
9999    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTableRegions_args");
10000
10001    private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1);
10002
10003    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
10004    static {
10005      schemes.put(StandardScheme.class, new getTableRegions_argsStandardSchemeFactory());
10006      schemes.put(TupleScheme.class, new getTableRegions_argsTupleSchemeFactory());
10007    }
10008
10009    /**
10010     * table name
10011     */
10012    public ByteBuffer tableName; // required
10013
10014    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
10015    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
10016      /**
10017       * table name
10018       */
10019      TABLE_NAME((short)1, "tableName");
10020
10021      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
10022
10023      static {
10024        for (_Fields field : EnumSet.allOf(_Fields.class)) {
10025          byName.put(field.getFieldName(), field);
10026        }
10027      }
10028
10029      /**
10030       * Find the _Fields constant that matches fieldId, or null if its not found.
10031       */
10032      public static _Fields findByThriftId(int fieldId) {
10033        switch(fieldId) {
10034          case 1: // TABLE_NAME
10035            return TABLE_NAME;
10036          default:
10037            return null;
10038        }
10039      }
10040
10041      /**
10042       * Find the _Fields constant that matches fieldId, throwing an exception
10043       * if it is not found.
10044       */
10045      public static _Fields findByThriftIdOrThrow(int fieldId) {
10046        _Fields fields = findByThriftId(fieldId);
10047        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
10048        return fields;
10049      }
10050
10051      /**
10052       * Find the _Fields constant that matches name, or null if its not found.
10053       */
10054      public static _Fields findByName(String name) {
10055        return byName.get(name);
10056      }
10057
10058      private final short _thriftId;
10059      private final String _fieldName;
10060
10061      _Fields(short thriftId, String fieldName) {
10062        _thriftId = thriftId;
10063        _fieldName = fieldName;
10064      }
10065
10066      public short getThriftFieldId() {
10067        return _thriftId;
10068      }
10069
10070      public String getFieldName() {
10071        return _fieldName;
10072      }
10073    }
10074
10075    // isset id assignments
10076    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
10077    static {
10078      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
10079      tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10080          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , "Text")));
10081      metaDataMap = Collections.unmodifiableMap(tmpMap);
10082      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTableRegions_args.class, metaDataMap);
10083    }
10084
10085    public getTableRegions_args() {
10086    }
10087
10088    public getTableRegions_args(
10089      ByteBuffer tableName)
10090    {
10091      this();
10092      this.tableName = tableName;
10093    }
10094
10095    /**
10096     * Performs a deep copy on <i>other</i>.
10097     */
10098    public getTableRegions_args(getTableRegions_args other) {
10099      if (other.isSetTableName()) {
10100        this.tableName = other.tableName;
10101      }
10102    }
10103
10104    public getTableRegions_args deepCopy() {
10105      return new getTableRegions_args(this);
10106    }
10107
10108    @Override
10109    public void clear() {
10110      this.tableName = null;
10111    }
10112
10113    /**
10114     * table name
10115     */
10116    public byte[] getTableName() {
10117      setTableName(org.apache.thrift.TBaseHelper.rightSize(tableName));
10118      return tableName == null ? null : tableName.array();
10119    }
10120
10121    public ByteBuffer bufferForTableName() {
10122      return tableName;
10123    }
10124
10125    /**
10126     * table name
10127     */
10128    public getTableRegions_args setTableName(byte[] tableName) {
10129      setTableName(tableName == null ? (ByteBuffer)null : ByteBuffer.wrap(tableName));
10130      return this;
10131    }
10132
10133    public getTableRegions_args setTableName(ByteBuffer tableName) {
10134      this.tableName = tableName;
10135      return this;
10136    }
10137
10138    public void unsetTableName() {
10139      this.tableName = null;
10140    }
10141
10142    /** Returns true if field tableName is set (has been assigned a value) and false otherwise */
10143    public boolean isSetTableName() {
10144      return this.tableName != null;
10145    }
10146
10147    public void setTableNameIsSet(boolean value) {
10148      if (!value) {
10149        this.tableName = null;
10150      }
10151    }
10152
10153    public void setFieldValue(_Fields field, Object value) {
10154      switch (field) {
10155      case TABLE_NAME:
10156        if (value == null) {
10157          unsetTableName();
10158        } else {
10159          setTableName((ByteBuffer)value);
10160        }
10161        break;
10162
10163      }
10164    }
10165
10166    public Object getFieldValue(_Fields field) {
10167      switch (field) {
10168      case TABLE_NAME:
10169        return getTableName();
10170
10171      }
10172      throw new IllegalStateException();
10173    }
10174
10175    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
10176    public boolean isSet(_Fields field) {
10177      if (field == null) {
10178        throw new IllegalArgumentException();
10179      }
10180
10181      switch (field) {
10182      case TABLE_NAME:
10183        return isSetTableName();
10184      }
10185      throw new IllegalStateException();
10186    }
10187
10188    @Override
10189    public boolean equals(Object that) {
10190      if (that == null)
10191        return false;
10192      if (that instanceof getTableRegions_args)
10193        return this.equals((getTableRegions_args)that);
10194      return false;
10195    }
10196
10197    public boolean equals(getTableRegions_args that) {
10198      if (that == null)
10199        return false;
10200
10201      boolean this_present_tableName = true && this.isSetTableName();
10202      boolean that_present_tableName = true && that.isSetTableName();
10203      if (this_present_tableName || that_present_tableName) {
10204        if (!(this_present_tableName && that_present_tableName))
10205          return false;
10206        if (!this.tableName.equals(that.tableName))
10207          return false;
10208      }
10209
10210      return true;
10211    }
10212
10213    @Override
10214    public int hashCode() {
10215      HashCodeBuilder builder = new HashCodeBuilder();
10216
10217      boolean present_tableName = true && (isSetTableName());
10218      builder.append(present_tableName);
10219      if (present_tableName)
10220        builder.append(tableName);
10221
10222      return builder.toHashCode();
10223    }
10224
10225    public int compareTo(getTableRegions_args other) {
10226      if (!getClass().equals(other.getClass())) {
10227        return getClass().getName().compareTo(other.getClass().getName());
10228      }
10229
10230      int lastComparison = 0;
10231      getTableRegions_args typedOther = (getTableRegions_args)other;
10232
10233      lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
10234      if (lastComparison != 0) {
10235        return lastComparison;
10236      }
10237      if (isSetTableName()) {
10238        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
10239        if (lastComparison != 0) {
10240          return lastComparison;
10241        }
10242      }
10243      return 0;
10244    }
10245
10246    public _Fields fieldForId(int fieldId) {
10247      return _Fields.findByThriftId(fieldId);
10248    }
10249
10250    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
10251      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
10252    }
10253
10254    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
10255      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
10256    }
10257
10258    @Override
10259    public String toString() {
10260      StringBuilder sb = new StringBuilder("getTableRegions_args(");
10261      boolean first = true;
10262
10263      sb.append("tableName:");
10264      if (this.tableName == null) {
10265        sb.append("null");
10266      } else {
10267        sb.append(this.tableName);
10268      }
10269      first = false;
10270      sb.append(")");
10271      return sb.toString();
10272    }
10273
10274    public void validate() throws org.apache.thrift.TException {
10275      // check for required fields
10276    }
10277
10278    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
10279      try {
10280        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
10281      } catch (org.apache.thrift.TException te) {
10282        throw new java.io.IOException(te);
10283      }
10284    }
10285
10286    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
10287      try {
10288        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
10289      } catch (org.apache.thrift.TException te) {
10290        throw new java.io.IOException(te);
10291      }
10292    }
10293
10294    private static class getTableRegions_argsStandardSchemeFactory implements SchemeFactory {
10295      public getTableRegions_argsStandardScheme getScheme() {
10296        return new getTableRegions_argsStandardScheme();
10297      }
10298    }
10299
10300    private static class getTableRegions_argsStandardScheme extends StandardScheme<getTableRegions_args> {
10301
10302      public void read(org.apache.thrift.protocol.TProtocol iprot, getTableRegions_args struct) throws org.apache.thrift.TException {
10303        org.apache.thrift.protocol.TField schemeField;
10304        iprot.readStructBegin();
10305        while (true)
10306        {
10307          schemeField = iprot.readFieldBegin();
10308          if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
10309            break;
10310          }
10311          switch (schemeField.id) {
10312            case 1: // TABLE_NAME
10313              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
10314                struct.tableName = iprot.readBinary();
10315                struct.setTableNameIsSet(true);
10316              } else { 
10317                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10318              }
10319              break;
10320            default:
10321              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10322          }
10323          iprot.readFieldEnd();
10324        }
10325        iprot.readStructEnd();
10326
10327        // check for required fields of primitive type, which can't be checked in the validate method
10328        struct.validate();
10329      }
10330
10331      public void write(org.apache.thrift.protocol.TProtocol oprot, getTableRegions_args struct) throws org.apache.thrift.TException {
10332        struct.validate();
10333
10334        oprot.writeStructBegin(STRUCT_DESC);
10335        if (struct.tableName != null) {
10336          oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC);
10337          oprot.writeBinary(struct.tableName);
10338          oprot.writeFieldEnd();
10339        }
10340        oprot.writeFieldStop();
10341        oprot.writeStructEnd();
10342      }
10343
10344    }
10345