Advertisement
Guest User

Untitled

a guest
Mar 11th, 2013
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 370.71 KB | None | 0 0
  1. <?php
  2. namespace Hbase;
  3. /**
  4.  * Autogenerated by Thrift Compiler (0.9.0)
  5.  *
  6.  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  7.  *  @generated
  8.  */
  9. use Thrift\Base\TBase;
  10. use Thrift\Type\TType;
  11. use Thrift\Type\TMessageType;
  12. use Thrift\Exception\TException;
  13. use Thrift\Exception\TProtocolException;
  14. use Thrift\Protocol\TProtocol;
  15. use Thrift\Exception\TApplicationException;
  16.  
  17.  
  18. interface HbaseIf {
  19.   public function enableTable($tableName);
  20.   public function disableTable($tableName);
  21.   public function isTableEnabled($tableName);
  22.   public function compact($tableNameOrRegionName);
  23.   public function majorCompact($tableNameOrRegionName);
  24.   public function getTableNames();
  25.   public function getColumnDescriptors($tableName);
  26.   public function getTableRegions($tableName);
  27.   public function createTable($tableName, $columnFamilies);
  28.   public function deleteTable($tableName);
  29.   public function get($tableName, $row, $column, $attributes);
  30.   public function getVer($tableName, $row, $column, $numVersions, $attributes);
  31.   public function getVerTs($tableName, $row, $column, $timestamp, $numVersions, $attributes);
  32.   public function getRow($tableName, $row, $attributes);
  33.   public function getRowWithColumns($tableName, $row, $columns, $attributes);
  34.   public function getRowTs($tableName, $row, $timestamp, $attributes);
  35.   public function getRowWithColumnsTs($tableName, $row, $columns, $timestamp, $attributes);
  36.   public function getRows($tableName, $rows, $attributes);
  37.   public function getRowsWithColumns($tableName, $rows, $columns, $attributes);
  38.   public function getRowsTs($tableName, $rows, $timestamp, $attributes);
  39.   public function getRowsWithColumnsTs($tableName, $rows, $columns, $timestamp, $attributes);
  40.   public function mutateRow($tableName, $row, $mutations, $attributes);
  41.   public function mutateRowTs($tableName, $row, $mutations, $timestamp, $attributes);
  42.   public function mutateRows($tableName, $rowBatches, $attributes);
  43.   public function mutateRowsTs($tableName, $rowBatches, $timestamp, $attributes);
  44.   public function atomicIncrement($tableName, $row, $column, $value);
  45.   public function deleteAll($tableName, $row, $column, $attributes);
  46.   public function deleteAllTs($tableName, $row, $column, $timestamp, $attributes);
  47.   public function deleteAllRow($tableName, $row, $attributes);
  48.   public function increment(\Hbase\TIncrement $increment);
  49.   public function incrementRows($increments);
  50.   public function deleteAllRowTs($tableName, $row, $timestamp, $attributes);
  51.   public function scannerOpenWithScan($tableName, \Hbase\TScan $scan, $attributes);
  52.   public function scannerOpen($tableName, $startRow, $columns, $attributes);
  53.   public function scannerOpenWithStop($tableName, $startRow, $stopRow, $columns, $attributes);
  54.   public function scannerOpenWithPrefix($tableName, $startAndPrefix, $columns, $attributes);
  55.   public function scannerOpenTs($tableName, $startRow, $columns, $timestamp, $attributes);
  56.   public function scannerOpenWithStopTs($tableName, $startRow, $stopRow, $columns, $timestamp, $attributes);
  57.   public function scannerGet($id);
  58.   public function scannerGetList($id, $nbRows);
  59.   public function scannerClose($id);
  60.   public function getRowOrBefore($tableName, $row, $family);
  61.   public function getRegionInfo($row);
  62. }
  63.  
  64. class HbaseClient implements \Hbase\HbaseIf {
  65.   protected $input_ = null;
  66.   protected $output_ = null;
  67.  
  68.   protected $seqid_ = 0;
  69.  
  70.   public function __construct($input, $output=null) {
  71.     $this->input_ = $input;
  72.     $this->output_ = $output ? $output : $input;
  73.   }
  74.  
  75.   public function enableTable($tableName)
  76.   {
  77.     $this->send_enableTable($tableName);
  78.     $this->recv_enableTable();
  79.   }
  80.  
  81.   public function send_enableTable($tableName)
  82.   {
  83.     $args = new \Hbase\Hbase_enableTable_args();
  84.     $args->tableName = $tableName;
  85.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  86.     if ($bin_accel)
  87.     {
  88.       thrift_protocol_write_binary($this->output_, 'enableTable', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  89.     }
  90.     else
  91.     {
  92.       $this->output_->writeMessageBegin('enableTable', TMessageType::CALL, $this->seqid_);
  93.       $args->write($this->output_);
  94.       $this->output_->writeMessageEnd();
  95.       $this->output_->getTransport()->flush();
  96.     }
  97.   }
  98.  
  99.   public function recv_enableTable()
  100.   {
  101.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  102.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_enableTable_result', $this->input_->isStrictRead());
  103.     else
  104.     {
  105.       $rseqid = 0;
  106.       $fname = null;
  107.       $mtype = 0;
  108.  
  109.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  110.       if ($mtype == TMessageType::EXCEPTION) {
  111.         $x = new TApplicationException();
  112.         $x->read($this->input_);
  113.         $this->input_->readMessageEnd();
  114.         throw $x;
  115.       }
  116.       $result = new \Hbase\Hbase_enableTable_result();
  117.       $result->read($this->input_);
  118.       $this->input_->readMessageEnd();
  119.     }
  120.     if ($result->io !== null) {
  121.       throw $result->io;
  122.     }
  123.     return;
  124.   }
  125.  
  126.   public function disableTable($tableName)
  127.   {
  128.     $this->send_disableTable($tableName);
  129.     $this->recv_disableTable();
  130.   }
  131.  
  132.   public function send_disableTable($tableName)
  133.   {
  134.     $args = new \Hbase\Hbase_disableTable_args();
  135.     $args->tableName = $tableName;
  136.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  137.     if ($bin_accel)
  138.     {
  139.       thrift_protocol_write_binary($this->output_, 'disableTable', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  140.     }
  141.     else
  142.     {
  143.       $this->output_->writeMessageBegin('disableTable', TMessageType::CALL, $this->seqid_);
  144.       $args->write($this->output_);
  145.       $this->output_->writeMessageEnd();
  146.       $this->output_->getTransport()->flush();
  147.     }
  148.   }
  149.  
  150.   public function recv_disableTable()
  151.   {
  152.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  153.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_disableTable_result', $this->input_->isStrictRead());
  154.     else
  155.     {
  156.       $rseqid = 0;
  157.       $fname = null;
  158.       $mtype = 0;
  159.  
  160.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  161.       if ($mtype == TMessageType::EXCEPTION) {
  162.         $x = new TApplicationException();
  163.         $x->read($this->input_);
  164.         $this->input_->readMessageEnd();
  165.         throw $x;
  166.       }
  167.       $result = new \Hbase\Hbase_disableTable_result();
  168.       $result->read($this->input_);
  169.       $this->input_->readMessageEnd();
  170.     }
  171.     if ($result->io !== null) {
  172.       throw $result->io;
  173.     }
  174.     return;
  175.   }
  176.  
  177.   public function isTableEnabled($tableName)
  178.   {
  179.     $this->send_isTableEnabled($tableName);
  180.     return $this->recv_isTableEnabled();
  181.   }
  182.  
  183.   public function send_isTableEnabled($tableName)
  184.   {
  185.     $args = new \Hbase\Hbase_isTableEnabled_args();
  186.     $args->tableName = $tableName;
  187.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  188.     if ($bin_accel)
  189.     {
  190.       thrift_protocol_write_binary($this->output_, 'isTableEnabled', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  191.     }
  192.     else
  193.     {
  194.       $this->output_->writeMessageBegin('isTableEnabled', TMessageType::CALL, $this->seqid_);
  195.       $args->write($this->output_);
  196.       $this->output_->writeMessageEnd();
  197.       $this->output_->getTransport()->flush();
  198.     }
  199.   }
  200.  
  201.   public function recv_isTableEnabled()
  202.   {
  203.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  204.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_isTableEnabled_result', $this->input_->isStrictRead());
  205.     else
  206.     {
  207.       $rseqid = 0;
  208.       $fname = null;
  209.       $mtype = 0;
  210.  
  211.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  212.       if ($mtype == TMessageType::EXCEPTION) {
  213.         $x = new TApplicationException();
  214.         $x->read($this->input_);
  215.         $this->input_->readMessageEnd();
  216.         throw $x;
  217.       }
  218.       $result = new \Hbase\Hbase_isTableEnabled_result();
  219.       $result->read($this->input_);
  220.       $this->input_->readMessageEnd();
  221.     }
  222.     if ($result->success !== null) {
  223.       return $result->success;
  224.     }
  225.     if ($result->io !== null) {
  226.       throw $result->io;
  227.     }
  228.     throw new \Exception("isTableEnabled failed: unknown result");
  229.   }
  230.  
  231.   public function compact($tableNameOrRegionName)
  232.   {
  233.     $this->send_compact($tableNameOrRegionName);
  234.     $this->recv_compact();
  235.   }
  236.  
  237.   public function send_compact($tableNameOrRegionName)
  238.   {
  239.     $args = new \Hbase\Hbase_compact_args();
  240.     $args->tableNameOrRegionName = $tableNameOrRegionName;
  241.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  242.     if ($bin_accel)
  243.     {
  244.       thrift_protocol_write_binary($this->output_, 'compact', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  245.     }
  246.     else
  247.     {
  248.       $this->output_->writeMessageBegin('compact', TMessageType::CALL, $this->seqid_);
  249.       $args->write($this->output_);
  250.       $this->output_->writeMessageEnd();
  251.       $this->output_->getTransport()->flush();
  252.     }
  253.   }
  254.  
  255.   public function recv_compact()
  256.   {
  257.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  258.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_compact_result', $this->input_->isStrictRead());
  259.     else
  260.     {
  261.       $rseqid = 0;
  262.       $fname = null;
  263.       $mtype = 0;
  264.  
  265.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  266.       if ($mtype == TMessageType::EXCEPTION) {
  267.         $x = new TApplicationException();
  268.         $x->read($this->input_);
  269.         $this->input_->readMessageEnd();
  270.         throw $x;
  271.       }
  272.       $result = new \Hbase\Hbase_compact_result();
  273.       $result->read($this->input_);
  274.       $this->input_->readMessageEnd();
  275.     }
  276.     if ($result->io !== null) {
  277.       throw $result->io;
  278.     }
  279.     return;
  280.   }
  281.  
  282.   public function majorCompact($tableNameOrRegionName)
  283.   {
  284.     $this->send_majorCompact($tableNameOrRegionName);
  285.     $this->recv_majorCompact();
  286.   }
  287.  
  288.   public function send_majorCompact($tableNameOrRegionName)
  289.   {
  290.     $args = new \Hbase\Hbase_majorCompact_args();
  291.     $args->tableNameOrRegionName = $tableNameOrRegionName;
  292.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  293.     if ($bin_accel)
  294.     {
  295.       thrift_protocol_write_binary($this->output_, 'majorCompact', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  296.     }
  297.     else
  298.     {
  299.       $this->output_->writeMessageBegin('majorCompact', TMessageType::CALL, $this->seqid_);
  300.       $args->write($this->output_);
  301.       $this->output_->writeMessageEnd();
  302.       $this->output_->getTransport()->flush();
  303.     }
  304.   }
  305.  
  306.   public function recv_majorCompact()
  307.   {
  308.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  309.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_majorCompact_result', $this->input_->isStrictRead());
  310.     else
  311.     {
  312.       $rseqid = 0;
  313.       $fname = null;
  314.       $mtype = 0;
  315.  
  316.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  317.       if ($mtype == TMessageType::EXCEPTION) {
  318.         $x = new TApplicationException();
  319.         $x->read($this->input_);
  320.         $this->input_->readMessageEnd();
  321.         throw $x;
  322.       }
  323.       $result = new \Hbase\Hbase_majorCompact_result();
  324.       $result->read($this->input_);
  325.       $this->input_->readMessageEnd();
  326.     }
  327.     if ($result->io !== null) {
  328.       throw $result->io;
  329.     }
  330.     return;
  331.   }
  332.  
  333.   public function getTableNames()
  334.   {
  335.     $this->send_getTableNames();
  336.     return $this->recv_getTableNames();
  337.   }
  338.  
  339.   public function send_getTableNames()
  340.   {
  341.     $args = new \Hbase\Hbase_getTableNames_args();
  342.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  343.     if ($bin_accel)
  344.     {
  345.       thrift_protocol_write_binary($this->output_, 'getTableNames', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  346.     }
  347.     else
  348.     {
  349.       $this->output_->writeMessageBegin('getTableNames', TMessageType::CALL, $this->seqid_);
  350.       $args->write($this->output_);
  351.       $this->output_->writeMessageEnd();
  352.       $this->output_->getTransport()->flush();
  353.     }
  354.   }
  355.  
  356.   public function recv_getTableNames()
  357.   {
  358.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  359.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getTableNames_result', $this->input_->isStrictRead());
  360.     else
  361.     {
  362.       $rseqid = 0;
  363.       $fname = null;
  364.       $mtype = 0;
  365.  
  366.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  367.       if ($mtype == TMessageType::EXCEPTION) {
  368.         $x = new TApplicationException();
  369.         $x->read($this->input_);
  370.         $this->input_->readMessageEnd();
  371.         throw $x;
  372.       }
  373.       $result = new \Hbase\Hbase_getTableNames_result();
  374.       $result->read($this->input_);
  375.       $this->input_->readMessageEnd();
  376.     }
  377.     if ($result->success !== null) {
  378.       return $result->success;
  379.     }
  380.     if ($result->io !== null) {
  381.       throw $result->io;
  382.     }
  383.     throw new \Exception("getTableNames failed: unknown result");
  384.   }
  385.  
  386.   public function getColumnDescriptors($tableName)
  387.   {
  388.     $this->send_getColumnDescriptors($tableName);
  389.     return $this->recv_getColumnDescriptors();
  390.   }
  391.  
  392.   public function send_getColumnDescriptors($tableName)
  393.   {
  394.     $args = new \Hbase\Hbase_getColumnDescriptors_args();
  395.     $args->tableName = $tableName;
  396.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  397.     if ($bin_accel)
  398.     {
  399.       thrift_protocol_write_binary($this->output_, 'getColumnDescriptors', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  400.     }
  401.     else
  402.     {
  403.       $this->output_->writeMessageBegin('getColumnDescriptors', TMessageType::CALL, $this->seqid_);
  404.       $args->write($this->output_);
  405.       $this->output_->writeMessageEnd();
  406.       $this->output_->getTransport()->flush();
  407.     }
  408.   }
  409.  
  410.   public function recv_getColumnDescriptors()
  411.   {
  412.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  413.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getColumnDescriptors_result', $this->input_->isStrictRead());
  414.     else
  415.     {
  416.       $rseqid = 0;
  417.       $fname = null;
  418.       $mtype = 0;
  419.  
  420.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  421.       if ($mtype == TMessageType::EXCEPTION) {
  422.         $x = new TApplicationException();
  423.         $x->read($this->input_);
  424.         $this->input_->readMessageEnd();
  425.         throw $x;
  426.       }
  427.       $result = new \Hbase\Hbase_getColumnDescriptors_result();
  428.       $result->read($this->input_);
  429.       $this->input_->readMessageEnd();
  430.     }
  431.     if ($result->success !== null) {
  432.       return $result->success;
  433.     }
  434.     if ($result->io !== null) {
  435.       throw $result->io;
  436.     }
  437.     throw new \Exception("getColumnDescriptors failed: unknown result");
  438.   }
  439.  
  440.   public function getTableRegions($tableName)
  441.   {
  442.     $this->send_getTableRegions($tableName);
  443.     return $this->recv_getTableRegions();
  444.   }
  445.  
  446.   public function send_getTableRegions($tableName)
  447.   {
  448.     $args = new \Hbase\Hbase_getTableRegions_args();
  449.     $args->tableName = $tableName;
  450.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  451.     if ($bin_accel)
  452.     {
  453.       thrift_protocol_write_binary($this->output_, 'getTableRegions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  454.     }
  455.     else
  456.     {
  457.       $this->output_->writeMessageBegin('getTableRegions', TMessageType::CALL, $this->seqid_);
  458.       $args->write($this->output_);
  459.       $this->output_->writeMessageEnd();
  460.       $this->output_->getTransport()->flush();
  461.     }
  462.   }
  463.  
  464.   public function recv_getTableRegions()
  465.   {
  466.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  467.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getTableRegions_result', $this->input_->isStrictRead());
  468.     else
  469.     {
  470.       $rseqid = 0;
  471.       $fname = null;
  472.       $mtype = 0;
  473.  
  474.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  475.       if ($mtype == TMessageType::EXCEPTION) {
  476.         $x = new TApplicationException();
  477.         $x->read($this->input_);
  478.         $this->input_->readMessageEnd();
  479.         throw $x;
  480.       }
  481.       $result = new \Hbase\Hbase_getTableRegions_result();
  482.       $result->read($this->input_);
  483.       $this->input_->readMessageEnd();
  484.     }
  485.     if ($result->success !== null) {
  486.       return $result->success;
  487.     }
  488.     if ($result->io !== null) {
  489.       throw $result->io;
  490.     }
  491.     throw new \Exception("getTableRegions failed: unknown result");
  492.   }
  493.  
  494.   public function createTable($tableName, $columnFamilies)
  495.   {
  496.     $this->send_createTable($tableName, $columnFamilies);
  497.     $this->recv_createTable();
  498.   }
  499.  
  500.   public function send_createTable($tableName, $columnFamilies)
  501.   {
  502.     $args = new \Hbase\Hbase_createTable_args();
  503.     $args->tableName = $tableName;
  504.     $args->columnFamilies = $columnFamilies;
  505.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  506.     if ($bin_accel)
  507.     {
  508.       thrift_protocol_write_binary($this->output_, 'createTable', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  509.     }
  510.     else
  511.     {
  512.       $this->output_->writeMessageBegin('createTable', TMessageType::CALL, $this->seqid_);
  513.       $args->write($this->output_);
  514.       $this->output_->writeMessageEnd();
  515.       $this->output_->getTransport()->flush();
  516.     }
  517.   }
  518.  
  519.   public function recv_createTable()
  520.   {
  521.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  522.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_createTable_result', $this->input_->isStrictRead());
  523.     else
  524.     {
  525.       $rseqid = 0;
  526.       $fname = null;
  527.       $mtype = 0;
  528.  
  529.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  530.       if ($mtype == TMessageType::EXCEPTION) {
  531.         $x = new TApplicationException();
  532.         $x->read($this->input_);
  533.         $this->input_->readMessageEnd();
  534.         throw $x;
  535.       }
  536.       $result = new \Hbase\Hbase_createTable_result();
  537.       $result->read($this->input_);
  538.       $this->input_->readMessageEnd();
  539.     }
  540.     if ($result->io !== null) {
  541.       throw $result->io;
  542.     }
  543.     if ($result->ia !== null) {
  544.       throw $result->ia;
  545.     }
  546.     if ($result->exist !== null) {
  547.       throw $result->exist;
  548.     }
  549.     return;
  550.   }
  551.  
  552.   public function deleteTable($tableName)
  553.   {
  554.     $this->send_deleteTable($tableName);
  555.     $this->recv_deleteTable();
  556.   }
  557.  
  558.   public function send_deleteTable($tableName)
  559.   {
  560.     $args = new \Hbase\Hbase_deleteTable_args();
  561.     $args->tableName = $tableName;
  562.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  563.     if ($bin_accel)
  564.     {
  565.       thrift_protocol_write_binary($this->output_, 'deleteTable', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  566.     }
  567.     else
  568.     {
  569.       $this->output_->writeMessageBegin('deleteTable', TMessageType::CALL, $this->seqid_);
  570.       $args->write($this->output_);
  571.       $this->output_->writeMessageEnd();
  572.       $this->output_->getTransport()->flush();
  573.     }
  574.   }
  575.  
  576.   public function recv_deleteTable()
  577.   {
  578.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  579.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_deleteTable_result', $this->input_->isStrictRead());
  580.     else
  581.     {
  582.       $rseqid = 0;
  583.       $fname = null;
  584.       $mtype = 0;
  585.  
  586.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  587.       if ($mtype == TMessageType::EXCEPTION) {
  588.         $x = new TApplicationException();
  589.         $x->read($this->input_);
  590.         $this->input_->readMessageEnd();
  591.         throw $x;
  592.       }
  593.       $result = new \Hbase\Hbase_deleteTable_result();
  594.       $result->read($this->input_);
  595.       $this->input_->readMessageEnd();
  596.     }
  597.     if ($result->io !== null) {
  598.       throw $result->io;
  599.     }
  600.     return;
  601.   }
  602.  
  603.   public function get($tableName, $row, $column, $attributes)
  604.   {
  605.     $this->send_get($tableName, $row, $column, $attributes);
  606.     return $this->recv_get();
  607.   }
  608.  
  609.   public function send_get($tableName, $row, $column, $attributes)
  610.   {
  611.     $args = new \Hbase\Hbase_get_args();
  612.     $args->tableName = $tableName;
  613.     $args->row = $row;
  614.     $args->column = $column;
  615.     $args->attributes = $attributes;
  616.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  617.     if ($bin_accel)
  618.     {
  619.       thrift_protocol_write_binary($this->output_, 'get', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  620.     }
  621.     else
  622.     {
  623.       $this->output_->writeMessageBegin('get', TMessageType::CALL, $this->seqid_);
  624.       $args->write($this->output_);
  625.       $this->output_->writeMessageEnd();
  626.       $this->output_->getTransport()->flush();
  627.     }
  628.   }
  629.  
  630.   public function recv_get()
  631.   {
  632.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  633.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_get_result', $this->input_->isStrictRead());
  634.     else
  635.     {
  636.       $rseqid = 0;
  637.       $fname = null;
  638.       $mtype = 0;
  639.  
  640.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  641.       if ($mtype == TMessageType::EXCEPTION) {
  642.         $x = new TApplicationException();
  643.         $x->read($this->input_);
  644.         $this->input_->readMessageEnd();
  645.         throw $x;
  646.       }
  647.       $result = new \Hbase\Hbase_get_result();
  648.       $result->read($this->input_);
  649.       $this->input_->readMessageEnd();
  650.     }
  651.     if ($result->success !== null) {
  652.       return $result->success;
  653.     }
  654.     if ($result->io !== null) {
  655.       throw $result->io;
  656.     }
  657.     throw new \Exception("get failed: unknown result");
  658.   }
  659.  
  660.   public function getVer($tableName, $row, $column, $numVersions, $attributes)
  661.   {
  662.     $this->send_getVer($tableName, $row, $column, $numVersions, $attributes);
  663.     return $this->recv_getVer();
  664.   }
  665.  
  666.   public function send_getVer($tableName, $row, $column, $numVersions, $attributes)
  667.   {
  668.     $args = new \Hbase\Hbase_getVer_args();
  669.     $args->tableName = $tableName;
  670.     $args->row = $row;
  671.     $args->column = $column;
  672.     $args->numVersions = $numVersions;
  673.     $args->attributes = $attributes;
  674.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  675.     if ($bin_accel)
  676.     {
  677.       thrift_protocol_write_binary($this->output_, 'getVer', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  678.     }
  679.     else
  680.     {
  681.       $this->output_->writeMessageBegin('getVer', TMessageType::CALL, $this->seqid_);
  682.       $args->write($this->output_);
  683.       $this->output_->writeMessageEnd();
  684.       $this->output_->getTransport()->flush();
  685.     }
  686.   }
  687.  
  688.   public function recv_getVer()
  689.   {
  690.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  691.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getVer_result', $this->input_->isStrictRead());
  692.     else
  693.     {
  694.       $rseqid = 0;
  695.       $fname = null;
  696.       $mtype = 0;
  697.  
  698.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  699.       if ($mtype == TMessageType::EXCEPTION) {
  700.         $x = new TApplicationException();
  701.         $x->read($this->input_);
  702.         $this->input_->readMessageEnd();
  703.         throw $x;
  704.       }
  705.       $result = new \Hbase\Hbase_getVer_result();
  706.       $result->read($this->input_);
  707.       $this->input_->readMessageEnd();
  708.     }
  709.     if ($result->success !== null) {
  710.       return $result->success;
  711.     }
  712.     if ($result->io !== null) {
  713.       throw $result->io;
  714.     }
  715.     throw new \Exception("getVer failed: unknown result");
  716.   }
  717.  
  718.   public function getVerTs($tableName, $row, $column, $timestamp, $numVersions, $attributes)
  719.   {
  720.     $this->send_getVerTs($tableName, $row, $column, $timestamp, $numVersions, $attributes);
  721.     return $this->recv_getVerTs();
  722.   }
  723.  
  724.   public function send_getVerTs($tableName, $row, $column, $timestamp, $numVersions, $attributes)
  725.   {
  726.     $args = new \Hbase\Hbase_getVerTs_args();
  727.     $args->tableName = $tableName;
  728.     $args->row = $row;
  729.     $args->column = $column;
  730.     $args->timestamp = $timestamp;
  731.     $args->numVersions = $numVersions;
  732.     $args->attributes = $attributes;
  733.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  734.     if ($bin_accel)
  735.     {
  736.       thrift_protocol_write_binary($this->output_, 'getVerTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  737.     }
  738.     else
  739.     {
  740.       $this->output_->writeMessageBegin('getVerTs', TMessageType::CALL, $this->seqid_);
  741.       $args->write($this->output_);
  742.       $this->output_->writeMessageEnd();
  743.       $this->output_->getTransport()->flush();
  744.     }
  745.   }
  746.  
  747.   public function recv_getVerTs()
  748.   {
  749.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  750.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getVerTs_result', $this->input_->isStrictRead());
  751.     else
  752.     {
  753.       $rseqid = 0;
  754.       $fname = null;
  755.       $mtype = 0;
  756.  
  757.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  758.       if ($mtype == TMessageType::EXCEPTION) {
  759.         $x = new TApplicationException();
  760.         $x->read($this->input_);
  761.         $this->input_->readMessageEnd();
  762.         throw $x;
  763.       }
  764.       $result = new \Hbase\Hbase_getVerTs_result();
  765.       $result->read($this->input_);
  766.       $this->input_->readMessageEnd();
  767.     }
  768.     if ($result->success !== null) {
  769.       return $result->success;
  770.     }
  771.     if ($result->io !== null) {
  772.       throw $result->io;
  773.     }
  774.     throw new \Exception("getVerTs failed: unknown result");
  775.   }
  776.  
  777.   public function getRow($tableName, $row, $attributes)
  778.   {
  779.     $this->send_getRow($tableName, $row, $attributes);
  780.     return $this->recv_getRow();
  781.   }
  782.  
  783.   public function send_getRow($tableName, $row, $attributes)
  784.   {
  785.     $args = new \Hbase\Hbase_getRow_args();
  786.     $args->tableName = $tableName;
  787.     $args->row = $row;
  788.     $args->attributes = $attributes;
  789.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  790.     if ($bin_accel)
  791.     {
  792.       thrift_protocol_write_binary($this->output_, 'getRow', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  793.     }
  794.     else
  795.     {
  796.       $this->output_->writeMessageBegin('getRow', TMessageType::CALL, $this->seqid_);
  797.       $args->write($this->output_);
  798.       $this->output_->writeMessageEnd();
  799.       $this->output_->getTransport()->flush();
  800.     }
  801.   }
  802.  
  803.   public function recv_getRow()
  804.   {
  805.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  806.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getRow_result', $this->input_->isStrictRead());
  807.     else
  808.     {
  809.       $rseqid = 0;
  810.       $fname = null;
  811.       $mtype = 0;
  812.  
  813.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  814.       if ($mtype == TMessageType::EXCEPTION) {
  815.         $x = new TApplicationException();
  816.         $x->read($this->input_);
  817.         $this->input_->readMessageEnd();
  818.         throw $x;
  819.       }
  820.       $result = new \Hbase\Hbase_getRow_result();
  821.       $result->read($this->input_);
  822.       $this->input_->readMessageEnd();
  823.     }
  824.     if ($result->success !== null) {
  825.       return $result->success;
  826.     }
  827.     if ($result->io !== null) {
  828.       throw $result->io;
  829.     }
  830.     throw new \Exception("getRow failed: unknown result");
  831.   }
  832.  
  833.   public function getRowWithColumns($tableName, $row, $columns, $attributes)
  834.   {
  835.     $this->send_getRowWithColumns($tableName, $row, $columns, $attributes);
  836.     return $this->recv_getRowWithColumns();
  837.   }
  838.  
  839.   public function send_getRowWithColumns($tableName, $row, $columns, $attributes)
  840.   {
  841.     $args = new \Hbase\Hbase_getRowWithColumns_args();
  842.     $args->tableName = $tableName;
  843.     $args->row = $row;
  844.     $args->columns = $columns;
  845.     $args->attributes = $attributes;
  846.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  847.     if ($bin_accel)
  848.     {
  849.       thrift_protocol_write_binary($this->output_, 'getRowWithColumns', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  850.     }
  851.     else
  852.     {
  853.       $this->output_->writeMessageBegin('getRowWithColumns', TMessageType::CALL, $this->seqid_);
  854.       $args->write($this->output_);
  855.       $this->output_->writeMessageEnd();
  856.       $this->output_->getTransport()->flush();
  857.     }
  858.   }
  859.  
  860.   public function recv_getRowWithColumns()
  861.   {
  862.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  863.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getRowWithColumns_result', $this->input_->isStrictRead());
  864.     else
  865.     {
  866.       $rseqid = 0;
  867.       $fname = null;
  868.       $mtype = 0;
  869.  
  870.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  871.       if ($mtype == TMessageType::EXCEPTION) {
  872.         $x = new TApplicationException();
  873.         $x->read($this->input_);
  874.         $this->input_->readMessageEnd();
  875.         throw $x;
  876.       }
  877.       $result = new \Hbase\Hbase_getRowWithColumns_result();
  878.       $result->read($this->input_);
  879.       $this->input_->readMessageEnd();
  880.     }
  881.     if ($result->success !== null) {
  882.       return $result->success;
  883.     }
  884.     if ($result->io !== null) {
  885.       throw $result->io;
  886.     }
  887.     throw new \Exception("getRowWithColumns failed: unknown result");
  888.   }
  889.  
  890.   public function getRowTs($tableName, $row, $timestamp, $attributes)
  891.   {
  892.     $this->send_getRowTs($tableName, $row, $timestamp, $attributes);
  893.     return $this->recv_getRowTs();
  894.   }
  895.  
  896.   public function send_getRowTs($tableName, $row, $timestamp, $attributes)
  897.   {
  898.     $args = new \Hbase\Hbase_getRowTs_args();
  899.     $args->tableName = $tableName;
  900.     $args->row = $row;
  901.     $args->timestamp = $timestamp;
  902.     $args->attributes = $attributes;
  903.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  904.     if ($bin_accel)
  905.     {
  906.       thrift_protocol_write_binary($this->output_, 'getRowTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  907.     }
  908.     else
  909.     {
  910.       $this->output_->writeMessageBegin('getRowTs', TMessageType::CALL, $this->seqid_);
  911.       $args->write($this->output_);
  912.       $this->output_->writeMessageEnd();
  913.       $this->output_->getTransport()->flush();
  914.     }
  915.   }
  916.  
  917.   public function recv_getRowTs()
  918.   {
  919.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  920.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getRowTs_result', $this->input_->isStrictRead());
  921.     else
  922.     {
  923.       $rseqid = 0;
  924.       $fname = null;
  925.       $mtype = 0;
  926.  
  927.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  928.       if ($mtype == TMessageType::EXCEPTION) {
  929.         $x = new TApplicationException();
  930.         $x->read($this->input_);
  931.         $this->input_->readMessageEnd();
  932.         throw $x;
  933.       }
  934.       $result = new \Hbase\Hbase_getRowTs_result();
  935.       $result->read($this->input_);
  936.       $this->input_->readMessageEnd();
  937.     }
  938.     if ($result->success !== null) {
  939.       return $result->success;
  940.     }
  941.     if ($result->io !== null) {
  942.       throw $result->io;
  943.     }
  944.     throw new \Exception("getRowTs failed: unknown result");
  945.   }
  946.  
  947.   public function getRowWithColumnsTs($tableName, $row, $columns, $timestamp, $attributes)
  948.   {
  949.     $this->send_getRowWithColumnsTs($tableName, $row, $columns, $timestamp, $attributes);
  950.     return $this->recv_getRowWithColumnsTs();
  951.   }
  952.  
  953.   public function send_getRowWithColumnsTs($tableName, $row, $columns, $timestamp, $attributes)
  954.   {
  955.     $args = new \Hbase\Hbase_getRowWithColumnsTs_args();
  956.     $args->tableName = $tableName;
  957.     $args->row = $row;
  958.     $args->columns = $columns;
  959.     $args->timestamp = $timestamp;
  960.     $args->attributes = $attributes;
  961.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  962.     if ($bin_accel)
  963.     {
  964.       thrift_protocol_write_binary($this->output_, 'getRowWithColumnsTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  965.     }
  966.     else
  967.     {
  968.       $this->output_->writeMessageBegin('getRowWithColumnsTs', TMessageType::CALL, $this->seqid_);
  969.       $args->write($this->output_);
  970.       $this->output_->writeMessageEnd();
  971.       $this->output_->getTransport()->flush();
  972.     }
  973.   }
  974.  
  975.   public function recv_getRowWithColumnsTs()
  976.   {
  977.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  978.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getRowWithColumnsTs_result', $this->input_->isStrictRead());
  979.     else
  980.     {
  981.       $rseqid = 0;
  982.       $fname = null;
  983.       $mtype = 0;
  984.  
  985.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  986.       if ($mtype == TMessageType::EXCEPTION) {
  987.         $x = new TApplicationException();
  988.         $x->read($this->input_);
  989.         $this->input_->readMessageEnd();
  990.         throw $x;
  991.       }
  992.       $result = new \Hbase\Hbase_getRowWithColumnsTs_result();
  993.       $result->read($this->input_);
  994.       $this->input_->readMessageEnd();
  995.     }
  996.     if ($result->success !== null) {
  997.       return $result->success;
  998.     }
  999.     if ($result->io !== null) {
  1000.       throw $result->io;
  1001.     }
  1002.     throw new \Exception("getRowWithColumnsTs failed: unknown result");
  1003.   }
  1004.  
  1005.   public function getRows($tableName, $rows, $attributes)
  1006.   {
  1007.     $this->send_getRows($tableName, $rows, $attributes);
  1008.     return $this->recv_getRows();
  1009.   }
  1010.  
  1011.   public function send_getRows($tableName, $rows, $attributes)
  1012.   {
  1013.     $args = new \Hbase\Hbase_getRows_args();
  1014.     $args->tableName = $tableName;
  1015.     $args->rows = $rows;
  1016.     $args->attributes = $attributes;
  1017.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1018.     if ($bin_accel)
  1019.     {
  1020.       thrift_protocol_write_binary($this->output_, 'getRows', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1021.     }
  1022.     else
  1023.     {
  1024.       $this->output_->writeMessageBegin('getRows', TMessageType::CALL, $this->seqid_);
  1025.       $args->write($this->output_);
  1026.       $this->output_->writeMessageEnd();
  1027.       $this->output_->getTransport()->flush();
  1028.     }
  1029.   }
  1030.  
  1031.   public function recv_getRows()
  1032.   {
  1033.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1034.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getRows_result', $this->input_->isStrictRead());
  1035.     else
  1036.     {
  1037.       $rseqid = 0;
  1038.       $fname = null;
  1039.       $mtype = 0;
  1040.  
  1041.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1042.       if ($mtype == TMessageType::EXCEPTION) {
  1043.         $x = new TApplicationException();
  1044.         $x->read($this->input_);
  1045.         $this->input_->readMessageEnd();
  1046.         throw $x;
  1047.       }
  1048.       $result = new \Hbase\Hbase_getRows_result();
  1049.       $result->read($this->input_);
  1050.       $this->input_->readMessageEnd();
  1051.     }
  1052.     if ($result->success !== null) {
  1053.       return $result->success;
  1054.     }
  1055.     if ($result->io !== null) {
  1056.       throw $result->io;
  1057.     }
  1058.     throw new \Exception("getRows failed: unknown result");
  1059.   }
  1060.  
  1061.   public function getRowsWithColumns($tableName, $rows, $columns, $attributes)
  1062.   {
  1063.     $this->send_getRowsWithColumns($tableName, $rows, $columns, $attributes);
  1064.     return $this->recv_getRowsWithColumns();
  1065.   }
  1066.  
  1067.   public function send_getRowsWithColumns($tableName, $rows, $columns, $attributes)
  1068.   {
  1069.     $args = new \Hbase\Hbase_getRowsWithColumns_args();
  1070.     $args->tableName = $tableName;
  1071.     $args->rows = $rows;
  1072.     $args->columns = $columns;
  1073.     $args->attributes = $attributes;
  1074.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1075.     if ($bin_accel)
  1076.     {
  1077.       thrift_protocol_write_binary($this->output_, 'getRowsWithColumns', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1078.     }
  1079.     else
  1080.     {
  1081.       $this->output_->writeMessageBegin('getRowsWithColumns', TMessageType::CALL, $this->seqid_);
  1082.       $args->write($this->output_);
  1083.       $this->output_->writeMessageEnd();
  1084.       $this->output_->getTransport()->flush();
  1085.     }
  1086.   }
  1087.  
  1088.   public function recv_getRowsWithColumns()
  1089.   {
  1090.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1091.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getRowsWithColumns_result', $this->input_->isStrictRead());
  1092.     else
  1093.     {
  1094.       $rseqid = 0;
  1095.       $fname = null;
  1096.       $mtype = 0;
  1097.  
  1098.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1099.       if ($mtype == TMessageType::EXCEPTION) {
  1100.         $x = new TApplicationException();
  1101.         $x->read($this->input_);
  1102.         $this->input_->readMessageEnd();
  1103.         throw $x;
  1104.       }
  1105.       $result = new \Hbase\Hbase_getRowsWithColumns_result();
  1106.       $result->read($this->input_);
  1107.       $this->input_->readMessageEnd();
  1108.     }
  1109.     if ($result->success !== null) {
  1110.       return $result->success;
  1111.     }
  1112.     if ($result->io !== null) {
  1113.       throw $result->io;
  1114.     }
  1115.     throw new \Exception("getRowsWithColumns failed: unknown result");
  1116.   }
  1117.  
  1118.   public function getRowsTs($tableName, $rows, $timestamp, $attributes)
  1119.   {
  1120.     $this->send_getRowsTs($tableName, $rows, $timestamp, $attributes);
  1121.     return $this->recv_getRowsTs();
  1122.   }
  1123.  
  1124.   public function send_getRowsTs($tableName, $rows, $timestamp, $attributes)
  1125.   {
  1126.     $args = new \Hbase\Hbase_getRowsTs_args();
  1127.     $args->tableName = $tableName;
  1128.     $args->rows = $rows;
  1129.     $args->timestamp = $timestamp;
  1130.     $args->attributes = $attributes;
  1131.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1132.     if ($bin_accel)
  1133.     {
  1134.       thrift_protocol_write_binary($this->output_, 'getRowsTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1135.     }
  1136.     else
  1137.     {
  1138.       $this->output_->writeMessageBegin('getRowsTs', TMessageType::CALL, $this->seqid_);
  1139.       $args->write($this->output_);
  1140.       $this->output_->writeMessageEnd();
  1141.       $this->output_->getTransport()->flush();
  1142.     }
  1143.   }
  1144.  
  1145.   public function recv_getRowsTs()
  1146.   {
  1147.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1148.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getRowsTs_result', $this->input_->isStrictRead());
  1149.     else
  1150.     {
  1151.       $rseqid = 0;
  1152.       $fname = null;
  1153.       $mtype = 0;
  1154.  
  1155.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1156.       if ($mtype == TMessageType::EXCEPTION) {
  1157.         $x = new TApplicationException();
  1158.         $x->read($this->input_);
  1159.         $this->input_->readMessageEnd();
  1160.         throw $x;
  1161.       }
  1162.       $result = new \Hbase\Hbase_getRowsTs_result();
  1163.       $result->read($this->input_);
  1164.       $this->input_->readMessageEnd();
  1165.     }
  1166.     if ($result->success !== null) {
  1167.       return $result->success;
  1168.     }
  1169.     if ($result->io !== null) {
  1170.       throw $result->io;
  1171.     }
  1172.     throw new \Exception("getRowsTs failed: unknown result");
  1173.   }
  1174.  
  1175.   public function getRowsWithColumnsTs($tableName, $rows, $columns, $timestamp, $attributes)
  1176.   {
  1177.     $this->send_getRowsWithColumnsTs($tableName, $rows, $columns, $timestamp, $attributes);
  1178.     return $this->recv_getRowsWithColumnsTs();
  1179.   }
  1180.  
  1181.   public function send_getRowsWithColumnsTs($tableName, $rows, $columns, $timestamp, $attributes)
  1182.   {
  1183.     $args = new \Hbase\Hbase_getRowsWithColumnsTs_args();
  1184.     $args->tableName = $tableName;
  1185.     $args->rows = $rows;
  1186.     $args->columns = $columns;
  1187.     $args->timestamp = $timestamp;
  1188.     $args->attributes = $attributes;
  1189.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1190.     if ($bin_accel)
  1191.     {
  1192.       thrift_protocol_write_binary($this->output_, 'getRowsWithColumnsTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1193.     }
  1194.     else
  1195.     {
  1196.       $this->output_->writeMessageBegin('getRowsWithColumnsTs', TMessageType::CALL, $this->seqid_);
  1197.       $args->write($this->output_);
  1198.       $this->output_->writeMessageEnd();
  1199.       $this->output_->getTransport()->flush();
  1200.     }
  1201.   }
  1202.  
  1203.   public function recv_getRowsWithColumnsTs()
  1204.   {
  1205.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1206.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getRowsWithColumnsTs_result', $this->input_->isStrictRead());
  1207.     else
  1208.     {
  1209.       $rseqid = 0;
  1210.       $fname = null;
  1211.       $mtype = 0;
  1212.  
  1213.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1214.       if ($mtype == TMessageType::EXCEPTION) {
  1215.         $x = new TApplicationException();
  1216.         $x->read($this->input_);
  1217.         $this->input_->readMessageEnd();
  1218.         throw $x;
  1219.       }
  1220.       $result = new \Hbase\Hbase_getRowsWithColumnsTs_result();
  1221.       $result->read($this->input_);
  1222.       $this->input_->readMessageEnd();
  1223.     }
  1224.     if ($result->success !== null) {
  1225.       return $result->success;
  1226.     }
  1227.     if ($result->io !== null) {
  1228.       throw $result->io;
  1229.     }
  1230.     throw new \Exception("getRowsWithColumnsTs failed: unknown result");
  1231.   }
  1232.  
  1233.   public function mutateRow($tableName, $row, $mutations, $attributes)
  1234.   {
  1235.     $this->send_mutateRow($tableName, $row, $mutations, $attributes);
  1236.     $this->recv_mutateRow();
  1237.   }
  1238.  
  1239.   public function send_mutateRow($tableName, $row, $mutations, $attributes)
  1240.   {
  1241.     $args = new \Hbase\Hbase_mutateRow_args();
  1242.     $args->tableName = $tableName;
  1243.     $args->row = $row;
  1244.     $args->mutations = $mutations;
  1245.     $args->attributes = $attributes;
  1246.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1247.     if ($bin_accel)
  1248.     {
  1249.       thrift_protocol_write_binary($this->output_, 'mutateRow', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1250.     }
  1251.     else
  1252.     {
  1253.       $this->output_->writeMessageBegin('mutateRow', TMessageType::CALL, $this->seqid_);
  1254.       $args->write($this->output_);
  1255.       $this->output_->writeMessageEnd();
  1256.       $this->output_->getTransport()->flush();
  1257.     }
  1258.   }
  1259.  
  1260.   public function recv_mutateRow()
  1261.   {
  1262.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1263.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_mutateRow_result', $this->input_->isStrictRead());
  1264.     else
  1265.     {
  1266.       $rseqid = 0;
  1267.       $fname = null;
  1268.       $mtype = 0;
  1269.  
  1270.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1271.       if ($mtype == TMessageType::EXCEPTION) {
  1272.         $x = new TApplicationException();
  1273.         $x->read($this->input_);
  1274.         $this->input_->readMessageEnd();
  1275.         throw $x;
  1276.       }
  1277.       $result = new \Hbase\Hbase_mutateRow_result();
  1278.       $result->read($this->input_);
  1279.       $this->input_->readMessageEnd();
  1280.     }
  1281.     if ($result->io !== null) {
  1282.       throw $result->io;
  1283.     }
  1284.     if ($result->ia !== null) {
  1285.       throw $result->ia;
  1286.     }
  1287.     return;
  1288.   }
  1289.  
  1290.   public function mutateRowTs($tableName, $row, $mutations, $timestamp, $attributes)
  1291.   {
  1292.     $this->send_mutateRowTs($tableName, $row, $mutations, $timestamp, $attributes);
  1293.     $this->recv_mutateRowTs();
  1294.   }
  1295.  
  1296.   public function send_mutateRowTs($tableName, $row, $mutations, $timestamp, $attributes)
  1297.   {
  1298.     $args = new \Hbase\Hbase_mutateRowTs_args();
  1299.     $args->tableName = $tableName;
  1300.     $args->row = $row;
  1301.     $args->mutations = $mutations;
  1302.     $args->timestamp = $timestamp;
  1303.     $args->attributes = $attributes;
  1304.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1305.     if ($bin_accel)
  1306.     {
  1307.       thrift_protocol_write_binary($this->output_, 'mutateRowTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1308.     }
  1309.     else
  1310.     {
  1311.       $this->output_->writeMessageBegin('mutateRowTs', TMessageType::CALL, $this->seqid_);
  1312.       $args->write($this->output_);
  1313.       $this->output_->writeMessageEnd();
  1314.       $this->output_->getTransport()->flush();
  1315.     }
  1316.   }
  1317.  
  1318.   public function recv_mutateRowTs()
  1319.   {
  1320.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1321.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_mutateRowTs_result', $this->input_->isStrictRead());
  1322.     else
  1323.     {
  1324.       $rseqid = 0;
  1325.       $fname = null;
  1326.       $mtype = 0;
  1327.  
  1328.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1329.       if ($mtype == TMessageType::EXCEPTION) {
  1330.         $x = new TApplicationException();
  1331.         $x->read($this->input_);
  1332.         $this->input_->readMessageEnd();
  1333.         throw $x;
  1334.       }
  1335.       $result = new \Hbase\Hbase_mutateRowTs_result();
  1336.       $result->read($this->input_);
  1337.       $this->input_->readMessageEnd();
  1338.     }
  1339.     if ($result->io !== null) {
  1340.       throw $result->io;
  1341.     }
  1342.     if ($result->ia !== null) {
  1343.       throw $result->ia;
  1344.     }
  1345.     return;
  1346.   }
  1347.  
  1348.   public function mutateRows($tableName, $rowBatches, $attributes)
  1349.   {
  1350.     $this->send_mutateRows($tableName, $rowBatches, $attributes);
  1351.     $this->recv_mutateRows();
  1352.   }
  1353.  
  1354.   public function send_mutateRows($tableName, $rowBatches, $attributes)
  1355.   {
  1356.     $args = new \Hbase\Hbase_mutateRows_args();
  1357.     $args->tableName = $tableName;
  1358.     $args->rowBatches = $rowBatches;
  1359.     $args->attributes = $attributes;
  1360.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1361.     if ($bin_accel)
  1362.     {
  1363.       thrift_protocol_write_binary($this->output_, 'mutateRows', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1364.     }
  1365.     else
  1366.     {
  1367.       $this->output_->writeMessageBegin('mutateRows', TMessageType::CALL, $this->seqid_);
  1368.       $args->write($this->output_);
  1369.       $this->output_->writeMessageEnd();
  1370.       $this->output_->getTransport()->flush();
  1371.     }
  1372.   }
  1373.  
  1374.   public function recv_mutateRows()
  1375.   {
  1376.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1377.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_mutateRows_result', $this->input_->isStrictRead());
  1378.     else
  1379.     {
  1380.       $rseqid = 0;
  1381.       $fname = null;
  1382.       $mtype = 0;
  1383.  
  1384.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1385.       if ($mtype == TMessageType::EXCEPTION) {
  1386.         $x = new TApplicationException();
  1387.         $x->read($this->input_);
  1388.         $this->input_->readMessageEnd();
  1389.         throw $x;
  1390.       }
  1391.       $result = new \Hbase\Hbase_mutateRows_result();
  1392.       $result->read($this->input_);
  1393.       $this->input_->readMessageEnd();
  1394.     }
  1395.     if ($result->io !== null) {
  1396.       throw $result->io;
  1397.     }
  1398.     if ($result->ia !== null) {
  1399.       throw $result->ia;
  1400.     }
  1401.     return;
  1402.   }
  1403.  
  1404.   public function mutateRowsTs($tableName, $rowBatches, $timestamp, $attributes)
  1405.   {
  1406.     $this->send_mutateRowsTs($tableName, $rowBatches, $timestamp, $attributes);
  1407.     $this->recv_mutateRowsTs();
  1408.   }
  1409.  
  1410.   public function send_mutateRowsTs($tableName, $rowBatches, $timestamp, $attributes)
  1411.   {
  1412.     $args = new \Hbase\Hbase_mutateRowsTs_args();
  1413.     $args->tableName = $tableName;
  1414.     $args->rowBatches = $rowBatches;
  1415.     $args->timestamp = $timestamp;
  1416.     $args->attributes = $attributes;
  1417.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1418.     if ($bin_accel)
  1419.     {
  1420.       thrift_protocol_write_binary($this->output_, 'mutateRowsTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1421.     }
  1422.     else
  1423.     {
  1424.       $this->output_->writeMessageBegin('mutateRowsTs', TMessageType::CALL, $this->seqid_);
  1425.       $args->write($this->output_);
  1426.       $this->output_->writeMessageEnd();
  1427.       $this->output_->getTransport()->flush();
  1428.     }
  1429.   }
  1430.  
  1431.   public function recv_mutateRowsTs()
  1432.   {
  1433.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1434.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_mutateRowsTs_result', $this->input_->isStrictRead());
  1435.     else
  1436.     {
  1437.       $rseqid = 0;
  1438.       $fname = null;
  1439.       $mtype = 0;
  1440.  
  1441.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1442.       if ($mtype == TMessageType::EXCEPTION) {
  1443.         $x = new TApplicationException();
  1444.         $x->read($this->input_);
  1445.         $this->input_->readMessageEnd();
  1446.         throw $x;
  1447.       }
  1448.       $result = new \Hbase\Hbase_mutateRowsTs_result();
  1449.       $result->read($this->input_);
  1450.       $this->input_->readMessageEnd();
  1451.     }
  1452.     if ($result->io !== null) {
  1453.       throw $result->io;
  1454.     }
  1455.     if ($result->ia !== null) {
  1456.       throw $result->ia;
  1457.     }
  1458.     return;
  1459.   }
  1460.  
  1461.   public function atomicIncrement($tableName, $row, $column, $value)
  1462.   {
  1463.     $this->send_atomicIncrement($tableName, $row, $column, $value);
  1464.     return $this->recv_atomicIncrement();
  1465.   }
  1466.  
  1467.   public function send_atomicIncrement($tableName, $row, $column, $value)
  1468.   {
  1469.     $args = new \Hbase\Hbase_atomicIncrement_args();
  1470.     $args->tableName = $tableName;
  1471.     $args->row = $row;
  1472.     $args->column = $column;
  1473.     $args->value = $value;
  1474.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1475.     if ($bin_accel)
  1476.     {
  1477.       thrift_protocol_write_binary($this->output_, 'atomicIncrement', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1478.     }
  1479.     else
  1480.     {
  1481.       $this->output_->writeMessageBegin('atomicIncrement', TMessageType::CALL, $this->seqid_);
  1482.       $args->write($this->output_);
  1483.       $this->output_->writeMessageEnd();
  1484.       $this->output_->getTransport()->flush();
  1485.     }
  1486.   }
  1487.  
  1488.   public function recv_atomicIncrement()
  1489.   {
  1490.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1491.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_atomicIncrement_result', $this->input_->isStrictRead());
  1492.     else
  1493.     {
  1494.       $rseqid = 0;
  1495.       $fname = null;
  1496.       $mtype = 0;
  1497.  
  1498.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1499.       if ($mtype == TMessageType::EXCEPTION) {
  1500.         $x = new TApplicationException();
  1501.         $x->read($this->input_);
  1502.         $this->input_->readMessageEnd();
  1503.         throw $x;
  1504.       }
  1505.       $result = new \Hbase\Hbase_atomicIncrement_result();
  1506.       $result->read($this->input_);
  1507.       $this->input_->readMessageEnd();
  1508.     }
  1509.     if ($result->success !== null) {
  1510.       return $result->success;
  1511.     }
  1512.     if ($result->io !== null) {
  1513.       throw $result->io;
  1514.     }
  1515.     if ($result->ia !== null) {
  1516.       throw $result->ia;
  1517.     }
  1518.     throw new \Exception("atomicIncrement failed: unknown result");
  1519.   }
  1520.  
  1521.   public function deleteAll($tableName, $row, $column, $attributes)
  1522.   {
  1523.     $this->send_deleteAll($tableName, $row, $column, $attributes);
  1524.     $this->recv_deleteAll();
  1525.   }
  1526.  
  1527.   public function send_deleteAll($tableName, $row, $column, $attributes)
  1528.   {
  1529.     $args = new \Hbase\Hbase_deleteAll_args();
  1530.     $args->tableName = $tableName;
  1531.     $args->row = $row;
  1532.     $args->column = $column;
  1533.     $args->attributes = $attributes;
  1534.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1535.     if ($bin_accel)
  1536.     {
  1537.       thrift_protocol_write_binary($this->output_, 'deleteAll', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1538.     }
  1539.     else
  1540.     {
  1541.       $this->output_->writeMessageBegin('deleteAll', TMessageType::CALL, $this->seqid_);
  1542.       $args->write($this->output_);
  1543.       $this->output_->writeMessageEnd();
  1544.       $this->output_->getTransport()->flush();
  1545.     }
  1546.   }
  1547.  
  1548.   public function recv_deleteAll()
  1549.   {
  1550.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1551.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_deleteAll_result', $this->input_->isStrictRead());
  1552.     else
  1553.     {
  1554.       $rseqid = 0;
  1555.       $fname = null;
  1556.       $mtype = 0;
  1557.  
  1558.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1559.       if ($mtype == TMessageType::EXCEPTION) {
  1560.         $x = new TApplicationException();
  1561.         $x->read($this->input_);
  1562.         $this->input_->readMessageEnd();
  1563.         throw $x;
  1564.       }
  1565.       $result = new \Hbase\Hbase_deleteAll_result();
  1566.       $result->read($this->input_);
  1567.       $this->input_->readMessageEnd();
  1568.     }
  1569.     if ($result->io !== null) {
  1570.       throw $result->io;
  1571.     }
  1572.     return;
  1573.   }
  1574.  
  1575.   public function deleteAllTs($tableName, $row, $column, $timestamp, $attributes)
  1576.   {
  1577.     $this->send_deleteAllTs($tableName, $row, $column, $timestamp, $attributes);
  1578.     $this->recv_deleteAllTs();
  1579.   }
  1580.  
  1581.   public function send_deleteAllTs($tableName, $row, $column, $timestamp, $attributes)
  1582.   {
  1583.     $args = new \Hbase\Hbase_deleteAllTs_args();
  1584.     $args->tableName = $tableName;
  1585.     $args->row = $row;
  1586.     $args->column = $column;
  1587.     $args->timestamp = $timestamp;
  1588.     $args->attributes = $attributes;
  1589.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1590.     if ($bin_accel)
  1591.     {
  1592.       thrift_protocol_write_binary($this->output_, 'deleteAllTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1593.     }
  1594.     else
  1595.     {
  1596.       $this->output_->writeMessageBegin('deleteAllTs', TMessageType::CALL, $this->seqid_);
  1597.       $args->write($this->output_);
  1598.       $this->output_->writeMessageEnd();
  1599.       $this->output_->getTransport()->flush();
  1600.     }
  1601.   }
  1602.  
  1603.   public function recv_deleteAllTs()
  1604.   {
  1605.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1606.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_deleteAllTs_result', $this->input_->isStrictRead());
  1607.     else
  1608.     {
  1609.       $rseqid = 0;
  1610.       $fname = null;
  1611.       $mtype = 0;
  1612.  
  1613.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1614.       if ($mtype == TMessageType::EXCEPTION) {
  1615.         $x = new TApplicationException();
  1616.         $x->read($this->input_);
  1617.         $this->input_->readMessageEnd();
  1618.         throw $x;
  1619.       }
  1620.       $result = new \Hbase\Hbase_deleteAllTs_result();
  1621.       $result->read($this->input_);
  1622.       $this->input_->readMessageEnd();
  1623.     }
  1624.     if ($result->io !== null) {
  1625.       throw $result->io;
  1626.     }
  1627.     return;
  1628.   }
  1629.  
  1630.   public function deleteAllRow($tableName, $row, $attributes)
  1631.   {
  1632.     $this->send_deleteAllRow($tableName, $row, $attributes);
  1633.     $this->recv_deleteAllRow();
  1634.   }
  1635.  
  1636.   public function send_deleteAllRow($tableName, $row, $attributes)
  1637.   {
  1638.     $args = new \Hbase\Hbase_deleteAllRow_args();
  1639.     $args->tableName = $tableName;
  1640.     $args->row = $row;
  1641.     $args->attributes = $attributes;
  1642.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1643.     if ($bin_accel)
  1644.     {
  1645.       thrift_protocol_write_binary($this->output_, 'deleteAllRow', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1646.     }
  1647.     else
  1648.     {
  1649.       $this->output_->writeMessageBegin('deleteAllRow', TMessageType::CALL, $this->seqid_);
  1650.       $args->write($this->output_);
  1651.       $this->output_->writeMessageEnd();
  1652.       $this->output_->getTransport()->flush();
  1653.     }
  1654.   }
  1655.  
  1656.   public function recv_deleteAllRow()
  1657.   {
  1658.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1659.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_deleteAllRow_result', $this->input_->isStrictRead());
  1660.     else
  1661.     {
  1662.       $rseqid = 0;
  1663.       $fname = null;
  1664.       $mtype = 0;
  1665.  
  1666.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1667.       if ($mtype == TMessageType::EXCEPTION) {
  1668.         $x = new TApplicationException();
  1669.         $x->read($this->input_);
  1670.         $this->input_->readMessageEnd();
  1671.         throw $x;
  1672.       }
  1673.       $result = new \Hbase\Hbase_deleteAllRow_result();
  1674.       $result->read($this->input_);
  1675.       $this->input_->readMessageEnd();
  1676.     }
  1677.     if ($result->io !== null) {
  1678.       throw $result->io;
  1679.     }
  1680.     return;
  1681.   }
  1682.  
  1683.   public function increment(\Hbase\TIncrement $increment)
  1684.   {
  1685.     $this->send_increment($increment);
  1686.     $this->recv_increment();
  1687.   }
  1688.  
  1689.   public function send_increment(\Hbase\TIncrement $increment)
  1690.   {
  1691.     $args = new \Hbase\Hbase_increment_args();
  1692.     $args->increment = $increment;
  1693.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1694.     if ($bin_accel)
  1695.     {
  1696.       thrift_protocol_write_binary($this->output_, 'increment', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1697.     }
  1698.     else
  1699.     {
  1700.       $this->output_->writeMessageBegin('increment', TMessageType::CALL, $this->seqid_);
  1701.       $args->write($this->output_);
  1702.       $this->output_->writeMessageEnd();
  1703.       $this->output_->getTransport()->flush();
  1704.     }
  1705.   }
  1706.  
  1707.   public function recv_increment()
  1708.   {
  1709.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1710.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_increment_result', $this->input_->isStrictRead());
  1711.     else
  1712.     {
  1713.       $rseqid = 0;
  1714.       $fname = null;
  1715.       $mtype = 0;
  1716.  
  1717.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1718.       if ($mtype == TMessageType::EXCEPTION) {
  1719.         $x = new TApplicationException();
  1720.         $x->read($this->input_);
  1721.         $this->input_->readMessageEnd();
  1722.         throw $x;
  1723.       }
  1724.       $result = new \Hbase\Hbase_increment_result();
  1725.       $result->read($this->input_);
  1726.       $this->input_->readMessageEnd();
  1727.     }
  1728.     if ($result->io !== null) {
  1729.       throw $result->io;
  1730.     }
  1731.     return;
  1732.   }
  1733.  
  1734.   public function incrementRows($increments)
  1735.   {
  1736.     $this->send_incrementRows($increments);
  1737.     $this->recv_incrementRows();
  1738.   }
  1739.  
  1740.   public function send_incrementRows($increments)
  1741.   {
  1742.     $args = new \Hbase\Hbase_incrementRows_args();
  1743.     $args->increments = $increments;
  1744.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1745.     if ($bin_accel)
  1746.     {
  1747.       thrift_protocol_write_binary($this->output_, 'incrementRows', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1748.     }
  1749.     else
  1750.     {
  1751.       $this->output_->writeMessageBegin('incrementRows', TMessageType::CALL, $this->seqid_);
  1752.       $args->write($this->output_);
  1753.       $this->output_->writeMessageEnd();
  1754.       $this->output_->getTransport()->flush();
  1755.     }
  1756.   }
  1757.  
  1758.   public function recv_incrementRows()
  1759.   {
  1760.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1761.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_incrementRows_result', $this->input_->isStrictRead());
  1762.     else
  1763.     {
  1764.       $rseqid = 0;
  1765.       $fname = null;
  1766.       $mtype = 0;
  1767.  
  1768.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1769.       if ($mtype == TMessageType::EXCEPTION) {
  1770.         $x = new TApplicationException();
  1771.         $x->read($this->input_);
  1772.         $this->input_->readMessageEnd();
  1773.         throw $x;
  1774.       }
  1775.       $result = new \Hbase\Hbase_incrementRows_result();
  1776.       $result->read($this->input_);
  1777.       $this->input_->readMessageEnd();
  1778.     }
  1779.     if ($result->io !== null) {
  1780.       throw $result->io;
  1781.     }
  1782.     return;
  1783.   }
  1784.  
  1785.   public function deleteAllRowTs($tableName, $row, $timestamp, $attributes)
  1786.   {
  1787.     $this->send_deleteAllRowTs($tableName, $row, $timestamp, $attributes);
  1788.     $this->recv_deleteAllRowTs();
  1789.   }
  1790.  
  1791.   public function send_deleteAllRowTs($tableName, $row, $timestamp, $attributes)
  1792.   {
  1793.     $args = new \Hbase\Hbase_deleteAllRowTs_args();
  1794.     $args->tableName = $tableName;
  1795.     $args->row = $row;
  1796.     $args->timestamp = $timestamp;
  1797.     $args->attributes = $attributes;
  1798.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1799.     if ($bin_accel)
  1800.     {
  1801.       thrift_protocol_write_binary($this->output_, 'deleteAllRowTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1802.     }
  1803.     else
  1804.     {
  1805.       $this->output_->writeMessageBegin('deleteAllRowTs', TMessageType::CALL, $this->seqid_);
  1806.       $args->write($this->output_);
  1807.       $this->output_->writeMessageEnd();
  1808.       $this->output_->getTransport()->flush();
  1809.     }
  1810.   }
  1811.  
  1812.   public function recv_deleteAllRowTs()
  1813.   {
  1814.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1815.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_deleteAllRowTs_result', $this->input_->isStrictRead());
  1816.     else
  1817.     {
  1818.       $rseqid = 0;
  1819.       $fname = null;
  1820.       $mtype = 0;
  1821.  
  1822.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1823.       if ($mtype == TMessageType::EXCEPTION) {
  1824.         $x = new TApplicationException();
  1825.         $x->read($this->input_);
  1826.         $this->input_->readMessageEnd();
  1827.         throw $x;
  1828.       }
  1829.       $result = new \Hbase\Hbase_deleteAllRowTs_result();
  1830.       $result->read($this->input_);
  1831.       $this->input_->readMessageEnd();
  1832.     }
  1833.     if ($result->io !== null) {
  1834.       throw $result->io;
  1835.     }
  1836.     return;
  1837.   }
  1838.  
  1839.   public function scannerOpenWithScan($tableName, \Hbase\TScan $scan, $attributes)
  1840.   {
  1841.     $this->send_scannerOpenWithScan($tableName, $scan, $attributes);
  1842.     return $this->recv_scannerOpenWithScan();
  1843.   }
  1844.  
  1845.   public function send_scannerOpenWithScan($tableName, \Hbase\TScan $scan, $attributes)
  1846.   {
  1847.     $args = new \Hbase\Hbase_scannerOpenWithScan_args();
  1848.     $args->tableName = $tableName;
  1849.     $args->scan = $scan;
  1850.     $args->attributes = $attributes;
  1851.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1852.     if ($bin_accel)
  1853.     {
  1854.       thrift_protocol_write_binary($this->output_, 'scannerOpenWithScan', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1855.     }
  1856.     else
  1857.     {
  1858.       $this->output_->writeMessageBegin('scannerOpenWithScan', TMessageType::CALL, $this->seqid_);
  1859.       $args->write($this->output_);
  1860.       $this->output_->writeMessageEnd();
  1861.       $this->output_->getTransport()->flush();
  1862.     }
  1863.   }
  1864.  
  1865.   public function recv_scannerOpenWithScan()
  1866.   {
  1867.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1868.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_scannerOpenWithScan_result', $this->input_->isStrictRead());
  1869.     else
  1870.     {
  1871.       $rseqid = 0;
  1872.       $fname = null;
  1873.       $mtype = 0;
  1874.  
  1875.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1876.       if ($mtype == TMessageType::EXCEPTION) {
  1877.         $x = new TApplicationException();
  1878.         $x->read($this->input_);
  1879.         $this->input_->readMessageEnd();
  1880.         throw $x;
  1881.       }
  1882.       $result = new \Hbase\Hbase_scannerOpenWithScan_result();
  1883.       $result->read($this->input_);
  1884.       $this->input_->readMessageEnd();
  1885.     }
  1886.     if ($result->success !== null) {
  1887.       return $result->success;
  1888.     }
  1889.     if ($result->io !== null) {
  1890.       throw $result->io;
  1891.     }
  1892.     throw new \Exception("scannerOpenWithScan failed: unknown result");
  1893.   }
  1894.  
  1895.   public function scannerOpen($tableName, $startRow, $columns, $attributes)
  1896.   {
  1897.     $this->send_scannerOpen($tableName, $startRow, $columns, $attributes);
  1898.     return $this->recv_scannerOpen();
  1899.   }
  1900.  
  1901.   public function send_scannerOpen($tableName, $startRow, $columns, $attributes)
  1902.   {
  1903.     $args = new \Hbase\Hbase_scannerOpen_args();
  1904.     $args->tableName = $tableName;
  1905.     $args->startRow = $startRow;
  1906.     $args->columns = $columns;
  1907.     $args->attributes = $attributes;
  1908.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1909.     if ($bin_accel)
  1910.     {
  1911.       thrift_protocol_write_binary($this->output_, 'scannerOpen', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1912.     }
  1913.     else
  1914.     {
  1915.       $this->output_->writeMessageBegin('scannerOpen', TMessageType::CALL, $this->seqid_);
  1916.       $args->write($this->output_);
  1917.       $this->output_->writeMessageEnd();
  1918.       $this->output_->getTransport()->flush();
  1919.     }
  1920.   }
  1921.  
  1922.   public function recv_scannerOpen()
  1923.   {
  1924.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1925.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_scannerOpen_result', $this->input_->isStrictRead());
  1926.     else
  1927.     {
  1928.       $rseqid = 0;
  1929.       $fname = null;
  1930.       $mtype = 0;
  1931.  
  1932.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1933.       if ($mtype == TMessageType::EXCEPTION) {
  1934.         $x = new TApplicationException();
  1935.         $x->read($this->input_);
  1936.         $this->input_->readMessageEnd();
  1937.         throw $x;
  1938.       }
  1939.       $result = new \Hbase\Hbase_scannerOpen_result();
  1940.       $result->read($this->input_);
  1941.       $this->input_->readMessageEnd();
  1942.     }
  1943.     if ($result->success !== null) {
  1944.       return $result->success;
  1945.     }
  1946.     if ($result->io !== null) {
  1947.       throw $result->io;
  1948.     }
  1949.     throw new \Exception("scannerOpen failed: unknown result");
  1950.   }
  1951.  
  1952.   public function scannerOpenWithStop($tableName, $startRow, $stopRow, $columns, $attributes)
  1953.   {
  1954.     $this->send_scannerOpenWithStop($tableName, $startRow, $stopRow, $columns, $attributes);
  1955.     return $this->recv_scannerOpenWithStop();
  1956.   }
  1957.  
  1958.   public function send_scannerOpenWithStop($tableName, $startRow, $stopRow, $columns, $attributes)
  1959.   {
  1960.     $args = new \Hbase\Hbase_scannerOpenWithStop_args();
  1961.     $args->tableName = $tableName;
  1962.     $args->startRow = $startRow;
  1963.     $args->stopRow = $stopRow;
  1964.     $args->columns = $columns;
  1965.     $args->attributes = $attributes;
  1966.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  1967.     if ($bin_accel)
  1968.     {
  1969.       thrift_protocol_write_binary($this->output_, 'scannerOpenWithStop', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  1970.     }
  1971.     else
  1972.     {
  1973.       $this->output_->writeMessageBegin('scannerOpenWithStop', TMessageType::CALL, $this->seqid_);
  1974.       $args->write($this->output_);
  1975.       $this->output_->writeMessageEnd();
  1976.       $this->output_->getTransport()->flush();
  1977.     }
  1978.   }
  1979.  
  1980.   public function recv_scannerOpenWithStop()
  1981.   {
  1982.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  1983.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_scannerOpenWithStop_result', $this->input_->isStrictRead());
  1984.     else
  1985.     {
  1986.       $rseqid = 0;
  1987.       $fname = null;
  1988.       $mtype = 0;
  1989.  
  1990.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  1991.       if ($mtype == TMessageType::EXCEPTION) {
  1992.         $x = new TApplicationException();
  1993.         $x->read($this->input_);
  1994.         $this->input_->readMessageEnd();
  1995.         throw $x;
  1996.       }
  1997.       $result = new \Hbase\Hbase_scannerOpenWithStop_result();
  1998.       $result->read($this->input_);
  1999.       $this->input_->readMessageEnd();
  2000.     }
  2001.     if ($result->success !== null) {
  2002.       return $result->success;
  2003.     }
  2004.     if ($result->io !== null) {
  2005.       throw $result->io;
  2006.     }
  2007.     throw new \Exception("scannerOpenWithStop failed: unknown result");
  2008.   }
  2009.  
  2010.   public function scannerOpenWithPrefix($tableName, $startAndPrefix, $columns, $attributes)
  2011.   {
  2012.     $this->send_scannerOpenWithPrefix($tableName, $startAndPrefix, $columns, $attributes);
  2013.     return $this->recv_scannerOpenWithPrefix();
  2014.   }
  2015.  
  2016.   public function send_scannerOpenWithPrefix($tableName, $startAndPrefix, $columns, $attributes)
  2017.   {
  2018.     $args = new \Hbase\Hbase_scannerOpenWithPrefix_args();
  2019.     $args->tableName = $tableName;
  2020.     $args->startAndPrefix = $startAndPrefix;
  2021.     $args->columns = $columns;
  2022.     $args->attributes = $attributes;
  2023.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  2024.     if ($bin_accel)
  2025.     {
  2026.       thrift_protocol_write_binary($this->output_, 'scannerOpenWithPrefix', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  2027.     }
  2028.     else
  2029.     {
  2030.       $this->output_->writeMessageBegin('scannerOpenWithPrefix', TMessageType::CALL, $this->seqid_);
  2031.       $args->write($this->output_);
  2032.       $this->output_->writeMessageEnd();
  2033.       $this->output_->getTransport()->flush();
  2034.     }
  2035.   }
  2036.  
  2037.   public function recv_scannerOpenWithPrefix()
  2038.   {
  2039.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  2040.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_scannerOpenWithPrefix_result', $this->input_->isStrictRead());
  2041.     else
  2042.     {
  2043.       $rseqid = 0;
  2044.       $fname = null;
  2045.       $mtype = 0;
  2046.  
  2047.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  2048.       if ($mtype == TMessageType::EXCEPTION) {
  2049.         $x = new TApplicationException();
  2050.         $x->read($this->input_);
  2051.         $this->input_->readMessageEnd();
  2052.         throw $x;
  2053.       }
  2054.       $result = new \Hbase\Hbase_scannerOpenWithPrefix_result();
  2055.       $result->read($this->input_);
  2056.       $this->input_->readMessageEnd();
  2057.     }
  2058.     if ($result->success !== null) {
  2059.       return $result->success;
  2060.     }
  2061.     if ($result->io !== null) {
  2062.       throw $result->io;
  2063.     }
  2064.     throw new \Exception("scannerOpenWithPrefix failed: unknown result");
  2065.   }
  2066.  
  2067.   public function scannerOpenTs($tableName, $startRow, $columns, $timestamp, $attributes)
  2068.   {
  2069.     $this->send_scannerOpenTs($tableName, $startRow, $columns, $timestamp, $attributes);
  2070.     return $this->recv_scannerOpenTs();
  2071.   }
  2072.  
  2073.   public function send_scannerOpenTs($tableName, $startRow, $columns, $timestamp, $attributes)
  2074.   {
  2075.     $args = new \Hbase\Hbase_scannerOpenTs_args();
  2076.     $args->tableName = $tableName;
  2077.     $args->startRow = $startRow;
  2078.     $args->columns = $columns;
  2079.     $args->timestamp = $timestamp;
  2080.     $args->attributes = $attributes;
  2081.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  2082.     if ($bin_accel)
  2083.     {
  2084.       thrift_protocol_write_binary($this->output_, 'scannerOpenTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  2085.     }
  2086.     else
  2087.     {
  2088.       $this->output_->writeMessageBegin('scannerOpenTs', TMessageType::CALL, $this->seqid_);
  2089.       $args->write($this->output_);
  2090.       $this->output_->writeMessageEnd();
  2091.       $this->output_->getTransport()->flush();
  2092.     }
  2093.   }
  2094.  
  2095.   public function recv_scannerOpenTs()
  2096.   {
  2097.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  2098.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_scannerOpenTs_result', $this->input_->isStrictRead());
  2099.     else
  2100.     {
  2101.       $rseqid = 0;
  2102.       $fname = null;
  2103.       $mtype = 0;
  2104.  
  2105.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  2106.       if ($mtype == TMessageType::EXCEPTION) {
  2107.         $x = new TApplicationException();
  2108.         $x->read($this->input_);
  2109.         $this->input_->readMessageEnd();
  2110.         throw $x;
  2111.       }
  2112.       $result = new \Hbase\Hbase_scannerOpenTs_result();
  2113.       $result->read($this->input_);
  2114.       $this->input_->readMessageEnd();
  2115.     }
  2116.     if ($result->success !== null) {
  2117.       return $result->success;
  2118.     }
  2119.     if ($result->io !== null) {
  2120.       throw $result->io;
  2121.     }
  2122.     throw new \Exception("scannerOpenTs failed: unknown result");
  2123.   }
  2124.  
  2125.   public function scannerOpenWithStopTs($tableName, $startRow, $stopRow, $columns, $timestamp, $attributes)
  2126.   {
  2127.     $this->send_scannerOpenWithStopTs($tableName, $startRow, $stopRow, $columns, $timestamp, $attributes);
  2128.     return $this->recv_scannerOpenWithStopTs();
  2129.   }
  2130.  
  2131.   public function send_scannerOpenWithStopTs($tableName, $startRow, $stopRow, $columns, $timestamp, $attributes)
  2132.   {
  2133.     $args = new \Hbase\Hbase_scannerOpenWithStopTs_args();
  2134.     $args->tableName = $tableName;
  2135.     $args->startRow = $startRow;
  2136.     $args->stopRow = $stopRow;
  2137.     $args->columns = $columns;
  2138.     $args->timestamp = $timestamp;
  2139.     $args->attributes = $attributes;
  2140.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  2141.     if ($bin_accel)
  2142.     {
  2143.       thrift_protocol_write_binary($this->output_, 'scannerOpenWithStopTs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  2144.     }
  2145.     else
  2146.     {
  2147.       $this->output_->writeMessageBegin('scannerOpenWithStopTs', TMessageType::CALL, $this->seqid_);
  2148.       $args->write($this->output_);
  2149.       $this->output_->writeMessageEnd();
  2150.       $this->output_->getTransport()->flush();
  2151.     }
  2152.   }
  2153.  
  2154.   public function recv_scannerOpenWithStopTs()
  2155.   {
  2156.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  2157.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_scannerOpenWithStopTs_result', $this->input_->isStrictRead());
  2158.     else
  2159.     {
  2160.       $rseqid = 0;
  2161.       $fname = null;
  2162.       $mtype = 0;
  2163.  
  2164.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  2165.       if ($mtype == TMessageType::EXCEPTION) {
  2166.         $x = new TApplicationException();
  2167.         $x->read($this->input_);
  2168.         $this->input_->readMessageEnd();
  2169.         throw $x;
  2170.       }
  2171.       $result = new \Hbase\Hbase_scannerOpenWithStopTs_result();
  2172.       $result->read($this->input_);
  2173.       $this->input_->readMessageEnd();
  2174.     }
  2175.     if ($result->success !== null) {
  2176.       return $result->success;
  2177.     }
  2178.     if ($result->io !== null) {
  2179.       throw $result->io;
  2180.     }
  2181.     throw new \Exception("scannerOpenWithStopTs failed: unknown result");
  2182.   }
  2183.  
  2184.   public function scannerGet($id)
  2185.   {
  2186.     $this->send_scannerGet($id);
  2187.     return $this->recv_scannerGet();
  2188.   }
  2189.  
  2190.   public function send_scannerGet($id)
  2191.   {
  2192.     $args = new \Hbase\Hbase_scannerGet_args();
  2193.     $args->id = $id;
  2194.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  2195.     if ($bin_accel)
  2196.     {
  2197.       thrift_protocol_write_binary($this->output_, 'scannerGet', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  2198.     }
  2199.     else
  2200.     {
  2201.       $this->output_->writeMessageBegin('scannerGet', TMessageType::CALL, $this->seqid_);
  2202.       $args->write($this->output_);
  2203.       $this->output_->writeMessageEnd();
  2204.       $this->output_->getTransport()->flush();
  2205.     }
  2206.   }
  2207.  
  2208.   public function recv_scannerGet()
  2209.   {
  2210.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  2211.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_scannerGet_result', $this->input_->isStrictRead());
  2212.     else
  2213.     {
  2214.       $rseqid = 0;
  2215.       $fname = null;
  2216.       $mtype = 0;
  2217.  
  2218.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  2219.       if ($mtype == TMessageType::EXCEPTION) {
  2220.         $x = new TApplicationException();
  2221.         $x->read($this->input_);
  2222.         $this->input_->readMessageEnd();
  2223.         throw $x;
  2224.       }
  2225.       $result = new \Hbase\Hbase_scannerGet_result();
  2226.       $result->read($this->input_);
  2227.       $this->input_->readMessageEnd();
  2228.     }
  2229.     if ($result->success !== null) {
  2230.       return $result->success;
  2231.     }
  2232.     if ($result->io !== null) {
  2233.       throw $result->io;
  2234.     }
  2235.     if ($result->ia !== null) {
  2236.       throw $result->ia;
  2237.     }
  2238.     throw new \Exception("scannerGet failed: unknown result");
  2239.   }
  2240.  
  2241.   public function scannerGetList($id, $nbRows)
  2242.   {
  2243.     $this->send_scannerGetList($id, $nbRows);
  2244.     return $this->recv_scannerGetList();
  2245.   }
  2246.  
  2247.   public function send_scannerGetList($id, $nbRows)
  2248.   {
  2249.     $args = new \Hbase\Hbase_scannerGetList_args();
  2250.     $args->id = $id;
  2251.     $args->nbRows = $nbRows;
  2252.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  2253.     if ($bin_accel)
  2254.     {
  2255.       thrift_protocol_write_binary($this->output_, 'scannerGetList', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  2256.     }
  2257.     else
  2258.     {
  2259.       $this->output_->writeMessageBegin('scannerGetList', TMessageType::CALL, $this->seqid_);
  2260.       $args->write($this->output_);
  2261.       $this->output_->writeMessageEnd();
  2262.       $this->output_->getTransport()->flush();
  2263.     }
  2264.   }
  2265.  
  2266.   public function recv_scannerGetList()
  2267.   {
  2268.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  2269.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_scannerGetList_result', $this->input_->isStrictRead());
  2270.     else
  2271.     {
  2272.       $rseqid = 0;
  2273.       $fname = null;
  2274.       $mtype = 0;
  2275.  
  2276.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  2277.       if ($mtype == TMessageType::EXCEPTION) {
  2278.         $x = new TApplicationException();
  2279.         $x->read($this->input_);
  2280.         $this->input_->readMessageEnd();
  2281.         throw $x;
  2282.       }
  2283.       $result = new \Hbase\Hbase_scannerGetList_result();
  2284.       $result->read($this->input_);
  2285.       $this->input_->readMessageEnd();
  2286.     }
  2287.     if ($result->success !== null) {
  2288.       return $result->success;
  2289.     }
  2290.     if ($result->io !== null) {
  2291.       throw $result->io;
  2292.     }
  2293.     if ($result->ia !== null) {
  2294.       throw $result->ia;
  2295.     }
  2296.     throw new \Exception("scannerGetList failed: unknown result");
  2297.   }
  2298.  
  2299.   public function scannerClose($id)
  2300.   {
  2301.     $this->send_scannerClose($id);
  2302.     $this->recv_scannerClose();
  2303.   }
  2304.  
  2305.   public function send_scannerClose($id)
  2306.   {
  2307.     $args = new \Hbase\Hbase_scannerClose_args();
  2308.     $args->id = $id;
  2309.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  2310.     if ($bin_accel)
  2311.     {
  2312.       thrift_protocol_write_binary($this->output_, 'scannerClose', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  2313.     }
  2314.     else
  2315.     {
  2316.       $this->output_->writeMessageBegin('scannerClose', TMessageType::CALL, $this->seqid_);
  2317.       $args->write($this->output_);
  2318.       $this->output_->writeMessageEnd();
  2319.       $this->output_->getTransport()->flush();
  2320.     }
  2321.   }
  2322.  
  2323.   public function recv_scannerClose()
  2324.   {
  2325.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  2326.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_scannerClose_result', $this->input_->isStrictRead());
  2327.     else
  2328.     {
  2329.       $rseqid = 0;
  2330.       $fname = null;
  2331.       $mtype = 0;
  2332.  
  2333.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  2334.       if ($mtype == TMessageType::EXCEPTION) {
  2335.         $x = new TApplicationException();
  2336.         $x->read($this->input_);
  2337.         $this->input_->readMessageEnd();
  2338.         throw $x;
  2339.       }
  2340.       $result = new \Hbase\Hbase_scannerClose_result();
  2341.       $result->read($this->input_);
  2342.       $this->input_->readMessageEnd();
  2343.     }
  2344.     if ($result->io !== null) {
  2345.       throw $result->io;
  2346.     }
  2347.     if ($result->ia !== null) {
  2348.       throw $result->ia;
  2349.     }
  2350.     return;
  2351.   }
  2352.  
  2353.   public function getRowOrBefore($tableName, $row, $family)
  2354.   {
  2355.     $this->send_getRowOrBefore($tableName, $row, $family);
  2356.     return $this->recv_getRowOrBefore();
  2357.   }
  2358.  
  2359.   public function send_getRowOrBefore($tableName, $row, $family)
  2360.   {
  2361.     $args = new \Hbase\Hbase_getRowOrBefore_args();
  2362.     $args->tableName = $tableName;
  2363.     $args->row = $row;
  2364.     $args->family = $family;
  2365.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  2366.     if ($bin_accel)
  2367.     {
  2368.       thrift_protocol_write_binary($this->output_, 'getRowOrBefore', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  2369.     }
  2370.     else
  2371.     {
  2372.       $this->output_->writeMessageBegin('getRowOrBefore', TMessageType::CALL, $this->seqid_);
  2373.       $args->write($this->output_);
  2374.       $this->output_->writeMessageEnd();
  2375.       $this->output_->getTransport()->flush();
  2376.     }
  2377.   }
  2378.  
  2379.   public function recv_getRowOrBefore()
  2380.   {
  2381.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  2382.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getRowOrBefore_result', $this->input_->isStrictRead());
  2383.     else
  2384.     {
  2385.       $rseqid = 0;
  2386.       $fname = null;
  2387.       $mtype = 0;
  2388.  
  2389.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  2390.       if ($mtype == TMessageType::EXCEPTION) {
  2391.         $x = new TApplicationException();
  2392.         $x->read($this->input_);
  2393.         $this->input_->readMessageEnd();
  2394.         throw $x;
  2395.       }
  2396.       $result = new \Hbase\Hbase_getRowOrBefore_result();
  2397.       $result->read($this->input_);
  2398.       $this->input_->readMessageEnd();
  2399.     }
  2400.     if ($result->success !== null) {
  2401.       return $result->success;
  2402.     }
  2403.     if ($result->io !== null) {
  2404.       throw $result->io;
  2405.     }
  2406.     throw new \Exception("getRowOrBefore failed: unknown result");
  2407.   }
  2408.  
  2409.   public function getRegionInfo($row)
  2410.   {
  2411.     $this->send_getRegionInfo($row);
  2412.     return $this->recv_getRegionInfo();
  2413.   }
  2414.  
  2415.   public function send_getRegionInfo($row)
  2416.   {
  2417.     $args = new \Hbase\Hbase_getRegionInfo_args();
  2418.     $args->row = $row;
  2419.     $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
  2420.     if ($bin_accel)
  2421.     {
  2422.       thrift_protocol_write_binary($this->output_, 'getRegionInfo', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
  2423.     }
  2424.     else
  2425.     {
  2426.       $this->output_->writeMessageBegin('getRegionInfo', TMessageType::CALL, $this->seqid_);
  2427.       $args->write($this->output_);
  2428.       $this->output_->writeMessageEnd();
  2429.       $this->output_->getTransport()->flush();
  2430.     }
  2431.   }
  2432.  
  2433.   public function recv_getRegionInfo()
  2434.   {
  2435.     $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
  2436.     if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Hbase\Hbase_getRegionInfo_result', $this->input_->isStrictRead());
  2437.     else
  2438.     {
  2439.       $rseqid = 0;
  2440.       $fname = null;
  2441.       $mtype = 0;
  2442.  
  2443.       $this->input_->readMessageBegin($fname, $mtype, $rseqid);
  2444.       if ($mtype == TMessageType::EXCEPTION) {
  2445.         $x = new TApplicationException();
  2446.         $x->read($this->input_);
  2447.         $this->input_->readMessageEnd();
  2448.         throw $x;
  2449.       }
  2450.       $result = new \Hbase\Hbase_getRegionInfo_result();
  2451.       $result->read($this->input_);
  2452.       $this->input_->readMessageEnd();
  2453.     }
  2454.     if ($result->success !== null) {
  2455.       return $result->success;
  2456.     }
  2457.     if ($result->io !== null) {
  2458.       throw $result->io;
  2459.     }
  2460.     throw new \Exception("getRegionInfo failed: unknown result");
  2461.   }
  2462.  
  2463. }
  2464.  
  2465. // HELPER FUNCTIONS AND STRUCTURES
  2466.  
  2467. class Hbase_enableTable_args {
  2468.   static $_TSPEC;
  2469.  
  2470.   public $tableName = null;
  2471.  
  2472.   public function __construct($vals=null) {
  2473.     if (!isset(self::$_TSPEC)) {
  2474.       self::$_TSPEC = array(
  2475.         1 => array(
  2476.           'var' => 'tableName',
  2477.           'type' => TType::STRING,
  2478.           ),
  2479.         );
  2480.     }
  2481.     if (is_array($vals)) {
  2482.       if (isset($vals['tableName'])) {
  2483.         $this->tableName = $vals['tableName'];
  2484.       }
  2485.     }
  2486.   }
  2487.  
  2488.   public function getName() {
  2489.     return 'Hbase_enableTable_args';
  2490.   }
  2491.  
  2492.   public function read($input)
  2493.   {
  2494.     $xfer = 0;
  2495.     $fname = null;
  2496.     $ftype = 0;
  2497.     $fid = 0;
  2498.     $xfer += $input->readStructBegin($fname);
  2499.     while (true)
  2500.     {
  2501.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  2502.       if ($ftype == TType::STOP) {
  2503.         break;
  2504.       }
  2505.       switch ($fid)
  2506.       {
  2507.         case 1:
  2508.           if ($ftype == TType::STRING) {
  2509.             $xfer += $input->readString($this->tableName);
  2510.           } else {
  2511.             $xfer += $input->skip($ftype);
  2512.           }
  2513.           break;
  2514.         default:
  2515.           $xfer += $input->skip($ftype);
  2516.           break;
  2517.       }
  2518.       $xfer += $input->readFieldEnd();
  2519.     }
  2520.     $xfer += $input->readStructEnd();
  2521.     return $xfer;
  2522.   }
  2523.  
  2524.   public function write($output) {
  2525.     $xfer = 0;
  2526.     $xfer += $output->writeStructBegin('Hbase_enableTable_args');
  2527.     if ($this->tableName !== null) {
  2528.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  2529.       $xfer += $output->writeString($this->tableName);
  2530.       $xfer += $output->writeFieldEnd();
  2531.     }
  2532.     $xfer += $output->writeFieldStop();
  2533.     $xfer += $output->writeStructEnd();
  2534.     return $xfer;
  2535.   }
  2536.  
  2537. }
  2538.  
  2539. class Hbase_enableTable_result {
  2540.   static $_TSPEC;
  2541.  
  2542.   public $io = null;
  2543.  
  2544.   public function __construct($vals=null) {
  2545.     if (!isset(self::$_TSPEC)) {
  2546.       self::$_TSPEC = array(
  2547.         1 => array(
  2548.           'var' => 'io',
  2549.           'type' => TType::STRUCT,
  2550.           'class' => '\Hbase\IOError',
  2551.           ),
  2552.         );
  2553.     }
  2554.     if (is_array($vals)) {
  2555.       if (isset($vals['io'])) {
  2556.         $this->io = $vals['io'];
  2557.       }
  2558.     }
  2559.   }
  2560.  
  2561.   public function getName() {
  2562.     return 'Hbase_enableTable_result';
  2563.   }
  2564.  
  2565.   public function read($input)
  2566.   {
  2567.     $xfer = 0;
  2568.     $fname = null;
  2569.     $ftype = 0;
  2570.     $fid = 0;
  2571.     $xfer += $input->readStructBegin($fname);
  2572.     while (true)
  2573.     {
  2574.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  2575.       if ($ftype == TType::STOP) {
  2576.         break;
  2577.       }
  2578.       switch ($fid)
  2579.       {
  2580.         case 1:
  2581.           if ($ftype == TType::STRUCT) {
  2582.             $this->io = new \Hbase\IOError();
  2583.             $xfer += $this->io->read($input);
  2584.           } else {
  2585.             $xfer += $input->skip($ftype);
  2586.           }
  2587.           break;
  2588.         default:
  2589.           $xfer += $input->skip($ftype);
  2590.           break;
  2591.       }
  2592.       $xfer += $input->readFieldEnd();
  2593.     }
  2594.     $xfer += $input->readStructEnd();
  2595.     return $xfer;
  2596.   }
  2597.  
  2598.   public function write($output) {
  2599.     $xfer = 0;
  2600.     $xfer += $output->writeStructBegin('Hbase_enableTable_result');
  2601.     if ($this->io !== null) {
  2602.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  2603.       $xfer += $this->io->write($output);
  2604.       $xfer += $output->writeFieldEnd();
  2605.     }
  2606.     $xfer += $output->writeFieldStop();
  2607.     $xfer += $output->writeStructEnd();
  2608.     return $xfer;
  2609.   }
  2610.  
  2611. }
  2612.  
  2613. class Hbase_disableTable_args {
  2614.   static $_TSPEC;
  2615.  
  2616.   public $tableName = null;
  2617.  
  2618.   public function __construct($vals=null) {
  2619.     if (!isset(self::$_TSPEC)) {
  2620.       self::$_TSPEC = array(
  2621.         1 => array(
  2622.           'var' => 'tableName',
  2623.           'type' => TType::STRING,
  2624.           ),
  2625.         );
  2626.     }
  2627.     if (is_array($vals)) {
  2628.       if (isset($vals['tableName'])) {
  2629.         $this->tableName = $vals['tableName'];
  2630.       }
  2631.     }
  2632.   }
  2633.  
  2634.   public function getName() {
  2635.     return 'Hbase_disableTable_args';
  2636.   }
  2637.  
  2638.   public function read($input)
  2639.   {
  2640.     $xfer = 0;
  2641.     $fname = null;
  2642.     $ftype = 0;
  2643.     $fid = 0;
  2644.     $xfer += $input->readStructBegin($fname);
  2645.     while (true)
  2646.     {
  2647.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  2648.       if ($ftype == TType::STOP) {
  2649.         break;
  2650.       }
  2651.       switch ($fid)
  2652.       {
  2653.         case 1:
  2654.           if ($ftype == TType::STRING) {
  2655.             $xfer += $input->readString($this->tableName);
  2656.           } else {
  2657.             $xfer += $input->skip($ftype);
  2658.           }
  2659.           break;
  2660.         default:
  2661.           $xfer += $input->skip($ftype);
  2662.           break;
  2663.       }
  2664.       $xfer += $input->readFieldEnd();
  2665.     }
  2666.     $xfer += $input->readStructEnd();
  2667.     return $xfer;
  2668.   }
  2669.  
  2670.   public function write($output) {
  2671.     $xfer = 0;
  2672.     $xfer += $output->writeStructBegin('Hbase_disableTable_args');
  2673.     if ($this->tableName !== null) {
  2674.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  2675.       $xfer += $output->writeString($this->tableName);
  2676.       $xfer += $output->writeFieldEnd();
  2677.     }
  2678.     $xfer += $output->writeFieldStop();
  2679.     $xfer += $output->writeStructEnd();
  2680.     return $xfer;
  2681.   }
  2682.  
  2683. }
  2684.  
  2685. class Hbase_disableTable_result {
  2686.   static $_TSPEC;
  2687.  
  2688.   public $io = null;
  2689.  
  2690.   public function __construct($vals=null) {
  2691.     if (!isset(self::$_TSPEC)) {
  2692.       self::$_TSPEC = array(
  2693.         1 => array(
  2694.           'var' => 'io',
  2695.           'type' => TType::STRUCT,
  2696.           'class' => '\Hbase\IOError',
  2697.           ),
  2698.         );
  2699.     }
  2700.     if (is_array($vals)) {
  2701.       if (isset($vals['io'])) {
  2702.         $this->io = $vals['io'];
  2703.       }
  2704.     }
  2705.   }
  2706.  
  2707.   public function getName() {
  2708.     return 'Hbase_disableTable_result';
  2709.   }
  2710.  
  2711.   public function read($input)
  2712.   {
  2713.     $xfer = 0;
  2714.     $fname = null;
  2715.     $ftype = 0;
  2716.     $fid = 0;
  2717.     $xfer += $input->readStructBegin($fname);
  2718.     while (true)
  2719.     {
  2720.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  2721.       if ($ftype == TType::STOP) {
  2722.         break;
  2723.       }
  2724.       switch ($fid)
  2725.       {
  2726.         case 1:
  2727.           if ($ftype == TType::STRUCT) {
  2728.             $this->io = new \Hbase\IOError();
  2729.             $xfer += $this->io->read($input);
  2730.           } else {
  2731.             $xfer += $input->skip($ftype);
  2732.           }
  2733.           break;
  2734.         default:
  2735.           $xfer += $input->skip($ftype);
  2736.           break;
  2737.       }
  2738.       $xfer += $input->readFieldEnd();
  2739.     }
  2740.     $xfer += $input->readStructEnd();
  2741.     return $xfer;
  2742.   }
  2743.  
  2744.   public function write($output) {
  2745.     $xfer = 0;
  2746.     $xfer += $output->writeStructBegin('Hbase_disableTable_result');
  2747.     if ($this->io !== null) {
  2748.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  2749.       $xfer += $this->io->write($output);
  2750.       $xfer += $output->writeFieldEnd();
  2751.     }
  2752.     $xfer += $output->writeFieldStop();
  2753.     $xfer += $output->writeStructEnd();
  2754.     return $xfer;
  2755.   }
  2756.  
  2757. }
  2758.  
  2759. class Hbase_isTableEnabled_args {
  2760.   static $_TSPEC;
  2761.  
  2762.   public $tableName = null;
  2763.  
  2764.   public function __construct($vals=null) {
  2765.     if (!isset(self::$_TSPEC)) {
  2766.       self::$_TSPEC = array(
  2767.         1 => array(
  2768.           'var' => 'tableName',
  2769.           'type' => TType::STRING,
  2770.           ),
  2771.         );
  2772.     }
  2773.     if (is_array($vals)) {
  2774.       if (isset($vals['tableName'])) {
  2775.         $this->tableName = $vals['tableName'];
  2776.       }
  2777.     }
  2778.   }
  2779.  
  2780.   public function getName() {
  2781.     return 'Hbase_isTableEnabled_args';
  2782.   }
  2783.  
  2784.   public function read($input)
  2785.   {
  2786.     $xfer = 0;
  2787.     $fname = null;
  2788.     $ftype = 0;
  2789.     $fid = 0;
  2790.     $xfer += $input->readStructBegin($fname);
  2791.     while (true)
  2792.     {
  2793.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  2794.       if ($ftype == TType::STOP) {
  2795.         break;
  2796.       }
  2797.       switch ($fid)
  2798.       {
  2799.         case 1:
  2800.           if ($ftype == TType::STRING) {
  2801.             $xfer += $input->readString($this->tableName);
  2802.           } else {
  2803.             $xfer += $input->skip($ftype);
  2804.           }
  2805.           break;
  2806.         default:
  2807.           $xfer += $input->skip($ftype);
  2808.           break;
  2809.       }
  2810.       $xfer += $input->readFieldEnd();
  2811.     }
  2812.     $xfer += $input->readStructEnd();
  2813.     return $xfer;
  2814.   }
  2815.  
  2816.   public function write($output) {
  2817.     $xfer = 0;
  2818.     $xfer += $output->writeStructBegin('Hbase_isTableEnabled_args');
  2819.     if ($this->tableName !== null) {
  2820.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  2821.       $xfer += $output->writeString($this->tableName);
  2822.       $xfer += $output->writeFieldEnd();
  2823.     }
  2824.     $xfer += $output->writeFieldStop();
  2825.     $xfer += $output->writeStructEnd();
  2826.     return $xfer;
  2827.   }
  2828.  
  2829. }
  2830.  
  2831. class Hbase_isTableEnabled_result {
  2832.   static $_TSPEC;
  2833.  
  2834.   public $success = null;
  2835.   public $io = null;
  2836.  
  2837.   public function __construct($vals=null) {
  2838.     if (!isset(self::$_TSPEC)) {
  2839.       self::$_TSPEC = array(
  2840.         0 => array(
  2841.           'var' => 'success',
  2842.           'type' => TType::BOOL,
  2843.           ),
  2844.         1 => array(
  2845.           'var' => 'io',
  2846.           'type' => TType::STRUCT,
  2847.           'class' => '\Hbase\IOError',
  2848.           ),
  2849.         );
  2850.     }
  2851.     if (is_array($vals)) {
  2852.       if (isset($vals['success'])) {
  2853.         $this->success = $vals['success'];
  2854.       }
  2855.       if (isset($vals['io'])) {
  2856.         $this->io = $vals['io'];
  2857.       }
  2858.     }
  2859.   }
  2860.  
  2861.   public function getName() {
  2862.     return 'Hbase_isTableEnabled_result';
  2863.   }
  2864.  
  2865.   public function read($input)
  2866.   {
  2867.     $xfer = 0;
  2868.     $fname = null;
  2869.     $ftype = 0;
  2870.     $fid = 0;
  2871.     $xfer += $input->readStructBegin($fname);
  2872.     while (true)
  2873.     {
  2874.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  2875.       if ($ftype == TType::STOP) {
  2876.         break;
  2877.       }
  2878.       switch ($fid)
  2879.       {
  2880.         case 0:
  2881.           if ($ftype == TType::BOOL) {
  2882.             $xfer += $input->readBool($this->success);
  2883.           } else {
  2884.             $xfer += $input->skip($ftype);
  2885.           }
  2886.           break;
  2887.         case 1:
  2888.           if ($ftype == TType::STRUCT) {
  2889.             $this->io = new \Hbase\IOError();
  2890.             $xfer += $this->io->read($input);
  2891.           } else {
  2892.             $xfer += $input->skip($ftype);
  2893.           }
  2894.           break;
  2895.         default:
  2896.           $xfer += $input->skip($ftype);
  2897.           break;
  2898.       }
  2899.       $xfer += $input->readFieldEnd();
  2900.     }
  2901.     $xfer += $input->readStructEnd();
  2902.     return $xfer;
  2903.   }
  2904.  
  2905.   public function write($output) {
  2906.     $xfer = 0;
  2907.     $xfer += $output->writeStructBegin('Hbase_isTableEnabled_result');
  2908.     if ($this->success !== null) {
  2909.       $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
  2910.       $xfer += $output->writeBool($this->success);
  2911.       $xfer += $output->writeFieldEnd();
  2912.     }
  2913.     if ($this->io !== null) {
  2914.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  2915.       $xfer += $this->io->write($output);
  2916.       $xfer += $output->writeFieldEnd();
  2917.     }
  2918.     $xfer += $output->writeFieldStop();
  2919.     $xfer += $output->writeStructEnd();
  2920.     return $xfer;
  2921.   }
  2922.  
  2923. }
  2924.  
  2925. class Hbase_compact_args {
  2926.   static $_TSPEC;
  2927.  
  2928.   public $tableNameOrRegionName = null;
  2929.  
  2930.   public function __construct($vals=null) {
  2931.     if (!isset(self::$_TSPEC)) {
  2932.       self::$_TSPEC = array(
  2933.         1 => array(
  2934.           'var' => 'tableNameOrRegionName',
  2935.           'type' => TType::STRING,
  2936.           ),
  2937.         );
  2938.     }
  2939.     if (is_array($vals)) {
  2940.       if (isset($vals['tableNameOrRegionName'])) {
  2941.         $this->tableNameOrRegionName = $vals['tableNameOrRegionName'];
  2942.       }
  2943.     }
  2944.   }
  2945.  
  2946.   public function getName() {
  2947.     return 'Hbase_compact_args';
  2948.   }
  2949.  
  2950.   public function read($input)
  2951.   {
  2952.     $xfer = 0;
  2953.     $fname = null;
  2954.     $ftype = 0;
  2955.     $fid = 0;
  2956.     $xfer += $input->readStructBegin($fname);
  2957.     while (true)
  2958.     {
  2959.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  2960.       if ($ftype == TType::STOP) {
  2961.         break;
  2962.       }
  2963.       switch ($fid)
  2964.       {
  2965.         case 1:
  2966.           if ($ftype == TType::STRING) {
  2967.             $xfer += $input->readString($this->tableNameOrRegionName);
  2968.           } else {
  2969.             $xfer += $input->skip($ftype);
  2970.           }
  2971.           break;
  2972.         default:
  2973.           $xfer += $input->skip($ftype);
  2974.           break;
  2975.       }
  2976.       $xfer += $input->readFieldEnd();
  2977.     }
  2978.     $xfer += $input->readStructEnd();
  2979.     return $xfer;
  2980.   }
  2981.  
  2982.   public function write($output) {
  2983.     $xfer = 0;
  2984.     $xfer += $output->writeStructBegin('Hbase_compact_args');
  2985.     if ($this->tableNameOrRegionName !== null) {
  2986.       $xfer += $output->writeFieldBegin('tableNameOrRegionName', TType::STRING, 1);
  2987.       $xfer += $output->writeString($this->tableNameOrRegionName);
  2988.       $xfer += $output->writeFieldEnd();
  2989.     }
  2990.     $xfer += $output->writeFieldStop();
  2991.     $xfer += $output->writeStructEnd();
  2992.     return $xfer;
  2993.   }
  2994.  
  2995. }
  2996.  
  2997. class Hbase_compact_result {
  2998.   static $_TSPEC;
  2999.  
  3000.   public $io = null;
  3001.  
  3002.   public function __construct($vals=null) {
  3003.     if (!isset(self::$_TSPEC)) {
  3004.       self::$_TSPEC = array(
  3005.         1 => array(
  3006.           'var' => 'io',
  3007.           'type' => TType::STRUCT,
  3008.           'class' => '\Hbase\IOError',
  3009.           ),
  3010.         );
  3011.     }
  3012.     if (is_array($vals)) {
  3013.       if (isset($vals['io'])) {
  3014.         $this->io = $vals['io'];
  3015.       }
  3016.     }
  3017.   }
  3018.  
  3019.   public function getName() {
  3020.     return 'Hbase_compact_result';
  3021.   }
  3022.  
  3023.   public function read($input)
  3024.   {
  3025.     $xfer = 0;
  3026.     $fname = null;
  3027.     $ftype = 0;
  3028.     $fid = 0;
  3029.     $xfer += $input->readStructBegin($fname);
  3030.     while (true)
  3031.     {
  3032.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3033.       if ($ftype == TType::STOP) {
  3034.         break;
  3035.       }
  3036.       switch ($fid)
  3037.       {
  3038.         case 1:
  3039.           if ($ftype == TType::STRUCT) {
  3040.             $this->io = new \Hbase\IOError();
  3041.             $xfer += $this->io->read($input);
  3042.           } else {
  3043.             $xfer += $input->skip($ftype);
  3044.           }
  3045.           break;
  3046.         default:
  3047.           $xfer += $input->skip($ftype);
  3048.           break;
  3049.       }
  3050.       $xfer += $input->readFieldEnd();
  3051.     }
  3052.     $xfer += $input->readStructEnd();
  3053.     return $xfer;
  3054.   }
  3055.  
  3056.   public function write($output) {
  3057.     $xfer = 0;
  3058.     $xfer += $output->writeStructBegin('Hbase_compact_result');
  3059.     if ($this->io !== null) {
  3060.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  3061.       $xfer += $this->io->write($output);
  3062.       $xfer += $output->writeFieldEnd();
  3063.     }
  3064.     $xfer += $output->writeFieldStop();
  3065.     $xfer += $output->writeStructEnd();
  3066.     return $xfer;
  3067.   }
  3068.  
  3069. }
  3070.  
  3071. class Hbase_majorCompact_args {
  3072.   static $_TSPEC;
  3073.  
  3074.   public $tableNameOrRegionName = null;
  3075.  
  3076.   public function __construct($vals=null) {
  3077.     if (!isset(self::$_TSPEC)) {
  3078.       self::$_TSPEC = array(
  3079.         1 => array(
  3080.           'var' => 'tableNameOrRegionName',
  3081.           'type' => TType::STRING,
  3082.           ),
  3083.         );
  3084.     }
  3085.     if (is_array($vals)) {
  3086.       if (isset($vals['tableNameOrRegionName'])) {
  3087.         $this->tableNameOrRegionName = $vals['tableNameOrRegionName'];
  3088.       }
  3089.     }
  3090.   }
  3091.  
  3092.   public function getName() {
  3093.     return 'Hbase_majorCompact_args';
  3094.   }
  3095.  
  3096.   public function read($input)
  3097.   {
  3098.     $xfer = 0;
  3099.     $fname = null;
  3100.     $ftype = 0;
  3101.     $fid = 0;
  3102.     $xfer += $input->readStructBegin($fname);
  3103.     while (true)
  3104.     {
  3105.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3106.       if ($ftype == TType::STOP) {
  3107.         break;
  3108.       }
  3109.       switch ($fid)
  3110.       {
  3111.         case 1:
  3112.           if ($ftype == TType::STRING) {
  3113.             $xfer += $input->readString($this->tableNameOrRegionName);
  3114.           } else {
  3115.             $xfer += $input->skip($ftype);
  3116.           }
  3117.           break;
  3118.         default:
  3119.           $xfer += $input->skip($ftype);
  3120.           break;
  3121.       }
  3122.       $xfer += $input->readFieldEnd();
  3123.     }
  3124.     $xfer += $input->readStructEnd();
  3125.     return $xfer;
  3126.   }
  3127.  
  3128.   public function write($output) {
  3129.     $xfer = 0;
  3130.     $xfer += $output->writeStructBegin('Hbase_majorCompact_args');
  3131.     if ($this->tableNameOrRegionName !== null) {
  3132.       $xfer += $output->writeFieldBegin('tableNameOrRegionName', TType::STRING, 1);
  3133.       $xfer += $output->writeString($this->tableNameOrRegionName);
  3134.       $xfer += $output->writeFieldEnd();
  3135.     }
  3136.     $xfer += $output->writeFieldStop();
  3137.     $xfer += $output->writeStructEnd();
  3138.     return $xfer;
  3139.   }
  3140.  
  3141. }
  3142.  
  3143. class Hbase_majorCompact_result {
  3144.   static $_TSPEC;
  3145.  
  3146.   public $io = null;
  3147.  
  3148.   public function __construct($vals=null) {
  3149.     if (!isset(self::$_TSPEC)) {
  3150.       self::$_TSPEC = array(
  3151.         1 => array(
  3152.           'var' => 'io',
  3153.           'type' => TType::STRUCT,
  3154.           'class' => '\Hbase\IOError',
  3155.           ),
  3156.         );
  3157.     }
  3158.     if (is_array($vals)) {
  3159.       if (isset($vals['io'])) {
  3160.         $this->io = $vals['io'];
  3161.       }
  3162.     }
  3163.   }
  3164.  
  3165.   public function getName() {
  3166.     return 'Hbase_majorCompact_result';
  3167.   }
  3168.  
  3169.   public function read($input)
  3170.   {
  3171.     $xfer = 0;
  3172.     $fname = null;
  3173.     $ftype = 0;
  3174.     $fid = 0;
  3175.     $xfer += $input->readStructBegin($fname);
  3176.     while (true)
  3177.     {
  3178.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3179.       if ($ftype == TType::STOP) {
  3180.         break;
  3181.       }
  3182.       switch ($fid)
  3183.       {
  3184.         case 1:
  3185.           if ($ftype == TType::STRUCT) {
  3186.             $this->io = new \Hbase\IOError();
  3187.             $xfer += $this->io->read($input);
  3188.           } else {
  3189.             $xfer += $input->skip($ftype);
  3190.           }
  3191.           break;
  3192.         default:
  3193.           $xfer += $input->skip($ftype);
  3194.           break;
  3195.       }
  3196.       $xfer += $input->readFieldEnd();
  3197.     }
  3198.     $xfer += $input->readStructEnd();
  3199.     return $xfer;
  3200.   }
  3201.  
  3202.   public function write($output) {
  3203.     $xfer = 0;
  3204.     $xfer += $output->writeStructBegin('Hbase_majorCompact_result');
  3205.     if ($this->io !== null) {
  3206.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  3207.       $xfer += $this->io->write($output);
  3208.       $xfer += $output->writeFieldEnd();
  3209.     }
  3210.     $xfer += $output->writeFieldStop();
  3211.     $xfer += $output->writeStructEnd();
  3212.     return $xfer;
  3213.   }
  3214.  
  3215. }
  3216.  
  3217. class Hbase_getTableNames_args {
  3218.   static $_TSPEC;
  3219.  
  3220.  
  3221.   public function __construct() {
  3222.     if (!isset(self::$_TSPEC)) {
  3223.       self::$_TSPEC = array(
  3224.         );
  3225.     }
  3226.   }
  3227.  
  3228.   public function getName() {
  3229.     return 'Hbase_getTableNames_args';
  3230.   }
  3231.  
  3232.   public function read($input)
  3233.   {
  3234.     $xfer = 0;
  3235.     $fname = null;
  3236.     $ftype = 0;
  3237.     $fid = 0;
  3238.     $xfer += $input->readStructBegin($fname);
  3239.     while (true)
  3240.     {
  3241.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3242.       if ($ftype == TType::STOP) {
  3243.         break;
  3244.       }
  3245.       switch ($fid)
  3246.       {
  3247.         default:
  3248.           $xfer += $input->skip($ftype);
  3249.           break;
  3250.       }
  3251.       $xfer += $input->readFieldEnd();
  3252.     }
  3253.     $xfer += $input->readStructEnd();
  3254.     return $xfer;
  3255.   }
  3256.  
  3257.   public function write($output) {
  3258.     $xfer = 0;
  3259.     $xfer += $output->writeStructBegin('Hbase_getTableNames_args');
  3260.     $xfer += $output->writeFieldStop();
  3261.     $xfer += $output->writeStructEnd();
  3262.     return $xfer;
  3263.   }
  3264.  
  3265. }
  3266.  
  3267. class Hbase_getTableNames_result {
  3268.   static $_TSPEC;
  3269.  
  3270.   public $success = null;
  3271.   public $io = null;
  3272.  
  3273.   public function __construct($vals=null) {
  3274.     if (!isset(self::$_TSPEC)) {
  3275.       self::$_TSPEC = array(
  3276.         0 => array(
  3277.           'var' => 'success',
  3278.           'type' => TType::LST,
  3279.           'etype' => TType::STRING,
  3280.           'elem' => array(
  3281.             'type' => TType::STRING,
  3282.             ),
  3283.           ),
  3284.         1 => array(
  3285.           'var' => 'io',
  3286.           'type' => TType::STRUCT,
  3287.           'class' => '\Hbase\IOError',
  3288.           ),
  3289.         );
  3290.     }
  3291.     if (is_array($vals)) {
  3292.       if (isset($vals['success'])) {
  3293.         $this->success = $vals['success'];
  3294.       }
  3295.       if (isset($vals['io'])) {
  3296.         $this->io = $vals['io'];
  3297.       }
  3298.     }
  3299.   }
  3300.  
  3301.   public function getName() {
  3302.     return 'Hbase_getTableNames_result';
  3303.   }
  3304.  
  3305.   public function read($input)
  3306.   {
  3307.     $xfer = 0;
  3308.     $fname = null;
  3309.     $ftype = 0;
  3310.     $fid = 0;
  3311.     $xfer += $input->readStructBegin($fname);
  3312.     while (true)
  3313.     {
  3314.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3315.       if ($ftype == TType::STOP) {
  3316.         break;
  3317.       }
  3318.       switch ($fid)
  3319.       {
  3320.         case 0:
  3321.           if ($ftype == TType::LST) {
  3322.             $this->success = array();
  3323.             $_size23 = 0;
  3324.             $_etype26 = 0;
  3325.             $xfer += $input->readListBegin($_etype26, $_size23);
  3326.             for ($_i27 = 0; $_i27 < $_size23; ++$_i27)
  3327.             {
  3328.               $elem28 = null;
  3329.               $xfer += $input->readString($elem28);
  3330.               $this->success []= $elem28;
  3331.             }
  3332.             $xfer += $input->readListEnd();
  3333.           } else {
  3334.             $xfer += $input->skip($ftype);
  3335.           }
  3336.           break;
  3337.         case 1:
  3338.           if ($ftype == TType::STRUCT) {
  3339.             $this->io = new \Hbase\IOError();
  3340.             $xfer += $this->io->read($input);
  3341.           } else {
  3342.             $xfer += $input->skip($ftype);
  3343.           }
  3344.           break;
  3345.         default:
  3346.           $xfer += $input->skip($ftype);
  3347.           break;
  3348.       }
  3349.       $xfer += $input->readFieldEnd();
  3350.     }
  3351.     $xfer += $input->readStructEnd();
  3352.     return $xfer;
  3353.   }
  3354.  
  3355.   public function write($output) {
  3356.     $xfer = 0;
  3357.     $xfer += $output->writeStructBegin('Hbase_getTableNames_result');
  3358.     if ($this->success !== null) {
  3359.       if (!is_array($this->success)) {
  3360.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  3361.       }
  3362.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  3363.       {
  3364.         $output->writeListBegin(TType::STRING, count($this->success));
  3365.         {
  3366.           foreach ($this->success as $iter29)
  3367.           {
  3368.             $xfer += $output->writeString($iter29);
  3369.           }
  3370.         }
  3371.         $output->writeListEnd();
  3372.       }
  3373.       $xfer += $output->writeFieldEnd();
  3374.     }
  3375.     if ($this->io !== null) {
  3376.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  3377.       $xfer += $this->io->write($output);
  3378.       $xfer += $output->writeFieldEnd();
  3379.     }
  3380.     $xfer += $output->writeFieldStop();
  3381.     $xfer += $output->writeStructEnd();
  3382.     return $xfer;
  3383.   }
  3384.  
  3385. }
  3386.  
  3387. class Hbase_getColumnDescriptors_args {
  3388.   static $_TSPEC;
  3389.  
  3390.   public $tableName = null;
  3391.  
  3392.   public function __construct($vals=null) {
  3393.     if (!isset(self::$_TSPEC)) {
  3394.       self::$_TSPEC = array(
  3395.         1 => array(
  3396.           'var' => 'tableName',
  3397.           'type' => TType::STRING,
  3398.           ),
  3399.         );
  3400.     }
  3401.     if (is_array($vals)) {
  3402.       if (isset($vals['tableName'])) {
  3403.         $this->tableName = $vals['tableName'];
  3404.       }
  3405.     }
  3406.   }
  3407.  
  3408.   public function getName() {
  3409.     return 'Hbase_getColumnDescriptors_args';
  3410.   }
  3411.  
  3412.   public function read($input)
  3413.   {
  3414.     $xfer = 0;
  3415.     $fname = null;
  3416.     $ftype = 0;
  3417.     $fid = 0;
  3418.     $xfer += $input->readStructBegin($fname);
  3419.     while (true)
  3420.     {
  3421.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3422.       if ($ftype == TType::STOP) {
  3423.         break;
  3424.       }
  3425.       switch ($fid)
  3426.       {
  3427.         case 1:
  3428.           if ($ftype == TType::STRING) {
  3429.             $xfer += $input->readString($this->tableName);
  3430.           } else {
  3431.             $xfer += $input->skip($ftype);
  3432.           }
  3433.           break;
  3434.         default:
  3435.           $xfer += $input->skip($ftype);
  3436.           break;
  3437.       }
  3438.       $xfer += $input->readFieldEnd();
  3439.     }
  3440.     $xfer += $input->readStructEnd();
  3441.     return $xfer;
  3442.   }
  3443.  
  3444.   public function write($output) {
  3445.     $xfer = 0;
  3446.     $xfer += $output->writeStructBegin('Hbase_getColumnDescriptors_args');
  3447.     if ($this->tableName !== null) {
  3448.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  3449.       $xfer += $output->writeString($this->tableName);
  3450.       $xfer += $output->writeFieldEnd();
  3451.     }
  3452.     $xfer += $output->writeFieldStop();
  3453.     $xfer += $output->writeStructEnd();
  3454.     return $xfer;
  3455.   }
  3456.  
  3457. }
  3458.  
  3459. class Hbase_getColumnDescriptors_result {
  3460.   static $_TSPEC;
  3461.  
  3462.   public $success = null;
  3463.   public $io = null;
  3464.  
  3465.   public function __construct($vals=null) {
  3466.     if (!isset(self::$_TSPEC)) {
  3467.       self::$_TSPEC = array(
  3468.         0 => array(
  3469.           'var' => 'success',
  3470.           'type' => TType::MAP,
  3471.           'ktype' => TType::STRING,
  3472.           'vtype' => TType::STRUCT,
  3473.           'key' => array(
  3474.             'type' => TType::STRING,
  3475.           ),
  3476.           'val' => array(
  3477.             'type' => TType::STRUCT,
  3478.             'class' => '\Hbase\ColumnDescriptor',
  3479.             ),
  3480.           ),
  3481.         1 => array(
  3482.           'var' => 'io',
  3483.           'type' => TType::STRUCT,
  3484.           'class' => '\Hbase\IOError',
  3485.           ),
  3486.         );
  3487.     }
  3488.     if (is_array($vals)) {
  3489.       if (isset($vals['success'])) {
  3490.         $this->success = $vals['success'];
  3491.       }
  3492.       if (isset($vals['io'])) {
  3493.         $this->io = $vals['io'];
  3494.       }
  3495.     }
  3496.   }
  3497.  
  3498.   public function getName() {
  3499.     return 'Hbase_getColumnDescriptors_result';
  3500.   }
  3501.  
  3502.   public function read($input)
  3503.   {
  3504.     $xfer = 0;
  3505.     $fname = null;
  3506.     $ftype = 0;
  3507.     $fid = 0;
  3508.     $xfer += $input->readStructBegin($fname);
  3509.     while (true)
  3510.     {
  3511.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3512.       if ($ftype == TType::STOP) {
  3513.         break;
  3514.       }
  3515.       switch ($fid)
  3516.       {
  3517.         case 0:
  3518.           if ($ftype == TType::MAP) {
  3519.             $this->success = array();
  3520.             $_size30 = 0;
  3521.             $_ktype31 = 0;
  3522.             $_vtype32 = 0;
  3523.             $xfer += $input->readMapBegin($_ktype31, $_vtype32, $_size30);
  3524.             for ($_i34 = 0; $_i34 < $_size30; ++$_i34)
  3525.             {
  3526.               $key35 = '';
  3527.               $val36 = new \Hbase\ColumnDescriptor();
  3528.               $xfer += $input->readString($key35);
  3529.               $val36 = new \Hbase\ColumnDescriptor();
  3530.               $xfer += $val36->read($input);
  3531.               $this->success[$key35] = $val36;
  3532.             }
  3533.             $xfer += $input->readMapEnd();
  3534.           } else {
  3535.             $xfer += $input->skip($ftype);
  3536.           }
  3537.           break;
  3538.         case 1:
  3539.           if ($ftype == TType::STRUCT) {
  3540.             $this->io = new \Hbase\IOError();
  3541.             $xfer += $this->io->read($input);
  3542.           } else {
  3543.             $xfer += $input->skip($ftype);
  3544.           }
  3545.           break;
  3546.         default:
  3547.           $xfer += $input->skip($ftype);
  3548.           break;
  3549.       }
  3550.       $xfer += $input->readFieldEnd();
  3551.     }
  3552.     $xfer += $input->readStructEnd();
  3553.     return $xfer;
  3554.   }
  3555.  
  3556.   public function write($output) {
  3557.     $xfer = 0;
  3558.     $xfer += $output->writeStructBegin('Hbase_getColumnDescriptors_result');
  3559.     if ($this->success !== null) {
  3560.       if (!is_array($this->success)) {
  3561.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  3562.       }
  3563.       $xfer += $output->writeFieldBegin('success', TType::MAP, 0);
  3564.       {
  3565.         $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success));
  3566.         {
  3567.           foreach ($this->success as $kiter37 => $viter38)
  3568.           {
  3569.             $xfer += $output->writeString($kiter37);
  3570.             $xfer += $viter38->write($output);
  3571.           }
  3572.         }
  3573.         $output->writeMapEnd();
  3574.       }
  3575.       $xfer += $output->writeFieldEnd();
  3576.     }
  3577.     if ($this->io !== null) {
  3578.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  3579.       $xfer += $this->io->write($output);
  3580.       $xfer += $output->writeFieldEnd();
  3581.     }
  3582.     $xfer += $output->writeFieldStop();
  3583.     $xfer += $output->writeStructEnd();
  3584.     return $xfer;
  3585.   }
  3586.  
  3587. }
  3588.  
  3589. class Hbase_getTableRegions_args {
  3590.   static $_TSPEC;
  3591.  
  3592.   public $tableName = null;
  3593.  
  3594.   public function __construct($vals=null) {
  3595.     if (!isset(self::$_TSPEC)) {
  3596.       self::$_TSPEC = array(
  3597.         1 => array(
  3598.           'var' => 'tableName',
  3599.           'type' => TType::STRING,
  3600.           ),
  3601.         );
  3602.     }
  3603.     if (is_array($vals)) {
  3604.       if (isset($vals['tableName'])) {
  3605.         $this->tableName = $vals['tableName'];
  3606.       }
  3607.     }
  3608.   }
  3609.  
  3610.   public function getName() {
  3611.     return 'Hbase_getTableRegions_args';
  3612.   }
  3613.  
  3614.   public function read($input)
  3615.   {
  3616.     $xfer = 0;
  3617.     $fname = null;
  3618.     $ftype = 0;
  3619.     $fid = 0;
  3620.     $xfer += $input->readStructBegin($fname);
  3621.     while (true)
  3622.     {
  3623.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3624.       if ($ftype == TType::STOP) {
  3625.         break;
  3626.       }
  3627.       switch ($fid)
  3628.       {
  3629.         case 1:
  3630.           if ($ftype == TType::STRING) {
  3631.             $xfer += $input->readString($this->tableName);
  3632.           } else {
  3633.             $xfer += $input->skip($ftype);
  3634.           }
  3635.           break;
  3636.         default:
  3637.           $xfer += $input->skip($ftype);
  3638.           break;
  3639.       }
  3640.       $xfer += $input->readFieldEnd();
  3641.     }
  3642.     $xfer += $input->readStructEnd();
  3643.     return $xfer;
  3644.   }
  3645.  
  3646.   public function write($output) {
  3647.     $xfer = 0;
  3648.     $xfer += $output->writeStructBegin('Hbase_getTableRegions_args');
  3649.     if ($this->tableName !== null) {
  3650.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  3651.       $xfer += $output->writeString($this->tableName);
  3652.       $xfer += $output->writeFieldEnd();
  3653.     }
  3654.     $xfer += $output->writeFieldStop();
  3655.     $xfer += $output->writeStructEnd();
  3656.     return $xfer;
  3657.   }
  3658.  
  3659. }
  3660.  
  3661. class Hbase_getTableRegions_result {
  3662.   static $_TSPEC;
  3663.  
  3664.   public $success = null;
  3665.   public $io = null;
  3666.  
  3667.   public function __construct($vals=null) {
  3668.     if (!isset(self::$_TSPEC)) {
  3669.       self::$_TSPEC = array(
  3670.         0 => array(
  3671.           'var' => 'success',
  3672.           'type' => TType::LST,
  3673.           'etype' => TType::STRUCT,
  3674.           'elem' => array(
  3675.             'type' => TType::STRUCT,
  3676.             'class' => '\Hbase\TRegionInfo',
  3677.             ),
  3678.           ),
  3679.         1 => array(
  3680.           'var' => 'io',
  3681.           'type' => TType::STRUCT,
  3682.           'class' => '\Hbase\IOError',
  3683.           ),
  3684.         );
  3685.     }
  3686.     if (is_array($vals)) {
  3687.       if (isset($vals['success'])) {
  3688.         $this->success = $vals['success'];
  3689.       }
  3690.       if (isset($vals['io'])) {
  3691.         $this->io = $vals['io'];
  3692.       }
  3693.     }
  3694.   }
  3695.  
  3696.   public function getName() {
  3697.     return 'Hbase_getTableRegions_result';
  3698.   }
  3699.  
  3700.   public function read($input)
  3701.   {
  3702.     $xfer = 0;
  3703.     $fname = null;
  3704.     $ftype = 0;
  3705.     $fid = 0;
  3706.     $xfer += $input->readStructBegin($fname);
  3707.     while (true)
  3708.     {
  3709.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3710.       if ($ftype == TType::STOP) {
  3711.         break;
  3712.       }
  3713.       switch ($fid)
  3714.       {
  3715.         case 0:
  3716.           if ($ftype == TType::LST) {
  3717.             $this->success = array();
  3718.             $_size39 = 0;
  3719.             $_etype42 = 0;
  3720.             $xfer += $input->readListBegin($_etype42, $_size39);
  3721.             for ($_i43 = 0; $_i43 < $_size39; ++$_i43)
  3722.             {
  3723.               $elem44 = null;
  3724.               $elem44 = new \Hbase\TRegionInfo();
  3725.               $xfer += $elem44->read($input);
  3726.               $this->success []= $elem44;
  3727.             }
  3728.             $xfer += $input->readListEnd();
  3729.           } else {
  3730.             $xfer += $input->skip($ftype);
  3731.           }
  3732.           break;
  3733.         case 1:
  3734.           if ($ftype == TType::STRUCT) {
  3735.             $this->io = new \Hbase\IOError();
  3736.             $xfer += $this->io->read($input);
  3737.           } else {
  3738.             $xfer += $input->skip($ftype);
  3739.           }
  3740.           break;
  3741.         default:
  3742.           $xfer += $input->skip($ftype);
  3743.           break;
  3744.       }
  3745.       $xfer += $input->readFieldEnd();
  3746.     }
  3747.     $xfer += $input->readStructEnd();
  3748.     return $xfer;
  3749.   }
  3750.  
  3751.   public function write($output) {
  3752.     $xfer = 0;
  3753.     $xfer += $output->writeStructBegin('Hbase_getTableRegions_result');
  3754.     if ($this->success !== null) {
  3755.       if (!is_array($this->success)) {
  3756.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  3757.       }
  3758.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  3759.       {
  3760.         $output->writeListBegin(TType::STRUCT, count($this->success));
  3761.         {
  3762.           foreach ($this->success as $iter45)
  3763.           {
  3764.             $xfer += $iter45->write($output);
  3765.           }
  3766.         }
  3767.         $output->writeListEnd();
  3768.       }
  3769.       $xfer += $output->writeFieldEnd();
  3770.     }
  3771.     if ($this->io !== null) {
  3772.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  3773.       $xfer += $this->io->write($output);
  3774.       $xfer += $output->writeFieldEnd();
  3775.     }
  3776.     $xfer += $output->writeFieldStop();
  3777.     $xfer += $output->writeStructEnd();
  3778.     return $xfer;
  3779.   }
  3780.  
  3781. }
  3782.  
  3783. class Hbase_createTable_args {
  3784.   static $_TSPEC;
  3785.  
  3786.   public $tableName = null;
  3787.   public $columnFamilies = null;
  3788.  
  3789.   public function __construct($vals=null) {
  3790.     if (!isset(self::$_TSPEC)) {
  3791.       self::$_TSPEC = array(
  3792.         1 => array(
  3793.           'var' => 'tableName',
  3794.           'type' => TType::STRING,
  3795.           ),
  3796.         2 => array(
  3797.           'var' => 'columnFamilies',
  3798.           'type' => TType::LST,
  3799.           'etype' => TType::STRUCT,
  3800.           'elem' => array(
  3801.             'type' => TType::STRUCT,
  3802.             'class' => '\Hbase\ColumnDescriptor',
  3803.             ),
  3804.           ),
  3805.         );
  3806.     }
  3807.     if (is_array($vals)) {
  3808.       if (isset($vals['tableName'])) {
  3809.         $this->tableName = $vals['tableName'];
  3810.       }
  3811.       if (isset($vals['columnFamilies'])) {
  3812.         $this->columnFamilies = $vals['columnFamilies'];
  3813.       }
  3814.     }
  3815.   }
  3816.  
  3817.   public function getName() {
  3818.     return 'Hbase_createTable_args';
  3819.   }
  3820.  
  3821.   public function read($input)
  3822.   {
  3823.     $xfer = 0;
  3824.     $fname = null;
  3825.     $ftype = 0;
  3826.     $fid = 0;
  3827.     $xfer += $input->readStructBegin($fname);
  3828.     while (true)
  3829.     {
  3830.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3831.       if ($ftype == TType::STOP) {
  3832.         break;
  3833.       }
  3834.       switch ($fid)
  3835.       {
  3836.         case 1:
  3837.           if ($ftype == TType::STRING) {
  3838.             $xfer += $input->readString($this->tableName);
  3839.           } else {
  3840.             $xfer += $input->skip($ftype);
  3841.           }
  3842.           break;
  3843.         case 2:
  3844.           if ($ftype == TType::LST) {
  3845.             $this->columnFamilies = array();
  3846.             $_size46 = 0;
  3847.             $_etype49 = 0;
  3848.             $xfer += $input->readListBegin($_etype49, $_size46);
  3849.             for ($_i50 = 0; $_i50 < $_size46; ++$_i50)
  3850.             {
  3851.               $elem51 = null;
  3852.               $elem51 = new \Hbase\ColumnDescriptor();
  3853.               $xfer += $elem51->read($input);
  3854.               $this->columnFamilies []= $elem51;
  3855.             }
  3856.             $xfer += $input->readListEnd();
  3857.           } else {
  3858.             $xfer += $input->skip($ftype);
  3859.           }
  3860.           break;
  3861.         default:
  3862.           $xfer += $input->skip($ftype);
  3863.           break;
  3864.       }
  3865.       $xfer += $input->readFieldEnd();
  3866.     }
  3867.     $xfer += $input->readStructEnd();
  3868.     return $xfer;
  3869.   }
  3870.  
  3871.   public function write($output) {
  3872.     $xfer = 0;
  3873.     $xfer += $output->writeStructBegin('Hbase_createTable_args');
  3874.     if ($this->tableName !== null) {
  3875.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  3876.       $xfer += $output->writeString($this->tableName);
  3877.       $xfer += $output->writeFieldEnd();
  3878.     }
  3879.     if ($this->columnFamilies !== null) {
  3880.       if (!is_array($this->columnFamilies)) {
  3881.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  3882.       }
  3883.       $xfer += $output->writeFieldBegin('columnFamilies', TType::LST, 2);
  3884.       {
  3885.         $output->writeListBegin(TType::STRUCT, count($this->columnFamilies));
  3886.         {
  3887.           foreach ($this->columnFamilies as $iter52)
  3888.           {
  3889.             $xfer += $iter52->write($output);
  3890.           }
  3891.         }
  3892.         $output->writeListEnd();
  3893.       }
  3894.       $xfer += $output->writeFieldEnd();
  3895.     }
  3896.     $xfer += $output->writeFieldStop();
  3897.     $xfer += $output->writeStructEnd();
  3898.     return $xfer;
  3899.   }
  3900.  
  3901. }
  3902.  
  3903. class Hbase_createTable_result {
  3904.   static $_TSPEC;
  3905.  
  3906.   public $io = null;
  3907.   public $ia = null;
  3908.   public $exist = null;
  3909.  
  3910.   public function __construct($vals=null) {
  3911.     if (!isset(self::$_TSPEC)) {
  3912.       self::$_TSPEC = array(
  3913.         1 => array(
  3914.           'var' => 'io',
  3915.           'type' => TType::STRUCT,
  3916.           'class' => '\Hbase\IOError',
  3917.           ),
  3918.         2 => array(
  3919.           'var' => 'ia',
  3920.           'type' => TType::STRUCT,
  3921.           'class' => '\Hbase\IllegalArgument',
  3922.           ),
  3923.         3 => array(
  3924.           'var' => 'exist',
  3925.           'type' => TType::STRUCT,
  3926.           'class' => '\Hbase\AlreadyExists',
  3927.           ),
  3928.         );
  3929.     }
  3930.     if (is_array($vals)) {
  3931.       if (isset($vals['io'])) {
  3932.         $this->io = $vals['io'];
  3933.       }
  3934.       if (isset($vals['ia'])) {
  3935.         $this->ia = $vals['ia'];
  3936.       }
  3937.       if (isset($vals['exist'])) {
  3938.         $this->exist = $vals['exist'];
  3939.       }
  3940.     }
  3941.   }
  3942.  
  3943.   public function getName() {
  3944.     return 'Hbase_createTable_result';
  3945.   }
  3946.  
  3947.   public function read($input)
  3948.   {
  3949.     $xfer = 0;
  3950.     $fname = null;
  3951.     $ftype = 0;
  3952.     $fid = 0;
  3953.     $xfer += $input->readStructBegin($fname);
  3954.     while (true)
  3955.     {
  3956.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  3957.       if ($ftype == TType::STOP) {
  3958.         break;
  3959.       }
  3960.       switch ($fid)
  3961.       {
  3962.         case 1:
  3963.           if ($ftype == TType::STRUCT) {
  3964.             $this->io = new \Hbase\IOError();
  3965.             $xfer += $this->io->read($input);
  3966.           } else {
  3967.             $xfer += $input->skip($ftype);
  3968.           }
  3969.           break;
  3970.         case 2:
  3971.           if ($ftype == TType::STRUCT) {
  3972.             $this->ia = new \Hbase\IllegalArgument();
  3973.             $xfer += $this->ia->read($input);
  3974.           } else {
  3975.             $xfer += $input->skip($ftype);
  3976.           }
  3977.           break;
  3978.         case 3:
  3979.           if ($ftype == TType::STRUCT) {
  3980.             $this->exist = new \Hbase\AlreadyExists();
  3981.             $xfer += $this->exist->read($input);
  3982.           } else {
  3983.             $xfer += $input->skip($ftype);
  3984.           }
  3985.           break;
  3986.         default:
  3987.           $xfer += $input->skip($ftype);
  3988.           break;
  3989.       }
  3990.       $xfer += $input->readFieldEnd();
  3991.     }
  3992.     $xfer += $input->readStructEnd();
  3993.     return $xfer;
  3994.   }
  3995.  
  3996.   public function write($output) {
  3997.     $xfer = 0;
  3998.     $xfer += $output->writeStructBegin('Hbase_createTable_result');
  3999.     if ($this->io !== null) {
  4000.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  4001.       $xfer += $this->io->write($output);
  4002.       $xfer += $output->writeFieldEnd();
  4003.     }
  4004.     if ($this->ia !== null) {
  4005.       $xfer += $output->writeFieldBegin('ia', TType::STRUCT, 2);
  4006.       $xfer += $this->ia->write($output);
  4007.       $xfer += $output->writeFieldEnd();
  4008.     }
  4009.     if ($this->exist !== null) {
  4010.       $xfer += $output->writeFieldBegin('exist', TType::STRUCT, 3);
  4011.       $xfer += $this->exist->write($output);
  4012.       $xfer += $output->writeFieldEnd();
  4013.     }
  4014.     $xfer += $output->writeFieldStop();
  4015.     $xfer += $output->writeStructEnd();
  4016.     return $xfer;
  4017.   }
  4018.  
  4019. }
  4020.  
  4021. class Hbase_deleteTable_args {
  4022.   static $_TSPEC;
  4023.  
  4024.   public $tableName = null;
  4025.  
  4026.   public function __construct($vals=null) {
  4027.     if (!isset(self::$_TSPEC)) {
  4028.       self::$_TSPEC = array(
  4029.         1 => array(
  4030.           'var' => 'tableName',
  4031.           'type' => TType::STRING,
  4032.           ),
  4033.         );
  4034.     }
  4035.     if (is_array($vals)) {
  4036.       if (isset($vals['tableName'])) {
  4037.         $this->tableName = $vals['tableName'];
  4038.       }
  4039.     }
  4040.   }
  4041.  
  4042.   public function getName() {
  4043.     return 'Hbase_deleteTable_args';
  4044.   }
  4045.  
  4046.   public function read($input)
  4047.   {
  4048.     $xfer = 0;
  4049.     $fname = null;
  4050.     $ftype = 0;
  4051.     $fid = 0;
  4052.     $xfer += $input->readStructBegin($fname);
  4053.     while (true)
  4054.     {
  4055.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  4056.       if ($ftype == TType::STOP) {
  4057.         break;
  4058.       }
  4059.       switch ($fid)
  4060.       {
  4061.         case 1:
  4062.           if ($ftype == TType::STRING) {
  4063.             $xfer += $input->readString($this->tableName);
  4064.           } else {
  4065.             $xfer += $input->skip($ftype);
  4066.           }
  4067.           break;
  4068.         default:
  4069.           $xfer += $input->skip($ftype);
  4070.           break;
  4071.       }
  4072.       $xfer += $input->readFieldEnd();
  4073.     }
  4074.     $xfer += $input->readStructEnd();
  4075.     return $xfer;
  4076.   }
  4077.  
  4078.   public function write($output) {
  4079.     $xfer = 0;
  4080.     $xfer += $output->writeStructBegin('Hbase_deleteTable_args');
  4081.     if ($this->tableName !== null) {
  4082.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  4083.       $xfer += $output->writeString($this->tableName);
  4084.       $xfer += $output->writeFieldEnd();
  4085.     }
  4086.     $xfer += $output->writeFieldStop();
  4087.     $xfer += $output->writeStructEnd();
  4088.     return $xfer;
  4089.   }
  4090.  
  4091. }
  4092.  
  4093. class Hbase_deleteTable_result {
  4094.   static $_TSPEC;
  4095.  
  4096.   public $io = null;
  4097.  
  4098.   public function __construct($vals=null) {
  4099.     if (!isset(self::$_TSPEC)) {
  4100.       self::$_TSPEC = array(
  4101.         1 => array(
  4102.           'var' => 'io',
  4103.           'type' => TType::STRUCT,
  4104.           'class' => '\Hbase\IOError',
  4105.           ),
  4106.         );
  4107.     }
  4108.     if (is_array($vals)) {
  4109.       if (isset($vals['io'])) {
  4110.         $this->io = $vals['io'];
  4111.       }
  4112.     }
  4113.   }
  4114.  
  4115.   public function getName() {
  4116.     return 'Hbase_deleteTable_result';
  4117.   }
  4118.  
  4119.   public function read($input)
  4120.   {
  4121.     $xfer = 0;
  4122.     $fname = null;
  4123.     $ftype = 0;
  4124.     $fid = 0;
  4125.     $xfer += $input->readStructBegin($fname);
  4126.     while (true)
  4127.     {
  4128.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  4129.       if ($ftype == TType::STOP) {
  4130.         break;
  4131.       }
  4132.       switch ($fid)
  4133.       {
  4134.         case 1:
  4135.           if ($ftype == TType::STRUCT) {
  4136.             $this->io = new \Hbase\IOError();
  4137.             $xfer += $this->io->read($input);
  4138.           } else {
  4139.             $xfer += $input->skip($ftype);
  4140.           }
  4141.           break;
  4142.         default:
  4143.           $xfer += $input->skip($ftype);
  4144.           break;
  4145.       }
  4146.       $xfer += $input->readFieldEnd();
  4147.     }
  4148.     $xfer += $input->readStructEnd();
  4149.     return $xfer;
  4150.   }
  4151.  
  4152.   public function write($output) {
  4153.     $xfer = 0;
  4154.     $xfer += $output->writeStructBegin('Hbase_deleteTable_result');
  4155.     if ($this->io !== null) {
  4156.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  4157.       $xfer += $this->io->write($output);
  4158.       $xfer += $output->writeFieldEnd();
  4159.     }
  4160.     $xfer += $output->writeFieldStop();
  4161.     $xfer += $output->writeStructEnd();
  4162.     return $xfer;
  4163.   }
  4164.  
  4165. }
  4166.  
  4167. class Hbase_get_args {
  4168.   static $_TSPEC;
  4169.  
  4170.   public $tableName = null;
  4171.   public $row = null;
  4172.   public $column = null;
  4173.   public $attributes = null;
  4174.  
  4175.   public function __construct($vals=null) {
  4176.     if (!isset(self::$_TSPEC)) {
  4177.       self::$_TSPEC = array(
  4178.         1 => array(
  4179.           'var' => 'tableName',
  4180.           'type' => TType::STRING,
  4181.           ),
  4182.         2 => array(
  4183.           'var' => 'row',
  4184.           'type' => TType::STRING,
  4185.           ),
  4186.         3 => array(
  4187.           'var' => 'column',
  4188.           'type' => TType::STRING,
  4189.           ),
  4190.         4 => array(
  4191.           'var' => 'attributes',
  4192.           'type' => TType::MAP,
  4193.           'ktype' => TType::STRING,
  4194.           'vtype' => TType::STRING,
  4195.           'key' => array(
  4196.             'type' => TType::STRING,
  4197.           ),
  4198.           'val' => array(
  4199.             'type' => TType::STRING,
  4200.             ),
  4201.           ),
  4202.         );
  4203.     }
  4204.     if (is_array($vals)) {
  4205.       if (isset($vals['tableName'])) {
  4206.         $this->tableName = $vals['tableName'];
  4207.       }
  4208.       if (isset($vals['row'])) {
  4209.         $this->row = $vals['row'];
  4210.       }
  4211.       if (isset($vals['column'])) {
  4212.         $this->column = $vals['column'];
  4213.       }
  4214.       if (isset($vals['attributes'])) {
  4215.         $this->attributes = $vals['attributes'];
  4216.       }
  4217.     }
  4218.   }
  4219.  
  4220.   public function getName() {
  4221.     return 'Hbase_get_args';
  4222.   }
  4223.  
  4224.   public function read($input)
  4225.   {
  4226.     $xfer = 0;
  4227.     $fname = null;
  4228.     $ftype = 0;
  4229.     $fid = 0;
  4230.     $xfer += $input->readStructBegin($fname);
  4231.     while (true)
  4232.     {
  4233.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  4234.       if ($ftype == TType::STOP) {
  4235.         break;
  4236.       }
  4237.       switch ($fid)
  4238.       {
  4239.         case 1:
  4240.           if ($ftype == TType::STRING) {
  4241.             $xfer += $input->readString($this->tableName);
  4242.           } else {
  4243.             $xfer += $input->skip($ftype);
  4244.           }
  4245.           break;
  4246.         case 2:
  4247.           if ($ftype == TType::STRING) {
  4248.             $xfer += $input->readString($this->row);
  4249.           } else {
  4250.             $xfer += $input->skip($ftype);
  4251.           }
  4252.           break;
  4253.         case 3:
  4254.           if ($ftype == TType::STRING) {
  4255.             $xfer += $input->readString($this->column);
  4256.           } else {
  4257.             $xfer += $input->skip($ftype);
  4258.           }
  4259.           break;
  4260.         case 4:
  4261.           if ($ftype == TType::MAP) {
  4262.             $this->attributes = array();
  4263.             $_size53 = 0;
  4264.             $_ktype54 = 0;
  4265.             $_vtype55 = 0;
  4266.             $xfer += $input->readMapBegin($_ktype54, $_vtype55, $_size53);
  4267.             for ($_i57 = 0; $_i57 < $_size53; ++$_i57)
  4268.             {
  4269.               $key58 = '';
  4270.               $val59 = '';
  4271.               $xfer += $input->readString($key58);
  4272.               $xfer += $input->readString($val59);
  4273.               $this->attributes[$key58] = $val59;
  4274.             }
  4275.             $xfer += $input->readMapEnd();
  4276.           } else {
  4277.             $xfer += $input->skip($ftype);
  4278.           }
  4279.           break;
  4280.         default:
  4281.           $xfer += $input->skip($ftype);
  4282.           break;
  4283.       }
  4284.       $xfer += $input->readFieldEnd();
  4285.     }
  4286.     $xfer += $input->readStructEnd();
  4287.     return $xfer;
  4288.   }
  4289.  
  4290.   public function write($output) {
  4291.     $xfer = 0;
  4292.     $xfer += $output->writeStructBegin('Hbase_get_args');
  4293.     if ($this->tableName !== null) {
  4294.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  4295.       $xfer += $output->writeString($this->tableName);
  4296.       $xfer += $output->writeFieldEnd();
  4297.     }
  4298.     if ($this->row !== null) {
  4299.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  4300.       $xfer += $output->writeString($this->row);
  4301.       $xfer += $output->writeFieldEnd();
  4302.     }
  4303.     if ($this->column !== null) {
  4304.       $xfer += $output->writeFieldBegin('column', TType::STRING, 3);
  4305.       $xfer += $output->writeString($this->column);
  4306.       $xfer += $output->writeFieldEnd();
  4307.     }
  4308.     if ($this->attributes !== null) {
  4309.       if (!is_array($this->attributes)) {
  4310.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  4311.       }
  4312.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  4313.       {
  4314.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  4315.         {
  4316.           foreach ($this->attributes as $kiter60 => $viter61)
  4317.           {
  4318.             $xfer += $output->writeString($kiter60);
  4319.             $xfer += $output->writeString($viter61);
  4320.           }
  4321.         }
  4322.         $output->writeMapEnd();
  4323.       }
  4324.       $xfer += $output->writeFieldEnd();
  4325.     }
  4326.     $xfer += $output->writeFieldStop();
  4327.     $xfer += $output->writeStructEnd();
  4328.     return $xfer;
  4329.   }
  4330.  
  4331. }
  4332.  
  4333. class Hbase_get_result {
  4334.   static $_TSPEC;
  4335.  
  4336.   public $success = null;
  4337.   public $io = null;
  4338.  
  4339.   public function __construct($vals=null) {
  4340.     if (!isset(self::$_TSPEC)) {
  4341.       self::$_TSPEC = array(
  4342.         0 => array(
  4343.           'var' => 'success',
  4344.           'type' => TType::LST,
  4345.           'etype' => TType::STRUCT,
  4346.           'elem' => array(
  4347.             'type' => TType::STRUCT,
  4348.             'class' => '\Hbase\TCell',
  4349.             ),
  4350.           ),
  4351.         1 => array(
  4352.           'var' => 'io',
  4353.           'type' => TType::STRUCT,
  4354.           'class' => '\Hbase\IOError',
  4355.           ),
  4356.         );
  4357.     }
  4358.     if (is_array($vals)) {
  4359.       if (isset($vals['success'])) {
  4360.         $this->success = $vals['success'];
  4361.       }
  4362.       if (isset($vals['io'])) {
  4363.         $this->io = $vals['io'];
  4364.       }
  4365.     }
  4366.   }
  4367.  
  4368.   public function getName() {
  4369.     return 'Hbase_get_result';
  4370.   }
  4371.  
  4372.   public function read($input)
  4373.   {
  4374.     $xfer = 0;
  4375.     $fname = null;
  4376.     $ftype = 0;
  4377.     $fid = 0;
  4378.     $xfer += $input->readStructBegin($fname);
  4379.     while (true)
  4380.     {
  4381.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  4382.       if ($ftype == TType::STOP) {
  4383.         break;
  4384.       }
  4385.       switch ($fid)
  4386.       {
  4387.         case 0:
  4388.           if ($ftype == TType::LST) {
  4389.             $this->success = array();
  4390.             $_size62 = 0;
  4391.             $_etype65 = 0;
  4392.             $xfer += $input->readListBegin($_etype65, $_size62);
  4393.             for ($_i66 = 0; $_i66 < $_size62; ++$_i66)
  4394.             {
  4395.               $elem67 = null;
  4396.               $elem67 = new \Hbase\TCell();
  4397.               $xfer += $elem67->read($input);
  4398.               $this->success []= $elem67;
  4399.             }
  4400.             $xfer += $input->readListEnd();
  4401.           } else {
  4402.             $xfer += $input->skip($ftype);
  4403.           }
  4404.           break;
  4405.         case 1:
  4406.           if ($ftype == TType::STRUCT) {
  4407.             $this->io = new \Hbase\IOError();
  4408.             $xfer += $this->io->read($input);
  4409.           } else {
  4410.             $xfer += $input->skip($ftype);
  4411.           }
  4412.           break;
  4413.         default:
  4414.           $xfer += $input->skip($ftype);
  4415.           break;
  4416.       }
  4417.       $xfer += $input->readFieldEnd();
  4418.     }
  4419.     $xfer += $input->readStructEnd();
  4420.     return $xfer;
  4421.   }
  4422.  
  4423.   public function write($output) {
  4424.     $xfer = 0;
  4425.     $xfer += $output->writeStructBegin('Hbase_get_result');
  4426.     if ($this->success !== null) {
  4427.       if (!is_array($this->success)) {
  4428.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  4429.       }
  4430.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  4431.       {
  4432.         $output->writeListBegin(TType::STRUCT, count($this->success));
  4433.         {
  4434.           foreach ($this->success as $iter68)
  4435.           {
  4436.             $xfer += $iter68->write($output);
  4437.           }
  4438.         }
  4439.         $output->writeListEnd();
  4440.       }
  4441.       $xfer += $output->writeFieldEnd();
  4442.     }
  4443.     if ($this->io !== null) {
  4444.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  4445.       $xfer += $this->io->write($output);
  4446.       $xfer += $output->writeFieldEnd();
  4447.     }
  4448.     $xfer += $output->writeFieldStop();
  4449.     $xfer += $output->writeStructEnd();
  4450.     return $xfer;
  4451.   }
  4452.  
  4453. }
  4454.  
  4455. class Hbase_getVer_args {
  4456.   static $_TSPEC;
  4457.  
  4458.   public $tableName = null;
  4459.   public $row = null;
  4460.   public $column = null;
  4461.   public $numVersions = null;
  4462.   public $attributes = null;
  4463.  
  4464.   public function __construct($vals=null) {
  4465.     if (!isset(self::$_TSPEC)) {
  4466.       self::$_TSPEC = array(
  4467.         1 => array(
  4468.           'var' => 'tableName',
  4469.           'type' => TType::STRING,
  4470.           ),
  4471.         2 => array(
  4472.           'var' => 'row',
  4473.           'type' => TType::STRING,
  4474.           ),
  4475.         3 => array(
  4476.           'var' => 'column',
  4477.           'type' => TType::STRING,
  4478.           ),
  4479.         4 => array(
  4480.           'var' => 'numVersions',
  4481.           'type' => TType::I32,
  4482.           ),
  4483.         5 => array(
  4484.           'var' => 'attributes',
  4485.           'type' => TType::MAP,
  4486.           'ktype' => TType::STRING,
  4487.           'vtype' => TType::STRING,
  4488.           'key' => array(
  4489.             'type' => TType::STRING,
  4490.           ),
  4491.           'val' => array(
  4492.             'type' => TType::STRING,
  4493.             ),
  4494.           ),
  4495.         );
  4496.     }
  4497.     if (is_array($vals)) {
  4498.       if (isset($vals['tableName'])) {
  4499.         $this->tableName = $vals['tableName'];
  4500.       }
  4501.       if (isset($vals['row'])) {
  4502.         $this->row = $vals['row'];
  4503.       }
  4504.       if (isset($vals['column'])) {
  4505.         $this->column = $vals['column'];
  4506.       }
  4507.       if (isset($vals['numVersions'])) {
  4508.         $this->numVersions = $vals['numVersions'];
  4509.       }
  4510.       if (isset($vals['attributes'])) {
  4511.         $this->attributes = $vals['attributes'];
  4512.       }
  4513.     }
  4514.   }
  4515.  
  4516.   public function getName() {
  4517.     return 'Hbase_getVer_args';
  4518.   }
  4519.  
  4520.   public function read($input)
  4521.   {
  4522.     $xfer = 0;
  4523.     $fname = null;
  4524.     $ftype = 0;
  4525.     $fid = 0;
  4526.     $xfer += $input->readStructBegin($fname);
  4527.     while (true)
  4528.     {
  4529.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  4530.       if ($ftype == TType::STOP) {
  4531.         break;
  4532.       }
  4533.       switch ($fid)
  4534.       {
  4535.         case 1:
  4536.           if ($ftype == TType::STRING) {
  4537.             $xfer += $input->readString($this->tableName);
  4538.           } else {
  4539.             $xfer += $input->skip($ftype);
  4540.           }
  4541.           break;
  4542.         case 2:
  4543.           if ($ftype == TType::STRING) {
  4544.             $xfer += $input->readString($this->row);
  4545.           } else {
  4546.             $xfer += $input->skip($ftype);
  4547.           }
  4548.           break;
  4549.         case 3:
  4550.           if ($ftype == TType::STRING) {
  4551.             $xfer += $input->readString($this->column);
  4552.           } else {
  4553.             $xfer += $input->skip($ftype);
  4554.           }
  4555.           break;
  4556.         case 4:
  4557.           if ($ftype == TType::I32) {
  4558.             $xfer += $input->readI32($this->numVersions);
  4559.           } else {
  4560.             $xfer += $input->skip($ftype);
  4561.           }
  4562.           break;
  4563.         case 5:
  4564.           if ($ftype == TType::MAP) {
  4565.             $this->attributes = array();
  4566.             $_size69 = 0;
  4567.             $_ktype70 = 0;
  4568.             $_vtype71 = 0;
  4569.             $xfer += $input->readMapBegin($_ktype70, $_vtype71, $_size69);
  4570.             for ($_i73 = 0; $_i73 < $_size69; ++$_i73)
  4571.             {
  4572.               $key74 = '';
  4573.               $val75 = '';
  4574.               $xfer += $input->readString($key74);
  4575.               $xfer += $input->readString($val75);
  4576.               $this->attributes[$key74] = $val75;
  4577.             }
  4578.             $xfer += $input->readMapEnd();
  4579.           } else {
  4580.             $xfer += $input->skip($ftype);
  4581.           }
  4582.           break;
  4583.         default:
  4584.           $xfer += $input->skip($ftype);
  4585.           break;
  4586.       }
  4587.       $xfer += $input->readFieldEnd();
  4588.     }
  4589.     $xfer += $input->readStructEnd();
  4590.     return $xfer;
  4591.   }
  4592.  
  4593.   public function write($output) {
  4594.     $xfer = 0;
  4595.     $xfer += $output->writeStructBegin('Hbase_getVer_args');
  4596.     if ($this->tableName !== null) {
  4597.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  4598.       $xfer += $output->writeString($this->tableName);
  4599.       $xfer += $output->writeFieldEnd();
  4600.     }
  4601.     if ($this->row !== null) {
  4602.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  4603.       $xfer += $output->writeString($this->row);
  4604.       $xfer += $output->writeFieldEnd();
  4605.     }
  4606.     if ($this->column !== null) {
  4607.       $xfer += $output->writeFieldBegin('column', TType::STRING, 3);
  4608.       $xfer += $output->writeString($this->column);
  4609.       $xfer += $output->writeFieldEnd();
  4610.     }
  4611.     if ($this->numVersions !== null) {
  4612.       $xfer += $output->writeFieldBegin('numVersions', TType::I32, 4);
  4613.       $xfer += $output->writeI32($this->numVersions);
  4614.       $xfer += $output->writeFieldEnd();
  4615.     }
  4616.     if ($this->attributes !== null) {
  4617.       if (!is_array($this->attributes)) {
  4618.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  4619.       }
  4620.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 5);
  4621.       {
  4622.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  4623.         {
  4624.           foreach ($this->attributes as $kiter76 => $viter77)
  4625.           {
  4626.             $xfer += $output->writeString($kiter76);
  4627.             $xfer += $output->writeString($viter77);
  4628.           }
  4629.         }
  4630.         $output->writeMapEnd();
  4631.       }
  4632.       $xfer += $output->writeFieldEnd();
  4633.     }
  4634.     $xfer += $output->writeFieldStop();
  4635.     $xfer += $output->writeStructEnd();
  4636.     return $xfer;
  4637.   }
  4638.  
  4639. }
  4640.  
  4641. class Hbase_getVer_result {
  4642.   static $_TSPEC;
  4643.  
  4644.   public $success = null;
  4645.   public $io = null;
  4646.  
  4647.   public function __construct($vals=null) {
  4648.     if (!isset(self::$_TSPEC)) {
  4649.       self::$_TSPEC = array(
  4650.         0 => array(
  4651.           'var' => 'success',
  4652.           'type' => TType::LST,
  4653.           'etype' => TType::STRUCT,
  4654.           'elem' => array(
  4655.             'type' => TType::STRUCT,
  4656.             'class' => '\Hbase\TCell',
  4657.             ),
  4658.           ),
  4659.         1 => array(
  4660.           'var' => 'io',
  4661.           'type' => TType::STRUCT,
  4662.           'class' => '\Hbase\IOError',
  4663.           ),
  4664.         );
  4665.     }
  4666.     if (is_array($vals)) {
  4667.       if (isset($vals['success'])) {
  4668.         $this->success = $vals['success'];
  4669.       }
  4670.       if (isset($vals['io'])) {
  4671.         $this->io = $vals['io'];
  4672.       }
  4673.     }
  4674.   }
  4675.  
  4676.   public function getName() {
  4677.     return 'Hbase_getVer_result';
  4678.   }
  4679.  
  4680.   public function read($input)
  4681.   {
  4682.     $xfer = 0;
  4683.     $fname = null;
  4684.     $ftype = 0;
  4685.     $fid = 0;
  4686.     $xfer += $input->readStructBegin($fname);
  4687.     while (true)
  4688.     {
  4689.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  4690.       if ($ftype == TType::STOP) {
  4691.         break;
  4692.       }
  4693.       switch ($fid)
  4694.       {
  4695.         case 0:
  4696.           if ($ftype == TType::LST) {
  4697.             $this->success = array();
  4698.             $_size78 = 0;
  4699.             $_etype81 = 0;
  4700.             $xfer += $input->readListBegin($_etype81, $_size78);
  4701.             for ($_i82 = 0; $_i82 < $_size78; ++$_i82)
  4702.             {
  4703.               $elem83 = null;
  4704.               $elem83 = new \Hbase\TCell();
  4705.               $xfer += $elem83->read($input);
  4706.               $this->success []= $elem83;
  4707.             }
  4708.             $xfer += $input->readListEnd();
  4709.           } else {
  4710.             $xfer += $input->skip($ftype);
  4711.           }
  4712.           break;
  4713.         case 1:
  4714.           if ($ftype == TType::STRUCT) {
  4715.             $this->io = new \Hbase\IOError();
  4716.             $xfer += $this->io->read($input);
  4717.           } else {
  4718.             $xfer += $input->skip($ftype);
  4719.           }
  4720.           break;
  4721.         default:
  4722.           $xfer += $input->skip($ftype);
  4723.           break;
  4724.       }
  4725.       $xfer += $input->readFieldEnd();
  4726.     }
  4727.     $xfer += $input->readStructEnd();
  4728.     return $xfer;
  4729.   }
  4730.  
  4731.   public function write($output) {
  4732.     $xfer = 0;
  4733.     $xfer += $output->writeStructBegin('Hbase_getVer_result');
  4734.     if ($this->success !== null) {
  4735.       if (!is_array($this->success)) {
  4736.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  4737.       }
  4738.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  4739.       {
  4740.         $output->writeListBegin(TType::STRUCT, count($this->success));
  4741.         {
  4742.           foreach ($this->success as $iter84)
  4743.           {
  4744.             $xfer += $iter84->write($output);
  4745.           }
  4746.         }
  4747.         $output->writeListEnd();
  4748.       }
  4749.       $xfer += $output->writeFieldEnd();
  4750.     }
  4751.     if ($this->io !== null) {
  4752.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  4753.       $xfer += $this->io->write($output);
  4754.       $xfer += $output->writeFieldEnd();
  4755.     }
  4756.     $xfer += $output->writeFieldStop();
  4757.     $xfer += $output->writeStructEnd();
  4758.     return $xfer;
  4759.   }
  4760.  
  4761. }
  4762.  
  4763. class Hbase_getVerTs_args {
  4764.   static $_TSPEC;
  4765.  
  4766.   public $tableName = null;
  4767.   public $row = null;
  4768.   public $column = null;
  4769.   public $timestamp = null;
  4770.   public $numVersions = null;
  4771.   public $attributes = null;
  4772.  
  4773.   public function __construct($vals=null) {
  4774.     if (!isset(self::$_TSPEC)) {
  4775.       self::$_TSPEC = array(
  4776.         1 => array(
  4777.           'var' => 'tableName',
  4778.           'type' => TType::STRING,
  4779.           ),
  4780.         2 => array(
  4781.           'var' => 'row',
  4782.           'type' => TType::STRING,
  4783.           ),
  4784.         3 => array(
  4785.           'var' => 'column',
  4786.           'type' => TType::STRING,
  4787.           ),
  4788.         4 => array(
  4789.           'var' => 'timestamp',
  4790.           'type' => TType::I64,
  4791.           ),
  4792.         5 => array(
  4793.           'var' => 'numVersions',
  4794.           'type' => TType::I32,
  4795.           ),
  4796.         6 => array(
  4797.           'var' => 'attributes',
  4798.           'type' => TType::MAP,
  4799.           'ktype' => TType::STRING,
  4800.           'vtype' => TType::STRING,
  4801.           'key' => array(
  4802.             'type' => TType::STRING,
  4803.           ),
  4804.           'val' => array(
  4805.             'type' => TType::STRING,
  4806.             ),
  4807.           ),
  4808.         );
  4809.     }
  4810.     if (is_array($vals)) {
  4811.       if (isset($vals['tableName'])) {
  4812.         $this->tableName = $vals['tableName'];
  4813.       }
  4814.       if (isset($vals['row'])) {
  4815.         $this->row = $vals['row'];
  4816.       }
  4817.       if (isset($vals['column'])) {
  4818.         $this->column = $vals['column'];
  4819.       }
  4820.       if (isset($vals['timestamp'])) {
  4821.         $this->timestamp = $vals['timestamp'];
  4822.       }
  4823.       if (isset($vals['numVersions'])) {
  4824.         $this->numVersions = $vals['numVersions'];
  4825.       }
  4826.       if (isset($vals['attributes'])) {
  4827.         $this->attributes = $vals['attributes'];
  4828.       }
  4829.     }
  4830.   }
  4831.  
  4832.   public function getName() {
  4833.     return 'Hbase_getVerTs_args';
  4834.   }
  4835.  
  4836.   public function read($input)
  4837.   {
  4838.     $xfer = 0;
  4839.     $fname = null;
  4840.     $ftype = 0;
  4841.     $fid = 0;
  4842.     $xfer += $input->readStructBegin($fname);
  4843.     while (true)
  4844.     {
  4845.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  4846.       if ($ftype == TType::STOP) {
  4847.         break;
  4848.       }
  4849.       switch ($fid)
  4850.       {
  4851.         case 1:
  4852.           if ($ftype == TType::STRING) {
  4853.             $xfer += $input->readString($this->tableName);
  4854.           } else {
  4855.             $xfer += $input->skip($ftype);
  4856.           }
  4857.           break;
  4858.         case 2:
  4859.           if ($ftype == TType::STRING) {
  4860.             $xfer += $input->readString($this->row);
  4861.           } else {
  4862.             $xfer += $input->skip($ftype);
  4863.           }
  4864.           break;
  4865.         case 3:
  4866.           if ($ftype == TType::STRING) {
  4867.             $xfer += $input->readString($this->column);
  4868.           } else {
  4869.             $xfer += $input->skip($ftype);
  4870.           }
  4871.           break;
  4872.         case 4:
  4873.           if ($ftype == TType::I64) {
  4874.             $xfer += $input->readI64($this->timestamp);
  4875.           } else {
  4876.             $xfer += $input->skip($ftype);
  4877.           }
  4878.           break;
  4879.         case 5:
  4880.           if ($ftype == TType::I32) {
  4881.             $xfer += $input->readI32($this->numVersions);
  4882.           } else {
  4883.             $xfer += $input->skip($ftype);
  4884.           }
  4885.           break;
  4886.         case 6:
  4887.           if ($ftype == TType::MAP) {
  4888.             $this->attributes = array();
  4889.             $_size85 = 0;
  4890.             $_ktype86 = 0;
  4891.             $_vtype87 = 0;
  4892.             $xfer += $input->readMapBegin($_ktype86, $_vtype87, $_size85);
  4893.             for ($_i89 = 0; $_i89 < $_size85; ++$_i89)
  4894.             {
  4895.               $key90 = '';
  4896.               $val91 = '';
  4897.               $xfer += $input->readString($key90);
  4898.               $xfer += $input->readString($val91);
  4899.               $this->attributes[$key90] = $val91;
  4900.             }
  4901.             $xfer += $input->readMapEnd();
  4902.           } else {
  4903.             $xfer += $input->skip($ftype);
  4904.           }
  4905.           break;
  4906.         default:
  4907.           $xfer += $input->skip($ftype);
  4908.           break;
  4909.       }
  4910.       $xfer += $input->readFieldEnd();
  4911.     }
  4912.     $xfer += $input->readStructEnd();
  4913.     return $xfer;
  4914.   }
  4915.  
  4916.   public function write($output) {
  4917.     $xfer = 0;
  4918.     $xfer += $output->writeStructBegin('Hbase_getVerTs_args');
  4919.     if ($this->tableName !== null) {
  4920.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  4921.       $xfer += $output->writeString($this->tableName);
  4922.       $xfer += $output->writeFieldEnd();
  4923.     }
  4924.     if ($this->row !== null) {
  4925.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  4926.       $xfer += $output->writeString($this->row);
  4927.       $xfer += $output->writeFieldEnd();
  4928.     }
  4929.     if ($this->column !== null) {
  4930.       $xfer += $output->writeFieldBegin('column', TType::STRING, 3);
  4931.       $xfer += $output->writeString($this->column);
  4932.       $xfer += $output->writeFieldEnd();
  4933.     }
  4934.     if ($this->timestamp !== null) {
  4935.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 4);
  4936.       $xfer += $output->writeI64($this->timestamp);
  4937.       $xfer += $output->writeFieldEnd();
  4938.     }
  4939.     if ($this->numVersions !== null) {
  4940.       $xfer += $output->writeFieldBegin('numVersions', TType::I32, 5);
  4941.       $xfer += $output->writeI32($this->numVersions);
  4942.       $xfer += $output->writeFieldEnd();
  4943.     }
  4944.     if ($this->attributes !== null) {
  4945.       if (!is_array($this->attributes)) {
  4946.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  4947.       }
  4948.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 6);
  4949.       {
  4950.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  4951.         {
  4952.           foreach ($this->attributes as $kiter92 => $viter93)
  4953.           {
  4954.             $xfer += $output->writeString($kiter92);
  4955.             $xfer += $output->writeString($viter93);
  4956.           }
  4957.         }
  4958.         $output->writeMapEnd();
  4959.       }
  4960.       $xfer += $output->writeFieldEnd();
  4961.     }
  4962.     $xfer += $output->writeFieldStop();
  4963.     $xfer += $output->writeStructEnd();
  4964.     return $xfer;
  4965.   }
  4966.  
  4967. }
  4968.  
  4969. class Hbase_getVerTs_result {
  4970.   static $_TSPEC;
  4971.  
  4972.   public $success = null;
  4973.   public $io = null;
  4974.  
  4975.   public function __construct($vals=null) {
  4976.     if (!isset(self::$_TSPEC)) {
  4977.       self::$_TSPEC = array(
  4978.         0 => array(
  4979.           'var' => 'success',
  4980.           'type' => TType::LST,
  4981.           'etype' => TType::STRUCT,
  4982.           'elem' => array(
  4983.             'type' => TType::STRUCT,
  4984.             'class' => '\Hbase\TCell',
  4985.             ),
  4986.           ),
  4987.         1 => array(
  4988.           'var' => 'io',
  4989.           'type' => TType::STRUCT,
  4990.           'class' => '\Hbase\IOError',
  4991.           ),
  4992.         );
  4993.     }
  4994.     if (is_array($vals)) {
  4995.       if (isset($vals['success'])) {
  4996.         $this->success = $vals['success'];
  4997.       }
  4998.       if (isset($vals['io'])) {
  4999.         $this->io = $vals['io'];
  5000.       }
  5001.     }
  5002.   }
  5003.  
  5004.   public function getName() {
  5005.     return 'Hbase_getVerTs_result';
  5006.   }
  5007.  
  5008.   public function read($input)
  5009.   {
  5010.     $xfer = 0;
  5011.     $fname = null;
  5012.     $ftype = 0;
  5013.     $fid = 0;
  5014.     $xfer += $input->readStructBegin($fname);
  5015.     while (true)
  5016.     {
  5017.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  5018.       if ($ftype == TType::STOP) {
  5019.         break;
  5020.       }
  5021.       switch ($fid)
  5022.       {
  5023.         case 0:
  5024.           if ($ftype == TType::LST) {
  5025.             $this->success = array();
  5026.             $_size94 = 0;
  5027.             $_etype97 = 0;
  5028.             $xfer += $input->readListBegin($_etype97, $_size94);
  5029.             for ($_i98 = 0; $_i98 < $_size94; ++$_i98)
  5030.             {
  5031.               $elem99 = null;
  5032.               $elem99 = new \Hbase\TCell();
  5033.               $xfer += $elem99->read($input);
  5034.               $this->success []= $elem99;
  5035.             }
  5036.             $xfer += $input->readListEnd();
  5037.           } else {
  5038.             $xfer += $input->skip($ftype);
  5039.           }
  5040.           break;
  5041.         case 1:
  5042.           if ($ftype == TType::STRUCT) {
  5043.             $this->io = new \Hbase\IOError();
  5044.             $xfer += $this->io->read($input);
  5045.           } else {
  5046.             $xfer += $input->skip($ftype);
  5047.           }
  5048.           break;
  5049.         default:
  5050.           $xfer += $input->skip($ftype);
  5051.           break;
  5052.       }
  5053.       $xfer += $input->readFieldEnd();
  5054.     }
  5055.     $xfer += $input->readStructEnd();
  5056.     return $xfer;
  5057.   }
  5058.  
  5059.   public function write($output) {
  5060.     $xfer = 0;
  5061.     $xfer += $output->writeStructBegin('Hbase_getVerTs_result');
  5062.     if ($this->success !== null) {
  5063.       if (!is_array($this->success)) {
  5064.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  5065.       }
  5066.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  5067.       {
  5068.         $output->writeListBegin(TType::STRUCT, count($this->success));
  5069.         {
  5070.           foreach ($this->success as $iter100)
  5071.           {
  5072.             $xfer += $iter100->write($output);
  5073.           }
  5074.         }
  5075.         $output->writeListEnd();
  5076.       }
  5077.       $xfer += $output->writeFieldEnd();
  5078.     }
  5079.     if ($this->io !== null) {
  5080.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  5081.       $xfer += $this->io->write($output);
  5082.       $xfer += $output->writeFieldEnd();
  5083.     }
  5084.     $xfer += $output->writeFieldStop();
  5085.     $xfer += $output->writeStructEnd();
  5086.     return $xfer;
  5087.   }
  5088.  
  5089. }
  5090.  
  5091. class Hbase_getRow_args {
  5092.   static $_TSPEC;
  5093.  
  5094.   public $tableName = null;
  5095.   public $row = null;
  5096.   public $attributes = null;
  5097.  
  5098.   public function __construct($vals=null) {
  5099.     if (!isset(self::$_TSPEC)) {
  5100.       self::$_TSPEC = array(
  5101.         1 => array(
  5102.           'var' => 'tableName',
  5103.           'type' => TType::STRING,
  5104.           ),
  5105.         2 => array(
  5106.           'var' => 'row',
  5107.           'type' => TType::STRING,
  5108.           ),
  5109.         3 => array(
  5110.           'var' => 'attributes',
  5111.           'type' => TType::MAP,
  5112.           'ktype' => TType::STRING,
  5113.           'vtype' => TType::STRING,
  5114.           'key' => array(
  5115.             'type' => TType::STRING,
  5116.           ),
  5117.           'val' => array(
  5118.             'type' => TType::STRING,
  5119.             ),
  5120.           ),
  5121.         );
  5122.     }
  5123.     if (is_array($vals)) {
  5124.       if (isset($vals['tableName'])) {
  5125.         $this->tableName = $vals['tableName'];
  5126.       }
  5127.       if (isset($vals['row'])) {
  5128.         $this->row = $vals['row'];
  5129.       }
  5130.       if (isset($vals['attributes'])) {
  5131.         $this->attributes = $vals['attributes'];
  5132.       }
  5133.     }
  5134.   }
  5135.  
  5136.   public function getName() {
  5137.     return 'Hbase_getRow_args';
  5138.   }
  5139.  
  5140.   public function read($input)
  5141.   {
  5142.     $xfer = 0;
  5143.     $fname = null;
  5144.     $ftype = 0;
  5145.     $fid = 0;
  5146.     $xfer += $input->readStructBegin($fname);
  5147.     while (true)
  5148.     {
  5149.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  5150.       if ($ftype == TType::STOP) {
  5151.         break;
  5152.       }
  5153.       switch ($fid)
  5154.       {
  5155.         case 1:
  5156.           if ($ftype == TType::STRING) {
  5157.             $xfer += $input->readString($this->tableName);
  5158.           } else {
  5159.             $xfer += $input->skip($ftype);
  5160.           }
  5161.           break;
  5162.         case 2:
  5163.           if ($ftype == TType::STRING) {
  5164.             $xfer += $input->readString($this->row);
  5165.           } else {
  5166.             $xfer += $input->skip($ftype);
  5167.           }
  5168.           break;
  5169.         case 3:
  5170.           if ($ftype == TType::MAP) {
  5171.             $this->attributes = array();
  5172.             $_size101 = 0;
  5173.             $_ktype102 = 0;
  5174.             $_vtype103 = 0;
  5175.             $xfer += $input->readMapBegin($_ktype102, $_vtype103, $_size101);
  5176.             for ($_i105 = 0; $_i105 < $_size101; ++$_i105)
  5177.             {
  5178.               $key106 = '';
  5179.               $val107 = '';
  5180.               $xfer += $input->readString($key106);
  5181.               $xfer += $input->readString($val107);
  5182.               $this->attributes[$key106] = $val107;
  5183.             }
  5184.             $xfer += $input->readMapEnd();
  5185.           } else {
  5186.             $xfer += $input->skip($ftype);
  5187.           }
  5188.           break;
  5189.         default:
  5190.           $xfer += $input->skip($ftype);
  5191.           break;
  5192.       }
  5193.       $xfer += $input->readFieldEnd();
  5194.     }
  5195.     $xfer += $input->readStructEnd();
  5196.     return $xfer;
  5197.   }
  5198.  
  5199.   public function write($output) {
  5200.     $xfer = 0;
  5201.     $xfer += $output->writeStructBegin('Hbase_getRow_args');
  5202.     if ($this->tableName !== null) {
  5203.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  5204.       $xfer += $output->writeString($this->tableName);
  5205.       $xfer += $output->writeFieldEnd();
  5206.     }
  5207.     if ($this->row !== null) {
  5208.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  5209.       $xfer += $output->writeString($this->row);
  5210.       $xfer += $output->writeFieldEnd();
  5211.     }
  5212.     if ($this->attributes !== null) {
  5213.       if (!is_array($this->attributes)) {
  5214.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  5215.       }
  5216.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 3);
  5217.       {
  5218.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  5219.         {
  5220.           foreach ($this->attributes as $kiter108 => $viter109)
  5221.           {
  5222.             $xfer += $output->writeString($kiter108);
  5223.             $xfer += $output->writeString($viter109);
  5224.           }
  5225.         }
  5226.         $output->writeMapEnd();
  5227.       }
  5228.       $xfer += $output->writeFieldEnd();
  5229.     }
  5230.     $xfer += $output->writeFieldStop();
  5231.     $xfer += $output->writeStructEnd();
  5232.     return $xfer;
  5233.   }
  5234.  
  5235. }
  5236.  
  5237. class Hbase_getRow_result {
  5238.   static $_TSPEC;
  5239.  
  5240.   public $success = null;
  5241.   public $io = null;
  5242.  
  5243.   public function __construct($vals=null) {
  5244.     if (!isset(self::$_TSPEC)) {
  5245.       self::$_TSPEC = array(
  5246.         0 => array(
  5247.           'var' => 'success',
  5248.           'type' => TType::LST,
  5249.           'etype' => TType::STRUCT,
  5250.           'elem' => array(
  5251.             'type' => TType::STRUCT,
  5252.             'class' => '\Hbase\TRowResult',
  5253.             ),
  5254.           ),
  5255.         1 => array(
  5256.           'var' => 'io',
  5257.           'type' => TType::STRUCT,
  5258.           'class' => '\Hbase\IOError',
  5259.           ),
  5260.         );
  5261.     }
  5262.     if (is_array($vals)) {
  5263.       if (isset($vals['success'])) {
  5264.         $this->success = $vals['success'];
  5265.       }
  5266.       if (isset($vals['io'])) {
  5267.         $this->io = $vals['io'];
  5268.       }
  5269.     }
  5270.   }
  5271.  
  5272.   public function getName() {
  5273.     return 'Hbase_getRow_result';
  5274.   }
  5275.  
  5276.   public function read($input)
  5277.   {
  5278.     $xfer = 0;
  5279.     $fname = null;
  5280.     $ftype = 0;
  5281.     $fid = 0;
  5282.     $xfer += $input->readStructBegin($fname);
  5283.     while (true)
  5284.     {
  5285.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  5286.       if ($ftype == TType::STOP) {
  5287.         break;
  5288.       }
  5289.       switch ($fid)
  5290.       {
  5291.         case 0:
  5292.           if ($ftype == TType::LST) {
  5293.             $this->success = array();
  5294.             $_size110 = 0;
  5295.             $_etype113 = 0;
  5296.             $xfer += $input->readListBegin($_etype113, $_size110);
  5297.             for ($_i114 = 0; $_i114 < $_size110; ++$_i114)
  5298.             {
  5299.               $elem115 = null;
  5300.               $elem115 = new \Hbase\TRowResult();
  5301.               $xfer += $elem115->read($input);
  5302.               $this->success []= $elem115;
  5303.             }
  5304.             $xfer += $input->readListEnd();
  5305.           } else {
  5306.             $xfer += $input->skip($ftype);
  5307.           }
  5308.           break;
  5309.         case 1:
  5310.           if ($ftype == TType::STRUCT) {
  5311.             $this->io = new \Hbase\IOError();
  5312.             $xfer += $this->io->read($input);
  5313.           } else {
  5314.             $xfer += $input->skip($ftype);
  5315.           }
  5316.           break;
  5317.         default:
  5318.           $xfer += $input->skip($ftype);
  5319.           break;
  5320.       }
  5321.       $xfer += $input->readFieldEnd();
  5322.     }
  5323.     $xfer += $input->readStructEnd();
  5324.     return $xfer;
  5325.   }
  5326.  
  5327.   public function write($output) {
  5328.     $xfer = 0;
  5329.     $xfer += $output->writeStructBegin('Hbase_getRow_result');
  5330.     if ($this->success !== null) {
  5331.       if (!is_array($this->success)) {
  5332.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  5333.       }
  5334.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  5335.       {
  5336.         $output->writeListBegin(TType::STRUCT, count($this->success));
  5337.         {
  5338.           foreach ($this->success as $iter116)
  5339.           {
  5340.             $xfer += $iter116->write($output);
  5341.           }
  5342.         }
  5343.         $output->writeListEnd();
  5344.       }
  5345.       $xfer += $output->writeFieldEnd();
  5346.     }
  5347.     if ($this->io !== null) {
  5348.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  5349.       $xfer += $this->io->write($output);
  5350.       $xfer += $output->writeFieldEnd();
  5351.     }
  5352.     $xfer += $output->writeFieldStop();
  5353.     $xfer += $output->writeStructEnd();
  5354.     return $xfer;
  5355.   }
  5356.  
  5357. }
  5358.  
  5359. class Hbase_getRowWithColumns_args {
  5360.   static $_TSPEC;
  5361.  
  5362.   public $tableName = null;
  5363.   public $row = null;
  5364.   public $columns = null;
  5365.   public $attributes = null;
  5366.  
  5367.   public function __construct($vals=null) {
  5368.     if (!isset(self::$_TSPEC)) {
  5369.       self::$_TSPEC = array(
  5370.         1 => array(
  5371.           'var' => 'tableName',
  5372.           'type' => TType::STRING,
  5373.           ),
  5374.         2 => array(
  5375.           'var' => 'row',
  5376.           'type' => TType::STRING,
  5377.           ),
  5378.         3 => array(
  5379.           'var' => 'columns',
  5380.           'type' => TType::LST,
  5381.           'etype' => TType::STRING,
  5382.           'elem' => array(
  5383.             'type' => TType::STRING,
  5384.             ),
  5385.           ),
  5386.         4 => array(
  5387.           'var' => 'attributes',
  5388.           'type' => TType::MAP,
  5389.           'ktype' => TType::STRING,
  5390.           'vtype' => TType::STRING,
  5391.           'key' => array(
  5392.             'type' => TType::STRING,
  5393.           ),
  5394.           'val' => array(
  5395.             'type' => TType::STRING,
  5396.             ),
  5397.           ),
  5398.         );
  5399.     }
  5400.     if (is_array($vals)) {
  5401.       if (isset($vals['tableName'])) {
  5402.         $this->tableName = $vals['tableName'];
  5403.       }
  5404.       if (isset($vals['row'])) {
  5405.         $this->row = $vals['row'];
  5406.       }
  5407.       if (isset($vals['columns'])) {
  5408.         $this->columns = $vals['columns'];
  5409.       }
  5410.       if (isset($vals['attributes'])) {
  5411.         $this->attributes = $vals['attributes'];
  5412.       }
  5413.     }
  5414.   }
  5415.  
  5416.   public function getName() {
  5417.     return 'Hbase_getRowWithColumns_args';
  5418.   }
  5419.  
  5420.   public function read($input)
  5421.   {
  5422.     $xfer = 0;
  5423.     $fname = null;
  5424.     $ftype = 0;
  5425.     $fid = 0;
  5426.     $xfer += $input->readStructBegin($fname);
  5427.     while (true)
  5428.     {
  5429.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  5430.       if ($ftype == TType::STOP) {
  5431.         break;
  5432.       }
  5433.       switch ($fid)
  5434.       {
  5435.         case 1:
  5436.           if ($ftype == TType::STRING) {
  5437.             $xfer += $input->readString($this->tableName);
  5438.           } else {
  5439.             $xfer += $input->skip($ftype);
  5440.           }
  5441.           break;
  5442.         case 2:
  5443.           if ($ftype == TType::STRING) {
  5444.             $xfer += $input->readString($this->row);
  5445.           } else {
  5446.             $xfer += $input->skip($ftype);
  5447.           }
  5448.           break;
  5449.         case 3:
  5450.           if ($ftype == TType::LST) {
  5451.             $this->columns = array();
  5452.             $_size117 = 0;
  5453.             $_etype120 = 0;
  5454.             $xfer += $input->readListBegin($_etype120, $_size117);
  5455.             for ($_i121 = 0; $_i121 < $_size117; ++$_i121)
  5456.             {
  5457.               $elem122 = null;
  5458.               $xfer += $input->readString($elem122);
  5459.               $this->columns []= $elem122;
  5460.             }
  5461.             $xfer += $input->readListEnd();
  5462.           } else {
  5463.             $xfer += $input->skip($ftype);
  5464.           }
  5465.           break;
  5466.         case 4:
  5467.           if ($ftype == TType::MAP) {
  5468.             $this->attributes = array();
  5469.             $_size123 = 0;
  5470.             $_ktype124 = 0;
  5471.             $_vtype125 = 0;
  5472.             $xfer += $input->readMapBegin($_ktype124, $_vtype125, $_size123);
  5473.             for ($_i127 = 0; $_i127 < $_size123; ++$_i127)
  5474.             {
  5475.               $key128 = '';
  5476.               $val129 = '';
  5477.               $xfer += $input->readString($key128);
  5478.               $xfer += $input->readString($val129);
  5479.               $this->attributes[$key128] = $val129;
  5480.             }
  5481.             $xfer += $input->readMapEnd();
  5482.           } else {
  5483.             $xfer += $input->skip($ftype);
  5484.           }
  5485.           break;
  5486.         default:
  5487.           $xfer += $input->skip($ftype);
  5488.           break;
  5489.       }
  5490.       $xfer += $input->readFieldEnd();
  5491.     }
  5492.     $xfer += $input->readStructEnd();
  5493.     return $xfer;
  5494.   }
  5495.  
  5496.   public function write($output) {
  5497.     $xfer = 0;
  5498.     $xfer += $output->writeStructBegin('Hbase_getRowWithColumns_args');
  5499.     if ($this->tableName !== null) {
  5500.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  5501.       $xfer += $output->writeString($this->tableName);
  5502.       $xfer += $output->writeFieldEnd();
  5503.     }
  5504.     if ($this->row !== null) {
  5505.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  5506.       $xfer += $output->writeString($this->row);
  5507.       $xfer += $output->writeFieldEnd();
  5508.     }
  5509.     if ($this->columns !== null) {
  5510.       if (!is_array($this->columns)) {
  5511.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  5512.       }
  5513.       $xfer += $output->writeFieldBegin('columns', TType::LST, 3);
  5514.       {
  5515.         $output->writeListBegin(TType::STRING, count($this->columns));
  5516.         {
  5517.           foreach ($this->columns as $iter130)
  5518.           {
  5519.             $xfer += $output->writeString($iter130);
  5520.           }
  5521.         }
  5522.         $output->writeListEnd();
  5523.       }
  5524.       $xfer += $output->writeFieldEnd();
  5525.     }
  5526.     if ($this->attributes !== null) {
  5527.       if (!is_array($this->attributes)) {
  5528.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  5529.       }
  5530.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  5531.       {
  5532.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  5533.         {
  5534.           foreach ($this->attributes as $kiter131 => $viter132)
  5535.           {
  5536.             $xfer += $output->writeString($kiter131);
  5537.             $xfer += $output->writeString($viter132);
  5538.           }
  5539.         }
  5540.         $output->writeMapEnd();
  5541.       }
  5542.       $xfer += $output->writeFieldEnd();
  5543.     }
  5544.     $xfer += $output->writeFieldStop();
  5545.     $xfer += $output->writeStructEnd();
  5546.     return $xfer;
  5547.   }
  5548.  
  5549. }
  5550.  
  5551. class Hbase_getRowWithColumns_result {
  5552.   static $_TSPEC;
  5553.  
  5554.   public $success = null;
  5555.   public $io = null;
  5556.  
  5557.   public function __construct($vals=null) {
  5558.     if (!isset(self::$_TSPEC)) {
  5559.       self::$_TSPEC = array(
  5560.         0 => array(
  5561.           'var' => 'success',
  5562.           'type' => TType::LST,
  5563.           'etype' => TType::STRUCT,
  5564.           'elem' => array(
  5565.             'type' => TType::STRUCT,
  5566.             'class' => '\Hbase\TRowResult',
  5567.             ),
  5568.           ),
  5569.         1 => array(
  5570.           'var' => 'io',
  5571.           'type' => TType::STRUCT,
  5572.           'class' => '\Hbase\IOError',
  5573.           ),
  5574.         );
  5575.     }
  5576.     if (is_array($vals)) {
  5577.       if (isset($vals['success'])) {
  5578.         $this->success = $vals['success'];
  5579.       }
  5580.       if (isset($vals['io'])) {
  5581.         $this->io = $vals['io'];
  5582.       }
  5583.     }
  5584.   }
  5585.  
  5586.   public function getName() {
  5587.     return 'Hbase_getRowWithColumns_result';
  5588.   }
  5589.  
  5590.   public function read($input)
  5591.   {
  5592.     $xfer = 0;
  5593.     $fname = null;
  5594.     $ftype = 0;
  5595.     $fid = 0;
  5596.     $xfer += $input->readStructBegin($fname);
  5597.     while (true)
  5598.     {
  5599.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  5600.       if ($ftype == TType::STOP) {
  5601.         break;
  5602.       }
  5603.       switch ($fid)
  5604.       {
  5605.         case 0:
  5606.           if ($ftype == TType::LST) {
  5607.             $this->success = array();
  5608.             $_size133 = 0;
  5609.             $_etype136 = 0;
  5610.             $xfer += $input->readListBegin($_etype136, $_size133);
  5611.             for ($_i137 = 0; $_i137 < $_size133; ++$_i137)
  5612.             {
  5613.               $elem138 = null;
  5614.               $elem138 = new \Hbase\TRowResult();
  5615.               $xfer += $elem138->read($input);
  5616.               $this->success []= $elem138;
  5617.             }
  5618.             $xfer += $input->readListEnd();
  5619.           } else {
  5620.             $xfer += $input->skip($ftype);
  5621.           }
  5622.           break;
  5623.         case 1:
  5624.           if ($ftype == TType::STRUCT) {
  5625.             $this->io = new \Hbase\IOError();
  5626.             $xfer += $this->io->read($input);
  5627.           } else {
  5628.             $xfer += $input->skip($ftype);
  5629.           }
  5630.           break;
  5631.         default:
  5632.           $xfer += $input->skip($ftype);
  5633.           break;
  5634.       }
  5635.       $xfer += $input->readFieldEnd();
  5636.     }
  5637.     $xfer += $input->readStructEnd();
  5638.     return $xfer;
  5639.   }
  5640.  
  5641.   public function write($output) {
  5642.     $xfer = 0;
  5643.     $xfer += $output->writeStructBegin('Hbase_getRowWithColumns_result');
  5644.     if ($this->success !== null) {
  5645.       if (!is_array($this->success)) {
  5646.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  5647.       }
  5648.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  5649.       {
  5650.         $output->writeListBegin(TType::STRUCT, count($this->success));
  5651.         {
  5652.           foreach ($this->success as $iter139)
  5653.           {
  5654.             $xfer += $iter139->write($output);
  5655.           }
  5656.         }
  5657.         $output->writeListEnd();
  5658.       }
  5659.       $xfer += $output->writeFieldEnd();
  5660.     }
  5661.     if ($this->io !== null) {
  5662.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  5663.       $xfer += $this->io->write($output);
  5664.       $xfer += $output->writeFieldEnd();
  5665.     }
  5666.     $xfer += $output->writeFieldStop();
  5667.     $xfer += $output->writeStructEnd();
  5668.     return $xfer;
  5669.   }
  5670.  
  5671. }
  5672.  
  5673. class Hbase_getRowTs_args {
  5674.   static $_TSPEC;
  5675.  
  5676.   public $tableName = null;
  5677.   public $row = null;
  5678.   public $timestamp = null;
  5679.   public $attributes = null;
  5680.  
  5681.   public function __construct($vals=null) {
  5682.     if (!isset(self::$_TSPEC)) {
  5683.       self::$_TSPEC = array(
  5684.         1 => array(
  5685.           'var' => 'tableName',
  5686.           'type' => TType::STRING,
  5687.           ),
  5688.         2 => array(
  5689.           'var' => 'row',
  5690.           'type' => TType::STRING,
  5691.           ),
  5692.         3 => array(
  5693.           'var' => 'timestamp',
  5694.           'type' => TType::I64,
  5695.           ),
  5696.         4 => array(
  5697.           'var' => 'attributes',
  5698.           'type' => TType::MAP,
  5699.           'ktype' => TType::STRING,
  5700.           'vtype' => TType::STRING,
  5701.           'key' => array(
  5702.             'type' => TType::STRING,
  5703.           ),
  5704.           'val' => array(
  5705.             'type' => TType::STRING,
  5706.             ),
  5707.           ),
  5708.         );
  5709.     }
  5710.     if (is_array($vals)) {
  5711.       if (isset($vals['tableName'])) {
  5712.         $this->tableName = $vals['tableName'];
  5713.       }
  5714.       if (isset($vals['row'])) {
  5715.         $this->row = $vals['row'];
  5716.       }
  5717.       if (isset($vals['timestamp'])) {
  5718.         $this->timestamp = $vals['timestamp'];
  5719.       }
  5720.       if (isset($vals['attributes'])) {
  5721.         $this->attributes = $vals['attributes'];
  5722.       }
  5723.     }
  5724.   }
  5725.  
  5726.   public function getName() {
  5727.     return 'Hbase_getRowTs_args';
  5728.   }
  5729.  
  5730.   public function read($input)
  5731.   {
  5732.     $xfer = 0;
  5733.     $fname = null;
  5734.     $ftype = 0;
  5735.     $fid = 0;
  5736.     $xfer += $input->readStructBegin($fname);
  5737.     while (true)
  5738.     {
  5739.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  5740.       if ($ftype == TType::STOP) {
  5741.         break;
  5742.       }
  5743.       switch ($fid)
  5744.       {
  5745.         case 1:
  5746.           if ($ftype == TType::STRING) {
  5747.             $xfer += $input->readString($this->tableName);
  5748.           } else {
  5749.             $xfer += $input->skip($ftype);
  5750.           }
  5751.           break;
  5752.         case 2:
  5753.           if ($ftype == TType::STRING) {
  5754.             $xfer += $input->readString($this->row);
  5755.           } else {
  5756.             $xfer += $input->skip($ftype);
  5757.           }
  5758.           break;
  5759.         case 3:
  5760.           if ($ftype == TType::I64) {
  5761.             $xfer += $input->readI64($this->timestamp);
  5762.           } else {
  5763.             $xfer += $input->skip($ftype);
  5764.           }
  5765.           break;
  5766.         case 4:
  5767.           if ($ftype == TType::MAP) {
  5768.             $this->attributes = array();
  5769.             $_size140 = 0;
  5770.             $_ktype141 = 0;
  5771.             $_vtype142 = 0;
  5772.             $xfer += $input->readMapBegin($_ktype141, $_vtype142, $_size140);
  5773.             for ($_i144 = 0; $_i144 < $_size140; ++$_i144)
  5774.             {
  5775.               $key145 = '';
  5776.               $val146 = '';
  5777.               $xfer += $input->readString($key145);
  5778.               $xfer += $input->readString($val146);
  5779.               $this->attributes[$key145] = $val146;
  5780.             }
  5781.             $xfer += $input->readMapEnd();
  5782.           } else {
  5783.             $xfer += $input->skip($ftype);
  5784.           }
  5785.           break;
  5786.         default:
  5787.           $xfer += $input->skip($ftype);
  5788.           break;
  5789.       }
  5790.       $xfer += $input->readFieldEnd();
  5791.     }
  5792.     $xfer += $input->readStructEnd();
  5793.     return $xfer;
  5794.   }
  5795.  
  5796.   public function write($output) {
  5797.     $xfer = 0;
  5798.     $xfer += $output->writeStructBegin('Hbase_getRowTs_args');
  5799.     if ($this->tableName !== null) {
  5800.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  5801.       $xfer += $output->writeString($this->tableName);
  5802.       $xfer += $output->writeFieldEnd();
  5803.     }
  5804.     if ($this->row !== null) {
  5805.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  5806.       $xfer += $output->writeString($this->row);
  5807.       $xfer += $output->writeFieldEnd();
  5808.     }
  5809.     if ($this->timestamp !== null) {
  5810.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 3);
  5811.       $xfer += $output->writeI64($this->timestamp);
  5812.       $xfer += $output->writeFieldEnd();
  5813.     }
  5814.     if ($this->attributes !== null) {
  5815.       if (!is_array($this->attributes)) {
  5816.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  5817.       }
  5818.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  5819.       {
  5820.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  5821.         {
  5822.           foreach ($this->attributes as $kiter147 => $viter148)
  5823.           {
  5824.             $xfer += $output->writeString($kiter147);
  5825.             $xfer += $output->writeString($viter148);
  5826.           }
  5827.         }
  5828.         $output->writeMapEnd();
  5829.       }
  5830.       $xfer += $output->writeFieldEnd();
  5831.     }
  5832.     $xfer += $output->writeFieldStop();
  5833.     $xfer += $output->writeStructEnd();
  5834.     return $xfer;
  5835.   }
  5836.  
  5837. }
  5838.  
  5839. class Hbase_getRowTs_result {
  5840.   static $_TSPEC;
  5841.  
  5842.   public $success = null;
  5843.   public $io = null;
  5844.  
  5845.   public function __construct($vals=null) {
  5846.     if (!isset(self::$_TSPEC)) {
  5847.       self::$_TSPEC = array(
  5848.         0 => array(
  5849.           'var' => 'success',
  5850.           'type' => TType::LST,
  5851.           'etype' => TType::STRUCT,
  5852.           'elem' => array(
  5853.             'type' => TType::STRUCT,
  5854.             'class' => '\Hbase\TRowResult',
  5855.             ),
  5856.           ),
  5857.         1 => array(
  5858.           'var' => 'io',
  5859.           'type' => TType::STRUCT,
  5860.           'class' => '\Hbase\IOError',
  5861.           ),
  5862.         );
  5863.     }
  5864.     if (is_array($vals)) {
  5865.       if (isset($vals['success'])) {
  5866.         $this->success = $vals['success'];
  5867.       }
  5868.       if (isset($vals['io'])) {
  5869.         $this->io = $vals['io'];
  5870.       }
  5871.     }
  5872.   }
  5873.  
  5874.   public function getName() {
  5875.     return 'Hbase_getRowTs_result';
  5876.   }
  5877.  
  5878.   public function read($input)
  5879.   {
  5880.     $xfer = 0;
  5881.     $fname = null;
  5882.     $ftype = 0;
  5883.     $fid = 0;
  5884.     $xfer += $input->readStructBegin($fname);
  5885.     while (true)
  5886.     {
  5887.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  5888.       if ($ftype == TType::STOP) {
  5889.         break;
  5890.       }
  5891.       switch ($fid)
  5892.       {
  5893.         case 0:
  5894.           if ($ftype == TType::LST) {
  5895.             $this->success = array();
  5896.             $_size149 = 0;
  5897.             $_etype152 = 0;
  5898.             $xfer += $input->readListBegin($_etype152, $_size149);
  5899.             for ($_i153 = 0; $_i153 < $_size149; ++$_i153)
  5900.             {
  5901.               $elem154 = null;
  5902.               $elem154 = new \Hbase\TRowResult();
  5903.               $xfer += $elem154->read($input);
  5904.               $this->success []= $elem154;
  5905.             }
  5906.             $xfer += $input->readListEnd();
  5907.           } else {
  5908.             $xfer += $input->skip($ftype);
  5909.           }
  5910.           break;
  5911.         case 1:
  5912.           if ($ftype == TType::STRUCT) {
  5913.             $this->io = new \Hbase\IOError();
  5914.             $xfer += $this->io->read($input);
  5915.           } else {
  5916.             $xfer += $input->skip($ftype);
  5917.           }
  5918.           break;
  5919.         default:
  5920.           $xfer += $input->skip($ftype);
  5921.           break;
  5922.       }
  5923.       $xfer += $input->readFieldEnd();
  5924.     }
  5925.     $xfer += $input->readStructEnd();
  5926.     return $xfer;
  5927.   }
  5928.  
  5929.   public function write($output) {
  5930.     $xfer = 0;
  5931.     $xfer += $output->writeStructBegin('Hbase_getRowTs_result');
  5932.     if ($this->success !== null) {
  5933.       if (!is_array($this->success)) {
  5934.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  5935.       }
  5936.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  5937.       {
  5938.         $output->writeListBegin(TType::STRUCT, count($this->success));
  5939.         {
  5940.           foreach ($this->success as $iter155)
  5941.           {
  5942.             $xfer += $iter155->write($output);
  5943.           }
  5944.         }
  5945.         $output->writeListEnd();
  5946.       }
  5947.       $xfer += $output->writeFieldEnd();
  5948.     }
  5949.     if ($this->io !== null) {
  5950.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  5951.       $xfer += $this->io->write($output);
  5952.       $xfer += $output->writeFieldEnd();
  5953.     }
  5954.     $xfer += $output->writeFieldStop();
  5955.     $xfer += $output->writeStructEnd();
  5956.     return $xfer;
  5957.   }
  5958.  
  5959. }
  5960.  
  5961. class Hbase_getRowWithColumnsTs_args {
  5962.   static $_TSPEC;
  5963.  
  5964.   public $tableName = null;
  5965.   public $row = null;
  5966.   public $columns = null;
  5967.   public $timestamp = null;
  5968.   public $attributes = null;
  5969.  
  5970.   public function __construct($vals=null) {
  5971.     if (!isset(self::$_TSPEC)) {
  5972.       self::$_TSPEC = array(
  5973.         1 => array(
  5974.           'var' => 'tableName',
  5975.           'type' => TType::STRING,
  5976.           ),
  5977.         2 => array(
  5978.           'var' => 'row',
  5979.           'type' => TType::STRING,
  5980.           ),
  5981.         3 => array(
  5982.           'var' => 'columns',
  5983.           'type' => TType::LST,
  5984.           'etype' => TType::STRING,
  5985.           'elem' => array(
  5986.             'type' => TType::STRING,
  5987.             ),
  5988.           ),
  5989.         4 => array(
  5990.           'var' => 'timestamp',
  5991.           'type' => TType::I64,
  5992.           ),
  5993.         5 => array(
  5994.           'var' => 'attributes',
  5995.           'type' => TType::MAP,
  5996.           'ktype' => TType::STRING,
  5997.           'vtype' => TType::STRING,
  5998.           'key' => array(
  5999.             'type' => TType::STRING,
  6000.           ),
  6001.           'val' => array(
  6002.             'type' => TType::STRING,
  6003.             ),
  6004.           ),
  6005.         );
  6006.     }
  6007.     if (is_array($vals)) {
  6008.       if (isset($vals['tableName'])) {
  6009.         $this->tableName = $vals['tableName'];
  6010.       }
  6011.       if (isset($vals['row'])) {
  6012.         $this->row = $vals['row'];
  6013.       }
  6014.       if (isset($vals['columns'])) {
  6015.         $this->columns = $vals['columns'];
  6016.       }
  6017.       if (isset($vals['timestamp'])) {
  6018.         $this->timestamp = $vals['timestamp'];
  6019.       }
  6020.       if (isset($vals['attributes'])) {
  6021.         $this->attributes = $vals['attributes'];
  6022.       }
  6023.     }
  6024.   }
  6025.  
  6026.   public function getName() {
  6027.     return 'Hbase_getRowWithColumnsTs_args';
  6028.   }
  6029.  
  6030.   public function read($input)
  6031.   {
  6032.     $xfer = 0;
  6033.     $fname = null;
  6034.     $ftype = 0;
  6035.     $fid = 0;
  6036.     $xfer += $input->readStructBegin($fname);
  6037.     while (true)
  6038.     {
  6039.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  6040.       if ($ftype == TType::STOP) {
  6041.         break;
  6042.       }
  6043.       switch ($fid)
  6044.       {
  6045.         case 1:
  6046.           if ($ftype == TType::STRING) {
  6047.             $xfer += $input->readString($this->tableName);
  6048.           } else {
  6049.             $xfer += $input->skip($ftype);
  6050.           }
  6051.           break;
  6052.         case 2:
  6053.           if ($ftype == TType::STRING) {
  6054.             $xfer += $input->readString($this->row);
  6055.           } else {
  6056.             $xfer += $input->skip($ftype);
  6057.           }
  6058.           break;
  6059.         case 3:
  6060.           if ($ftype == TType::LST) {
  6061.             $this->columns = array();
  6062.             $_size156 = 0;
  6063.             $_etype159 = 0;
  6064.             $xfer += $input->readListBegin($_etype159, $_size156);
  6065.             for ($_i160 = 0; $_i160 < $_size156; ++$_i160)
  6066.             {
  6067.               $elem161 = null;
  6068.               $xfer += $input->readString($elem161);
  6069.               $this->columns []= $elem161;
  6070.             }
  6071.             $xfer += $input->readListEnd();
  6072.           } else {
  6073.             $xfer += $input->skip($ftype);
  6074.           }
  6075.           break;
  6076.         case 4:
  6077.           if ($ftype == TType::I64) {
  6078.             $xfer += $input->readI64($this->timestamp);
  6079.           } else {
  6080.             $xfer += $input->skip($ftype);
  6081.           }
  6082.           break;
  6083.         case 5:
  6084.           if ($ftype == TType::MAP) {
  6085.             $this->attributes = array();
  6086.             $_size162 = 0;
  6087.             $_ktype163 = 0;
  6088.             $_vtype164 = 0;
  6089.             $xfer += $input->readMapBegin($_ktype163, $_vtype164, $_size162);
  6090.             for ($_i166 = 0; $_i166 < $_size162; ++$_i166)
  6091.             {
  6092.               $key167 = '';
  6093.               $val168 = '';
  6094.               $xfer += $input->readString($key167);
  6095.               $xfer += $input->readString($val168);
  6096.               $this->attributes[$key167] = $val168;
  6097.             }
  6098.             $xfer += $input->readMapEnd();
  6099.           } else {
  6100.             $xfer += $input->skip($ftype);
  6101.           }
  6102.           break;
  6103.         default:
  6104.           $xfer += $input->skip($ftype);
  6105.           break;
  6106.       }
  6107.       $xfer += $input->readFieldEnd();
  6108.     }
  6109.     $xfer += $input->readStructEnd();
  6110.     return $xfer;
  6111.   }
  6112.  
  6113.   public function write($output) {
  6114.     $xfer = 0;
  6115.     $xfer += $output->writeStructBegin('Hbase_getRowWithColumnsTs_args');
  6116.     if ($this->tableName !== null) {
  6117.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  6118.       $xfer += $output->writeString($this->tableName);
  6119.       $xfer += $output->writeFieldEnd();
  6120.     }
  6121.     if ($this->row !== null) {
  6122.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  6123.       $xfer += $output->writeString($this->row);
  6124.       $xfer += $output->writeFieldEnd();
  6125.     }
  6126.     if ($this->columns !== null) {
  6127.       if (!is_array($this->columns)) {
  6128.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  6129.       }
  6130.       $xfer += $output->writeFieldBegin('columns', TType::LST, 3);
  6131.       {
  6132.         $output->writeListBegin(TType::STRING, count($this->columns));
  6133.         {
  6134.           foreach ($this->columns as $iter169)
  6135.           {
  6136.             $xfer += $output->writeString($iter169);
  6137.           }
  6138.         }
  6139.         $output->writeListEnd();
  6140.       }
  6141.       $xfer += $output->writeFieldEnd();
  6142.     }
  6143.     if ($this->timestamp !== null) {
  6144.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 4);
  6145.       $xfer += $output->writeI64($this->timestamp);
  6146.       $xfer += $output->writeFieldEnd();
  6147.     }
  6148.     if ($this->attributes !== null) {
  6149.       if (!is_array($this->attributes)) {
  6150.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  6151.       }
  6152.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 5);
  6153.       {
  6154.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  6155.         {
  6156.           foreach ($this->attributes as $kiter170 => $viter171)
  6157.           {
  6158.             $xfer += $output->writeString($kiter170);
  6159.             $xfer += $output->writeString($viter171);
  6160.           }
  6161.         }
  6162.         $output->writeMapEnd();
  6163.       }
  6164.       $xfer += $output->writeFieldEnd();
  6165.     }
  6166.     $xfer += $output->writeFieldStop();
  6167.     $xfer += $output->writeStructEnd();
  6168.     return $xfer;
  6169.   }
  6170.  
  6171. }
  6172.  
  6173. class Hbase_getRowWithColumnsTs_result {
  6174.   static $_TSPEC;
  6175.  
  6176.   public $success = null;
  6177.   public $io = null;
  6178.  
  6179.   public function __construct($vals=null) {
  6180.     if (!isset(self::$_TSPEC)) {
  6181.       self::$_TSPEC = array(
  6182.         0 => array(
  6183.           'var' => 'success',
  6184.           'type' => TType::LST,
  6185.           'etype' => TType::STRUCT,
  6186.           'elem' => array(
  6187.             'type' => TType::STRUCT,
  6188.             'class' => '\Hbase\TRowResult',
  6189.             ),
  6190.           ),
  6191.         1 => array(
  6192.           'var' => 'io',
  6193.           'type' => TType::STRUCT,
  6194.           'class' => '\Hbase\IOError',
  6195.           ),
  6196.         );
  6197.     }
  6198.     if (is_array($vals)) {
  6199.       if (isset($vals['success'])) {
  6200.         $this->success = $vals['success'];
  6201.       }
  6202.       if (isset($vals['io'])) {
  6203.         $this->io = $vals['io'];
  6204.       }
  6205.     }
  6206.   }
  6207.  
  6208.   public function getName() {
  6209.     return 'Hbase_getRowWithColumnsTs_result';
  6210.   }
  6211.  
  6212.   public function read($input)
  6213.   {
  6214.     $xfer = 0;
  6215.     $fname = null;
  6216.     $ftype = 0;
  6217.     $fid = 0;
  6218.     $xfer += $input->readStructBegin($fname);
  6219.     while (true)
  6220.     {
  6221.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  6222.       if ($ftype == TType::STOP) {
  6223.         break;
  6224.       }
  6225.       switch ($fid)
  6226.       {
  6227.         case 0:
  6228.           if ($ftype == TType::LST) {
  6229.             $this->success = array();
  6230.             $_size172 = 0;
  6231.             $_etype175 = 0;
  6232.             $xfer += $input->readListBegin($_etype175, $_size172);
  6233.             for ($_i176 = 0; $_i176 < $_size172; ++$_i176)
  6234.             {
  6235.               $elem177 = null;
  6236.               $elem177 = new \Hbase\TRowResult();
  6237.               $xfer += $elem177->read($input);
  6238.               $this->success []= $elem177;
  6239.             }
  6240.             $xfer += $input->readListEnd();
  6241.           } else {
  6242.             $xfer += $input->skip($ftype);
  6243.           }
  6244.           break;
  6245.         case 1:
  6246.           if ($ftype == TType::STRUCT) {
  6247.             $this->io = new \Hbase\IOError();
  6248.             $xfer += $this->io->read($input);
  6249.           } else {
  6250.             $xfer += $input->skip($ftype);
  6251.           }
  6252.           break;
  6253.         default:
  6254.           $xfer += $input->skip($ftype);
  6255.           break;
  6256.       }
  6257.       $xfer += $input->readFieldEnd();
  6258.     }
  6259.     $xfer += $input->readStructEnd();
  6260.     return $xfer;
  6261.   }
  6262.  
  6263.   public function write($output) {
  6264.     $xfer = 0;
  6265.     $xfer += $output->writeStructBegin('Hbase_getRowWithColumnsTs_result');
  6266.     if ($this->success !== null) {
  6267.       if (!is_array($this->success)) {
  6268.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  6269.       }
  6270.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  6271.       {
  6272.         $output->writeListBegin(TType::STRUCT, count($this->success));
  6273.         {
  6274.           foreach ($this->success as $iter178)
  6275.           {
  6276.             $xfer += $iter178->write($output);
  6277.           }
  6278.         }
  6279.         $output->writeListEnd();
  6280.       }
  6281.       $xfer += $output->writeFieldEnd();
  6282.     }
  6283.     if ($this->io !== null) {
  6284.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  6285.       $xfer += $this->io->write($output);
  6286.       $xfer += $output->writeFieldEnd();
  6287.     }
  6288.     $xfer += $output->writeFieldStop();
  6289.     $xfer += $output->writeStructEnd();
  6290.     return $xfer;
  6291.   }
  6292.  
  6293. }
  6294.  
  6295. class Hbase_getRows_args {
  6296.   static $_TSPEC;
  6297.  
  6298.   public $tableName = null;
  6299.   public $rows = null;
  6300.   public $attributes = null;
  6301.  
  6302.   public function __construct($vals=null) {
  6303.     if (!isset(self::$_TSPEC)) {
  6304.       self::$_TSPEC = array(
  6305.         1 => array(
  6306.           'var' => 'tableName',
  6307.           'type' => TType::STRING,
  6308.           ),
  6309.         2 => array(
  6310.           'var' => 'rows',
  6311.           'type' => TType::LST,
  6312.           'etype' => TType::STRING,
  6313.           'elem' => array(
  6314.             'type' => TType::STRING,
  6315.             ),
  6316.           ),
  6317.         3 => array(
  6318.           'var' => 'attributes',
  6319.           'type' => TType::MAP,
  6320.           'ktype' => TType::STRING,
  6321.           'vtype' => TType::STRING,
  6322.           'key' => array(
  6323.             'type' => TType::STRING,
  6324.           ),
  6325.           'val' => array(
  6326.             'type' => TType::STRING,
  6327.             ),
  6328.           ),
  6329.         );
  6330.     }
  6331.     if (is_array($vals)) {
  6332.       if (isset($vals['tableName'])) {
  6333.         $this->tableName = $vals['tableName'];
  6334.       }
  6335.       if (isset($vals['rows'])) {
  6336.         $this->rows = $vals['rows'];
  6337.       }
  6338.       if (isset($vals['attributes'])) {
  6339.         $this->attributes = $vals['attributes'];
  6340.       }
  6341.     }
  6342.   }
  6343.  
  6344.   public function getName() {
  6345.     return 'Hbase_getRows_args';
  6346.   }
  6347.  
  6348.   public function read($input)
  6349.   {
  6350.     $xfer = 0;
  6351.     $fname = null;
  6352.     $ftype = 0;
  6353.     $fid = 0;
  6354.     $xfer += $input->readStructBegin($fname);
  6355.     while (true)
  6356.     {
  6357.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  6358.       if ($ftype == TType::STOP) {
  6359.         break;
  6360.       }
  6361.       switch ($fid)
  6362.       {
  6363.         case 1:
  6364.           if ($ftype == TType::STRING) {
  6365.             $xfer += $input->readString($this->tableName);
  6366.           } else {
  6367.             $xfer += $input->skip($ftype);
  6368.           }
  6369.           break;
  6370.         case 2:
  6371.           if ($ftype == TType::LST) {
  6372.             $this->rows = array();
  6373.             $_size179 = 0;
  6374.             $_etype182 = 0;
  6375.             $xfer += $input->readListBegin($_etype182, $_size179);
  6376.             for ($_i183 = 0; $_i183 < $_size179; ++$_i183)
  6377.             {
  6378.               $elem184 = null;
  6379.               $xfer += $input->readString($elem184);
  6380.               $this->rows []= $elem184;
  6381.             }
  6382.             $xfer += $input->readListEnd();
  6383.           } else {
  6384.             $xfer += $input->skip($ftype);
  6385.           }
  6386.           break;
  6387.         case 3:
  6388.           if ($ftype == TType::MAP) {
  6389.             $this->attributes = array();
  6390.             $_size185 = 0;
  6391.             $_ktype186 = 0;
  6392.             $_vtype187 = 0;
  6393.             $xfer += $input->readMapBegin($_ktype186, $_vtype187, $_size185);
  6394.             for ($_i189 = 0; $_i189 < $_size185; ++$_i189)
  6395.             {
  6396.               $key190 = '';
  6397.               $val191 = '';
  6398.               $xfer += $input->readString($key190);
  6399.               $xfer += $input->readString($val191);
  6400.               $this->attributes[$key190] = $val191;
  6401.             }
  6402.             $xfer += $input->readMapEnd();
  6403.           } else {
  6404.             $xfer += $input->skip($ftype);
  6405.           }
  6406.           break;
  6407.         default:
  6408.           $xfer += $input->skip($ftype);
  6409.           break;
  6410.       }
  6411.       $xfer += $input->readFieldEnd();
  6412.     }
  6413.     $xfer += $input->readStructEnd();
  6414.     return $xfer;
  6415.   }
  6416.  
  6417.   public function write($output) {
  6418.     $xfer = 0;
  6419.     $xfer += $output->writeStructBegin('Hbase_getRows_args');
  6420.     if ($this->tableName !== null) {
  6421.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  6422.       $xfer += $output->writeString($this->tableName);
  6423.       $xfer += $output->writeFieldEnd();
  6424.     }
  6425.     if ($this->rows !== null) {
  6426.       if (!is_array($this->rows)) {
  6427.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  6428.       }
  6429.       $xfer += $output->writeFieldBegin('rows', TType::LST, 2);
  6430.       {
  6431.         $output->writeListBegin(TType::STRING, count($this->rows));
  6432.         {
  6433.           foreach ($this->rows as $iter192)
  6434.           {
  6435.             $xfer += $output->writeString($iter192);
  6436.           }
  6437.         }
  6438.         $output->writeListEnd();
  6439.       }
  6440.       $xfer += $output->writeFieldEnd();
  6441.     }
  6442.     if ($this->attributes !== null) {
  6443.       if (!is_array($this->attributes)) {
  6444.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  6445.       }
  6446.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 3);
  6447.       {
  6448.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  6449.         {
  6450.           foreach ($this->attributes as $kiter193 => $viter194)
  6451.           {
  6452.             $xfer += $output->writeString($kiter193);
  6453.             $xfer += $output->writeString($viter194);
  6454.           }
  6455.         }
  6456.         $output->writeMapEnd();
  6457.       }
  6458.       $xfer += $output->writeFieldEnd();
  6459.     }
  6460.     $xfer += $output->writeFieldStop();
  6461.     $xfer += $output->writeStructEnd();
  6462.     return $xfer;
  6463.   }
  6464.  
  6465. }
  6466.  
  6467. class Hbase_getRows_result {
  6468.   static $_TSPEC;
  6469.  
  6470.   public $success = null;
  6471.   public $io = null;
  6472.  
  6473.   public function __construct($vals=null) {
  6474.     if (!isset(self::$_TSPEC)) {
  6475.       self::$_TSPEC = array(
  6476.         0 => array(
  6477.           'var' => 'success',
  6478.           'type' => TType::LST,
  6479.           'etype' => TType::STRUCT,
  6480.           'elem' => array(
  6481.             'type' => TType::STRUCT,
  6482.             'class' => '\Hbase\TRowResult',
  6483.             ),
  6484.           ),
  6485.         1 => array(
  6486.           'var' => 'io',
  6487.           'type' => TType::STRUCT,
  6488.           'class' => '\Hbase\IOError',
  6489.           ),
  6490.         );
  6491.     }
  6492.     if (is_array($vals)) {
  6493.       if (isset($vals['success'])) {
  6494.         $this->success = $vals['success'];
  6495.       }
  6496.       if (isset($vals['io'])) {
  6497.         $this->io = $vals['io'];
  6498.       }
  6499.     }
  6500.   }
  6501.  
  6502.   public function getName() {
  6503.     return 'Hbase_getRows_result';
  6504.   }
  6505.  
  6506.   public function read($input)
  6507.   {
  6508.     $xfer = 0;
  6509.     $fname = null;
  6510.     $ftype = 0;
  6511.     $fid = 0;
  6512.     $xfer += $input->readStructBegin($fname);
  6513.     while (true)
  6514.     {
  6515.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  6516.       if ($ftype == TType::STOP) {
  6517.         break;
  6518.       }
  6519.       switch ($fid)
  6520.       {
  6521.         case 0:
  6522.           if ($ftype == TType::LST) {
  6523.             $this->success = array();
  6524.             $_size195 = 0;
  6525.             $_etype198 = 0;
  6526.             $xfer += $input->readListBegin($_etype198, $_size195);
  6527.             for ($_i199 = 0; $_i199 < $_size195; ++$_i199)
  6528.             {
  6529.               $elem200 = null;
  6530.               $elem200 = new \Hbase\TRowResult();
  6531.               $xfer += $elem200->read($input);
  6532.               $this->success []= $elem200;
  6533.             }
  6534.             $xfer += $input->readListEnd();
  6535.           } else {
  6536.             $xfer += $input->skip($ftype);
  6537.           }
  6538.           break;
  6539.         case 1:
  6540.           if ($ftype == TType::STRUCT) {
  6541.             $this->io = new \Hbase\IOError();
  6542.             $xfer += $this->io->read($input);
  6543.           } else {
  6544.             $xfer += $input->skip($ftype);
  6545.           }
  6546.           break;
  6547.         default:
  6548.           $xfer += $input->skip($ftype);
  6549.           break;
  6550.       }
  6551.       $xfer += $input->readFieldEnd();
  6552.     }
  6553.     $xfer += $input->readStructEnd();
  6554.     return $xfer;
  6555.   }
  6556.  
  6557.   public function write($output) {
  6558.     $xfer = 0;
  6559.     $xfer += $output->writeStructBegin('Hbase_getRows_result');
  6560.     if ($this->success !== null) {
  6561.       if (!is_array($this->success)) {
  6562.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  6563.       }
  6564.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  6565.       {
  6566.         $output->writeListBegin(TType::STRUCT, count($this->success));
  6567.         {
  6568.           foreach ($this->success as $iter201)
  6569.           {
  6570.             $xfer += $iter201->write($output);
  6571.           }
  6572.         }
  6573.         $output->writeListEnd();
  6574.       }
  6575.       $xfer += $output->writeFieldEnd();
  6576.     }
  6577.     if ($this->io !== null) {
  6578.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  6579.       $xfer += $this->io->write($output);
  6580.       $xfer += $output->writeFieldEnd();
  6581.     }
  6582.     $xfer += $output->writeFieldStop();
  6583.     $xfer += $output->writeStructEnd();
  6584.     return $xfer;
  6585.   }
  6586.  
  6587. }
  6588.  
  6589. class Hbase_getRowsWithColumns_args {
  6590.   static $_TSPEC;
  6591.  
  6592.   public $tableName = null;
  6593.   public $rows = null;
  6594.   public $columns = null;
  6595.   public $attributes = null;
  6596.  
  6597.   public function __construct($vals=null) {
  6598.     if (!isset(self::$_TSPEC)) {
  6599.       self::$_TSPEC = array(
  6600.         1 => array(
  6601.           'var' => 'tableName',
  6602.           'type' => TType::STRING,
  6603.           ),
  6604.         2 => array(
  6605.           'var' => 'rows',
  6606.           'type' => TType::LST,
  6607.           'etype' => TType::STRING,
  6608.           'elem' => array(
  6609.             'type' => TType::STRING,
  6610.             ),
  6611.           ),
  6612.         3 => array(
  6613.           'var' => 'columns',
  6614.           'type' => TType::LST,
  6615.           'etype' => TType::STRING,
  6616.           'elem' => array(
  6617.             'type' => TType::STRING,
  6618.             ),
  6619.           ),
  6620.         4 => array(
  6621.           'var' => 'attributes',
  6622.           'type' => TType::MAP,
  6623.           'ktype' => TType::STRING,
  6624.           'vtype' => TType::STRING,
  6625.           'key' => array(
  6626.             'type' => TType::STRING,
  6627.           ),
  6628.           'val' => array(
  6629.             'type' => TType::STRING,
  6630.             ),
  6631.           ),
  6632.         );
  6633.     }
  6634.     if (is_array($vals)) {
  6635.       if (isset($vals['tableName'])) {
  6636.         $this->tableName = $vals['tableName'];
  6637.       }
  6638.       if (isset($vals['rows'])) {
  6639.         $this->rows = $vals['rows'];
  6640.       }
  6641.       if (isset($vals['columns'])) {
  6642.         $this->columns = $vals['columns'];
  6643.       }
  6644.       if (isset($vals['attributes'])) {
  6645.         $this->attributes = $vals['attributes'];
  6646.       }
  6647.     }
  6648.   }
  6649.  
  6650.   public function getName() {
  6651.     return 'Hbase_getRowsWithColumns_args';
  6652.   }
  6653.  
  6654.   public function read($input)
  6655.   {
  6656.     $xfer = 0;
  6657.     $fname = null;
  6658.     $ftype = 0;
  6659.     $fid = 0;
  6660.     $xfer += $input->readStructBegin($fname);
  6661.     while (true)
  6662.     {
  6663.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  6664.       if ($ftype == TType::STOP) {
  6665.         break;
  6666.       }
  6667.       switch ($fid)
  6668.       {
  6669.         case 1:
  6670.           if ($ftype == TType::STRING) {
  6671.             $xfer += $input->readString($this->tableName);
  6672.           } else {
  6673.             $xfer += $input->skip($ftype);
  6674.           }
  6675.           break;
  6676.         case 2:
  6677.           if ($ftype == TType::LST) {
  6678.             $this->rows = array();
  6679.             $_size202 = 0;
  6680.             $_etype205 = 0;
  6681.             $xfer += $input->readListBegin($_etype205, $_size202);
  6682.             for ($_i206 = 0; $_i206 < $_size202; ++$_i206)
  6683.             {
  6684.               $elem207 = null;
  6685.               $xfer += $input->readString($elem207);
  6686.               $this->rows []= $elem207;
  6687.             }
  6688.             $xfer += $input->readListEnd();
  6689.           } else {
  6690.             $xfer += $input->skip($ftype);
  6691.           }
  6692.           break;
  6693.         case 3:
  6694.           if ($ftype == TType::LST) {
  6695.             $this->columns = array();
  6696.             $_size208 = 0;
  6697.             $_etype211 = 0;
  6698.             $xfer += $input->readListBegin($_etype211, $_size208);
  6699.             for ($_i212 = 0; $_i212 < $_size208; ++$_i212)
  6700.             {
  6701.               $elem213 = null;
  6702.               $xfer += $input->readString($elem213);
  6703.               $this->columns []= $elem213;
  6704.             }
  6705.             $xfer += $input->readListEnd();
  6706.           } else {
  6707.             $xfer += $input->skip($ftype);
  6708.           }
  6709.           break;
  6710.         case 4:
  6711.           if ($ftype == TType::MAP) {
  6712.             $this->attributes = array();
  6713.             $_size214 = 0;
  6714.             $_ktype215 = 0;
  6715.             $_vtype216 = 0;
  6716.             $xfer += $input->readMapBegin($_ktype215, $_vtype216, $_size214);
  6717.             for ($_i218 = 0; $_i218 < $_size214; ++$_i218)
  6718.             {
  6719.               $key219 = '';
  6720.               $val220 = '';
  6721.               $xfer += $input->readString($key219);
  6722.               $xfer += $input->readString($val220);
  6723.               $this->attributes[$key219] = $val220;
  6724.             }
  6725.             $xfer += $input->readMapEnd();
  6726.           } else {
  6727.             $xfer += $input->skip($ftype);
  6728.           }
  6729.           break;
  6730.         default:
  6731.           $xfer += $input->skip($ftype);
  6732.           break;
  6733.       }
  6734.       $xfer += $input->readFieldEnd();
  6735.     }
  6736.     $xfer += $input->readStructEnd();
  6737.     return $xfer;
  6738.   }
  6739.  
  6740.   public function write($output) {
  6741.     $xfer = 0;
  6742.     $xfer += $output->writeStructBegin('Hbase_getRowsWithColumns_args');
  6743.     if ($this->tableName !== null) {
  6744.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  6745.       $xfer += $output->writeString($this->tableName);
  6746.       $xfer += $output->writeFieldEnd();
  6747.     }
  6748.     if ($this->rows !== null) {
  6749.       if (!is_array($this->rows)) {
  6750.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  6751.       }
  6752.       $xfer += $output->writeFieldBegin('rows', TType::LST, 2);
  6753.       {
  6754.         $output->writeListBegin(TType::STRING, count($this->rows));
  6755.         {
  6756.           foreach ($this->rows as $iter221)
  6757.           {
  6758.             $xfer += $output->writeString($iter221);
  6759.           }
  6760.         }
  6761.         $output->writeListEnd();
  6762.       }
  6763.       $xfer += $output->writeFieldEnd();
  6764.     }
  6765.     if ($this->columns !== null) {
  6766.       if (!is_array($this->columns)) {
  6767.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  6768.       }
  6769.       $xfer += $output->writeFieldBegin('columns', TType::LST, 3);
  6770.       {
  6771.         $output->writeListBegin(TType::STRING, count($this->columns));
  6772.         {
  6773.           foreach ($this->columns as $iter222)
  6774.           {
  6775.             $xfer += $output->writeString($iter222);
  6776.           }
  6777.         }
  6778.         $output->writeListEnd();
  6779.       }
  6780.       $xfer += $output->writeFieldEnd();
  6781.     }
  6782.     if ($this->attributes !== null) {
  6783.       if (!is_array($this->attributes)) {
  6784.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  6785.       }
  6786.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  6787.       {
  6788.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  6789.         {
  6790.           foreach ($this->attributes as $kiter223 => $viter224)
  6791.           {
  6792.             $xfer += $output->writeString($kiter223);
  6793.             $xfer += $output->writeString($viter224);
  6794.           }
  6795.         }
  6796.         $output->writeMapEnd();
  6797.       }
  6798.       $xfer += $output->writeFieldEnd();
  6799.     }
  6800.     $xfer += $output->writeFieldStop();
  6801.     $xfer += $output->writeStructEnd();
  6802.     return $xfer;
  6803.   }
  6804.  
  6805. }
  6806.  
  6807. class Hbase_getRowsWithColumns_result {
  6808.   static $_TSPEC;
  6809.  
  6810.   public $success = null;
  6811.   public $io = null;
  6812.  
  6813.   public function __construct($vals=null) {
  6814.     if (!isset(self::$_TSPEC)) {
  6815.       self::$_TSPEC = array(
  6816.         0 => array(
  6817.           'var' => 'success',
  6818.           'type' => TType::LST,
  6819.           'etype' => TType::STRUCT,
  6820.           'elem' => array(
  6821.             'type' => TType::STRUCT,
  6822.             'class' => '\Hbase\TRowResult',
  6823.             ),
  6824.           ),
  6825.         1 => array(
  6826.           'var' => 'io',
  6827.           'type' => TType::STRUCT,
  6828.           'class' => '\Hbase\IOError',
  6829.           ),
  6830.         );
  6831.     }
  6832.     if (is_array($vals)) {
  6833.       if (isset($vals['success'])) {
  6834.         $this->success = $vals['success'];
  6835.       }
  6836.       if (isset($vals['io'])) {
  6837.         $this->io = $vals['io'];
  6838.       }
  6839.     }
  6840.   }
  6841.  
  6842.   public function getName() {
  6843.     return 'Hbase_getRowsWithColumns_result';
  6844.   }
  6845.  
  6846.   public function read($input)
  6847.   {
  6848.     $xfer = 0;
  6849.     $fname = null;
  6850.     $ftype = 0;
  6851.     $fid = 0;
  6852.     $xfer += $input->readStructBegin($fname);
  6853.     while (true)
  6854.     {
  6855.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  6856.       if ($ftype == TType::STOP) {
  6857.         break;
  6858.       }
  6859.       switch ($fid)
  6860.       {
  6861.         case 0:
  6862.           if ($ftype == TType::LST) {
  6863.             $this->success = array();
  6864.             $_size225 = 0;
  6865.             $_etype228 = 0;
  6866.             $xfer += $input->readListBegin($_etype228, $_size225);
  6867.             for ($_i229 = 0; $_i229 < $_size225; ++$_i229)
  6868.             {
  6869.               $elem230 = null;
  6870.               $elem230 = new \Hbase\TRowResult();
  6871.               $xfer += $elem230->read($input);
  6872.               $this->success []= $elem230;
  6873.             }
  6874.             $xfer += $input->readListEnd();
  6875.           } else {
  6876.             $xfer += $input->skip($ftype);
  6877.           }
  6878.           break;
  6879.         case 1:
  6880.           if ($ftype == TType::STRUCT) {
  6881.             $this->io = new \Hbase\IOError();
  6882.             $xfer += $this->io->read($input);
  6883.           } else {
  6884.             $xfer += $input->skip($ftype);
  6885.           }
  6886.           break;
  6887.         default:
  6888.           $xfer += $input->skip($ftype);
  6889.           break;
  6890.       }
  6891.       $xfer += $input->readFieldEnd();
  6892.     }
  6893.     $xfer += $input->readStructEnd();
  6894.     return $xfer;
  6895.   }
  6896.  
  6897.   public function write($output) {
  6898.     $xfer = 0;
  6899.     $xfer += $output->writeStructBegin('Hbase_getRowsWithColumns_result');
  6900.     if ($this->success !== null) {
  6901.       if (!is_array($this->success)) {
  6902.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  6903.       }
  6904.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  6905.       {
  6906.         $output->writeListBegin(TType::STRUCT, count($this->success));
  6907.         {
  6908.           foreach ($this->success as $iter231)
  6909.           {
  6910.             $xfer += $iter231->write($output);
  6911.           }
  6912.         }
  6913.         $output->writeListEnd();
  6914.       }
  6915.       $xfer += $output->writeFieldEnd();
  6916.     }
  6917.     if ($this->io !== null) {
  6918.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  6919.       $xfer += $this->io->write($output);
  6920.       $xfer += $output->writeFieldEnd();
  6921.     }
  6922.     $xfer += $output->writeFieldStop();
  6923.     $xfer += $output->writeStructEnd();
  6924.     return $xfer;
  6925.   }
  6926.  
  6927. }
  6928.  
  6929. class Hbase_getRowsTs_args {
  6930.   static $_TSPEC;
  6931.  
  6932.   public $tableName = null;
  6933.   public $rows = null;
  6934.   public $timestamp = null;
  6935.   public $attributes = null;
  6936.  
  6937.   public function __construct($vals=null) {
  6938.     if (!isset(self::$_TSPEC)) {
  6939.       self::$_TSPEC = array(
  6940.         1 => array(
  6941.           'var' => 'tableName',
  6942.           'type' => TType::STRING,
  6943.           ),
  6944.         2 => array(
  6945.           'var' => 'rows',
  6946.           'type' => TType::LST,
  6947.           'etype' => TType::STRING,
  6948.           'elem' => array(
  6949.             'type' => TType::STRING,
  6950.             ),
  6951.           ),
  6952.         3 => array(
  6953.           'var' => 'timestamp',
  6954.           'type' => TType::I64,
  6955.           ),
  6956.         4 => array(
  6957.           'var' => 'attributes',
  6958.           'type' => TType::MAP,
  6959.           'ktype' => TType::STRING,
  6960.           'vtype' => TType::STRING,
  6961.           'key' => array(
  6962.             'type' => TType::STRING,
  6963.           ),
  6964.           'val' => array(
  6965.             'type' => TType::STRING,
  6966.             ),
  6967.           ),
  6968.         );
  6969.     }
  6970.     if (is_array($vals)) {
  6971.       if (isset($vals['tableName'])) {
  6972.         $this->tableName = $vals['tableName'];
  6973.       }
  6974.       if (isset($vals['rows'])) {
  6975.         $this->rows = $vals['rows'];
  6976.       }
  6977.       if (isset($vals['timestamp'])) {
  6978.         $this->timestamp = $vals['timestamp'];
  6979.       }
  6980.       if (isset($vals['attributes'])) {
  6981.         $this->attributes = $vals['attributes'];
  6982.       }
  6983.     }
  6984.   }
  6985.  
  6986.   public function getName() {
  6987.     return 'Hbase_getRowsTs_args';
  6988.   }
  6989.  
  6990.   public function read($input)
  6991.   {
  6992.     $xfer = 0;
  6993.     $fname = null;
  6994.     $ftype = 0;
  6995.     $fid = 0;
  6996.     $xfer += $input->readStructBegin($fname);
  6997.     while (true)
  6998.     {
  6999.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  7000.       if ($ftype == TType::STOP) {
  7001.         break;
  7002.       }
  7003.       switch ($fid)
  7004.       {
  7005.         case 1:
  7006.           if ($ftype == TType::STRING) {
  7007.             $xfer += $input->readString($this->tableName);
  7008.           } else {
  7009.             $xfer += $input->skip($ftype);
  7010.           }
  7011.           break;
  7012.         case 2:
  7013.           if ($ftype == TType::LST) {
  7014.             $this->rows = array();
  7015.             $_size232 = 0;
  7016.             $_etype235 = 0;
  7017.             $xfer += $input->readListBegin($_etype235, $_size232);
  7018.             for ($_i236 = 0; $_i236 < $_size232; ++$_i236)
  7019.             {
  7020.               $elem237 = null;
  7021.               $xfer += $input->readString($elem237);
  7022.               $this->rows []= $elem237;
  7023.             }
  7024.             $xfer += $input->readListEnd();
  7025.           } else {
  7026.             $xfer += $input->skip($ftype);
  7027.           }
  7028.           break;
  7029.         case 3:
  7030.           if ($ftype == TType::I64) {
  7031.             $xfer += $input->readI64($this->timestamp);
  7032.           } else {
  7033.             $xfer += $input->skip($ftype);
  7034.           }
  7035.           break;
  7036.         case 4:
  7037.           if ($ftype == TType::MAP) {
  7038.             $this->attributes = array();
  7039.             $_size238 = 0;
  7040.             $_ktype239 = 0;
  7041.             $_vtype240 = 0;
  7042.             $xfer += $input->readMapBegin($_ktype239, $_vtype240, $_size238);
  7043.             for ($_i242 = 0; $_i242 < $_size238; ++$_i242)
  7044.             {
  7045.               $key243 = '';
  7046.               $val244 = '';
  7047.               $xfer += $input->readString($key243);
  7048.               $xfer += $input->readString($val244);
  7049.               $this->attributes[$key243] = $val244;
  7050.             }
  7051.             $xfer += $input->readMapEnd();
  7052.           } else {
  7053.             $xfer += $input->skip($ftype);
  7054.           }
  7055.           break;
  7056.         default:
  7057.           $xfer += $input->skip($ftype);
  7058.           break;
  7059.       }
  7060.       $xfer += $input->readFieldEnd();
  7061.     }
  7062.     $xfer += $input->readStructEnd();
  7063.     return $xfer;
  7064.   }
  7065.  
  7066.   public function write($output) {
  7067.     $xfer = 0;
  7068.     $xfer += $output->writeStructBegin('Hbase_getRowsTs_args');
  7069.     if ($this->tableName !== null) {
  7070.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  7071.       $xfer += $output->writeString($this->tableName);
  7072.       $xfer += $output->writeFieldEnd();
  7073.     }
  7074.     if ($this->rows !== null) {
  7075.       if (!is_array($this->rows)) {
  7076.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  7077.       }
  7078.       $xfer += $output->writeFieldBegin('rows', TType::LST, 2);
  7079.       {
  7080.         $output->writeListBegin(TType::STRING, count($this->rows));
  7081.         {
  7082.           foreach ($this->rows as $iter245)
  7083.           {
  7084.             $xfer += $output->writeString($iter245);
  7085.           }
  7086.         }
  7087.         $output->writeListEnd();
  7088.       }
  7089.       $xfer += $output->writeFieldEnd();
  7090.     }
  7091.     if ($this->timestamp !== null) {
  7092.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 3);
  7093.       $xfer += $output->writeI64($this->timestamp);
  7094.       $xfer += $output->writeFieldEnd();
  7095.     }
  7096.     if ($this->attributes !== null) {
  7097.       if (!is_array($this->attributes)) {
  7098.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  7099.       }
  7100.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  7101.       {
  7102.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  7103.         {
  7104.           foreach ($this->attributes as $kiter246 => $viter247)
  7105.           {
  7106.             $xfer += $output->writeString($kiter246);
  7107.             $xfer += $output->writeString($viter247);
  7108.           }
  7109.         }
  7110.         $output->writeMapEnd();
  7111.       }
  7112.       $xfer += $output->writeFieldEnd();
  7113.     }
  7114.     $xfer += $output->writeFieldStop();
  7115.     $xfer += $output->writeStructEnd();
  7116.     return $xfer;
  7117.   }
  7118.  
  7119. }
  7120.  
  7121. class Hbase_getRowsTs_result {
  7122.   static $_TSPEC;
  7123.  
  7124.   public $success = null;
  7125.   public $io = null;
  7126.  
  7127.   public function __construct($vals=null) {
  7128.     if (!isset(self::$_TSPEC)) {
  7129.       self::$_TSPEC = array(
  7130.         0 => array(
  7131.           'var' => 'success',
  7132.           'type' => TType::LST,
  7133.           'etype' => TType::STRUCT,
  7134.           'elem' => array(
  7135.             'type' => TType::STRUCT,
  7136.             'class' => '\Hbase\TRowResult',
  7137.             ),
  7138.           ),
  7139.         1 => array(
  7140.           'var' => 'io',
  7141.           'type' => TType::STRUCT,
  7142.           'class' => '\Hbase\IOError',
  7143.           ),
  7144.         );
  7145.     }
  7146.     if (is_array($vals)) {
  7147.       if (isset($vals['success'])) {
  7148.         $this->success = $vals['success'];
  7149.       }
  7150.       if (isset($vals['io'])) {
  7151.         $this->io = $vals['io'];
  7152.       }
  7153.     }
  7154.   }
  7155.  
  7156.   public function getName() {
  7157.     return 'Hbase_getRowsTs_result';
  7158.   }
  7159.  
  7160.   public function read($input)
  7161.   {
  7162.     $xfer = 0;
  7163.     $fname = null;
  7164.     $ftype = 0;
  7165.     $fid = 0;
  7166.     $xfer += $input->readStructBegin($fname);
  7167.     while (true)
  7168.     {
  7169.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  7170.       if ($ftype == TType::STOP) {
  7171.         break;
  7172.       }
  7173.       switch ($fid)
  7174.       {
  7175.         case 0:
  7176.           if ($ftype == TType::LST) {
  7177.             $this->success = array();
  7178.             $_size248 = 0;
  7179.             $_etype251 = 0;
  7180.             $xfer += $input->readListBegin($_etype251, $_size248);
  7181.             for ($_i252 = 0; $_i252 < $_size248; ++$_i252)
  7182.             {
  7183.               $elem253 = null;
  7184.               $elem253 = new \Hbase\TRowResult();
  7185.               $xfer += $elem253->read($input);
  7186.               $this->success []= $elem253;
  7187.             }
  7188.             $xfer += $input->readListEnd();
  7189.           } else {
  7190.             $xfer += $input->skip($ftype);
  7191.           }
  7192.           break;
  7193.         case 1:
  7194.           if ($ftype == TType::STRUCT) {
  7195.             $this->io = new \Hbase\IOError();
  7196.             $xfer += $this->io->read($input);
  7197.           } else {
  7198.             $xfer += $input->skip($ftype);
  7199.           }
  7200.           break;
  7201.         default:
  7202.           $xfer += $input->skip($ftype);
  7203.           break;
  7204.       }
  7205.       $xfer += $input->readFieldEnd();
  7206.     }
  7207.     $xfer += $input->readStructEnd();
  7208.     return $xfer;
  7209.   }
  7210.  
  7211.   public function write($output) {
  7212.     $xfer = 0;
  7213.     $xfer += $output->writeStructBegin('Hbase_getRowsTs_result');
  7214.     if ($this->success !== null) {
  7215.       if (!is_array($this->success)) {
  7216.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  7217.       }
  7218.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  7219.       {
  7220.         $output->writeListBegin(TType::STRUCT, count($this->success));
  7221.         {
  7222.           foreach ($this->success as $iter254)
  7223.           {
  7224.             $xfer += $iter254->write($output);
  7225.           }
  7226.         }
  7227.         $output->writeListEnd();
  7228.       }
  7229.       $xfer += $output->writeFieldEnd();
  7230.     }
  7231.     if ($this->io !== null) {
  7232.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  7233.       $xfer += $this->io->write($output);
  7234.       $xfer += $output->writeFieldEnd();
  7235.     }
  7236.     $xfer += $output->writeFieldStop();
  7237.     $xfer += $output->writeStructEnd();
  7238.     return $xfer;
  7239.   }
  7240.  
  7241. }
  7242.  
  7243. class Hbase_getRowsWithColumnsTs_args {
  7244.   static $_TSPEC;
  7245.  
  7246.   public $tableName = null;
  7247.   public $rows = null;
  7248.   public $columns = null;
  7249.   public $timestamp = null;
  7250.   public $attributes = null;
  7251.  
  7252.   public function __construct($vals=null) {
  7253.     if (!isset(self::$_TSPEC)) {
  7254.       self::$_TSPEC = array(
  7255.         1 => array(
  7256.           'var' => 'tableName',
  7257.           'type' => TType::STRING,
  7258.           ),
  7259.         2 => array(
  7260.           'var' => 'rows',
  7261.           'type' => TType::LST,
  7262.           'etype' => TType::STRING,
  7263.           'elem' => array(
  7264.             'type' => TType::STRING,
  7265.             ),
  7266.           ),
  7267.         3 => array(
  7268.           'var' => 'columns',
  7269.           'type' => TType::LST,
  7270.           'etype' => TType::STRING,
  7271.           'elem' => array(
  7272.             'type' => TType::STRING,
  7273.             ),
  7274.           ),
  7275.         4 => array(
  7276.           'var' => 'timestamp',
  7277.           'type' => TType::I64,
  7278.           ),
  7279.         5 => array(
  7280.           'var' => 'attributes',
  7281.           'type' => TType::MAP,
  7282.           'ktype' => TType::STRING,
  7283.           'vtype' => TType::STRING,
  7284.           'key' => array(
  7285.             'type' => TType::STRING,
  7286.           ),
  7287.           'val' => array(
  7288.             'type' => TType::STRING,
  7289.             ),
  7290.           ),
  7291.         );
  7292.     }
  7293.     if (is_array($vals)) {
  7294.       if (isset($vals['tableName'])) {
  7295.         $this->tableName = $vals['tableName'];
  7296.       }
  7297.       if (isset($vals['rows'])) {
  7298.         $this->rows = $vals['rows'];
  7299.       }
  7300.       if (isset($vals['columns'])) {
  7301.         $this->columns = $vals['columns'];
  7302.       }
  7303.       if (isset($vals['timestamp'])) {
  7304.         $this->timestamp = $vals['timestamp'];
  7305.       }
  7306.       if (isset($vals['attributes'])) {
  7307.         $this->attributes = $vals['attributes'];
  7308.       }
  7309.     }
  7310.   }
  7311.  
  7312.   public function getName() {
  7313.     return 'Hbase_getRowsWithColumnsTs_args';
  7314.   }
  7315.  
  7316.   public function read($input)
  7317.   {
  7318.     $xfer = 0;
  7319.     $fname = null;
  7320.     $ftype = 0;
  7321.     $fid = 0;
  7322.     $xfer += $input->readStructBegin($fname);
  7323.     while (true)
  7324.     {
  7325.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  7326.       if ($ftype == TType::STOP) {
  7327.         break;
  7328.       }
  7329.       switch ($fid)
  7330.       {
  7331.         case 1:
  7332.           if ($ftype == TType::STRING) {
  7333.             $xfer += $input->readString($this->tableName);
  7334.           } else {
  7335.             $xfer += $input->skip($ftype);
  7336.           }
  7337.           break;
  7338.         case 2:
  7339.           if ($ftype == TType::LST) {
  7340.             $this->rows = array();
  7341.             $_size255 = 0;
  7342.             $_etype258 = 0;
  7343.             $xfer += $input->readListBegin($_etype258, $_size255);
  7344.             for ($_i259 = 0; $_i259 < $_size255; ++$_i259)
  7345.             {
  7346.               $elem260 = null;
  7347.               $xfer += $input->readString($elem260);
  7348.               $this->rows []= $elem260;
  7349.             }
  7350.             $xfer += $input->readListEnd();
  7351.           } else {
  7352.             $xfer += $input->skip($ftype);
  7353.           }
  7354.           break;
  7355.         case 3:
  7356.           if ($ftype == TType::LST) {
  7357.             $this->columns = array();
  7358.             $_size261 = 0;
  7359.             $_etype264 = 0;
  7360.             $xfer += $input->readListBegin($_etype264, $_size261);
  7361.             for ($_i265 = 0; $_i265 < $_size261; ++$_i265)
  7362.             {
  7363.               $elem266 = null;
  7364.               $xfer += $input->readString($elem266);
  7365.               $this->columns []= $elem266;
  7366.             }
  7367.             $xfer += $input->readListEnd();
  7368.           } else {
  7369.             $xfer += $input->skip($ftype);
  7370.           }
  7371.           break;
  7372.         case 4:
  7373.           if ($ftype == TType::I64) {
  7374.             $xfer += $input->readI64($this->timestamp);
  7375.           } else {
  7376.             $xfer += $input->skip($ftype);
  7377.           }
  7378.           break;
  7379.         case 5:
  7380.           if ($ftype == TType::MAP) {
  7381.             $this->attributes = array();
  7382.             $_size267 = 0;
  7383.             $_ktype268 = 0;
  7384.             $_vtype269 = 0;
  7385.             $xfer += $input->readMapBegin($_ktype268, $_vtype269, $_size267);
  7386.             for ($_i271 = 0; $_i271 < $_size267; ++$_i271)
  7387.             {
  7388.               $key272 = '';
  7389.               $val273 = '';
  7390.               $xfer += $input->readString($key272);
  7391.               $xfer += $input->readString($val273);
  7392.               $this->attributes[$key272] = $val273;
  7393.             }
  7394.             $xfer += $input->readMapEnd();
  7395.           } else {
  7396.             $xfer += $input->skip($ftype);
  7397.           }
  7398.           break;
  7399.         default:
  7400.           $xfer += $input->skip($ftype);
  7401.           break;
  7402.       }
  7403.       $xfer += $input->readFieldEnd();
  7404.     }
  7405.     $xfer += $input->readStructEnd();
  7406.     return $xfer;
  7407.   }
  7408.  
  7409.   public function write($output) {
  7410.     $xfer = 0;
  7411.     $xfer += $output->writeStructBegin('Hbase_getRowsWithColumnsTs_args');
  7412.     if ($this->tableName !== null) {
  7413.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  7414.       $xfer += $output->writeString($this->tableName);
  7415.       $xfer += $output->writeFieldEnd();
  7416.     }
  7417.     if ($this->rows !== null) {
  7418.       if (!is_array($this->rows)) {
  7419.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  7420.       }
  7421.       $xfer += $output->writeFieldBegin('rows', TType::LST, 2);
  7422.       {
  7423.         $output->writeListBegin(TType::STRING, count($this->rows));
  7424.         {
  7425.           foreach ($this->rows as $iter274)
  7426.           {
  7427.             $xfer += $output->writeString($iter274);
  7428.           }
  7429.         }
  7430.         $output->writeListEnd();
  7431.       }
  7432.       $xfer += $output->writeFieldEnd();
  7433.     }
  7434.     if ($this->columns !== null) {
  7435.       if (!is_array($this->columns)) {
  7436.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  7437.       }
  7438.       $xfer += $output->writeFieldBegin('columns', TType::LST, 3);
  7439.       {
  7440.         $output->writeListBegin(TType::STRING, count($this->columns));
  7441.         {
  7442.           foreach ($this->columns as $iter275)
  7443.           {
  7444.             $xfer += $output->writeString($iter275);
  7445.           }
  7446.         }
  7447.         $output->writeListEnd();
  7448.       }
  7449.       $xfer += $output->writeFieldEnd();
  7450.     }
  7451.     if ($this->timestamp !== null) {
  7452.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 4);
  7453.       $xfer += $output->writeI64($this->timestamp);
  7454.       $xfer += $output->writeFieldEnd();
  7455.     }
  7456.     if ($this->attributes !== null) {
  7457.       if (!is_array($this->attributes)) {
  7458.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  7459.       }
  7460.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 5);
  7461.       {
  7462.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  7463.         {
  7464.           foreach ($this->attributes as $kiter276 => $viter277)
  7465.           {
  7466.             $xfer += $output->writeString($kiter276);
  7467.             $xfer += $output->writeString($viter277);
  7468.           }
  7469.         }
  7470.         $output->writeMapEnd();
  7471.       }
  7472.       $xfer += $output->writeFieldEnd();
  7473.     }
  7474.     $xfer += $output->writeFieldStop();
  7475.     $xfer += $output->writeStructEnd();
  7476.     return $xfer;
  7477.   }
  7478.  
  7479. }
  7480.  
  7481. class Hbase_getRowsWithColumnsTs_result {
  7482.   static $_TSPEC;
  7483.  
  7484.   public $success = null;
  7485.   public $io = null;
  7486.  
  7487.   public function __construct($vals=null) {
  7488.     if (!isset(self::$_TSPEC)) {
  7489.       self::$_TSPEC = array(
  7490.         0 => array(
  7491.           'var' => 'success',
  7492.           'type' => TType::LST,
  7493.           'etype' => TType::STRUCT,
  7494.           'elem' => array(
  7495.             'type' => TType::STRUCT,
  7496.             'class' => '\Hbase\TRowResult',
  7497.             ),
  7498.           ),
  7499.         1 => array(
  7500.           'var' => 'io',
  7501.           'type' => TType::STRUCT,
  7502.           'class' => '\Hbase\IOError',
  7503.           ),
  7504.         );
  7505.     }
  7506.     if (is_array($vals)) {
  7507.       if (isset($vals['success'])) {
  7508.         $this->success = $vals['success'];
  7509.       }
  7510.       if (isset($vals['io'])) {
  7511.         $this->io = $vals['io'];
  7512.       }
  7513.     }
  7514.   }
  7515.  
  7516.   public function getName() {
  7517.     return 'Hbase_getRowsWithColumnsTs_result';
  7518.   }
  7519.  
  7520.   public function read($input)
  7521.   {
  7522.     $xfer = 0;
  7523.     $fname = null;
  7524.     $ftype = 0;
  7525.     $fid = 0;
  7526.     $xfer += $input->readStructBegin($fname);
  7527.     while (true)
  7528.     {
  7529.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  7530.       if ($ftype == TType::STOP) {
  7531.         break;
  7532.       }
  7533.       switch ($fid)
  7534.       {
  7535.         case 0:
  7536.           if ($ftype == TType::LST) {
  7537.             $this->success = array();
  7538.             $_size278 = 0;
  7539.             $_etype281 = 0;
  7540.             $xfer += $input->readListBegin($_etype281, $_size278);
  7541.             for ($_i282 = 0; $_i282 < $_size278; ++$_i282)
  7542.             {
  7543.               $elem283 = null;
  7544.               $elem283 = new \Hbase\TRowResult();
  7545.               $xfer += $elem283->read($input);
  7546.               $this->success []= $elem283;
  7547.             }
  7548.             $xfer += $input->readListEnd();
  7549.           } else {
  7550.             $xfer += $input->skip($ftype);
  7551.           }
  7552.           break;
  7553.         case 1:
  7554.           if ($ftype == TType::STRUCT) {
  7555.             $this->io = new \Hbase\IOError();
  7556.             $xfer += $this->io->read($input);
  7557.           } else {
  7558.             $xfer += $input->skip($ftype);
  7559.           }
  7560.           break;
  7561.         default:
  7562.           $xfer += $input->skip($ftype);
  7563.           break;
  7564.       }
  7565.       $xfer += $input->readFieldEnd();
  7566.     }
  7567.     $xfer += $input->readStructEnd();
  7568.     return $xfer;
  7569.   }
  7570.  
  7571.   public function write($output) {
  7572.     $xfer = 0;
  7573.     $xfer += $output->writeStructBegin('Hbase_getRowsWithColumnsTs_result');
  7574.     if ($this->success !== null) {
  7575.       if (!is_array($this->success)) {
  7576.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  7577.       }
  7578.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  7579.       {
  7580.         $output->writeListBegin(TType::STRUCT, count($this->success));
  7581.         {
  7582.           foreach ($this->success as $iter284)
  7583.           {
  7584.             $xfer += $iter284->write($output);
  7585.           }
  7586.         }
  7587.         $output->writeListEnd();
  7588.       }
  7589.       $xfer += $output->writeFieldEnd();
  7590.     }
  7591.     if ($this->io !== null) {
  7592.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  7593.       $xfer += $this->io->write($output);
  7594.       $xfer += $output->writeFieldEnd();
  7595.     }
  7596.     $xfer += $output->writeFieldStop();
  7597.     $xfer += $output->writeStructEnd();
  7598.     return $xfer;
  7599.   }
  7600.  
  7601. }
  7602.  
  7603. class Hbase_mutateRow_args {
  7604.   static $_TSPEC;
  7605.  
  7606.   public $tableName = null;
  7607.   public $row = null;
  7608.   public $mutations = null;
  7609.   public $attributes = null;
  7610.  
  7611.   public function __construct($vals=null) {
  7612.     if (!isset(self::$_TSPEC)) {
  7613.       self::$_TSPEC = array(
  7614.         1 => array(
  7615.           'var' => 'tableName',
  7616.           'type' => TType::STRING,
  7617.           ),
  7618.         2 => array(
  7619.           'var' => 'row',
  7620.           'type' => TType::STRING,
  7621.           ),
  7622.         3 => array(
  7623.           'var' => 'mutations',
  7624.           'type' => TType::LST,
  7625.           'etype' => TType::STRUCT,
  7626.           'elem' => array(
  7627.             'type' => TType::STRUCT,
  7628.             'class' => '\Hbase\Mutation',
  7629.             ),
  7630.           ),
  7631.         4 => array(
  7632.           'var' => 'attributes',
  7633.           'type' => TType::MAP,
  7634.           'ktype' => TType::STRING,
  7635.           'vtype' => TType::STRING,
  7636.           'key' => array(
  7637.             'type' => TType::STRING,
  7638.           ),
  7639.           'val' => array(
  7640.             'type' => TType::STRING,
  7641.             ),
  7642.           ),
  7643.         );
  7644.     }
  7645.     if (is_array($vals)) {
  7646.       if (isset($vals['tableName'])) {
  7647.         $this->tableName = $vals['tableName'];
  7648.       }
  7649.       if (isset($vals['row'])) {
  7650.         $this->row = $vals['row'];
  7651.       }
  7652.       if (isset($vals['mutations'])) {
  7653.         $this->mutations = $vals['mutations'];
  7654.       }
  7655.       if (isset($vals['attributes'])) {
  7656.         $this->attributes = $vals['attributes'];
  7657.       }
  7658.     }
  7659.   }
  7660.  
  7661.   public function getName() {
  7662.     return 'Hbase_mutateRow_args';
  7663.   }
  7664.  
  7665.   public function read($input)
  7666.   {
  7667.     $xfer = 0;
  7668.     $fname = null;
  7669.     $ftype = 0;
  7670.     $fid = 0;
  7671.     $xfer += $input->readStructBegin($fname);
  7672.     while (true)
  7673.     {
  7674.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  7675.       if ($ftype == TType::STOP) {
  7676.         break;
  7677.       }
  7678.       switch ($fid)
  7679.       {
  7680.         case 1:
  7681.           if ($ftype == TType::STRING) {
  7682.             $xfer += $input->readString($this->tableName);
  7683.           } else {
  7684.             $xfer += $input->skip($ftype);
  7685.           }
  7686.           break;
  7687.         case 2:
  7688.           if ($ftype == TType::STRING) {
  7689.             $xfer += $input->readString($this->row);
  7690.           } else {
  7691.             $xfer += $input->skip($ftype);
  7692.           }
  7693.           break;
  7694.         case 3:
  7695.           if ($ftype == TType::LST) {
  7696.             $this->mutations = array();
  7697.             $_size285 = 0;
  7698.             $_etype288 = 0;
  7699.             $xfer += $input->readListBegin($_etype288, $_size285);
  7700.             for ($_i289 = 0; $_i289 < $_size285; ++$_i289)
  7701.             {
  7702.               $elem290 = null;
  7703.               $elem290 = new \Hbase\Mutation();
  7704.               $xfer += $elem290->read($input);
  7705.               $this->mutations []= $elem290;
  7706.             }
  7707.             $xfer += $input->readListEnd();
  7708.           } else {
  7709.             $xfer += $input->skip($ftype);
  7710.           }
  7711.           break;
  7712.         case 4:
  7713.           if ($ftype == TType::MAP) {
  7714.             $this->attributes = array();
  7715.             $_size291 = 0;
  7716.             $_ktype292 = 0;
  7717.             $_vtype293 = 0;
  7718.             $xfer += $input->readMapBegin($_ktype292, $_vtype293, $_size291);
  7719.             for ($_i295 = 0; $_i295 < $_size291; ++$_i295)
  7720.             {
  7721.               $key296 = '';
  7722.               $val297 = '';
  7723.               $xfer += $input->readString($key296);
  7724.               $xfer += $input->readString($val297);
  7725.               $this->attributes[$key296] = $val297;
  7726.             }
  7727.             $xfer += $input->readMapEnd();
  7728.           } else {
  7729.             $xfer += $input->skip($ftype);
  7730.           }
  7731.           break;
  7732.         default:
  7733.           $xfer += $input->skip($ftype);
  7734.           break;
  7735.       }
  7736.       $xfer += $input->readFieldEnd();
  7737.     }
  7738.     $xfer += $input->readStructEnd();
  7739.     return $xfer;
  7740.   }
  7741.  
  7742.   public function write($output) {
  7743.     $xfer = 0;
  7744.     $xfer += $output->writeStructBegin('Hbase_mutateRow_args');
  7745.     if ($this->tableName !== null) {
  7746.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  7747.       $xfer += $output->writeString($this->tableName);
  7748.       $xfer += $output->writeFieldEnd();
  7749.     }
  7750.     if ($this->row !== null) {
  7751.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  7752.       $xfer += $output->writeString($this->row);
  7753.       $xfer += $output->writeFieldEnd();
  7754.     }
  7755.     if ($this->mutations !== null) {
  7756.       if (!is_array($this->mutations)) {
  7757.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  7758.       }
  7759.       $xfer += $output->writeFieldBegin('mutations', TType::LST, 3);
  7760.       {
  7761.         $output->writeListBegin(TType::STRUCT, count($this->mutations));
  7762.         {
  7763.           foreach ($this->mutations as $iter298)
  7764.           {
  7765.             $xfer += $iter298->write($output);
  7766.           }
  7767.         }
  7768.         $output->writeListEnd();
  7769.       }
  7770.       $xfer += $output->writeFieldEnd();
  7771.     }
  7772.     if ($this->attributes !== null) {
  7773.       if (!is_array($this->attributes)) {
  7774.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  7775.       }
  7776.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  7777.       {
  7778.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  7779.         {
  7780.           foreach ($this->attributes as $kiter299 => $viter300)
  7781.           {
  7782.             $xfer += $output->writeString($kiter299);
  7783.             $xfer += $output->writeString($viter300);
  7784.           }
  7785.         }
  7786.         $output->writeMapEnd();
  7787.       }
  7788.       $xfer += $output->writeFieldEnd();
  7789.     }
  7790.     $xfer += $output->writeFieldStop();
  7791.     $xfer += $output->writeStructEnd();
  7792.     return $xfer;
  7793.   }
  7794.  
  7795. }
  7796.  
  7797. class Hbase_mutateRow_result {
  7798.   static $_TSPEC;
  7799.  
  7800.   public $io = null;
  7801.   public $ia = null;
  7802.  
  7803.   public function __construct($vals=null) {
  7804.     if (!isset(self::$_TSPEC)) {
  7805.       self::$_TSPEC = array(
  7806.         1 => array(
  7807.           'var' => 'io',
  7808.           'type' => TType::STRUCT,
  7809.           'class' => '\Hbase\IOError',
  7810.           ),
  7811.         2 => array(
  7812.           'var' => 'ia',
  7813.           'type' => TType::STRUCT,
  7814.           'class' => '\Hbase\IllegalArgument',
  7815.           ),
  7816.         );
  7817.     }
  7818.     if (is_array($vals)) {
  7819.       if (isset($vals['io'])) {
  7820.         $this->io = $vals['io'];
  7821.       }
  7822.       if (isset($vals['ia'])) {
  7823.         $this->ia = $vals['ia'];
  7824.       }
  7825.     }
  7826.   }
  7827.  
  7828.   public function getName() {
  7829.     return 'Hbase_mutateRow_result';
  7830.   }
  7831.  
  7832.   public function read($input)
  7833.   {
  7834.     $xfer = 0;
  7835.     $fname = null;
  7836.     $ftype = 0;
  7837.     $fid = 0;
  7838.     $xfer += $input->readStructBegin($fname);
  7839.     while (true)
  7840.     {
  7841.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  7842.       if ($ftype == TType::STOP) {
  7843.         break;
  7844.       }
  7845.       switch ($fid)
  7846.       {
  7847.         case 1:
  7848.           if ($ftype == TType::STRUCT) {
  7849.             $this->io = new \Hbase\IOError();
  7850.             $xfer += $this->io->read($input);
  7851.           } else {
  7852.             $xfer += $input->skip($ftype);
  7853.           }
  7854.           break;
  7855.         case 2:
  7856.           if ($ftype == TType::STRUCT) {
  7857.             $this->ia = new \Hbase\IllegalArgument();
  7858.             $xfer += $this->ia->read($input);
  7859.           } else {
  7860.             $xfer += $input->skip($ftype);
  7861.           }
  7862.           break;
  7863.         default:
  7864.           $xfer += $input->skip($ftype);
  7865.           break;
  7866.       }
  7867.       $xfer += $input->readFieldEnd();
  7868.     }
  7869.     $xfer += $input->readStructEnd();
  7870.     return $xfer;
  7871.   }
  7872.  
  7873.   public function write($output) {
  7874.     $xfer = 0;
  7875.     $xfer += $output->writeStructBegin('Hbase_mutateRow_result');
  7876.     if ($this->io !== null) {
  7877.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  7878.       $xfer += $this->io->write($output);
  7879.       $xfer += $output->writeFieldEnd();
  7880.     }
  7881.     if ($this->ia !== null) {
  7882.       $xfer += $output->writeFieldBegin('ia', TType::STRUCT, 2);
  7883.       $xfer += $this->ia->write($output);
  7884.       $xfer += $output->writeFieldEnd();
  7885.     }
  7886.     $xfer += $output->writeFieldStop();
  7887.     $xfer += $output->writeStructEnd();
  7888.     return $xfer;
  7889.   }
  7890.  
  7891. }
  7892.  
  7893. class Hbase_mutateRowTs_args {
  7894.   static $_TSPEC;
  7895.  
  7896.   public $tableName = null;
  7897.   public $row = null;
  7898.   public $mutations = null;
  7899.   public $timestamp = null;
  7900.   public $attributes = null;
  7901.  
  7902.   public function __construct($vals=null) {
  7903.     if (!isset(self::$_TSPEC)) {
  7904.       self::$_TSPEC = array(
  7905.         1 => array(
  7906.           'var' => 'tableName',
  7907.           'type' => TType::STRING,
  7908.           ),
  7909.         2 => array(
  7910.           'var' => 'row',
  7911.           'type' => TType::STRING,
  7912.           ),
  7913.         3 => array(
  7914.           'var' => 'mutations',
  7915.           'type' => TType::LST,
  7916.           'etype' => TType::STRUCT,
  7917.           'elem' => array(
  7918.             'type' => TType::STRUCT,
  7919.             'class' => '\Hbase\Mutation',
  7920.             ),
  7921.           ),
  7922.         4 => array(
  7923.           'var' => 'timestamp',
  7924.           'type' => TType::I64,
  7925.           ),
  7926.         5 => array(
  7927.           'var' => 'attributes',
  7928.           'type' => TType::MAP,
  7929.           'ktype' => TType::STRING,
  7930.           'vtype' => TType::STRING,
  7931.           'key' => array(
  7932.             'type' => TType::STRING,
  7933.           ),
  7934.           'val' => array(
  7935.             'type' => TType::STRING,
  7936.             ),
  7937.           ),
  7938.         );
  7939.     }
  7940.     if (is_array($vals)) {
  7941.       if (isset($vals['tableName'])) {
  7942.         $this->tableName = $vals['tableName'];
  7943.       }
  7944.       if (isset($vals['row'])) {
  7945.         $this->row = $vals['row'];
  7946.       }
  7947.       if (isset($vals['mutations'])) {
  7948.         $this->mutations = $vals['mutations'];
  7949.       }
  7950.       if (isset($vals['timestamp'])) {
  7951.         $this->timestamp = $vals['timestamp'];
  7952.       }
  7953.       if (isset($vals['attributes'])) {
  7954.         $this->attributes = $vals['attributes'];
  7955.       }
  7956.     }
  7957.   }
  7958.  
  7959.   public function getName() {
  7960.     return 'Hbase_mutateRowTs_args';
  7961.   }
  7962.  
  7963.   public function read($input)
  7964.   {
  7965.     $xfer = 0;
  7966.     $fname = null;
  7967.     $ftype = 0;
  7968.     $fid = 0;
  7969.     $xfer += $input->readStructBegin($fname);
  7970.     while (true)
  7971.     {
  7972.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  7973.       if ($ftype == TType::STOP) {
  7974.         break;
  7975.       }
  7976.       switch ($fid)
  7977.       {
  7978.         case 1:
  7979.           if ($ftype == TType::STRING) {
  7980.             $xfer += $input->readString($this->tableName);
  7981.           } else {
  7982.             $xfer += $input->skip($ftype);
  7983.           }
  7984.           break;
  7985.         case 2:
  7986.           if ($ftype == TType::STRING) {
  7987.             $xfer += $input->readString($this->row);
  7988.           } else {
  7989.             $xfer += $input->skip($ftype);
  7990.           }
  7991.           break;
  7992.         case 3:
  7993.           if ($ftype == TType::LST) {
  7994.             $this->mutations = array();
  7995.             $_size301 = 0;
  7996.             $_etype304 = 0;
  7997.             $xfer += $input->readListBegin($_etype304, $_size301);
  7998.             for ($_i305 = 0; $_i305 < $_size301; ++$_i305)
  7999.             {
  8000.               $elem306 = null;
  8001.               $elem306 = new \Hbase\Mutation();
  8002.               $xfer += $elem306->read($input);
  8003.               $this->mutations []= $elem306;
  8004.             }
  8005.             $xfer += $input->readListEnd();
  8006.           } else {
  8007.             $xfer += $input->skip($ftype);
  8008.           }
  8009.           break;
  8010.         case 4:
  8011.           if ($ftype == TType::I64) {
  8012.             $xfer += $input->readI64($this->timestamp);
  8013.           } else {
  8014.             $xfer += $input->skip($ftype);
  8015.           }
  8016.           break;
  8017.         case 5:
  8018.           if ($ftype == TType::MAP) {
  8019.             $this->attributes = array();
  8020.             $_size307 = 0;
  8021.             $_ktype308 = 0;
  8022.             $_vtype309 = 0;
  8023.             $xfer += $input->readMapBegin($_ktype308, $_vtype309, $_size307);
  8024.             for ($_i311 = 0; $_i311 < $_size307; ++$_i311)
  8025.             {
  8026.               $key312 = '';
  8027.               $val313 = '';
  8028.               $xfer += $input->readString($key312);
  8029.               $xfer += $input->readString($val313);
  8030.               $this->attributes[$key312] = $val313;
  8031.             }
  8032.             $xfer += $input->readMapEnd();
  8033.           } else {
  8034.             $xfer += $input->skip($ftype);
  8035.           }
  8036.           break;
  8037.         default:
  8038.           $xfer += $input->skip($ftype);
  8039.           break;
  8040.       }
  8041.       $xfer += $input->readFieldEnd();
  8042.     }
  8043.     $xfer += $input->readStructEnd();
  8044.     return $xfer;
  8045.   }
  8046.  
  8047.   public function write($output) {
  8048.     $xfer = 0;
  8049.     $xfer += $output->writeStructBegin('Hbase_mutateRowTs_args');
  8050.     if ($this->tableName !== null) {
  8051.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  8052.       $xfer += $output->writeString($this->tableName);
  8053.       $xfer += $output->writeFieldEnd();
  8054.     }
  8055.     if ($this->row !== null) {
  8056.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  8057.       $xfer += $output->writeString($this->row);
  8058.       $xfer += $output->writeFieldEnd();
  8059.     }
  8060.     if ($this->mutations !== null) {
  8061.       if (!is_array($this->mutations)) {
  8062.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  8063.       }
  8064.       $xfer += $output->writeFieldBegin('mutations', TType::LST, 3);
  8065.       {
  8066.         $output->writeListBegin(TType::STRUCT, count($this->mutations));
  8067.         {
  8068.           foreach ($this->mutations as $iter314)
  8069.           {
  8070.             $xfer += $iter314->write($output);
  8071.           }
  8072.         }
  8073.         $output->writeListEnd();
  8074.       }
  8075.       $xfer += $output->writeFieldEnd();
  8076.     }
  8077.     if ($this->timestamp !== null) {
  8078.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 4);
  8079.       $xfer += $output->writeI64($this->timestamp);
  8080.       $xfer += $output->writeFieldEnd();
  8081.     }
  8082.     if ($this->attributes !== null) {
  8083.       if (!is_array($this->attributes)) {
  8084.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  8085.       }
  8086.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 5);
  8087.       {
  8088.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  8089.         {
  8090.           foreach ($this->attributes as $kiter315 => $viter316)
  8091.           {
  8092.             $xfer += $output->writeString($kiter315);
  8093.             $xfer += $output->writeString($viter316);
  8094.           }
  8095.         }
  8096.         $output->writeMapEnd();
  8097.       }
  8098.       $xfer += $output->writeFieldEnd();
  8099.     }
  8100.     $xfer += $output->writeFieldStop();
  8101.     $xfer += $output->writeStructEnd();
  8102.     return $xfer;
  8103.   }
  8104.  
  8105. }
  8106.  
  8107. class Hbase_mutateRowTs_result {
  8108.   static $_TSPEC;
  8109.  
  8110.   public $io = null;
  8111.   public $ia = null;
  8112.  
  8113.   public function __construct($vals=null) {
  8114.     if (!isset(self::$_TSPEC)) {
  8115.       self::$_TSPEC = array(
  8116.         1 => array(
  8117.           'var' => 'io',
  8118.           'type' => TType::STRUCT,
  8119.           'class' => '\Hbase\IOError',
  8120.           ),
  8121.         2 => array(
  8122.           'var' => 'ia',
  8123.           'type' => TType::STRUCT,
  8124.           'class' => '\Hbase\IllegalArgument',
  8125.           ),
  8126.         );
  8127.     }
  8128.     if (is_array($vals)) {
  8129.       if (isset($vals['io'])) {
  8130.         $this->io = $vals['io'];
  8131.       }
  8132.       if (isset($vals['ia'])) {
  8133.         $this->ia = $vals['ia'];
  8134.       }
  8135.     }
  8136.   }
  8137.  
  8138.   public function getName() {
  8139.     return 'Hbase_mutateRowTs_result';
  8140.   }
  8141.  
  8142.   public function read($input)
  8143.   {
  8144.     $xfer = 0;
  8145.     $fname = null;
  8146.     $ftype = 0;
  8147.     $fid = 0;
  8148.     $xfer += $input->readStructBegin($fname);
  8149.     while (true)
  8150.     {
  8151.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  8152.       if ($ftype == TType::STOP) {
  8153.         break;
  8154.       }
  8155.       switch ($fid)
  8156.       {
  8157.         case 1:
  8158.           if ($ftype == TType::STRUCT) {
  8159.             $this->io = new \Hbase\IOError();
  8160.             $xfer += $this->io->read($input);
  8161.           } else {
  8162.             $xfer += $input->skip($ftype);
  8163.           }
  8164.           break;
  8165.         case 2:
  8166.           if ($ftype == TType::STRUCT) {
  8167.             $this->ia = new \Hbase\IllegalArgument();
  8168.             $xfer += $this->ia->read($input);
  8169.           } else {
  8170.             $xfer += $input->skip($ftype);
  8171.           }
  8172.           break;
  8173.         default:
  8174.           $xfer += $input->skip($ftype);
  8175.           break;
  8176.       }
  8177.       $xfer += $input->readFieldEnd();
  8178.     }
  8179.     $xfer += $input->readStructEnd();
  8180.     return $xfer;
  8181.   }
  8182.  
  8183.   public function write($output) {
  8184.     $xfer = 0;
  8185.     $xfer += $output->writeStructBegin('Hbase_mutateRowTs_result');
  8186.     if ($this->io !== null) {
  8187.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  8188.       $xfer += $this->io->write($output);
  8189.       $xfer += $output->writeFieldEnd();
  8190.     }
  8191.     if ($this->ia !== null) {
  8192.       $xfer += $output->writeFieldBegin('ia', TType::STRUCT, 2);
  8193.       $xfer += $this->ia->write($output);
  8194.       $xfer += $output->writeFieldEnd();
  8195.     }
  8196.     $xfer += $output->writeFieldStop();
  8197.     $xfer += $output->writeStructEnd();
  8198.     return $xfer;
  8199.   }
  8200.  
  8201. }
  8202.  
  8203. class Hbase_mutateRows_args {
  8204.   static $_TSPEC;
  8205.  
  8206.   public $tableName = null;
  8207.   public $rowBatches = null;
  8208.   public $attributes = null;
  8209.  
  8210.   public function __construct($vals=null) {
  8211.     if (!isset(self::$_TSPEC)) {
  8212.       self::$_TSPEC = array(
  8213.         1 => array(
  8214.           'var' => 'tableName',
  8215.           'type' => TType::STRING,
  8216.           ),
  8217.         2 => array(
  8218.           'var' => 'rowBatches',
  8219.           'type' => TType::LST,
  8220.           'etype' => TType::STRUCT,
  8221.           'elem' => array(
  8222.             'type' => TType::STRUCT,
  8223.             'class' => '\Hbase\BatchMutation',
  8224.             ),
  8225.           ),
  8226.         3 => array(
  8227.           'var' => 'attributes',
  8228.           'type' => TType::MAP,
  8229.           'ktype' => TType::STRING,
  8230.           'vtype' => TType::STRING,
  8231.           'key' => array(
  8232.             'type' => TType::STRING,
  8233.           ),
  8234.           'val' => array(
  8235.             'type' => TType::STRING,
  8236.             ),
  8237.           ),
  8238.         );
  8239.     }
  8240.     if (is_array($vals)) {
  8241.       if (isset($vals['tableName'])) {
  8242.         $this->tableName = $vals['tableName'];
  8243.       }
  8244.       if (isset($vals['rowBatches'])) {
  8245.         $this->rowBatches = $vals['rowBatches'];
  8246.       }
  8247.       if (isset($vals['attributes'])) {
  8248.         $this->attributes = $vals['attributes'];
  8249.       }
  8250.     }
  8251.   }
  8252.  
  8253.   public function getName() {
  8254.     return 'Hbase_mutateRows_args';
  8255.   }
  8256.  
  8257.   public function read($input)
  8258.   {
  8259.     $xfer = 0;
  8260.     $fname = null;
  8261.     $ftype = 0;
  8262.     $fid = 0;
  8263.     $xfer += $input->readStructBegin($fname);
  8264.     while (true)
  8265.     {
  8266.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  8267.       if ($ftype == TType::STOP) {
  8268.         break;
  8269.       }
  8270.       switch ($fid)
  8271.       {
  8272.         case 1:
  8273.           if ($ftype == TType::STRING) {
  8274.             $xfer += $input->readString($this->tableName);
  8275.           } else {
  8276.             $xfer += $input->skip($ftype);
  8277.           }
  8278.           break;
  8279.         case 2:
  8280.           if ($ftype == TType::LST) {
  8281.             $this->rowBatches = array();
  8282.             $_size317 = 0;
  8283.             $_etype320 = 0;
  8284.             $xfer += $input->readListBegin($_etype320, $_size317);
  8285.             for ($_i321 = 0; $_i321 < $_size317; ++$_i321)
  8286.             {
  8287.               $elem322 = null;
  8288.               $elem322 = new \Hbase\BatchMutation();
  8289.               $xfer += $elem322->read($input);
  8290.               $this->rowBatches []= $elem322;
  8291.             }
  8292.             $xfer += $input->readListEnd();
  8293.           } else {
  8294.             $xfer += $input->skip($ftype);
  8295.           }
  8296.           break;
  8297.         case 3:
  8298.           if ($ftype == TType::MAP) {
  8299.             $this->attributes = array();
  8300.             $_size323 = 0;
  8301.             $_ktype324 = 0;
  8302.             $_vtype325 = 0;
  8303.             $xfer += $input->readMapBegin($_ktype324, $_vtype325, $_size323);
  8304.             for ($_i327 = 0; $_i327 < $_size323; ++$_i327)
  8305.             {
  8306.               $key328 = '';
  8307.               $val329 = '';
  8308.               $xfer += $input->readString($key328);
  8309.               $xfer += $input->readString($val329);
  8310.               $this->attributes[$key328] = $val329;
  8311.             }
  8312.             $xfer += $input->readMapEnd();
  8313.           } else {
  8314.             $xfer += $input->skip($ftype);
  8315.           }
  8316.           break;
  8317.         default:
  8318.           $xfer += $input->skip($ftype);
  8319.           break;
  8320.       }
  8321.       $xfer += $input->readFieldEnd();
  8322.     }
  8323.     $xfer += $input->readStructEnd();
  8324.     return $xfer;
  8325.   }
  8326.  
  8327.   public function write($output) {
  8328.     $xfer = 0;
  8329.     $xfer += $output->writeStructBegin('Hbase_mutateRows_args');
  8330.     if ($this->tableName !== null) {
  8331.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  8332.       $xfer += $output->writeString($this->tableName);
  8333.       $xfer += $output->writeFieldEnd();
  8334.     }
  8335.     if ($this->rowBatches !== null) {
  8336.       if (!is_array($this->rowBatches)) {
  8337.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  8338.       }
  8339.       $xfer += $output->writeFieldBegin('rowBatches', TType::LST, 2);
  8340.       {
  8341.         $output->writeListBegin(TType::STRUCT, count($this->rowBatches));
  8342.         {
  8343.           foreach ($this->rowBatches as $iter330)
  8344.           {
  8345.             $xfer += $iter330->write($output);
  8346.           }
  8347.         }
  8348.         $output->writeListEnd();
  8349.       }
  8350.       $xfer += $output->writeFieldEnd();
  8351.     }
  8352.     if ($this->attributes !== null) {
  8353.       if (!is_array($this->attributes)) {
  8354.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  8355.       }
  8356.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 3);
  8357.       {
  8358.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  8359.         {
  8360.           foreach ($this->attributes as $kiter331 => $viter332)
  8361.           {
  8362.             $xfer += $output->writeString($kiter331);
  8363.             $xfer += $output->writeString($viter332);
  8364.           }
  8365.         }
  8366.         $output->writeMapEnd();
  8367.       }
  8368.       $xfer += $output->writeFieldEnd();
  8369.     }
  8370.     $xfer += $output->writeFieldStop();
  8371.     $xfer += $output->writeStructEnd();
  8372.     return $xfer;
  8373.   }
  8374.  
  8375. }
  8376.  
  8377. class Hbase_mutateRows_result {
  8378.   static $_TSPEC;
  8379.  
  8380.   public $io = null;
  8381.   public $ia = null;
  8382.  
  8383.   public function __construct($vals=null) {
  8384.     if (!isset(self::$_TSPEC)) {
  8385.       self::$_TSPEC = array(
  8386.         1 => array(
  8387.           'var' => 'io',
  8388.           'type' => TType::STRUCT,
  8389.           'class' => '\Hbase\IOError',
  8390.           ),
  8391.         2 => array(
  8392.           'var' => 'ia',
  8393.           'type' => TType::STRUCT,
  8394.           'class' => '\Hbase\IllegalArgument',
  8395.           ),
  8396.         );
  8397.     }
  8398.     if (is_array($vals)) {
  8399.       if (isset($vals['io'])) {
  8400.         $this->io = $vals['io'];
  8401.       }
  8402.       if (isset($vals['ia'])) {
  8403.         $this->ia = $vals['ia'];
  8404.       }
  8405.     }
  8406.   }
  8407.  
  8408.   public function getName() {
  8409.     return 'Hbase_mutateRows_result';
  8410.   }
  8411.  
  8412.   public function read($input)
  8413.   {
  8414.     $xfer = 0;
  8415.     $fname = null;
  8416.     $ftype = 0;
  8417.     $fid = 0;
  8418.     $xfer += $input->readStructBegin($fname);
  8419.     while (true)
  8420.     {
  8421.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  8422.       if ($ftype == TType::STOP) {
  8423.         break;
  8424.       }
  8425.       switch ($fid)
  8426.       {
  8427.         case 1:
  8428.           if ($ftype == TType::STRUCT) {
  8429.             $this->io = new \Hbase\IOError();
  8430.             $xfer += $this->io->read($input);
  8431.           } else {
  8432.             $xfer += $input->skip($ftype);
  8433.           }
  8434.           break;
  8435.         case 2:
  8436.           if ($ftype == TType::STRUCT) {
  8437.             $this->ia = new \Hbase\IllegalArgument();
  8438.             $xfer += $this->ia->read($input);
  8439.           } else {
  8440.             $xfer += $input->skip($ftype);
  8441.           }
  8442.           break;
  8443.         default:
  8444.           $xfer += $input->skip($ftype);
  8445.           break;
  8446.       }
  8447.       $xfer += $input->readFieldEnd();
  8448.     }
  8449.     $xfer += $input->readStructEnd();
  8450.     return $xfer;
  8451.   }
  8452.  
  8453.   public function write($output) {
  8454.     $xfer = 0;
  8455.     $xfer += $output->writeStructBegin('Hbase_mutateRows_result');
  8456.     if ($this->io !== null) {
  8457.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  8458.       $xfer += $this->io->write($output);
  8459.       $xfer += $output->writeFieldEnd();
  8460.     }
  8461.     if ($this->ia !== null) {
  8462.       $xfer += $output->writeFieldBegin('ia', TType::STRUCT, 2);
  8463.       $xfer += $this->ia->write($output);
  8464.       $xfer += $output->writeFieldEnd();
  8465.     }
  8466.     $xfer += $output->writeFieldStop();
  8467.     $xfer += $output->writeStructEnd();
  8468.     return $xfer;
  8469.   }
  8470.  
  8471. }
  8472.  
  8473. class Hbase_mutateRowsTs_args {
  8474.   static $_TSPEC;
  8475.  
  8476.   public $tableName = null;
  8477.   public $rowBatches = null;
  8478.   public $timestamp = null;
  8479.   public $attributes = null;
  8480.  
  8481.   public function __construct($vals=null) {
  8482.     if (!isset(self::$_TSPEC)) {
  8483.       self::$_TSPEC = array(
  8484.         1 => array(
  8485.           'var' => 'tableName',
  8486.           'type' => TType::STRING,
  8487.           ),
  8488.         2 => array(
  8489.           'var' => 'rowBatches',
  8490.           'type' => TType::LST,
  8491.           'etype' => TType::STRUCT,
  8492.           'elem' => array(
  8493.             'type' => TType::STRUCT,
  8494.             'class' => '\Hbase\BatchMutation',
  8495.             ),
  8496.           ),
  8497.         3 => array(
  8498.           'var' => 'timestamp',
  8499.           'type' => TType::I64,
  8500.           ),
  8501.         4 => array(
  8502.           'var' => 'attributes',
  8503.           'type' => TType::MAP,
  8504.           'ktype' => TType::STRING,
  8505.           'vtype' => TType::STRING,
  8506.           'key' => array(
  8507.             'type' => TType::STRING,
  8508.           ),
  8509.           'val' => array(
  8510.             'type' => TType::STRING,
  8511.             ),
  8512.           ),
  8513.         );
  8514.     }
  8515.     if (is_array($vals)) {
  8516.       if (isset($vals['tableName'])) {
  8517.         $this->tableName = $vals['tableName'];
  8518.       }
  8519.       if (isset($vals['rowBatches'])) {
  8520.         $this->rowBatches = $vals['rowBatches'];
  8521.       }
  8522.       if (isset($vals['timestamp'])) {
  8523.         $this->timestamp = $vals['timestamp'];
  8524.       }
  8525.       if (isset($vals['attributes'])) {
  8526.         $this->attributes = $vals['attributes'];
  8527.       }
  8528.     }
  8529.   }
  8530.  
  8531.   public function getName() {
  8532.     return 'Hbase_mutateRowsTs_args';
  8533.   }
  8534.  
  8535.   public function read($input)
  8536.   {
  8537.     $xfer = 0;
  8538.     $fname = null;
  8539.     $ftype = 0;
  8540.     $fid = 0;
  8541.     $xfer += $input->readStructBegin($fname);
  8542.     while (true)
  8543.     {
  8544.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  8545.       if ($ftype == TType::STOP) {
  8546.         break;
  8547.       }
  8548.       switch ($fid)
  8549.       {
  8550.         case 1:
  8551.           if ($ftype == TType::STRING) {
  8552.             $xfer += $input->readString($this->tableName);
  8553.           } else {
  8554.             $xfer += $input->skip($ftype);
  8555.           }
  8556.           break;
  8557.         case 2:
  8558.           if ($ftype == TType::LST) {
  8559.             $this->rowBatches = array();
  8560.             $_size333 = 0;
  8561.             $_etype336 = 0;
  8562.             $xfer += $input->readListBegin($_etype336, $_size333);
  8563.             for ($_i337 = 0; $_i337 < $_size333; ++$_i337)
  8564.             {
  8565.               $elem338 = null;
  8566.               $elem338 = new \Hbase\BatchMutation();
  8567.               $xfer += $elem338->read($input);
  8568.               $this->rowBatches []= $elem338;
  8569.             }
  8570.             $xfer += $input->readListEnd();
  8571.           } else {
  8572.             $xfer += $input->skip($ftype);
  8573.           }
  8574.           break;
  8575.         case 3:
  8576.           if ($ftype == TType::I64) {
  8577.             $xfer += $input->readI64($this->timestamp);
  8578.           } else {
  8579.             $xfer += $input->skip($ftype);
  8580.           }
  8581.           break;
  8582.         case 4:
  8583.           if ($ftype == TType::MAP) {
  8584.             $this->attributes = array();
  8585.             $_size339 = 0;
  8586.             $_ktype340 = 0;
  8587.             $_vtype341 = 0;
  8588.             $xfer += $input->readMapBegin($_ktype340, $_vtype341, $_size339);
  8589.             for ($_i343 = 0; $_i343 < $_size339; ++$_i343)
  8590.             {
  8591.               $key344 = '';
  8592.               $val345 = '';
  8593.               $xfer += $input->readString($key344);
  8594.               $xfer += $input->readString($val345);
  8595.               $this->attributes[$key344] = $val345;
  8596.             }
  8597.             $xfer += $input->readMapEnd();
  8598.           } else {
  8599.             $xfer += $input->skip($ftype);
  8600.           }
  8601.           break;
  8602.         default:
  8603.           $xfer += $input->skip($ftype);
  8604.           break;
  8605.       }
  8606.       $xfer += $input->readFieldEnd();
  8607.     }
  8608.     $xfer += $input->readStructEnd();
  8609.     return $xfer;
  8610.   }
  8611.  
  8612.   public function write($output) {
  8613.     $xfer = 0;
  8614.     $xfer += $output->writeStructBegin('Hbase_mutateRowsTs_args');
  8615.     if ($this->tableName !== null) {
  8616.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  8617.       $xfer += $output->writeString($this->tableName);
  8618.       $xfer += $output->writeFieldEnd();
  8619.     }
  8620.     if ($this->rowBatches !== null) {
  8621.       if (!is_array($this->rowBatches)) {
  8622.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  8623.       }
  8624.       $xfer += $output->writeFieldBegin('rowBatches', TType::LST, 2);
  8625.       {
  8626.         $output->writeListBegin(TType::STRUCT, count($this->rowBatches));
  8627.         {
  8628.           foreach ($this->rowBatches as $iter346)
  8629.           {
  8630.             $xfer += $iter346->write($output);
  8631.           }
  8632.         }
  8633.         $output->writeListEnd();
  8634.       }
  8635.       $xfer += $output->writeFieldEnd();
  8636.     }
  8637.     if ($this->timestamp !== null) {
  8638.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 3);
  8639.       $xfer += $output->writeI64($this->timestamp);
  8640.       $xfer += $output->writeFieldEnd();
  8641.     }
  8642.     if ($this->attributes !== null) {
  8643.       if (!is_array($this->attributes)) {
  8644.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  8645.       }
  8646.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  8647.       {
  8648.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  8649.         {
  8650.           foreach ($this->attributes as $kiter347 => $viter348)
  8651.           {
  8652.             $xfer += $output->writeString($kiter347);
  8653.             $xfer += $output->writeString($viter348);
  8654.           }
  8655.         }
  8656.         $output->writeMapEnd();
  8657.       }
  8658.       $xfer += $output->writeFieldEnd();
  8659.     }
  8660.     $xfer += $output->writeFieldStop();
  8661.     $xfer += $output->writeStructEnd();
  8662.     return $xfer;
  8663.   }
  8664.  
  8665. }
  8666.  
  8667. class Hbase_mutateRowsTs_result {
  8668.   static $_TSPEC;
  8669.  
  8670.   public $io = null;
  8671.   public $ia = null;
  8672.  
  8673.   public function __construct($vals=null) {
  8674.     if (!isset(self::$_TSPEC)) {
  8675.       self::$_TSPEC = array(
  8676.         1 => array(
  8677.           'var' => 'io',
  8678.           'type' => TType::STRUCT,
  8679.           'class' => '\Hbase\IOError',
  8680.           ),
  8681.         2 => array(
  8682.           'var' => 'ia',
  8683.           'type' => TType::STRUCT,
  8684.           'class' => '\Hbase\IllegalArgument',
  8685.           ),
  8686.         );
  8687.     }
  8688.     if (is_array($vals)) {
  8689.       if (isset($vals['io'])) {
  8690.         $this->io = $vals['io'];
  8691.       }
  8692.       if (isset($vals['ia'])) {
  8693.         $this->ia = $vals['ia'];
  8694.       }
  8695.     }
  8696.   }
  8697.  
  8698.   public function getName() {
  8699.     return 'Hbase_mutateRowsTs_result';
  8700.   }
  8701.  
  8702.   public function read($input)
  8703.   {
  8704.     $xfer = 0;
  8705.     $fname = null;
  8706.     $ftype = 0;
  8707.     $fid = 0;
  8708.     $xfer += $input->readStructBegin($fname);
  8709.     while (true)
  8710.     {
  8711.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  8712.       if ($ftype == TType::STOP) {
  8713.         break;
  8714.       }
  8715.       switch ($fid)
  8716.       {
  8717.         case 1:
  8718.           if ($ftype == TType::STRUCT) {
  8719.             $this->io = new \Hbase\IOError();
  8720.             $xfer += $this->io->read($input);
  8721.           } else {
  8722.             $xfer += $input->skip($ftype);
  8723.           }
  8724.           break;
  8725.         case 2:
  8726.           if ($ftype == TType::STRUCT) {
  8727.             $this->ia = new \Hbase\IllegalArgument();
  8728.             $xfer += $this->ia->read($input);
  8729.           } else {
  8730.             $xfer += $input->skip($ftype);
  8731.           }
  8732.           break;
  8733.         default:
  8734.           $xfer += $input->skip($ftype);
  8735.           break;
  8736.       }
  8737.       $xfer += $input->readFieldEnd();
  8738.     }
  8739.     $xfer += $input->readStructEnd();
  8740.     return $xfer;
  8741.   }
  8742.  
  8743.   public function write($output) {
  8744.     $xfer = 0;
  8745.     $xfer += $output->writeStructBegin('Hbase_mutateRowsTs_result');
  8746.     if ($this->io !== null) {
  8747.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  8748.       $xfer += $this->io->write($output);
  8749.       $xfer += $output->writeFieldEnd();
  8750.     }
  8751.     if ($this->ia !== null) {
  8752.       $xfer += $output->writeFieldBegin('ia', TType::STRUCT, 2);
  8753.       $xfer += $this->ia->write($output);
  8754.       $xfer += $output->writeFieldEnd();
  8755.     }
  8756.     $xfer += $output->writeFieldStop();
  8757.     $xfer += $output->writeStructEnd();
  8758.     return $xfer;
  8759.   }
  8760.  
  8761. }
  8762.  
  8763. class Hbase_atomicIncrement_args {
  8764.   static $_TSPEC;
  8765.  
  8766.   public $tableName = null;
  8767.   public $row = null;
  8768.   public $column = null;
  8769.   public $value = null;
  8770.  
  8771.   public function __construct($vals=null) {
  8772.     if (!isset(self::$_TSPEC)) {
  8773.       self::$_TSPEC = array(
  8774.         1 => array(
  8775.           'var' => 'tableName',
  8776.           'type' => TType::STRING,
  8777.           ),
  8778.         2 => array(
  8779.           'var' => 'row',
  8780.           'type' => TType::STRING,
  8781.           ),
  8782.         3 => array(
  8783.           'var' => 'column',
  8784.           'type' => TType::STRING,
  8785.           ),
  8786.         4 => array(
  8787.           'var' => 'value',
  8788.           'type' => TType::I64,
  8789.           ),
  8790.         );
  8791.     }
  8792.     if (is_array($vals)) {
  8793.       if (isset($vals['tableName'])) {
  8794.         $this->tableName = $vals['tableName'];
  8795.       }
  8796.       if (isset($vals['row'])) {
  8797.         $this->row = $vals['row'];
  8798.       }
  8799.       if (isset($vals['column'])) {
  8800.         $this->column = $vals['column'];
  8801.       }
  8802.       if (isset($vals['value'])) {
  8803.         $this->value = $vals['value'];
  8804.       }
  8805.     }
  8806.   }
  8807.  
  8808.   public function getName() {
  8809.     return 'Hbase_atomicIncrement_args';
  8810.   }
  8811.  
  8812.   public function read($input)
  8813.   {
  8814.     $xfer = 0;
  8815.     $fname = null;
  8816.     $ftype = 0;
  8817.     $fid = 0;
  8818.     $xfer += $input->readStructBegin($fname);
  8819.     while (true)
  8820.     {
  8821.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  8822.       if ($ftype == TType::STOP) {
  8823.         break;
  8824.       }
  8825.       switch ($fid)
  8826.       {
  8827.         case 1:
  8828.           if ($ftype == TType::STRING) {
  8829.             $xfer += $input->readString($this->tableName);
  8830.           } else {
  8831.             $xfer += $input->skip($ftype);
  8832.           }
  8833.           break;
  8834.         case 2:
  8835.           if ($ftype == TType::STRING) {
  8836.             $xfer += $input->readString($this->row);
  8837.           } else {
  8838.             $xfer += $input->skip($ftype);
  8839.           }
  8840.           break;
  8841.         case 3:
  8842.           if ($ftype == TType::STRING) {
  8843.             $xfer += $input->readString($this->column);
  8844.           } else {
  8845.             $xfer += $input->skip($ftype);
  8846.           }
  8847.           break;
  8848.         case 4:
  8849.           if ($ftype == TType::I64) {
  8850.             $xfer += $input->readI64($this->value);
  8851.           } else {
  8852.             $xfer += $input->skip($ftype);
  8853.           }
  8854.           break;
  8855.         default:
  8856.           $xfer += $input->skip($ftype);
  8857.           break;
  8858.       }
  8859.       $xfer += $input->readFieldEnd();
  8860.     }
  8861.     $xfer += $input->readStructEnd();
  8862.     return $xfer;
  8863.   }
  8864.  
  8865.   public function write($output) {
  8866.     $xfer = 0;
  8867.     $xfer += $output->writeStructBegin('Hbase_atomicIncrement_args');
  8868.     if ($this->tableName !== null) {
  8869.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  8870.       $xfer += $output->writeString($this->tableName);
  8871.       $xfer += $output->writeFieldEnd();
  8872.     }
  8873.     if ($this->row !== null) {
  8874.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  8875.       $xfer += $output->writeString($this->row);
  8876.       $xfer += $output->writeFieldEnd();
  8877.     }
  8878.     if ($this->column !== null) {
  8879.       $xfer += $output->writeFieldBegin('column', TType::STRING, 3);
  8880.       $xfer += $output->writeString($this->column);
  8881.       $xfer += $output->writeFieldEnd();
  8882.     }
  8883.     if ($this->value !== null) {
  8884.       $xfer += $output->writeFieldBegin('value', TType::I64, 4);
  8885.       $xfer += $output->writeI64($this->value);
  8886.       $xfer += $output->writeFieldEnd();
  8887.     }
  8888.     $xfer += $output->writeFieldStop();
  8889.     $xfer += $output->writeStructEnd();
  8890.     return $xfer;
  8891.   }
  8892.  
  8893. }
  8894.  
  8895. class Hbase_atomicIncrement_result {
  8896.   static $_TSPEC;
  8897.  
  8898.   public $success = null;
  8899.   public $io = null;
  8900.   public $ia = null;
  8901.  
  8902.   public function __construct($vals=null) {
  8903.     if (!isset(self::$_TSPEC)) {
  8904.       self::$_TSPEC = array(
  8905.         0 => array(
  8906.           'var' => 'success',
  8907.           'type' => TType::I64,
  8908.           ),
  8909.         1 => array(
  8910.           'var' => 'io',
  8911.           'type' => TType::STRUCT,
  8912.           'class' => '\Hbase\IOError',
  8913.           ),
  8914.         2 => array(
  8915.           'var' => 'ia',
  8916.           'type' => TType::STRUCT,
  8917.           'class' => '\Hbase\IllegalArgument',
  8918.           ),
  8919.         );
  8920.     }
  8921.     if (is_array($vals)) {
  8922.       if (isset($vals['success'])) {
  8923.         $this->success = $vals['success'];
  8924.       }
  8925.       if (isset($vals['io'])) {
  8926.         $this->io = $vals['io'];
  8927.       }
  8928.       if (isset($vals['ia'])) {
  8929.         $this->ia = $vals['ia'];
  8930.       }
  8931.     }
  8932.   }
  8933.  
  8934.   public function getName() {
  8935.     return 'Hbase_atomicIncrement_result';
  8936.   }
  8937.  
  8938.   public function read($input)
  8939.   {
  8940.     $xfer = 0;
  8941.     $fname = null;
  8942.     $ftype = 0;
  8943.     $fid = 0;
  8944.     $xfer += $input->readStructBegin($fname);
  8945.     while (true)
  8946.     {
  8947.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  8948.       if ($ftype == TType::STOP) {
  8949.         break;
  8950.       }
  8951.       switch ($fid)
  8952.       {
  8953.         case 0:
  8954.           if ($ftype == TType::I64) {
  8955.             $xfer += $input->readI64($this->success);
  8956.           } else {
  8957.             $xfer += $input->skip($ftype);
  8958.           }
  8959.           break;
  8960.         case 1:
  8961.           if ($ftype == TType::STRUCT) {
  8962.             $this->io = new \Hbase\IOError();
  8963.             $xfer += $this->io->read($input);
  8964.           } else {
  8965.             $xfer += $input->skip($ftype);
  8966.           }
  8967.           break;
  8968.         case 2:
  8969.           if ($ftype == TType::STRUCT) {
  8970.             $this->ia = new \Hbase\IllegalArgument();
  8971.             $xfer += $this->ia->read($input);
  8972.           } else {
  8973.             $xfer += $input->skip($ftype);
  8974.           }
  8975.           break;
  8976.         default:
  8977.           $xfer += $input->skip($ftype);
  8978.           break;
  8979.       }
  8980.       $xfer += $input->readFieldEnd();
  8981.     }
  8982.     $xfer += $input->readStructEnd();
  8983.     return $xfer;
  8984.   }
  8985.  
  8986.   public function write($output) {
  8987.     $xfer = 0;
  8988.     $xfer += $output->writeStructBegin('Hbase_atomicIncrement_result');
  8989.     if ($this->success !== null) {
  8990.       $xfer += $output->writeFieldBegin('success', TType::I64, 0);
  8991.       $xfer += $output->writeI64($this->success);
  8992.       $xfer += $output->writeFieldEnd();
  8993.     }
  8994.     if ($this->io !== null) {
  8995.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  8996.       $xfer += $this->io->write($output);
  8997.       $xfer += $output->writeFieldEnd();
  8998.     }
  8999.     if ($this->ia !== null) {
  9000.       $xfer += $output->writeFieldBegin('ia', TType::STRUCT, 2);
  9001.       $xfer += $this->ia->write($output);
  9002.       $xfer += $output->writeFieldEnd();
  9003.     }
  9004.     $xfer += $output->writeFieldStop();
  9005.     $xfer += $output->writeStructEnd();
  9006.     return $xfer;
  9007.   }
  9008.  
  9009. }
  9010.  
  9011. class Hbase_deleteAll_args {
  9012.   static $_TSPEC;
  9013.  
  9014.   public $tableName = null;
  9015.   public $row = null;
  9016.   public $column = null;
  9017.   public $attributes = null;
  9018.  
  9019.   public function __construct($vals=null) {
  9020.     if (!isset(self::$_TSPEC)) {
  9021.       self::$_TSPEC = array(
  9022.         1 => array(
  9023.           'var' => 'tableName',
  9024.           'type' => TType::STRING,
  9025.           ),
  9026.         2 => array(
  9027.           'var' => 'row',
  9028.           'type' => TType::STRING,
  9029.           ),
  9030.         3 => array(
  9031.           'var' => 'column',
  9032.           'type' => TType::STRING,
  9033.           ),
  9034.         4 => array(
  9035.           'var' => 'attributes',
  9036.           'type' => TType::MAP,
  9037.           'ktype' => TType::STRING,
  9038.           'vtype' => TType::STRING,
  9039.           'key' => array(
  9040.             'type' => TType::STRING,
  9041.           ),
  9042.           'val' => array(
  9043.             'type' => TType::STRING,
  9044.             ),
  9045.           ),
  9046.         );
  9047.     }
  9048.     if (is_array($vals)) {
  9049.       if (isset($vals['tableName'])) {
  9050.         $this->tableName = $vals['tableName'];
  9051.       }
  9052.       if (isset($vals['row'])) {
  9053.         $this->row = $vals['row'];
  9054.       }
  9055.       if (isset($vals['column'])) {
  9056.         $this->column = $vals['column'];
  9057.       }
  9058.       if (isset($vals['attributes'])) {
  9059.         $this->attributes = $vals['attributes'];
  9060.       }
  9061.     }
  9062.   }
  9063.  
  9064.   public function getName() {
  9065.     return 'Hbase_deleteAll_args';
  9066.   }
  9067.  
  9068.   public function read($input)
  9069.   {
  9070.     $xfer = 0;
  9071.     $fname = null;
  9072.     $ftype = 0;
  9073.     $fid = 0;
  9074.     $xfer += $input->readStructBegin($fname);
  9075.     while (true)
  9076.     {
  9077.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  9078.       if ($ftype == TType::STOP) {
  9079.         break;
  9080.       }
  9081.       switch ($fid)
  9082.       {
  9083.         case 1:
  9084.           if ($ftype == TType::STRING) {
  9085.             $xfer += $input->readString($this->tableName);
  9086.           } else {
  9087.             $xfer += $input->skip($ftype);
  9088.           }
  9089.           break;
  9090.         case 2:
  9091.           if ($ftype == TType::STRING) {
  9092.             $xfer += $input->readString($this->row);
  9093.           } else {
  9094.             $xfer += $input->skip($ftype);
  9095.           }
  9096.           break;
  9097.         case 3:
  9098.           if ($ftype == TType::STRING) {
  9099.             $xfer += $input->readString($this->column);
  9100.           } else {
  9101.             $xfer += $input->skip($ftype);
  9102.           }
  9103.           break;
  9104.         case 4:
  9105.           if ($ftype == TType::MAP) {
  9106.             $this->attributes = array();
  9107.             $_size349 = 0;
  9108.             $_ktype350 = 0;
  9109.             $_vtype351 = 0;
  9110.             $xfer += $input->readMapBegin($_ktype350, $_vtype351, $_size349);
  9111.             for ($_i353 = 0; $_i353 < $_size349; ++$_i353)
  9112.             {
  9113.               $key354 = '';
  9114.               $val355 = '';
  9115.               $xfer += $input->readString($key354);
  9116.               $xfer += $input->readString($val355);
  9117.               $this->attributes[$key354] = $val355;
  9118.             }
  9119.             $xfer += $input->readMapEnd();
  9120.           } else {
  9121.             $xfer += $input->skip($ftype);
  9122.           }
  9123.           break;
  9124.         default:
  9125.           $xfer += $input->skip($ftype);
  9126.           break;
  9127.       }
  9128.       $xfer += $input->readFieldEnd();
  9129.     }
  9130.     $xfer += $input->readStructEnd();
  9131.     return $xfer;
  9132.   }
  9133.  
  9134.   public function write($output) {
  9135.     $xfer = 0;
  9136.     $xfer += $output->writeStructBegin('Hbase_deleteAll_args');
  9137.     if ($this->tableName !== null) {
  9138.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  9139.       $xfer += $output->writeString($this->tableName);
  9140.       $xfer += $output->writeFieldEnd();
  9141.     }
  9142.     if ($this->row !== null) {
  9143.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  9144.       $xfer += $output->writeString($this->row);
  9145.       $xfer += $output->writeFieldEnd();
  9146.     }
  9147.     if ($this->column !== null) {
  9148.       $xfer += $output->writeFieldBegin('column', TType::STRING, 3);
  9149.       $xfer += $output->writeString($this->column);
  9150.       $xfer += $output->writeFieldEnd();
  9151.     }
  9152.     if ($this->attributes !== null) {
  9153.       if (!is_array($this->attributes)) {
  9154.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  9155.       }
  9156.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  9157.       {
  9158.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  9159.         {
  9160.           foreach ($this->attributes as $kiter356 => $viter357)
  9161.           {
  9162.             $xfer += $output->writeString($kiter356);
  9163.             $xfer += $output->writeString($viter357);
  9164.           }
  9165.         }
  9166.         $output->writeMapEnd();
  9167.       }
  9168.       $xfer += $output->writeFieldEnd();
  9169.     }
  9170.     $xfer += $output->writeFieldStop();
  9171.     $xfer += $output->writeStructEnd();
  9172.     return $xfer;
  9173.   }
  9174.  
  9175. }
  9176.  
  9177. class Hbase_deleteAll_result {
  9178.   static $_TSPEC;
  9179.  
  9180.   public $io = null;
  9181.  
  9182.   public function __construct($vals=null) {
  9183.     if (!isset(self::$_TSPEC)) {
  9184.       self::$_TSPEC = array(
  9185.         1 => array(
  9186.           'var' => 'io',
  9187.           'type' => TType::STRUCT,
  9188.           'class' => '\Hbase\IOError',
  9189.           ),
  9190.         );
  9191.     }
  9192.     if (is_array($vals)) {
  9193.       if (isset($vals['io'])) {
  9194.         $this->io = $vals['io'];
  9195.       }
  9196.     }
  9197.   }
  9198.  
  9199.   public function getName() {
  9200.     return 'Hbase_deleteAll_result';
  9201.   }
  9202.  
  9203.   public function read($input)
  9204.   {
  9205.     $xfer = 0;
  9206.     $fname = null;
  9207.     $ftype = 0;
  9208.     $fid = 0;
  9209.     $xfer += $input->readStructBegin($fname);
  9210.     while (true)
  9211.     {
  9212.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  9213.       if ($ftype == TType::STOP) {
  9214.         break;
  9215.       }
  9216.       switch ($fid)
  9217.       {
  9218.         case 1:
  9219.           if ($ftype == TType::STRUCT) {
  9220.             $this->io = new \Hbase\IOError();
  9221.             $xfer += $this->io->read($input);
  9222.           } else {
  9223.             $xfer += $input->skip($ftype);
  9224.           }
  9225.           break;
  9226.         default:
  9227.           $xfer += $input->skip($ftype);
  9228.           break;
  9229.       }
  9230.       $xfer += $input->readFieldEnd();
  9231.     }
  9232.     $xfer += $input->readStructEnd();
  9233.     return $xfer;
  9234.   }
  9235.  
  9236.   public function write($output) {
  9237.     $xfer = 0;
  9238.     $xfer += $output->writeStructBegin('Hbase_deleteAll_result');
  9239.     if ($this->io !== null) {
  9240.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  9241.       $xfer += $this->io->write($output);
  9242.       $xfer += $output->writeFieldEnd();
  9243.     }
  9244.     $xfer += $output->writeFieldStop();
  9245.     $xfer += $output->writeStructEnd();
  9246.     return $xfer;
  9247.   }
  9248.  
  9249. }
  9250.  
  9251. class Hbase_deleteAllTs_args {
  9252.   static $_TSPEC;
  9253.  
  9254.   public $tableName = null;
  9255.   public $row = null;
  9256.   public $column = null;
  9257.   public $timestamp = null;
  9258.   public $attributes = null;
  9259.  
  9260.   public function __construct($vals=null) {
  9261.     if (!isset(self::$_TSPEC)) {
  9262.       self::$_TSPEC = array(
  9263.         1 => array(
  9264.           'var' => 'tableName',
  9265.           'type' => TType::STRING,
  9266.           ),
  9267.         2 => array(
  9268.           'var' => 'row',
  9269.           'type' => TType::STRING,
  9270.           ),
  9271.         3 => array(
  9272.           'var' => 'column',
  9273.           'type' => TType::STRING,
  9274.           ),
  9275.         4 => array(
  9276.           'var' => 'timestamp',
  9277.           'type' => TType::I64,
  9278.           ),
  9279.         5 => array(
  9280.           'var' => 'attributes',
  9281.           'type' => TType::MAP,
  9282.           'ktype' => TType::STRING,
  9283.           'vtype' => TType::STRING,
  9284.           'key' => array(
  9285.             'type' => TType::STRING,
  9286.           ),
  9287.           'val' => array(
  9288.             'type' => TType::STRING,
  9289.             ),
  9290.           ),
  9291.         );
  9292.     }
  9293.     if (is_array($vals)) {
  9294.       if (isset($vals['tableName'])) {
  9295.         $this->tableName = $vals['tableName'];
  9296.       }
  9297.       if (isset($vals['row'])) {
  9298.         $this->row = $vals['row'];
  9299.       }
  9300.       if (isset($vals['column'])) {
  9301.         $this->column = $vals['column'];
  9302.       }
  9303.       if (isset($vals['timestamp'])) {
  9304.         $this->timestamp = $vals['timestamp'];
  9305.       }
  9306.       if (isset($vals['attributes'])) {
  9307.         $this->attributes = $vals['attributes'];
  9308.       }
  9309.     }
  9310.   }
  9311.  
  9312.   public function getName() {
  9313.     return 'Hbase_deleteAllTs_args';
  9314.   }
  9315.  
  9316.   public function read($input)
  9317.   {
  9318.     $xfer = 0;
  9319.     $fname = null;
  9320.     $ftype = 0;
  9321.     $fid = 0;
  9322.     $xfer += $input->readStructBegin($fname);
  9323.     while (true)
  9324.     {
  9325.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  9326.       if ($ftype == TType::STOP) {
  9327.         break;
  9328.       }
  9329.       switch ($fid)
  9330.       {
  9331.         case 1:
  9332.           if ($ftype == TType::STRING) {
  9333.             $xfer += $input->readString($this->tableName);
  9334.           } else {
  9335.             $xfer += $input->skip($ftype);
  9336.           }
  9337.           break;
  9338.         case 2:
  9339.           if ($ftype == TType::STRING) {
  9340.             $xfer += $input->readString($this->row);
  9341.           } else {
  9342.             $xfer += $input->skip($ftype);
  9343.           }
  9344.           break;
  9345.         case 3:
  9346.           if ($ftype == TType::STRING) {
  9347.             $xfer += $input->readString($this->column);
  9348.           } else {
  9349.             $xfer += $input->skip($ftype);
  9350.           }
  9351.           break;
  9352.         case 4:
  9353.           if ($ftype == TType::I64) {
  9354.             $xfer += $input->readI64($this->timestamp);
  9355.           } else {
  9356.             $xfer += $input->skip($ftype);
  9357.           }
  9358.           break;
  9359.         case 5:
  9360.           if ($ftype == TType::MAP) {
  9361.             $this->attributes = array();
  9362.             $_size358 = 0;
  9363.             $_ktype359 = 0;
  9364.             $_vtype360 = 0;
  9365.             $xfer += $input->readMapBegin($_ktype359, $_vtype360, $_size358);
  9366.             for ($_i362 = 0; $_i362 < $_size358; ++$_i362)
  9367.             {
  9368.               $key363 = '';
  9369.               $val364 = '';
  9370.               $xfer += $input->readString($key363);
  9371.               $xfer += $input->readString($val364);
  9372.               $this->attributes[$key363] = $val364;
  9373.             }
  9374.             $xfer += $input->readMapEnd();
  9375.           } else {
  9376.             $xfer += $input->skip($ftype);
  9377.           }
  9378.           break;
  9379.         default:
  9380.           $xfer += $input->skip($ftype);
  9381.           break;
  9382.       }
  9383.       $xfer += $input->readFieldEnd();
  9384.     }
  9385.     $xfer += $input->readStructEnd();
  9386.     return $xfer;
  9387.   }
  9388.  
  9389.   public function write($output) {
  9390.     $xfer = 0;
  9391.     $xfer += $output->writeStructBegin('Hbase_deleteAllTs_args');
  9392.     if ($this->tableName !== null) {
  9393.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  9394.       $xfer += $output->writeString($this->tableName);
  9395.       $xfer += $output->writeFieldEnd();
  9396.     }
  9397.     if ($this->row !== null) {
  9398.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  9399.       $xfer += $output->writeString($this->row);
  9400.       $xfer += $output->writeFieldEnd();
  9401.     }
  9402.     if ($this->column !== null) {
  9403.       $xfer += $output->writeFieldBegin('column', TType::STRING, 3);
  9404.       $xfer += $output->writeString($this->column);
  9405.       $xfer += $output->writeFieldEnd();
  9406.     }
  9407.     if ($this->timestamp !== null) {
  9408.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 4);
  9409.       $xfer += $output->writeI64($this->timestamp);
  9410.       $xfer += $output->writeFieldEnd();
  9411.     }
  9412.     if ($this->attributes !== null) {
  9413.       if (!is_array($this->attributes)) {
  9414.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  9415.       }
  9416.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 5);
  9417.       {
  9418.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  9419.         {
  9420.           foreach ($this->attributes as $kiter365 => $viter366)
  9421.           {
  9422.             $xfer += $output->writeString($kiter365);
  9423.             $xfer += $output->writeString($viter366);
  9424.           }
  9425.         }
  9426.         $output->writeMapEnd();
  9427.       }
  9428.       $xfer += $output->writeFieldEnd();
  9429.     }
  9430.     $xfer += $output->writeFieldStop();
  9431.     $xfer += $output->writeStructEnd();
  9432.     return $xfer;
  9433.   }
  9434.  
  9435. }
  9436.  
  9437. class Hbase_deleteAllTs_result {
  9438.   static $_TSPEC;
  9439.  
  9440.   public $io = null;
  9441.  
  9442.   public function __construct($vals=null) {
  9443.     if (!isset(self::$_TSPEC)) {
  9444.       self::$_TSPEC = array(
  9445.         1 => array(
  9446.           'var' => 'io',
  9447.           'type' => TType::STRUCT,
  9448.           'class' => '\Hbase\IOError',
  9449.           ),
  9450.         );
  9451.     }
  9452.     if (is_array($vals)) {
  9453.       if (isset($vals['io'])) {
  9454.         $this->io = $vals['io'];
  9455.       }
  9456.     }
  9457.   }
  9458.  
  9459.   public function getName() {
  9460.     return 'Hbase_deleteAllTs_result';
  9461.   }
  9462.  
  9463.   public function read($input)
  9464.   {
  9465.     $xfer = 0;
  9466.     $fname = null;
  9467.     $ftype = 0;
  9468.     $fid = 0;
  9469.     $xfer += $input->readStructBegin($fname);
  9470.     while (true)
  9471.     {
  9472.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  9473.       if ($ftype == TType::STOP) {
  9474.         break;
  9475.       }
  9476.       switch ($fid)
  9477.       {
  9478.         case 1:
  9479.           if ($ftype == TType::STRUCT) {
  9480.             $this->io = new \Hbase\IOError();
  9481.             $xfer += $this->io->read($input);
  9482.           } else {
  9483.             $xfer += $input->skip($ftype);
  9484.           }
  9485.           break;
  9486.         default:
  9487.           $xfer += $input->skip($ftype);
  9488.           break;
  9489.       }
  9490.       $xfer += $input->readFieldEnd();
  9491.     }
  9492.     $xfer += $input->readStructEnd();
  9493.     return $xfer;
  9494.   }
  9495.  
  9496.   public function write($output) {
  9497.     $xfer = 0;
  9498.     $xfer += $output->writeStructBegin('Hbase_deleteAllTs_result');
  9499.     if ($this->io !== null) {
  9500.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  9501.       $xfer += $this->io->write($output);
  9502.       $xfer += $output->writeFieldEnd();
  9503.     }
  9504.     $xfer += $output->writeFieldStop();
  9505.     $xfer += $output->writeStructEnd();
  9506.     return $xfer;
  9507.   }
  9508.  
  9509. }
  9510.  
  9511. class Hbase_deleteAllRow_args {
  9512.   static $_TSPEC;
  9513.  
  9514.   public $tableName = null;
  9515.   public $row = null;
  9516.   public $attributes = null;
  9517.  
  9518.   public function __construct($vals=null) {
  9519.     if (!isset(self::$_TSPEC)) {
  9520.       self::$_TSPEC = array(
  9521.         1 => array(
  9522.           'var' => 'tableName',
  9523.           'type' => TType::STRING,
  9524.           ),
  9525.         2 => array(
  9526.           'var' => 'row',
  9527.           'type' => TType::STRING,
  9528.           ),
  9529.         3 => array(
  9530.           'var' => 'attributes',
  9531.           'type' => TType::MAP,
  9532.           'ktype' => TType::STRING,
  9533.           'vtype' => TType::STRING,
  9534.           'key' => array(
  9535.             'type' => TType::STRING,
  9536.           ),
  9537.           'val' => array(
  9538.             'type' => TType::STRING,
  9539.             ),
  9540.           ),
  9541.         );
  9542.     }
  9543.     if (is_array($vals)) {
  9544.       if (isset($vals['tableName'])) {
  9545.         $this->tableName = $vals['tableName'];
  9546.       }
  9547.       if (isset($vals['row'])) {
  9548.         $this->row = $vals['row'];
  9549.       }
  9550.       if (isset($vals['attributes'])) {
  9551.         $this->attributes = $vals['attributes'];
  9552.       }
  9553.     }
  9554.   }
  9555.  
  9556.   public function getName() {
  9557.     return 'Hbase_deleteAllRow_args';
  9558.   }
  9559.  
  9560.   public function read($input)
  9561.   {
  9562.     $xfer = 0;
  9563.     $fname = null;
  9564.     $ftype = 0;
  9565.     $fid = 0;
  9566.     $xfer += $input->readStructBegin($fname);
  9567.     while (true)
  9568.     {
  9569.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  9570.       if ($ftype == TType::STOP) {
  9571.         break;
  9572.       }
  9573.       switch ($fid)
  9574.       {
  9575.         case 1:
  9576.           if ($ftype == TType::STRING) {
  9577.             $xfer += $input->readString($this->tableName);
  9578.           } else {
  9579.             $xfer += $input->skip($ftype);
  9580.           }
  9581.           break;
  9582.         case 2:
  9583.           if ($ftype == TType::STRING) {
  9584.             $xfer += $input->readString($this->row);
  9585.           } else {
  9586.             $xfer += $input->skip($ftype);
  9587.           }
  9588.           break;
  9589.         case 3:
  9590.           if ($ftype == TType::MAP) {
  9591.             $this->attributes = array();
  9592.             $_size367 = 0;
  9593.             $_ktype368 = 0;
  9594.             $_vtype369 = 0;
  9595.             $xfer += $input->readMapBegin($_ktype368, $_vtype369, $_size367);
  9596.             for ($_i371 = 0; $_i371 < $_size367; ++$_i371)
  9597.             {
  9598.               $key372 = '';
  9599.               $val373 = '';
  9600.               $xfer += $input->readString($key372);
  9601.               $xfer += $input->readString($val373);
  9602.               $this->attributes[$key372] = $val373;
  9603.             }
  9604.             $xfer += $input->readMapEnd();
  9605.           } else {
  9606.             $xfer += $input->skip($ftype);
  9607.           }
  9608.           break;
  9609.         default:
  9610.           $xfer += $input->skip($ftype);
  9611.           break;
  9612.       }
  9613.       $xfer += $input->readFieldEnd();
  9614.     }
  9615.     $xfer += $input->readStructEnd();
  9616.     return $xfer;
  9617.   }
  9618.  
  9619.   public function write($output) {
  9620.     $xfer = 0;
  9621.     $xfer += $output->writeStructBegin('Hbase_deleteAllRow_args');
  9622.     if ($this->tableName !== null) {
  9623.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  9624.       $xfer += $output->writeString($this->tableName);
  9625.       $xfer += $output->writeFieldEnd();
  9626.     }
  9627.     if ($this->row !== null) {
  9628.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  9629.       $xfer += $output->writeString($this->row);
  9630.       $xfer += $output->writeFieldEnd();
  9631.     }
  9632.     if ($this->attributes !== null) {
  9633.       if (!is_array($this->attributes)) {
  9634.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  9635.       }
  9636.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 3);
  9637.       {
  9638.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  9639.         {
  9640.           foreach ($this->attributes as $kiter374 => $viter375)
  9641.           {
  9642.             $xfer += $output->writeString($kiter374);
  9643.             $xfer += $output->writeString($viter375);
  9644.           }
  9645.         }
  9646.         $output->writeMapEnd();
  9647.       }
  9648.       $xfer += $output->writeFieldEnd();
  9649.     }
  9650.     $xfer += $output->writeFieldStop();
  9651.     $xfer += $output->writeStructEnd();
  9652.     return $xfer;
  9653.   }
  9654.  
  9655. }
  9656.  
  9657. class Hbase_deleteAllRow_result {
  9658.   static $_TSPEC;
  9659.  
  9660.   public $io = null;
  9661.  
  9662.   public function __construct($vals=null) {
  9663.     if (!isset(self::$_TSPEC)) {
  9664.       self::$_TSPEC = array(
  9665.         1 => array(
  9666.           'var' => 'io',
  9667.           'type' => TType::STRUCT,
  9668.           'class' => '\Hbase\IOError',
  9669.           ),
  9670.         );
  9671.     }
  9672.     if (is_array($vals)) {
  9673.       if (isset($vals['io'])) {
  9674.         $this->io = $vals['io'];
  9675.       }
  9676.     }
  9677.   }
  9678.  
  9679.   public function getName() {
  9680.     return 'Hbase_deleteAllRow_result';
  9681.   }
  9682.  
  9683.   public function read($input)
  9684.   {
  9685.     $xfer = 0;
  9686.     $fname = null;
  9687.     $ftype = 0;
  9688.     $fid = 0;
  9689.     $xfer += $input->readStructBegin($fname);
  9690.     while (true)
  9691.     {
  9692.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  9693.       if ($ftype == TType::STOP) {
  9694.         break;
  9695.       }
  9696.       switch ($fid)
  9697.       {
  9698.         case 1:
  9699.           if ($ftype == TType::STRUCT) {
  9700.             $this->io = new \Hbase\IOError();
  9701.             $xfer += $this->io->read($input);
  9702.           } else {
  9703.             $xfer += $input->skip($ftype);
  9704.           }
  9705.           break;
  9706.         default:
  9707.           $xfer += $input->skip($ftype);
  9708.           break;
  9709.       }
  9710.       $xfer += $input->readFieldEnd();
  9711.     }
  9712.     $xfer += $input->readStructEnd();
  9713.     return $xfer;
  9714.   }
  9715.  
  9716.   public function write($output) {
  9717.     $xfer = 0;
  9718.     $xfer += $output->writeStructBegin('Hbase_deleteAllRow_result');
  9719.     if ($this->io !== null) {
  9720.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  9721.       $xfer += $this->io->write($output);
  9722.       $xfer += $output->writeFieldEnd();
  9723.     }
  9724.     $xfer += $output->writeFieldStop();
  9725.     $xfer += $output->writeStructEnd();
  9726.     return $xfer;
  9727.   }
  9728.  
  9729. }
  9730.  
  9731. class Hbase_increment_args {
  9732.   static $_TSPEC;
  9733.  
  9734.   public $increment = null;
  9735.  
  9736.   public function __construct($vals=null) {
  9737.     if (!isset(self::$_TSPEC)) {
  9738.       self::$_TSPEC = array(
  9739.         1 => array(
  9740.           'var' => 'increment',
  9741.           'type' => TType::STRUCT,
  9742.           'class' => '\Hbase\TIncrement',
  9743.           ),
  9744.         );
  9745.     }
  9746.     if (is_array($vals)) {
  9747.       if (isset($vals['increment'])) {
  9748.         $this->increment = $vals['increment'];
  9749.       }
  9750.     }
  9751.   }
  9752.  
  9753.   public function getName() {
  9754.     return 'Hbase_increment_args';
  9755.   }
  9756.  
  9757.   public function read($input)
  9758.   {
  9759.     $xfer = 0;
  9760.     $fname = null;
  9761.     $ftype = 0;
  9762.     $fid = 0;
  9763.     $xfer += $input->readStructBegin($fname);
  9764.     while (true)
  9765.     {
  9766.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  9767.       if ($ftype == TType::STOP) {
  9768.         break;
  9769.       }
  9770.       switch ($fid)
  9771.       {
  9772.         case 1:
  9773.           if ($ftype == TType::STRUCT) {
  9774.             $this->increment = new \Hbase\TIncrement();
  9775.             $xfer += $this->increment->read($input);
  9776.           } else {
  9777.             $xfer += $input->skip($ftype);
  9778.           }
  9779.           break;
  9780.         default:
  9781.           $xfer += $input->skip($ftype);
  9782.           break;
  9783.       }
  9784.       $xfer += $input->readFieldEnd();
  9785.     }
  9786.     $xfer += $input->readStructEnd();
  9787.     return $xfer;
  9788.   }
  9789.  
  9790.   public function write($output) {
  9791.     $xfer = 0;
  9792.     $xfer += $output->writeStructBegin('Hbase_increment_args');
  9793.     if ($this->increment !== null) {
  9794.       if (!is_object($this->increment)) {
  9795.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  9796.       }
  9797.       $xfer += $output->writeFieldBegin('increment', TType::STRUCT, 1);
  9798.       $xfer += $this->increment->write($output);
  9799.       $xfer += $output->writeFieldEnd();
  9800.     }
  9801.     $xfer += $output->writeFieldStop();
  9802.     $xfer += $output->writeStructEnd();
  9803.     return $xfer;
  9804.   }
  9805.  
  9806. }
  9807.  
  9808. class Hbase_increment_result {
  9809.   static $_TSPEC;
  9810.  
  9811.   public $io = null;
  9812.  
  9813.   public function __construct($vals=null) {
  9814.     if (!isset(self::$_TSPEC)) {
  9815.       self::$_TSPEC = array(
  9816.         1 => array(
  9817.           'var' => 'io',
  9818.           'type' => TType::STRUCT,
  9819.           'class' => '\Hbase\IOError',
  9820.           ),
  9821.         );
  9822.     }
  9823.     if (is_array($vals)) {
  9824.       if (isset($vals['io'])) {
  9825.         $this->io = $vals['io'];
  9826.       }
  9827.     }
  9828.   }
  9829.  
  9830.   public function getName() {
  9831.     return 'Hbase_increment_result';
  9832.   }
  9833.  
  9834.   public function read($input)
  9835.   {
  9836.     $xfer = 0;
  9837.     $fname = null;
  9838.     $ftype = 0;
  9839.     $fid = 0;
  9840.     $xfer += $input->readStructBegin($fname);
  9841.     while (true)
  9842.     {
  9843.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  9844.       if ($ftype == TType::STOP) {
  9845.         break;
  9846.       }
  9847.       switch ($fid)
  9848.       {
  9849.         case 1:
  9850.           if ($ftype == TType::STRUCT) {
  9851.             $this->io = new \Hbase\IOError();
  9852.             $xfer += $this->io->read($input);
  9853.           } else {
  9854.             $xfer += $input->skip($ftype);
  9855.           }
  9856.           break;
  9857.         default:
  9858.           $xfer += $input->skip($ftype);
  9859.           break;
  9860.       }
  9861.       $xfer += $input->readFieldEnd();
  9862.     }
  9863.     $xfer += $input->readStructEnd();
  9864.     return $xfer;
  9865.   }
  9866.  
  9867.   public function write($output) {
  9868.     $xfer = 0;
  9869.     $xfer += $output->writeStructBegin('Hbase_increment_result');
  9870.     if ($this->io !== null) {
  9871.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  9872.       $xfer += $this->io->write($output);
  9873.       $xfer += $output->writeFieldEnd();
  9874.     }
  9875.     $xfer += $output->writeFieldStop();
  9876.     $xfer += $output->writeStructEnd();
  9877.     return $xfer;
  9878.   }
  9879.  
  9880. }
  9881.  
  9882. class Hbase_incrementRows_args {
  9883.   static $_TSPEC;
  9884.  
  9885.   public $increments = null;
  9886.  
  9887.   public function __construct($vals=null) {
  9888.     if (!isset(self::$_TSPEC)) {
  9889.       self::$_TSPEC = array(
  9890.         1 => array(
  9891.           'var' => 'increments',
  9892.           'type' => TType::LST,
  9893.           'etype' => TType::STRUCT,
  9894.           'elem' => array(
  9895.             'type' => TType::STRUCT,
  9896.             'class' => '\Hbase\TIncrement',
  9897.             ),
  9898.           ),
  9899.         );
  9900.     }
  9901.     if (is_array($vals)) {
  9902.       if (isset($vals['increments'])) {
  9903.         $this->increments = $vals['increments'];
  9904.       }
  9905.     }
  9906.   }
  9907.  
  9908.   public function getName() {
  9909.     return 'Hbase_incrementRows_args';
  9910.   }
  9911.  
  9912.   public function read($input)
  9913.   {
  9914.     $xfer = 0;
  9915.     $fname = null;
  9916.     $ftype = 0;
  9917.     $fid = 0;
  9918.     $xfer += $input->readStructBegin($fname);
  9919.     while (true)
  9920.     {
  9921.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  9922.       if ($ftype == TType::STOP) {
  9923.         break;
  9924.       }
  9925.       switch ($fid)
  9926.       {
  9927.         case 1:
  9928.           if ($ftype == TType::LST) {
  9929.             $this->increments = array();
  9930.             $_size376 = 0;
  9931.             $_etype379 = 0;
  9932.             $xfer += $input->readListBegin($_etype379, $_size376);
  9933.             for ($_i380 = 0; $_i380 < $_size376; ++$_i380)
  9934.             {
  9935.               $elem381 = null;
  9936.               $elem381 = new \Hbase\TIncrement();
  9937.               $xfer += $elem381->read($input);
  9938.               $this->increments []= $elem381;
  9939.             }
  9940.             $xfer += $input->readListEnd();
  9941.           } else {
  9942.             $xfer += $input->skip($ftype);
  9943.           }
  9944.           break;
  9945.         default:
  9946.           $xfer += $input->skip($ftype);
  9947.           break;
  9948.       }
  9949.       $xfer += $input->readFieldEnd();
  9950.     }
  9951.     $xfer += $input->readStructEnd();
  9952.     return $xfer;
  9953.   }
  9954.  
  9955.   public function write($output) {
  9956.     $xfer = 0;
  9957.     $xfer += $output->writeStructBegin('Hbase_incrementRows_args');
  9958.     if ($this->increments !== null) {
  9959.       if (!is_array($this->increments)) {
  9960.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  9961.       }
  9962.       $xfer += $output->writeFieldBegin('increments', TType::LST, 1);
  9963.       {
  9964.         $output->writeListBegin(TType::STRUCT, count($this->increments));
  9965.         {
  9966.           foreach ($this->increments as $iter382)
  9967.           {
  9968.             $xfer += $iter382->write($output);
  9969.           }
  9970.         }
  9971.         $output->writeListEnd();
  9972.       }
  9973.       $xfer += $output->writeFieldEnd();
  9974.     }
  9975.     $xfer += $output->writeFieldStop();
  9976.     $xfer += $output->writeStructEnd();
  9977.     return $xfer;
  9978.   }
  9979.  
  9980. }
  9981.  
  9982. class Hbase_incrementRows_result {
  9983.   static $_TSPEC;
  9984.  
  9985.   public $io = null;
  9986.  
  9987.   public function __construct($vals=null) {
  9988.     if (!isset(self::$_TSPEC)) {
  9989.       self::$_TSPEC = array(
  9990.         1 => array(
  9991.           'var' => 'io',
  9992.           'type' => TType::STRUCT,
  9993.           'class' => '\Hbase\IOError',
  9994.           ),
  9995.         );
  9996.     }
  9997.     if (is_array($vals)) {
  9998.       if (isset($vals['io'])) {
  9999.         $this->io = $vals['io'];
  10000.       }
  10001.     }
  10002.   }
  10003.  
  10004.   public function getName() {
  10005.     return 'Hbase_incrementRows_result';
  10006.   }
  10007.  
  10008.   public function read($input)
  10009.   {
  10010.     $xfer = 0;
  10011.     $fname = null;
  10012.     $ftype = 0;
  10013.     $fid = 0;
  10014.     $xfer += $input->readStructBegin($fname);
  10015.     while (true)
  10016.     {
  10017.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  10018.       if ($ftype == TType::STOP) {
  10019.         break;
  10020.       }
  10021.       switch ($fid)
  10022.       {
  10023.         case 1:
  10024.           if ($ftype == TType::STRUCT) {
  10025.             $this->io = new \Hbase\IOError();
  10026.             $xfer += $this->io->read($input);
  10027.           } else {
  10028.             $xfer += $input->skip($ftype);
  10029.           }
  10030.           break;
  10031.         default:
  10032.           $xfer += $input->skip($ftype);
  10033.           break;
  10034.       }
  10035.       $xfer += $input->readFieldEnd();
  10036.     }
  10037.     $xfer += $input->readStructEnd();
  10038.     return $xfer;
  10039.   }
  10040.  
  10041.   public function write($output) {
  10042.     $xfer = 0;
  10043.     $xfer += $output->writeStructBegin('Hbase_incrementRows_result');
  10044.     if ($this->io !== null) {
  10045.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  10046.       $xfer += $this->io->write($output);
  10047.       $xfer += $output->writeFieldEnd();
  10048.     }
  10049.     $xfer += $output->writeFieldStop();
  10050.     $xfer += $output->writeStructEnd();
  10051.     return $xfer;
  10052.   }
  10053.  
  10054. }
  10055.  
  10056. class Hbase_deleteAllRowTs_args {
  10057.   static $_TSPEC;
  10058.  
  10059.   public $tableName = null;
  10060.   public $row = null;
  10061.   public $timestamp = null;
  10062.   public $attributes = null;
  10063.  
  10064.   public function __construct($vals=null) {
  10065.     if (!isset(self::$_TSPEC)) {
  10066.       self::$_TSPEC = array(
  10067.         1 => array(
  10068.           'var' => 'tableName',
  10069.           'type' => TType::STRING,
  10070.           ),
  10071.         2 => array(
  10072.           'var' => 'row',
  10073.           'type' => TType::STRING,
  10074.           ),
  10075.         3 => array(
  10076.           'var' => 'timestamp',
  10077.           'type' => TType::I64,
  10078.           ),
  10079.         4 => array(
  10080.           'var' => 'attributes',
  10081.           'type' => TType::MAP,
  10082.           'ktype' => TType::STRING,
  10083.           'vtype' => TType::STRING,
  10084.           'key' => array(
  10085.             'type' => TType::STRING,
  10086.           ),
  10087.           'val' => array(
  10088.             'type' => TType::STRING,
  10089.             ),
  10090.           ),
  10091.         );
  10092.     }
  10093.     if (is_array($vals)) {
  10094.       if (isset($vals['tableName'])) {
  10095.         $this->tableName = $vals['tableName'];
  10096.       }
  10097.       if (isset($vals['row'])) {
  10098.         $this->row = $vals['row'];
  10099.       }
  10100.       if (isset($vals['timestamp'])) {
  10101.         $this->timestamp = $vals['timestamp'];
  10102.       }
  10103.       if (isset($vals['attributes'])) {
  10104.         $this->attributes = $vals['attributes'];
  10105.       }
  10106.     }
  10107.   }
  10108.  
  10109.   public function getName() {
  10110.     return 'Hbase_deleteAllRowTs_args';
  10111.   }
  10112.  
  10113.   public function read($input)
  10114.   {
  10115.     $xfer = 0;
  10116.     $fname = null;
  10117.     $ftype = 0;
  10118.     $fid = 0;
  10119.     $xfer += $input->readStructBegin($fname);
  10120.     while (true)
  10121.     {
  10122.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  10123.       if ($ftype == TType::STOP) {
  10124.         break;
  10125.       }
  10126.       switch ($fid)
  10127.       {
  10128.         case 1:
  10129.           if ($ftype == TType::STRING) {
  10130.             $xfer += $input->readString($this->tableName);
  10131.           } else {
  10132.             $xfer += $input->skip($ftype);
  10133.           }
  10134.           break;
  10135.         case 2:
  10136.           if ($ftype == TType::STRING) {
  10137.             $xfer += $input->readString($this->row);
  10138.           } else {
  10139.             $xfer += $input->skip($ftype);
  10140.           }
  10141.           break;
  10142.         case 3:
  10143.           if ($ftype == TType::I64) {
  10144.             $xfer += $input->readI64($this->timestamp);
  10145.           } else {
  10146.             $xfer += $input->skip($ftype);
  10147.           }
  10148.           break;
  10149.         case 4:
  10150.           if ($ftype == TType::MAP) {
  10151.             $this->attributes = array();
  10152.             $_size383 = 0;
  10153.             $_ktype384 = 0;
  10154.             $_vtype385 = 0;
  10155.             $xfer += $input->readMapBegin($_ktype384, $_vtype385, $_size383);
  10156.             for ($_i387 = 0; $_i387 < $_size383; ++$_i387)
  10157.             {
  10158.               $key388 = '';
  10159.               $val389 = '';
  10160.               $xfer += $input->readString($key388);
  10161.               $xfer += $input->readString($val389);
  10162.               $this->attributes[$key388] = $val389;
  10163.             }
  10164.             $xfer += $input->readMapEnd();
  10165.           } else {
  10166.             $xfer += $input->skip($ftype);
  10167.           }
  10168.           break;
  10169.         default:
  10170.           $xfer += $input->skip($ftype);
  10171.           break;
  10172.       }
  10173.       $xfer += $input->readFieldEnd();
  10174.     }
  10175.     $xfer += $input->readStructEnd();
  10176.     return $xfer;
  10177.   }
  10178.  
  10179.   public function write($output) {
  10180.     $xfer = 0;
  10181.     $xfer += $output->writeStructBegin('Hbase_deleteAllRowTs_args');
  10182.     if ($this->tableName !== null) {
  10183.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  10184.       $xfer += $output->writeString($this->tableName);
  10185.       $xfer += $output->writeFieldEnd();
  10186.     }
  10187.     if ($this->row !== null) {
  10188.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  10189.       $xfer += $output->writeString($this->row);
  10190.       $xfer += $output->writeFieldEnd();
  10191.     }
  10192.     if ($this->timestamp !== null) {
  10193.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 3);
  10194.       $xfer += $output->writeI64($this->timestamp);
  10195.       $xfer += $output->writeFieldEnd();
  10196.     }
  10197.     if ($this->attributes !== null) {
  10198.       if (!is_array($this->attributes)) {
  10199.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  10200.       }
  10201.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  10202.       {
  10203.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  10204.         {
  10205.           foreach ($this->attributes as $kiter390 => $viter391)
  10206.           {
  10207.             $xfer += $output->writeString($kiter390);
  10208.             $xfer += $output->writeString($viter391);
  10209.           }
  10210.         }
  10211.         $output->writeMapEnd();
  10212.       }
  10213.       $xfer += $output->writeFieldEnd();
  10214.     }
  10215.     $xfer += $output->writeFieldStop();
  10216.     $xfer += $output->writeStructEnd();
  10217.     return $xfer;
  10218.   }
  10219.  
  10220. }
  10221.  
  10222. class Hbase_deleteAllRowTs_result {
  10223.   static $_TSPEC;
  10224.  
  10225.   public $io = null;
  10226.  
  10227.   public function __construct($vals=null) {
  10228.     if (!isset(self::$_TSPEC)) {
  10229.       self::$_TSPEC = array(
  10230.         1 => array(
  10231.           'var' => 'io',
  10232.           'type' => TType::STRUCT,
  10233.           'class' => '\Hbase\IOError',
  10234.           ),
  10235.         );
  10236.     }
  10237.     if (is_array($vals)) {
  10238.       if (isset($vals['io'])) {
  10239.         $this->io = $vals['io'];
  10240.       }
  10241.     }
  10242.   }
  10243.  
  10244.   public function getName() {
  10245.     return 'Hbase_deleteAllRowTs_result';
  10246.   }
  10247.  
  10248.   public function read($input)
  10249.   {
  10250.     $xfer = 0;
  10251.     $fname = null;
  10252.     $ftype = 0;
  10253.     $fid = 0;
  10254.     $xfer += $input->readStructBegin($fname);
  10255.     while (true)
  10256.     {
  10257.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  10258.       if ($ftype == TType::STOP) {
  10259.         break;
  10260.       }
  10261.       switch ($fid)
  10262.       {
  10263.         case 1:
  10264.           if ($ftype == TType::STRUCT) {
  10265.             $this->io = new \Hbase\IOError();
  10266.             $xfer += $this->io->read($input);
  10267.           } else {
  10268.             $xfer += $input->skip($ftype);
  10269.           }
  10270.           break;
  10271.         default:
  10272.           $xfer += $input->skip($ftype);
  10273.           break;
  10274.       }
  10275.       $xfer += $input->readFieldEnd();
  10276.     }
  10277.     $xfer += $input->readStructEnd();
  10278.     return $xfer;
  10279.   }
  10280.  
  10281.   public function write($output) {
  10282.     $xfer = 0;
  10283.     $xfer += $output->writeStructBegin('Hbase_deleteAllRowTs_result');
  10284.     if ($this->io !== null) {
  10285.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  10286.       $xfer += $this->io->write($output);
  10287.       $xfer += $output->writeFieldEnd();
  10288.     }
  10289.     $xfer += $output->writeFieldStop();
  10290.     $xfer += $output->writeStructEnd();
  10291.     return $xfer;
  10292.   }
  10293.  
  10294. }
  10295.  
  10296. class Hbase_scannerOpenWithScan_args {
  10297.   static $_TSPEC;
  10298.  
  10299.   public $tableName = null;
  10300.   public $scan = null;
  10301.   public $attributes = null;
  10302.  
  10303.   public function __construct($vals=null) {
  10304.     if (!isset(self::$_TSPEC)) {
  10305.       self::$_TSPEC = array(
  10306.         1 => array(
  10307.           'var' => 'tableName',
  10308.           'type' => TType::STRING,
  10309.           ),
  10310.         2 => array(
  10311.           'var' => 'scan',
  10312.           'type' => TType::STRUCT,
  10313.           'class' => '\Hbase\TScan',
  10314.           ),
  10315.         3 => array(
  10316.           'var' => 'attributes',
  10317.           'type' => TType::MAP,
  10318.           'ktype' => TType::STRING,
  10319.           'vtype' => TType::STRING,
  10320.           'key' => array(
  10321.             'type' => TType::STRING,
  10322.           ),
  10323.           'val' => array(
  10324.             'type' => TType::STRING,
  10325.             ),
  10326.           ),
  10327.         );
  10328.     }
  10329.     if (is_array($vals)) {
  10330.       if (isset($vals['tableName'])) {
  10331.         $this->tableName = $vals['tableName'];
  10332.       }
  10333.       if (isset($vals['scan'])) {
  10334.         $this->scan = $vals['scan'];
  10335.       }
  10336.       if (isset($vals['attributes'])) {
  10337.         $this->attributes = $vals['attributes'];
  10338.       }
  10339.     }
  10340.   }
  10341.  
  10342.   public function getName() {
  10343.     return 'Hbase_scannerOpenWithScan_args';
  10344.   }
  10345.  
  10346.   public function read($input)
  10347.   {
  10348.     $xfer = 0;
  10349.     $fname = null;
  10350.     $ftype = 0;
  10351.     $fid = 0;
  10352.     $xfer += $input->readStructBegin($fname);
  10353.     while (true)
  10354.     {
  10355.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  10356.       if ($ftype == TType::STOP) {
  10357.         break;
  10358.       }
  10359.       switch ($fid)
  10360.       {
  10361.         case 1:
  10362.           if ($ftype == TType::STRING) {
  10363.             $xfer += $input->readString($this->tableName);
  10364.           } else {
  10365.             $xfer += $input->skip($ftype);
  10366.           }
  10367.           break;
  10368.         case 2:
  10369.           if ($ftype == TType::STRUCT) {
  10370.             $this->scan = new \Hbase\TScan();
  10371.             $xfer += $this->scan->read($input);
  10372.           } else {
  10373.             $xfer += $input->skip($ftype);
  10374.           }
  10375.           break;
  10376.         case 3:
  10377.           if ($ftype == TType::MAP) {
  10378.             $this->attributes = array();
  10379.             $_size392 = 0;
  10380.             $_ktype393 = 0;
  10381.             $_vtype394 = 0;
  10382.             $xfer += $input->readMapBegin($_ktype393, $_vtype394, $_size392);
  10383.             for ($_i396 = 0; $_i396 < $_size392; ++$_i396)
  10384.             {
  10385.               $key397 = '';
  10386.               $val398 = '';
  10387.               $xfer += $input->readString($key397);
  10388.               $xfer += $input->readString($val398);
  10389.               $this->attributes[$key397] = $val398;
  10390.             }
  10391.             $xfer += $input->readMapEnd();
  10392.           } else {
  10393.             $xfer += $input->skip($ftype);
  10394.           }
  10395.           break;
  10396.         default:
  10397.           $xfer += $input->skip($ftype);
  10398.           break;
  10399.       }
  10400.       $xfer += $input->readFieldEnd();
  10401.     }
  10402.     $xfer += $input->readStructEnd();
  10403.     return $xfer;
  10404.   }
  10405.  
  10406.   public function write($output) {
  10407.     $xfer = 0;
  10408.     $xfer += $output->writeStructBegin('Hbase_scannerOpenWithScan_args');
  10409.     if ($this->tableName !== null) {
  10410.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  10411.       $xfer += $output->writeString($this->tableName);
  10412.       $xfer += $output->writeFieldEnd();
  10413.     }
  10414.     if ($this->scan !== null) {
  10415.       if (!is_object($this->scan)) {
  10416.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  10417.       }
  10418.       $xfer += $output->writeFieldBegin('scan', TType::STRUCT, 2);
  10419.       $xfer += $this->scan->write($output);
  10420.       $xfer += $output->writeFieldEnd();
  10421.     }
  10422.     if ($this->attributes !== null) {
  10423.       if (!is_array($this->attributes)) {
  10424.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  10425.       }
  10426.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 3);
  10427.       {
  10428.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  10429.         {
  10430.           foreach ($this->attributes as $kiter399 => $viter400)
  10431.           {
  10432.             $xfer += $output->writeString($kiter399);
  10433.             $xfer += $output->writeString($viter400);
  10434.           }
  10435.         }
  10436.         $output->writeMapEnd();
  10437.       }
  10438.       $xfer += $output->writeFieldEnd();
  10439.     }
  10440.     $xfer += $output->writeFieldStop();
  10441.     $xfer += $output->writeStructEnd();
  10442.     return $xfer;
  10443.   }
  10444.  
  10445. }
  10446.  
  10447. class Hbase_scannerOpenWithScan_result {
  10448.   static $_TSPEC;
  10449.  
  10450.   public $success = null;
  10451.   public $io = null;
  10452.  
  10453.   public function __construct($vals=null) {
  10454.     if (!isset(self::$_TSPEC)) {
  10455.       self::$_TSPEC = array(
  10456.         0 => array(
  10457.           'var' => 'success',
  10458.           'type' => TType::I32,
  10459.           ),
  10460.         1 => array(
  10461.           'var' => 'io',
  10462.           'type' => TType::STRUCT,
  10463.           'class' => '\Hbase\IOError',
  10464.           ),
  10465.         );
  10466.     }
  10467.     if (is_array($vals)) {
  10468.       if (isset($vals['success'])) {
  10469.         $this->success = $vals['success'];
  10470.       }
  10471.       if (isset($vals['io'])) {
  10472.         $this->io = $vals['io'];
  10473.       }
  10474.     }
  10475.   }
  10476.  
  10477.   public function getName() {
  10478.     return 'Hbase_scannerOpenWithScan_result';
  10479.   }
  10480.  
  10481.   public function read($input)
  10482.   {
  10483.     $xfer = 0;
  10484.     $fname = null;
  10485.     $ftype = 0;
  10486.     $fid = 0;
  10487.     $xfer += $input->readStructBegin($fname);
  10488.     while (true)
  10489.     {
  10490.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  10491.       if ($ftype == TType::STOP) {
  10492.         break;
  10493.       }
  10494.       switch ($fid)
  10495.       {
  10496.         case 0:
  10497.           if ($ftype == TType::I32) {
  10498.             $xfer += $input->readI32($this->success);
  10499.           } else {
  10500.             $xfer += $input->skip($ftype);
  10501.           }
  10502.           break;
  10503.         case 1:
  10504.           if ($ftype == TType::STRUCT) {
  10505.             $this->io = new \Hbase\IOError();
  10506.             $xfer += $this->io->read($input);
  10507.           } else {
  10508.             $xfer += $input->skip($ftype);
  10509.           }
  10510.           break;
  10511.         default:
  10512.           $xfer += $input->skip($ftype);
  10513.           break;
  10514.       }
  10515.       $xfer += $input->readFieldEnd();
  10516.     }
  10517.     $xfer += $input->readStructEnd();
  10518.     return $xfer;
  10519.   }
  10520.  
  10521.   public function write($output) {
  10522.     $xfer = 0;
  10523.     $xfer += $output->writeStructBegin('Hbase_scannerOpenWithScan_result');
  10524.     if ($this->success !== null) {
  10525.       $xfer += $output->writeFieldBegin('success', TType::I32, 0);
  10526.       $xfer += $output->writeI32($this->success);
  10527.       $xfer += $output->writeFieldEnd();
  10528.     }
  10529.     if ($this->io !== null) {
  10530.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  10531.       $xfer += $this->io->write($output);
  10532.       $xfer += $output->writeFieldEnd();
  10533.     }
  10534.     $xfer += $output->writeFieldStop();
  10535.     $xfer += $output->writeStructEnd();
  10536.     return $xfer;
  10537.   }
  10538.  
  10539. }
  10540.  
  10541. class Hbase_scannerOpen_args {
  10542.   static $_TSPEC;
  10543.  
  10544.   public $tableName = null;
  10545.   public $startRow = null;
  10546.   public $columns = null;
  10547.   public $attributes = null;
  10548.  
  10549.   public function __construct($vals=null) {
  10550.     if (!isset(self::$_TSPEC)) {
  10551.       self::$_TSPEC = array(
  10552.         1 => array(
  10553.           'var' => 'tableName',
  10554.           'type' => TType::STRING,
  10555.           ),
  10556.         2 => array(
  10557.           'var' => 'startRow',
  10558.           'type' => TType::STRING,
  10559.           ),
  10560.         3 => array(
  10561.           'var' => 'columns',
  10562.           'type' => TType::LST,
  10563.           'etype' => TType::STRING,
  10564.           'elem' => array(
  10565.             'type' => TType::STRING,
  10566.             ),
  10567.           ),
  10568.         4 => array(
  10569.           'var' => 'attributes',
  10570.           'type' => TType::MAP,
  10571.           'ktype' => TType::STRING,
  10572.           'vtype' => TType::STRING,
  10573.           'key' => array(
  10574.             'type' => TType::STRING,
  10575.           ),
  10576.           'val' => array(
  10577.             'type' => TType::STRING,
  10578.             ),
  10579.           ),
  10580.         );
  10581.     }
  10582.     if (is_array($vals)) {
  10583.       if (isset($vals['tableName'])) {
  10584.         $this->tableName = $vals['tableName'];
  10585.       }
  10586.       if (isset($vals['startRow'])) {
  10587.         $this->startRow = $vals['startRow'];
  10588.       }
  10589.       if (isset($vals['columns'])) {
  10590.         $this->columns = $vals['columns'];
  10591.       }
  10592.       if (isset($vals['attributes'])) {
  10593.         $this->attributes = $vals['attributes'];
  10594.       }
  10595.     }
  10596.   }
  10597.  
  10598.   public function getName() {
  10599.     return 'Hbase_scannerOpen_args';
  10600.   }
  10601.  
  10602.   public function read($input)
  10603.   {
  10604.     $xfer = 0;
  10605.     $fname = null;
  10606.     $ftype = 0;
  10607.     $fid = 0;
  10608.     $xfer += $input->readStructBegin($fname);
  10609.     while (true)
  10610.     {
  10611.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  10612.       if ($ftype == TType::STOP) {
  10613.         break;
  10614.       }
  10615.       switch ($fid)
  10616.       {
  10617.         case 1:
  10618.           if ($ftype == TType::STRING) {
  10619.             $xfer += $input->readString($this->tableName);
  10620.           } else {
  10621.             $xfer += $input->skip($ftype);
  10622.           }
  10623.           break;
  10624.         case 2:
  10625.           if ($ftype == TType::STRING) {
  10626.             $xfer += $input->readString($this->startRow);
  10627.           } else {
  10628.             $xfer += $input->skip($ftype);
  10629.           }
  10630.           break;
  10631.         case 3:
  10632.           if ($ftype == TType::LST) {
  10633.             $this->columns = array();
  10634.             $_size401 = 0;
  10635.             $_etype404 = 0;
  10636.             $xfer += $input->readListBegin($_etype404, $_size401);
  10637.             for ($_i405 = 0; $_i405 < $_size401; ++$_i405)
  10638.             {
  10639.               $elem406 = null;
  10640.               $xfer += $input->readString($elem406);
  10641.               $this->columns []= $elem406;
  10642.             }
  10643.             $xfer += $input->readListEnd();
  10644.           } else {
  10645.             $xfer += $input->skip($ftype);
  10646.           }
  10647.           break;
  10648.         case 4:
  10649.           if ($ftype == TType::MAP) {
  10650.             $this->attributes = array();
  10651.             $_size407 = 0;
  10652.             $_ktype408 = 0;
  10653.             $_vtype409 = 0;
  10654.             $xfer += $input->readMapBegin($_ktype408, $_vtype409, $_size407);
  10655.             for ($_i411 = 0; $_i411 < $_size407; ++$_i411)
  10656.             {
  10657.               $key412 = '';
  10658.               $val413 = '';
  10659.               $xfer += $input->readString($key412);
  10660.               $xfer += $input->readString($val413);
  10661.               $this->attributes[$key412] = $val413;
  10662.             }
  10663.             $xfer += $input->readMapEnd();
  10664.           } else {
  10665.             $xfer += $input->skip($ftype);
  10666.           }
  10667.           break;
  10668.         default:
  10669.           $xfer += $input->skip($ftype);
  10670.           break;
  10671.       }
  10672.       $xfer += $input->readFieldEnd();
  10673.     }
  10674.     $xfer += $input->readStructEnd();
  10675.     return $xfer;
  10676.   }
  10677.  
  10678.   public function write($output) {
  10679.     $xfer = 0;
  10680.     $xfer += $output->writeStructBegin('Hbase_scannerOpen_args');
  10681.     if ($this->tableName !== null) {
  10682.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  10683.       $xfer += $output->writeString($this->tableName);
  10684.       $xfer += $output->writeFieldEnd();
  10685.     }
  10686.     if ($this->startRow !== null) {
  10687.       $xfer += $output->writeFieldBegin('startRow', TType::STRING, 2);
  10688.       $xfer += $output->writeString($this->startRow);
  10689.       $xfer += $output->writeFieldEnd();
  10690.     }
  10691.     if ($this->columns !== null) {
  10692.       if (!is_array($this->columns)) {
  10693.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  10694.       }
  10695.       $xfer += $output->writeFieldBegin('columns', TType::LST, 3);
  10696.       {
  10697.         $output->writeListBegin(TType::STRING, count($this->columns));
  10698.         {
  10699.           foreach ($this->columns as $iter414)
  10700.           {
  10701.             $xfer += $output->writeString($iter414);
  10702.           }
  10703.         }
  10704.         $output->writeListEnd();
  10705.       }
  10706.       $xfer += $output->writeFieldEnd();
  10707.     }
  10708.     if ($this->attributes !== null) {
  10709.       if (!is_array($this->attributes)) {
  10710.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  10711.       }
  10712.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  10713.       {
  10714.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  10715.         {
  10716.           foreach ($this->attributes as $kiter415 => $viter416)
  10717.           {
  10718.             $xfer += $output->writeString($kiter415);
  10719.             $xfer += $output->writeString($viter416);
  10720.           }
  10721.         }
  10722.         $output->writeMapEnd();
  10723.       }
  10724.       $xfer += $output->writeFieldEnd();
  10725.     }
  10726.     $xfer += $output->writeFieldStop();
  10727.     $xfer += $output->writeStructEnd();
  10728.     return $xfer;
  10729.   }
  10730.  
  10731. }
  10732.  
  10733. class Hbase_scannerOpen_result {
  10734.   static $_TSPEC;
  10735.  
  10736.   public $success = null;
  10737.   public $io = null;
  10738.  
  10739.   public function __construct($vals=null) {
  10740.     if (!isset(self::$_TSPEC)) {
  10741.       self::$_TSPEC = array(
  10742.         0 => array(
  10743.           'var' => 'success',
  10744.           'type' => TType::I32,
  10745.           ),
  10746.         1 => array(
  10747.           'var' => 'io',
  10748.           'type' => TType::STRUCT,
  10749.           'class' => '\Hbase\IOError',
  10750.           ),
  10751.         );
  10752.     }
  10753.     if (is_array($vals)) {
  10754.       if (isset($vals['success'])) {
  10755.         $this->success = $vals['success'];
  10756.       }
  10757.       if (isset($vals['io'])) {
  10758.         $this->io = $vals['io'];
  10759.       }
  10760.     }
  10761.   }
  10762.  
  10763.   public function getName() {
  10764.     return 'Hbase_scannerOpen_result';
  10765.   }
  10766.  
  10767.   public function read($input)
  10768.   {
  10769.     $xfer = 0;
  10770.     $fname = null;
  10771.     $ftype = 0;
  10772.     $fid = 0;
  10773.     $xfer += $input->readStructBegin($fname);
  10774.     while (true)
  10775.     {
  10776.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  10777.       if ($ftype == TType::STOP) {
  10778.         break;
  10779.       }
  10780.       switch ($fid)
  10781.       {
  10782.         case 0:
  10783.           if ($ftype == TType::I32) {
  10784.             $xfer += $input->readI32($this->success);
  10785.           } else {
  10786.             $xfer += $input->skip($ftype);
  10787.           }
  10788.           break;
  10789.         case 1:
  10790.           if ($ftype == TType::STRUCT) {
  10791.             $this->io = new \Hbase\IOError();
  10792.             $xfer += $this->io->read($input);
  10793.           } else {
  10794.             $xfer += $input->skip($ftype);
  10795.           }
  10796.           break;
  10797.         default:
  10798.           $xfer += $input->skip($ftype);
  10799.           break;
  10800.       }
  10801.       $xfer += $input->readFieldEnd();
  10802.     }
  10803.     $xfer += $input->readStructEnd();
  10804.     return $xfer;
  10805.   }
  10806.  
  10807.   public function write($output) {
  10808.     $xfer = 0;
  10809.     $xfer += $output->writeStructBegin('Hbase_scannerOpen_result');
  10810.     if ($this->success !== null) {
  10811.       $xfer += $output->writeFieldBegin('success', TType::I32, 0);
  10812.       $xfer += $output->writeI32($this->success);
  10813.       $xfer += $output->writeFieldEnd();
  10814.     }
  10815.     if ($this->io !== null) {
  10816.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  10817.       $xfer += $this->io->write($output);
  10818.       $xfer += $output->writeFieldEnd();
  10819.     }
  10820.     $xfer += $output->writeFieldStop();
  10821.     $xfer += $output->writeStructEnd();
  10822.     return $xfer;
  10823.   }
  10824.  
  10825. }
  10826.  
  10827. class Hbase_scannerOpenWithStop_args {
  10828.   static $_TSPEC;
  10829.  
  10830.   public $tableName = null;
  10831.   public $startRow = null;
  10832.   public $stopRow = null;
  10833.   public $columns = null;
  10834.   public $attributes = null;
  10835.  
  10836.   public function __construct($vals=null) {
  10837.     if (!isset(self::$_TSPEC)) {
  10838.       self::$_TSPEC = array(
  10839.         1 => array(
  10840.           'var' => 'tableName',
  10841.           'type' => TType::STRING,
  10842.           ),
  10843.         2 => array(
  10844.           'var' => 'startRow',
  10845.           'type' => TType::STRING,
  10846.           ),
  10847.         3 => array(
  10848.           'var' => 'stopRow',
  10849.           'type' => TType::STRING,
  10850.           ),
  10851.         4 => array(
  10852.           'var' => 'columns',
  10853.           'type' => TType::LST,
  10854.           'etype' => TType::STRING,
  10855.           'elem' => array(
  10856.             'type' => TType::STRING,
  10857.             ),
  10858.           ),
  10859.         5 => array(
  10860.           'var' => 'attributes',
  10861.           'type' => TType::MAP,
  10862.           'ktype' => TType::STRING,
  10863.           'vtype' => TType::STRING,
  10864.           'key' => array(
  10865.             'type' => TType::STRING,
  10866.           ),
  10867.           'val' => array(
  10868.             'type' => TType::STRING,
  10869.             ),
  10870.           ),
  10871.         );
  10872.     }
  10873.     if (is_array($vals)) {
  10874.       if (isset($vals['tableName'])) {
  10875.         $this->tableName = $vals['tableName'];
  10876.       }
  10877.       if (isset($vals['startRow'])) {
  10878.         $this->startRow = $vals['startRow'];
  10879.       }
  10880.       if (isset($vals['stopRow'])) {
  10881.         $this->stopRow = $vals['stopRow'];
  10882.       }
  10883.       if (isset($vals['columns'])) {
  10884.         $this->columns = $vals['columns'];
  10885.       }
  10886.       if (isset($vals['attributes'])) {
  10887.         $this->attributes = $vals['attributes'];
  10888.       }
  10889.     }
  10890.   }
  10891.  
  10892.   public function getName() {
  10893.     return 'Hbase_scannerOpenWithStop_args';
  10894.   }
  10895.  
  10896.   public function read($input)
  10897.   {
  10898.     $xfer = 0;
  10899.     $fname = null;
  10900.     $ftype = 0;
  10901.     $fid = 0;
  10902.     $xfer += $input->readStructBegin($fname);
  10903.     while (true)
  10904.     {
  10905.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  10906.       if ($ftype == TType::STOP) {
  10907.         break;
  10908.       }
  10909.       switch ($fid)
  10910.       {
  10911.         case 1:
  10912.           if ($ftype == TType::STRING) {
  10913.             $xfer += $input->readString($this->tableName);
  10914.           } else {
  10915.             $xfer += $input->skip($ftype);
  10916.           }
  10917.           break;
  10918.         case 2:
  10919.           if ($ftype == TType::STRING) {
  10920.             $xfer += $input->readString($this->startRow);
  10921.           } else {
  10922.             $xfer += $input->skip($ftype);
  10923.           }
  10924.           break;
  10925.         case 3:
  10926.           if ($ftype == TType::STRING) {
  10927.             $xfer += $input->readString($this->stopRow);
  10928.           } else {
  10929.             $xfer += $input->skip($ftype);
  10930.           }
  10931.           break;
  10932.         case 4:
  10933.           if ($ftype == TType::LST) {
  10934.             $this->columns = array();
  10935.             $_size417 = 0;
  10936.             $_etype420 = 0;
  10937.             $xfer += $input->readListBegin($_etype420, $_size417);
  10938.             for ($_i421 = 0; $_i421 < $_size417; ++$_i421)
  10939.             {
  10940.               $elem422 = null;
  10941.               $xfer += $input->readString($elem422);
  10942.               $this->columns []= $elem422;
  10943.             }
  10944.             $xfer += $input->readListEnd();
  10945.           } else {
  10946.             $xfer += $input->skip($ftype);
  10947.           }
  10948.           break;
  10949.         case 5:
  10950.           if ($ftype == TType::MAP) {
  10951.             $this->attributes = array();
  10952.             $_size423 = 0;
  10953.             $_ktype424 = 0;
  10954.             $_vtype425 = 0;
  10955.             $xfer += $input->readMapBegin($_ktype424, $_vtype425, $_size423);
  10956.             for ($_i427 = 0; $_i427 < $_size423; ++$_i427)
  10957.             {
  10958.               $key428 = '';
  10959.               $val429 = '';
  10960.               $xfer += $input->readString($key428);
  10961.               $xfer += $input->readString($val429);
  10962.               $this->attributes[$key428] = $val429;
  10963.             }
  10964.             $xfer += $input->readMapEnd();
  10965.           } else {
  10966.             $xfer += $input->skip($ftype);
  10967.           }
  10968.           break;
  10969.         default:
  10970.           $xfer += $input->skip($ftype);
  10971.           break;
  10972.       }
  10973.       $xfer += $input->readFieldEnd();
  10974.     }
  10975.     $xfer += $input->readStructEnd();
  10976.     return $xfer;
  10977.   }
  10978.  
  10979.   public function write($output) {
  10980.     $xfer = 0;
  10981.     $xfer += $output->writeStructBegin('Hbase_scannerOpenWithStop_args');
  10982.     if ($this->tableName !== null) {
  10983.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  10984.       $xfer += $output->writeString($this->tableName);
  10985.       $xfer += $output->writeFieldEnd();
  10986.     }
  10987.     if ($this->startRow !== null) {
  10988.       $xfer += $output->writeFieldBegin('startRow', TType::STRING, 2);
  10989.       $xfer += $output->writeString($this->startRow);
  10990.       $xfer += $output->writeFieldEnd();
  10991.     }
  10992.     if ($this->stopRow !== null) {
  10993.       $xfer += $output->writeFieldBegin('stopRow', TType::STRING, 3);
  10994.       $xfer += $output->writeString($this->stopRow);
  10995.       $xfer += $output->writeFieldEnd();
  10996.     }
  10997.     if ($this->columns !== null) {
  10998.       if (!is_array($this->columns)) {
  10999.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  11000.       }
  11001.       $xfer += $output->writeFieldBegin('columns', TType::LST, 4);
  11002.       {
  11003.         $output->writeListBegin(TType::STRING, count($this->columns));
  11004.         {
  11005.           foreach ($this->columns as $iter430)
  11006.           {
  11007.             $xfer += $output->writeString($iter430);
  11008.           }
  11009.         }
  11010.         $output->writeListEnd();
  11011.       }
  11012.       $xfer += $output->writeFieldEnd();
  11013.     }
  11014.     if ($this->attributes !== null) {
  11015.       if (!is_array($this->attributes)) {
  11016.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  11017.       }
  11018.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 5);
  11019.       {
  11020.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  11021.         {
  11022.           foreach ($this->attributes as $kiter431 => $viter432)
  11023.           {
  11024.             $xfer += $output->writeString($kiter431);
  11025.             $xfer += $output->writeString($viter432);
  11026.           }
  11027.         }
  11028.         $output->writeMapEnd();
  11029.       }
  11030.       $xfer += $output->writeFieldEnd();
  11031.     }
  11032.     $xfer += $output->writeFieldStop();
  11033.     $xfer += $output->writeStructEnd();
  11034.     return $xfer;
  11035.   }
  11036.  
  11037. }
  11038.  
  11039. class Hbase_scannerOpenWithStop_result {
  11040.   static $_TSPEC;
  11041.  
  11042.   public $success = null;
  11043.   public $io = null;
  11044.  
  11045.   public function __construct($vals=null) {
  11046.     if (!isset(self::$_TSPEC)) {
  11047.       self::$_TSPEC = array(
  11048.         0 => array(
  11049.           'var' => 'success',
  11050.           'type' => TType::I32,
  11051.           ),
  11052.         1 => array(
  11053.           'var' => 'io',
  11054.           'type' => TType::STRUCT,
  11055.           'class' => '\Hbase\IOError',
  11056.           ),
  11057.         );
  11058.     }
  11059.     if (is_array($vals)) {
  11060.       if (isset($vals['success'])) {
  11061.         $this->success = $vals['success'];
  11062.       }
  11063.       if (isset($vals['io'])) {
  11064.         $this->io = $vals['io'];
  11065.       }
  11066.     }
  11067.   }
  11068.  
  11069.   public function getName() {
  11070.     return 'Hbase_scannerOpenWithStop_result';
  11071.   }
  11072.  
  11073.   public function read($input)
  11074.   {
  11075.     $xfer = 0;
  11076.     $fname = null;
  11077.     $ftype = 0;
  11078.     $fid = 0;
  11079.     $xfer += $input->readStructBegin($fname);
  11080.     while (true)
  11081.     {
  11082.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  11083.       if ($ftype == TType::STOP) {
  11084.         break;
  11085.       }
  11086.       switch ($fid)
  11087.       {
  11088.         case 0:
  11089.           if ($ftype == TType::I32) {
  11090.             $xfer += $input->readI32($this->success);
  11091.           } else {
  11092.             $xfer += $input->skip($ftype);
  11093.           }
  11094.           break;
  11095.         case 1:
  11096.           if ($ftype == TType::STRUCT) {
  11097.             $this->io = new \Hbase\IOError();
  11098.             $xfer += $this->io->read($input);
  11099.           } else {
  11100.             $xfer += $input->skip($ftype);
  11101.           }
  11102.           break;
  11103.         default:
  11104.           $xfer += $input->skip($ftype);
  11105.           break;
  11106.       }
  11107.       $xfer += $input->readFieldEnd();
  11108.     }
  11109.     $xfer += $input->readStructEnd();
  11110.     return $xfer;
  11111.   }
  11112.  
  11113.   public function write($output) {
  11114.     $xfer = 0;
  11115.     $xfer += $output->writeStructBegin('Hbase_scannerOpenWithStop_result');
  11116.     if ($this->success !== null) {
  11117.       $xfer += $output->writeFieldBegin('success', TType::I32, 0);
  11118.       $xfer += $output->writeI32($this->success);
  11119.       $xfer += $output->writeFieldEnd();
  11120.     }
  11121.     if ($this->io !== null) {
  11122.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  11123.       $xfer += $this->io->write($output);
  11124.       $xfer += $output->writeFieldEnd();
  11125.     }
  11126.     $xfer += $output->writeFieldStop();
  11127.     $xfer += $output->writeStructEnd();
  11128.     return $xfer;
  11129.   }
  11130.  
  11131. }
  11132.  
  11133. class Hbase_scannerOpenWithPrefix_args {
  11134.   static $_TSPEC;
  11135.  
  11136.   public $tableName = null;
  11137.   public $startAndPrefix = null;
  11138.   public $columns = null;
  11139.   public $attributes = null;
  11140.  
  11141.   public function __construct($vals=null) {
  11142.     if (!isset(self::$_TSPEC)) {
  11143.       self::$_TSPEC = array(
  11144.         1 => array(
  11145.           'var' => 'tableName',
  11146.           'type' => TType::STRING,
  11147.           ),
  11148.         2 => array(
  11149.           'var' => 'startAndPrefix',
  11150.           'type' => TType::STRING,
  11151.           ),
  11152.         3 => array(
  11153.           'var' => 'columns',
  11154.           'type' => TType::LST,
  11155.           'etype' => TType::STRING,
  11156.           'elem' => array(
  11157.             'type' => TType::STRING,
  11158.             ),
  11159.           ),
  11160.         4 => array(
  11161.           'var' => 'attributes',
  11162.           'type' => TType::MAP,
  11163.           'ktype' => TType::STRING,
  11164.           'vtype' => TType::STRING,
  11165.           'key' => array(
  11166.             'type' => TType::STRING,
  11167.           ),
  11168.           'val' => array(
  11169.             'type' => TType::STRING,
  11170.             ),
  11171.           ),
  11172.         );
  11173.     }
  11174.     if (is_array($vals)) {
  11175.       if (isset($vals['tableName'])) {
  11176.         $this->tableName = $vals['tableName'];
  11177.       }
  11178.       if (isset($vals['startAndPrefix'])) {
  11179.         $this->startAndPrefix = $vals['startAndPrefix'];
  11180.       }
  11181.       if (isset($vals['columns'])) {
  11182.         $this->columns = $vals['columns'];
  11183.       }
  11184.       if (isset($vals['attributes'])) {
  11185.         $this->attributes = $vals['attributes'];
  11186.       }
  11187.     }
  11188.   }
  11189.  
  11190.   public function getName() {
  11191.     return 'Hbase_scannerOpenWithPrefix_args';
  11192.   }
  11193.  
  11194.   public function read($input)
  11195.   {
  11196.     $xfer = 0;
  11197.     $fname = null;
  11198.     $ftype = 0;
  11199.     $fid = 0;
  11200.     $xfer += $input->readStructBegin($fname);
  11201.     while (true)
  11202.     {
  11203.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  11204.       if ($ftype == TType::STOP) {
  11205.         break;
  11206.       }
  11207.       switch ($fid)
  11208.       {
  11209.         case 1:
  11210.           if ($ftype == TType::STRING) {
  11211.             $xfer += $input->readString($this->tableName);
  11212.           } else {
  11213.             $xfer += $input->skip($ftype);
  11214.           }
  11215.           break;
  11216.         case 2:
  11217.           if ($ftype == TType::STRING) {
  11218.             $xfer += $input->readString($this->startAndPrefix);
  11219.           } else {
  11220.             $xfer += $input->skip($ftype);
  11221.           }
  11222.           break;
  11223.         case 3:
  11224.           if ($ftype == TType::LST) {
  11225.             $this->columns = array();
  11226.             $_size433 = 0;
  11227.             $_etype436 = 0;
  11228.             $xfer += $input->readListBegin($_etype436, $_size433);
  11229.             for ($_i437 = 0; $_i437 < $_size433; ++$_i437)
  11230.             {
  11231.               $elem438 = null;
  11232.               $xfer += $input->readString($elem438);
  11233.               $this->columns []= $elem438;
  11234.             }
  11235.             $xfer += $input->readListEnd();
  11236.           } else {
  11237.             $xfer += $input->skip($ftype);
  11238.           }
  11239.           break;
  11240.         case 4:
  11241.           if ($ftype == TType::MAP) {
  11242.             $this->attributes = array();
  11243.             $_size439 = 0;
  11244.             $_ktype440 = 0;
  11245.             $_vtype441 = 0;
  11246.             $xfer += $input->readMapBegin($_ktype440, $_vtype441, $_size439);
  11247.             for ($_i443 = 0; $_i443 < $_size439; ++$_i443)
  11248.             {
  11249.               $key444 = '';
  11250.               $val445 = '';
  11251.               $xfer += $input->readString($key444);
  11252.               $xfer += $input->readString($val445);
  11253.               $this->attributes[$key444] = $val445;
  11254.             }
  11255.             $xfer += $input->readMapEnd();
  11256.           } else {
  11257.             $xfer += $input->skip($ftype);
  11258.           }
  11259.           break;
  11260.         default:
  11261.           $xfer += $input->skip($ftype);
  11262.           break;
  11263.       }
  11264.       $xfer += $input->readFieldEnd();
  11265.     }
  11266.     $xfer += $input->readStructEnd();
  11267.     return $xfer;
  11268.   }
  11269.  
  11270.   public function write($output) {
  11271.     $xfer = 0;
  11272.     $xfer += $output->writeStructBegin('Hbase_scannerOpenWithPrefix_args');
  11273.     if ($this->tableName !== null) {
  11274.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  11275.       $xfer += $output->writeString($this->tableName);
  11276.       $xfer += $output->writeFieldEnd();
  11277.     }
  11278.     if ($this->startAndPrefix !== null) {
  11279.       $xfer += $output->writeFieldBegin('startAndPrefix', TType::STRING, 2);
  11280.       $xfer += $output->writeString($this->startAndPrefix);
  11281.       $xfer += $output->writeFieldEnd();
  11282.     }
  11283.     if ($this->columns !== null) {
  11284.       if (!is_array($this->columns)) {
  11285.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  11286.       }
  11287.       $xfer += $output->writeFieldBegin('columns', TType::LST, 3);
  11288.       {
  11289.         $output->writeListBegin(TType::STRING, count($this->columns));
  11290.         {
  11291.           foreach ($this->columns as $iter446)
  11292.           {
  11293.             $xfer += $output->writeString($iter446);
  11294.           }
  11295.         }
  11296.         $output->writeListEnd();
  11297.       }
  11298.       $xfer += $output->writeFieldEnd();
  11299.     }
  11300.     if ($this->attributes !== null) {
  11301.       if (!is_array($this->attributes)) {
  11302.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  11303.       }
  11304.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 4);
  11305.       {
  11306.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  11307.         {
  11308.           foreach ($this->attributes as $kiter447 => $viter448)
  11309.           {
  11310.             $xfer += $output->writeString($kiter447);
  11311.             $xfer += $output->writeString($viter448);
  11312.           }
  11313.         }
  11314.         $output->writeMapEnd();
  11315.       }
  11316.       $xfer += $output->writeFieldEnd();
  11317.     }
  11318.     $xfer += $output->writeFieldStop();
  11319.     $xfer += $output->writeStructEnd();
  11320.     return $xfer;
  11321.   }
  11322.  
  11323. }
  11324.  
  11325. class Hbase_scannerOpenWithPrefix_result {
  11326.   static $_TSPEC;
  11327.  
  11328.   public $success = null;
  11329.   public $io = null;
  11330.  
  11331.   public function __construct($vals=null) {
  11332.     if (!isset(self::$_TSPEC)) {
  11333.       self::$_TSPEC = array(
  11334.         0 => array(
  11335.           'var' => 'success',
  11336.           'type' => TType::I32,
  11337.           ),
  11338.         1 => array(
  11339.           'var' => 'io',
  11340.           'type' => TType::STRUCT,
  11341.           'class' => '\Hbase\IOError',
  11342.           ),
  11343.         );
  11344.     }
  11345.     if (is_array($vals)) {
  11346.       if (isset($vals['success'])) {
  11347.         $this->success = $vals['success'];
  11348.       }
  11349.       if (isset($vals['io'])) {
  11350.         $this->io = $vals['io'];
  11351.       }
  11352.     }
  11353.   }
  11354.  
  11355.   public function getName() {
  11356.     return 'Hbase_scannerOpenWithPrefix_result';
  11357.   }
  11358.  
  11359.   public function read($input)
  11360.   {
  11361.     $xfer = 0;
  11362.     $fname = null;
  11363.     $ftype = 0;
  11364.     $fid = 0;
  11365.     $xfer += $input->readStructBegin($fname);
  11366.     while (true)
  11367.     {
  11368.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  11369.       if ($ftype == TType::STOP) {
  11370.         break;
  11371.       }
  11372.       switch ($fid)
  11373.       {
  11374.         case 0:
  11375.           if ($ftype == TType::I32) {
  11376.             $xfer += $input->readI32($this->success);
  11377.           } else {
  11378.             $xfer += $input->skip($ftype);
  11379.           }
  11380.           break;
  11381.         case 1:
  11382.           if ($ftype == TType::STRUCT) {
  11383.             $this->io = new \Hbase\IOError();
  11384.             $xfer += $this->io->read($input);
  11385.           } else {
  11386.             $xfer += $input->skip($ftype);
  11387.           }
  11388.           break;
  11389.         default:
  11390.           $xfer += $input->skip($ftype);
  11391.           break;
  11392.       }
  11393.       $xfer += $input->readFieldEnd();
  11394.     }
  11395.     $xfer += $input->readStructEnd();
  11396.     return $xfer;
  11397.   }
  11398.  
  11399.   public function write($output) {
  11400.     $xfer = 0;
  11401.     $xfer += $output->writeStructBegin('Hbase_scannerOpenWithPrefix_result');
  11402.     if ($this->success !== null) {
  11403.       $xfer += $output->writeFieldBegin('success', TType::I32, 0);
  11404.       $xfer += $output->writeI32($this->success);
  11405.       $xfer += $output->writeFieldEnd();
  11406.     }
  11407.     if ($this->io !== null) {
  11408.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  11409.       $xfer += $this->io->write($output);
  11410.       $xfer += $output->writeFieldEnd();
  11411.     }
  11412.     $xfer += $output->writeFieldStop();
  11413.     $xfer += $output->writeStructEnd();
  11414.     return $xfer;
  11415.   }
  11416.  
  11417. }
  11418.  
  11419. class Hbase_scannerOpenTs_args {
  11420.   static $_TSPEC;
  11421.  
  11422.   public $tableName = null;
  11423.   public $startRow = null;
  11424.   public $columns = null;
  11425.   public $timestamp = null;
  11426.   public $attributes = null;
  11427.  
  11428.   public function __construct($vals=null) {
  11429.     if (!isset(self::$_TSPEC)) {
  11430.       self::$_TSPEC = array(
  11431.         1 => array(
  11432.           'var' => 'tableName',
  11433.           'type' => TType::STRING,
  11434.           ),
  11435.         2 => array(
  11436.           'var' => 'startRow',
  11437.           'type' => TType::STRING,
  11438.           ),
  11439.         3 => array(
  11440.           'var' => 'columns',
  11441.           'type' => TType::LST,
  11442.           'etype' => TType::STRING,
  11443.           'elem' => array(
  11444.             'type' => TType::STRING,
  11445.             ),
  11446.           ),
  11447.         4 => array(
  11448.           'var' => 'timestamp',
  11449.           'type' => TType::I64,
  11450.           ),
  11451.         5 => array(
  11452.           'var' => 'attributes',
  11453.           'type' => TType::MAP,
  11454.           'ktype' => TType::STRING,
  11455.           'vtype' => TType::STRING,
  11456.           'key' => array(
  11457.             'type' => TType::STRING,
  11458.           ),
  11459.           'val' => array(
  11460.             'type' => TType::STRING,
  11461.             ),
  11462.           ),
  11463.         );
  11464.     }
  11465.     if (is_array($vals)) {
  11466.       if (isset($vals['tableName'])) {
  11467.         $this->tableName = $vals['tableName'];
  11468.       }
  11469.       if (isset($vals['startRow'])) {
  11470.         $this->startRow = $vals['startRow'];
  11471.       }
  11472.       if (isset($vals['columns'])) {
  11473.         $this->columns = $vals['columns'];
  11474.       }
  11475.       if (isset($vals['timestamp'])) {
  11476.         $this->timestamp = $vals['timestamp'];
  11477.       }
  11478.       if (isset($vals['attributes'])) {
  11479.         $this->attributes = $vals['attributes'];
  11480.       }
  11481.     }
  11482.   }
  11483.  
  11484.   public function getName() {
  11485.     return 'Hbase_scannerOpenTs_args';
  11486.   }
  11487.  
  11488.   public function read($input)
  11489.   {
  11490.     $xfer = 0;
  11491.     $fname = null;
  11492.     $ftype = 0;
  11493.     $fid = 0;
  11494.     $xfer += $input->readStructBegin($fname);
  11495.     while (true)
  11496.     {
  11497.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  11498.       if ($ftype == TType::STOP) {
  11499.         break;
  11500.       }
  11501.       switch ($fid)
  11502.       {
  11503.         case 1:
  11504.           if ($ftype == TType::STRING) {
  11505.             $xfer += $input->readString($this->tableName);
  11506.           } else {
  11507.             $xfer += $input->skip($ftype);
  11508.           }
  11509.           break;
  11510.         case 2:
  11511.           if ($ftype == TType::STRING) {
  11512.             $xfer += $input->readString($this->startRow);
  11513.           } else {
  11514.             $xfer += $input->skip($ftype);
  11515.           }
  11516.           break;
  11517.         case 3:
  11518.           if ($ftype == TType::LST) {
  11519.             $this->columns = array();
  11520.             $_size449 = 0;
  11521.             $_etype452 = 0;
  11522.             $xfer += $input->readListBegin($_etype452, $_size449);
  11523.             for ($_i453 = 0; $_i453 < $_size449; ++$_i453)
  11524.             {
  11525.               $elem454 = null;
  11526.               $xfer += $input->readString($elem454);
  11527.               $this->columns []= $elem454;
  11528.             }
  11529.             $xfer += $input->readListEnd();
  11530.           } else {
  11531.             $xfer += $input->skip($ftype);
  11532.           }
  11533.           break;
  11534.         case 4:
  11535.           if ($ftype == TType::I64) {
  11536.             $xfer += $input->readI64($this->timestamp);
  11537.           } else {
  11538.             $xfer += $input->skip($ftype);
  11539.           }
  11540.           break;
  11541.         case 5:
  11542.           if ($ftype == TType::MAP) {
  11543.             $this->attributes = array();
  11544.             $_size455 = 0;
  11545.             $_ktype456 = 0;
  11546.             $_vtype457 = 0;
  11547.             $xfer += $input->readMapBegin($_ktype456, $_vtype457, $_size455);
  11548.             for ($_i459 = 0; $_i459 < $_size455; ++$_i459)
  11549.             {
  11550.               $key460 = '';
  11551.               $val461 = '';
  11552.               $xfer += $input->readString($key460);
  11553.               $xfer += $input->readString($val461);
  11554.               $this->attributes[$key460] = $val461;
  11555.             }
  11556.             $xfer += $input->readMapEnd();
  11557.           } else {
  11558.             $xfer += $input->skip($ftype);
  11559.           }
  11560.           break;
  11561.         default:
  11562.           $xfer += $input->skip($ftype);
  11563.           break;
  11564.       }
  11565.       $xfer += $input->readFieldEnd();
  11566.     }
  11567.     $xfer += $input->readStructEnd();
  11568.     return $xfer;
  11569.   }
  11570.  
  11571.   public function write($output) {
  11572.     $xfer = 0;
  11573.     $xfer += $output->writeStructBegin('Hbase_scannerOpenTs_args');
  11574.     if ($this->tableName !== null) {
  11575.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  11576.       $xfer += $output->writeString($this->tableName);
  11577.       $xfer += $output->writeFieldEnd();
  11578.     }
  11579.     if ($this->startRow !== null) {
  11580.       $xfer += $output->writeFieldBegin('startRow', TType::STRING, 2);
  11581.       $xfer += $output->writeString($this->startRow);
  11582.       $xfer += $output->writeFieldEnd();
  11583.     }
  11584.     if ($this->columns !== null) {
  11585.       if (!is_array($this->columns)) {
  11586.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  11587.       }
  11588.       $xfer += $output->writeFieldBegin('columns', TType::LST, 3);
  11589.       {
  11590.         $output->writeListBegin(TType::STRING, count($this->columns));
  11591.         {
  11592.           foreach ($this->columns as $iter462)
  11593.           {
  11594.             $xfer += $output->writeString($iter462);
  11595.           }
  11596.         }
  11597.         $output->writeListEnd();
  11598.       }
  11599.       $xfer += $output->writeFieldEnd();
  11600.     }
  11601.     if ($this->timestamp !== null) {
  11602.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 4);
  11603.       $xfer += $output->writeI64($this->timestamp);
  11604.       $xfer += $output->writeFieldEnd();
  11605.     }
  11606.     if ($this->attributes !== null) {
  11607.       if (!is_array($this->attributes)) {
  11608.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  11609.       }
  11610.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 5);
  11611.       {
  11612.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  11613.         {
  11614.           foreach ($this->attributes as $kiter463 => $viter464)
  11615.           {
  11616.             $xfer += $output->writeString($kiter463);
  11617.             $xfer += $output->writeString($viter464);
  11618.           }
  11619.         }
  11620.         $output->writeMapEnd();
  11621.       }
  11622.       $xfer += $output->writeFieldEnd();
  11623.     }
  11624.     $xfer += $output->writeFieldStop();
  11625.     $xfer += $output->writeStructEnd();
  11626.     return $xfer;
  11627.   }
  11628.  
  11629. }
  11630.  
  11631. class Hbase_scannerOpenTs_result {
  11632.   static $_TSPEC;
  11633.  
  11634.   public $success = null;
  11635.   public $io = null;
  11636.  
  11637.   public function __construct($vals=null) {
  11638.     if (!isset(self::$_TSPEC)) {
  11639.       self::$_TSPEC = array(
  11640.         0 => array(
  11641.           'var' => 'success',
  11642.           'type' => TType::I32,
  11643.           ),
  11644.         1 => array(
  11645.           'var' => 'io',
  11646.           'type' => TType::STRUCT,
  11647.           'class' => '\Hbase\IOError',
  11648.           ),
  11649.         );
  11650.     }
  11651.     if (is_array($vals)) {
  11652.       if (isset($vals['success'])) {
  11653.         $this->success = $vals['success'];
  11654.       }
  11655.       if (isset($vals['io'])) {
  11656.         $this->io = $vals['io'];
  11657.       }
  11658.     }
  11659.   }
  11660.  
  11661.   public function getName() {
  11662.     return 'Hbase_scannerOpenTs_result';
  11663.   }
  11664.  
  11665.   public function read($input)
  11666.   {
  11667.     $xfer = 0;
  11668.     $fname = null;
  11669.     $ftype = 0;
  11670.     $fid = 0;
  11671.     $xfer += $input->readStructBegin($fname);
  11672.     while (true)
  11673.     {
  11674.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  11675.       if ($ftype == TType::STOP) {
  11676.         break;
  11677.       }
  11678.       switch ($fid)
  11679.       {
  11680.         case 0:
  11681.           if ($ftype == TType::I32) {
  11682.             $xfer += $input->readI32($this->success);
  11683.           } else {
  11684.             $xfer += $input->skip($ftype);
  11685.           }
  11686.           break;
  11687.         case 1:
  11688.           if ($ftype == TType::STRUCT) {
  11689.             $this->io = new \Hbase\IOError();
  11690.             $xfer += $this->io->read($input);
  11691.           } else {
  11692.             $xfer += $input->skip($ftype);
  11693.           }
  11694.           break;
  11695.         default:
  11696.           $xfer += $input->skip($ftype);
  11697.           break;
  11698.       }
  11699.       $xfer += $input->readFieldEnd();
  11700.     }
  11701.     $xfer += $input->readStructEnd();
  11702.     return $xfer;
  11703.   }
  11704.  
  11705.   public function write($output) {
  11706.     $xfer = 0;
  11707.     $xfer += $output->writeStructBegin('Hbase_scannerOpenTs_result');
  11708.     if ($this->success !== null) {
  11709.       $xfer += $output->writeFieldBegin('success', TType::I32, 0);
  11710.       $xfer += $output->writeI32($this->success);
  11711.       $xfer += $output->writeFieldEnd();
  11712.     }
  11713.     if ($this->io !== null) {
  11714.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  11715.       $xfer += $this->io->write($output);
  11716.       $xfer += $output->writeFieldEnd();
  11717.     }
  11718.     $xfer += $output->writeFieldStop();
  11719.     $xfer += $output->writeStructEnd();
  11720.     return $xfer;
  11721.   }
  11722.  
  11723. }
  11724.  
  11725. class Hbase_scannerOpenWithStopTs_args {
  11726.   static $_TSPEC;
  11727.  
  11728.   public $tableName = null;
  11729.   public $startRow = null;
  11730.   public $stopRow = null;
  11731.   public $columns = null;
  11732.   public $timestamp = null;
  11733.   public $attributes = null;
  11734.  
  11735.   public function __construct($vals=null) {
  11736.     if (!isset(self::$_TSPEC)) {
  11737.       self::$_TSPEC = array(
  11738.         1 => array(
  11739.           'var' => 'tableName',
  11740.           'type' => TType::STRING,
  11741.           ),
  11742.         2 => array(
  11743.           'var' => 'startRow',
  11744.           'type' => TType::STRING,
  11745.           ),
  11746.         3 => array(
  11747.           'var' => 'stopRow',
  11748.           'type' => TType::STRING,
  11749.           ),
  11750.         4 => array(
  11751.           'var' => 'columns',
  11752.           'type' => TType::LST,
  11753.           'etype' => TType::STRING,
  11754.           'elem' => array(
  11755.             'type' => TType::STRING,
  11756.             ),
  11757.           ),
  11758.         5 => array(
  11759.           'var' => 'timestamp',
  11760.           'type' => TType::I64,
  11761.           ),
  11762.         6 => array(
  11763.           'var' => 'attributes',
  11764.           'type' => TType::MAP,
  11765.           'ktype' => TType::STRING,
  11766.           'vtype' => TType::STRING,
  11767.           'key' => array(
  11768.             'type' => TType::STRING,
  11769.           ),
  11770.           'val' => array(
  11771.             'type' => TType::STRING,
  11772.             ),
  11773.           ),
  11774.         );
  11775.     }
  11776.     if (is_array($vals)) {
  11777.       if (isset($vals['tableName'])) {
  11778.         $this->tableName = $vals['tableName'];
  11779.       }
  11780.       if (isset($vals['startRow'])) {
  11781.         $this->startRow = $vals['startRow'];
  11782.       }
  11783.       if (isset($vals['stopRow'])) {
  11784.         $this->stopRow = $vals['stopRow'];
  11785.       }
  11786.       if (isset($vals['columns'])) {
  11787.         $this->columns = $vals['columns'];
  11788.       }
  11789.       if (isset($vals['timestamp'])) {
  11790.         $this->timestamp = $vals['timestamp'];
  11791.       }
  11792.       if (isset($vals['attributes'])) {
  11793.         $this->attributes = $vals['attributes'];
  11794.       }
  11795.     }
  11796.   }
  11797.  
  11798.   public function getName() {
  11799.     return 'Hbase_scannerOpenWithStopTs_args';
  11800.   }
  11801.  
  11802.   public function read($input)
  11803.   {
  11804.     $xfer = 0;
  11805.     $fname = null;
  11806.     $ftype = 0;
  11807.     $fid = 0;
  11808.     $xfer += $input->readStructBegin($fname);
  11809.     while (true)
  11810.     {
  11811.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  11812.       if ($ftype == TType::STOP) {
  11813.         break;
  11814.       }
  11815.       switch ($fid)
  11816.       {
  11817.         case 1:
  11818.           if ($ftype == TType::STRING) {
  11819.             $xfer += $input->readString($this->tableName);
  11820.           } else {
  11821.             $xfer += $input->skip($ftype);
  11822.           }
  11823.           break;
  11824.         case 2:
  11825.           if ($ftype == TType::STRING) {
  11826.             $xfer += $input->readString($this->startRow);
  11827.           } else {
  11828.             $xfer += $input->skip($ftype);
  11829.           }
  11830.           break;
  11831.         case 3:
  11832.           if ($ftype == TType::STRING) {
  11833.             $xfer += $input->readString($this->stopRow);
  11834.           } else {
  11835.             $xfer += $input->skip($ftype);
  11836.           }
  11837.           break;
  11838.         case 4:
  11839.           if ($ftype == TType::LST) {
  11840.             $this->columns = array();
  11841.             $_size465 = 0;
  11842.             $_etype468 = 0;
  11843.             $xfer += $input->readListBegin($_etype468, $_size465);
  11844.             for ($_i469 = 0; $_i469 < $_size465; ++$_i469)
  11845.             {
  11846.               $elem470 = null;
  11847.               $xfer += $input->readString($elem470);
  11848.               $this->columns []= $elem470;
  11849.             }
  11850.             $xfer += $input->readListEnd();
  11851.           } else {
  11852.             $xfer += $input->skip($ftype);
  11853.           }
  11854.           break;
  11855.         case 5:
  11856.           if ($ftype == TType::I64) {
  11857.             $xfer += $input->readI64($this->timestamp);
  11858.           } else {
  11859.             $xfer += $input->skip($ftype);
  11860.           }
  11861.           break;
  11862.         case 6:
  11863.           if ($ftype == TType::MAP) {
  11864.             $this->attributes = array();
  11865.             $_size471 = 0;
  11866.             $_ktype472 = 0;
  11867.             $_vtype473 = 0;
  11868.             $xfer += $input->readMapBegin($_ktype472, $_vtype473, $_size471);
  11869.             for ($_i475 = 0; $_i475 < $_size471; ++$_i475)
  11870.             {
  11871.               $key476 = '';
  11872.               $val477 = '';
  11873.               $xfer += $input->readString($key476);
  11874.               $xfer += $input->readString($val477);
  11875.               $this->attributes[$key476] = $val477;
  11876.             }
  11877.             $xfer += $input->readMapEnd();
  11878.           } else {
  11879.             $xfer += $input->skip($ftype);
  11880.           }
  11881.           break;
  11882.         default:
  11883.           $xfer += $input->skip($ftype);
  11884.           break;
  11885.       }
  11886.       $xfer += $input->readFieldEnd();
  11887.     }
  11888.     $xfer += $input->readStructEnd();
  11889.     return $xfer;
  11890.   }
  11891.  
  11892.   public function write($output) {
  11893.     $xfer = 0;
  11894.     $xfer += $output->writeStructBegin('Hbase_scannerOpenWithStopTs_args');
  11895.     if ($this->tableName !== null) {
  11896.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  11897.       $xfer += $output->writeString($this->tableName);
  11898.       $xfer += $output->writeFieldEnd();
  11899.     }
  11900.     if ($this->startRow !== null) {
  11901.       $xfer += $output->writeFieldBegin('startRow', TType::STRING, 2);
  11902.       $xfer += $output->writeString($this->startRow);
  11903.       $xfer += $output->writeFieldEnd();
  11904.     }
  11905.     if ($this->stopRow !== null) {
  11906.       $xfer += $output->writeFieldBegin('stopRow', TType::STRING, 3);
  11907.       $xfer += $output->writeString($this->stopRow);
  11908.       $xfer += $output->writeFieldEnd();
  11909.     }
  11910.     if ($this->columns !== null) {
  11911.       if (!is_array($this->columns)) {
  11912.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  11913.       }
  11914.       $xfer += $output->writeFieldBegin('columns', TType::LST, 4);
  11915.       {
  11916.         $output->writeListBegin(TType::STRING, count($this->columns));
  11917.         {
  11918.           foreach ($this->columns as $iter478)
  11919.           {
  11920.             $xfer += $output->writeString($iter478);
  11921.           }
  11922.         }
  11923.         $output->writeListEnd();
  11924.       }
  11925.       $xfer += $output->writeFieldEnd();
  11926.     }
  11927.     if ($this->timestamp !== null) {
  11928.       $xfer += $output->writeFieldBegin('timestamp', TType::I64, 5);
  11929.       $xfer += $output->writeI64($this->timestamp);
  11930.       $xfer += $output->writeFieldEnd();
  11931.     }
  11932.     if ($this->attributes !== null) {
  11933.       if (!is_array($this->attributes)) {
  11934.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  11935.       }
  11936.       $xfer += $output->writeFieldBegin('attributes', TType::MAP, 6);
  11937.       {
  11938.         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->attributes));
  11939.         {
  11940.           foreach ($this->attributes as $kiter479 => $viter480)
  11941.           {
  11942.             $xfer += $output->writeString($kiter479);
  11943.             $xfer += $output->writeString($viter480);
  11944.           }
  11945.         }
  11946.         $output->writeMapEnd();
  11947.       }
  11948.       $xfer += $output->writeFieldEnd();
  11949.     }
  11950.     $xfer += $output->writeFieldStop();
  11951.     $xfer += $output->writeStructEnd();
  11952.     return $xfer;
  11953.   }
  11954.  
  11955. }
  11956.  
  11957. class Hbase_scannerOpenWithStopTs_result {
  11958.   static $_TSPEC;
  11959.  
  11960.   public $success = null;
  11961.   public $io = null;
  11962.  
  11963.   public function __construct($vals=null) {
  11964.     if (!isset(self::$_TSPEC)) {
  11965.       self::$_TSPEC = array(
  11966.         0 => array(
  11967.           'var' => 'success',
  11968.           'type' => TType::I32,
  11969.           ),
  11970.         1 => array(
  11971.           'var' => 'io',
  11972.           'type' => TType::STRUCT,
  11973.           'class' => '\Hbase\IOError',
  11974.           ),
  11975.         );
  11976.     }
  11977.     if (is_array($vals)) {
  11978.       if (isset($vals['success'])) {
  11979.         $this->success = $vals['success'];
  11980.       }
  11981.       if (isset($vals['io'])) {
  11982.         $this->io = $vals['io'];
  11983.       }
  11984.     }
  11985.   }
  11986.  
  11987.   public function getName() {
  11988.     return 'Hbase_scannerOpenWithStopTs_result';
  11989.   }
  11990.  
  11991.   public function read($input)
  11992.   {
  11993.     $xfer = 0;
  11994.     $fname = null;
  11995.     $ftype = 0;
  11996.     $fid = 0;
  11997.     $xfer += $input->readStructBegin($fname);
  11998.     while (true)
  11999.     {
  12000.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  12001.       if ($ftype == TType::STOP) {
  12002.         break;
  12003.       }
  12004.       switch ($fid)
  12005.       {
  12006.         case 0:
  12007.           if ($ftype == TType::I32) {
  12008.             $xfer += $input->readI32($this->success);
  12009.           } else {
  12010.             $xfer += $input->skip($ftype);
  12011.           }
  12012.           break;
  12013.         case 1:
  12014.           if ($ftype == TType::STRUCT) {
  12015.             $this->io = new \Hbase\IOError();
  12016.             $xfer += $this->io->read($input);
  12017.           } else {
  12018.             $xfer += $input->skip($ftype);
  12019.           }
  12020.           break;
  12021.         default:
  12022.           $xfer += $input->skip($ftype);
  12023.           break;
  12024.       }
  12025.       $xfer += $input->readFieldEnd();
  12026.     }
  12027.     $xfer += $input->readStructEnd();
  12028.     return $xfer;
  12029.   }
  12030.  
  12031.   public function write($output) {
  12032.     $xfer = 0;
  12033.     $xfer += $output->writeStructBegin('Hbase_scannerOpenWithStopTs_result');
  12034.     if ($this->success !== null) {
  12035.       $xfer += $output->writeFieldBegin('success', TType::I32, 0);
  12036.       $xfer += $output->writeI32($this->success);
  12037.       $xfer += $output->writeFieldEnd();
  12038.     }
  12039.     if ($this->io !== null) {
  12040.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  12041.       $xfer += $this->io->write($output);
  12042.       $xfer += $output->writeFieldEnd();
  12043.     }
  12044.     $xfer += $output->writeFieldStop();
  12045.     $xfer += $output->writeStructEnd();
  12046.     return $xfer;
  12047.   }
  12048.  
  12049. }
  12050.  
  12051. class Hbase_scannerGet_args {
  12052.   static $_TSPEC;
  12053.  
  12054.   public $id = null;
  12055.  
  12056.   public function __construct($vals=null) {
  12057.     if (!isset(self::$_TSPEC)) {
  12058.       self::$_TSPEC = array(
  12059.         1 => array(
  12060.           'var' => 'id',
  12061.           'type' => TType::I32,
  12062.           ),
  12063.         );
  12064.     }
  12065.     if (is_array($vals)) {
  12066.       if (isset($vals['id'])) {
  12067.         $this->id = $vals['id'];
  12068.       }
  12069.     }
  12070.   }
  12071.  
  12072.   public function getName() {
  12073.     return 'Hbase_scannerGet_args';
  12074.   }
  12075.  
  12076.   public function read($input)
  12077.   {
  12078.     $xfer = 0;
  12079.     $fname = null;
  12080.     $ftype = 0;
  12081.     $fid = 0;
  12082.     $xfer += $input->readStructBegin($fname);
  12083.     while (true)
  12084.     {
  12085.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  12086.       if ($ftype == TType::STOP) {
  12087.         break;
  12088.       }
  12089.       switch ($fid)
  12090.       {
  12091.         case 1:
  12092.           if ($ftype == TType::I32) {
  12093.             $xfer += $input->readI32($this->id);
  12094.           } else {
  12095.             $xfer += $input->skip($ftype);
  12096.           }
  12097.           break;
  12098.         default:
  12099.           $xfer += $input->skip($ftype);
  12100.           break;
  12101.       }
  12102.       $xfer += $input->readFieldEnd();
  12103.     }
  12104.     $xfer += $input->readStructEnd();
  12105.     return $xfer;
  12106.   }
  12107.  
  12108.   public function write($output) {
  12109.     $xfer = 0;
  12110.     $xfer += $output->writeStructBegin('Hbase_scannerGet_args');
  12111.     if ($this->id !== null) {
  12112.       $xfer += $output->writeFieldBegin('id', TType::I32, 1);
  12113.       $xfer += $output->writeI32($this->id);
  12114.       $xfer += $output->writeFieldEnd();
  12115.     }
  12116.     $xfer += $output->writeFieldStop();
  12117.     $xfer += $output->writeStructEnd();
  12118.     return $xfer;
  12119.   }
  12120.  
  12121. }
  12122.  
  12123. class Hbase_scannerGet_result {
  12124.   static $_TSPEC;
  12125.  
  12126.   public $success = null;
  12127.   public $io = null;
  12128.   public $ia = null;
  12129.  
  12130.   public function __construct($vals=null) {
  12131.     if (!isset(self::$_TSPEC)) {
  12132.       self::$_TSPEC = array(
  12133.         0 => array(
  12134.           'var' => 'success',
  12135.           'type' => TType::LST,
  12136.           'etype' => TType::STRUCT,
  12137.           'elem' => array(
  12138.             'type' => TType::STRUCT,
  12139.             'class' => '\Hbase\TRowResult',
  12140.             ),
  12141.           ),
  12142.         1 => array(
  12143.           'var' => 'io',
  12144.           'type' => TType::STRUCT,
  12145.           'class' => '\Hbase\IOError',
  12146.           ),
  12147.         2 => array(
  12148.           'var' => 'ia',
  12149.           'type' => TType::STRUCT,
  12150.           'class' => '\Hbase\IllegalArgument',
  12151.           ),
  12152.         );
  12153.     }
  12154.     if (is_array($vals)) {
  12155.       if (isset($vals['success'])) {
  12156.         $this->success = $vals['success'];
  12157.       }
  12158.       if (isset($vals['io'])) {
  12159.         $this->io = $vals['io'];
  12160.       }
  12161.       if (isset($vals['ia'])) {
  12162.         $this->ia = $vals['ia'];
  12163.       }
  12164.     }
  12165.   }
  12166.  
  12167.   public function getName() {
  12168.     return 'Hbase_scannerGet_result';
  12169.   }
  12170.  
  12171.   public function read($input)
  12172.   {
  12173.     $xfer = 0;
  12174.     $fname = null;
  12175.     $ftype = 0;
  12176.     $fid = 0;
  12177.     $xfer += $input->readStructBegin($fname);
  12178.     while (true)
  12179.     {
  12180.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  12181.       if ($ftype == TType::STOP) {
  12182.         break;
  12183.       }
  12184.       switch ($fid)
  12185.       {
  12186.         case 0:
  12187.           if ($ftype == TType::LST) {
  12188.             $this->success = array();
  12189.             $_size481 = 0;
  12190.             $_etype484 = 0;
  12191.             $xfer += $input->readListBegin($_etype484, $_size481);
  12192.             for ($_i485 = 0; $_i485 < $_size481; ++$_i485)
  12193.             {
  12194.               $elem486 = null;
  12195.               $elem486 = new \Hbase\TRowResult();
  12196.               $xfer += $elem486->read($input);
  12197.               $this->success []= $elem486;
  12198.             }
  12199.             $xfer += $input->readListEnd();
  12200.           } else {
  12201.             $xfer += $input->skip($ftype);
  12202.           }
  12203.           break;
  12204.         case 1:
  12205.           if ($ftype == TType::STRUCT) {
  12206.             $this->io = new \Hbase\IOError();
  12207.             $xfer += $this->io->read($input);
  12208.           } else {
  12209.             $xfer += $input->skip($ftype);
  12210.           }
  12211.           break;
  12212.         case 2:
  12213.           if ($ftype == TType::STRUCT) {
  12214.             $this->ia = new \Hbase\IllegalArgument();
  12215.             $xfer += $this->ia->read($input);
  12216.           } else {
  12217.             $xfer += $input->skip($ftype);
  12218.           }
  12219.           break;
  12220.         default:
  12221.           $xfer += $input->skip($ftype);
  12222.           break;
  12223.       }
  12224.       $xfer += $input->readFieldEnd();
  12225.     }
  12226.     $xfer += $input->readStructEnd();
  12227.     return $xfer;
  12228.   }
  12229.  
  12230.   public function write($output) {
  12231.     $xfer = 0;
  12232.     $xfer += $output->writeStructBegin('Hbase_scannerGet_result');
  12233.     if ($this->success !== null) {
  12234.       if (!is_array($this->success)) {
  12235.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  12236.       }
  12237.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  12238.       {
  12239.         $output->writeListBegin(TType::STRUCT, count($this->success));
  12240.         {
  12241.           foreach ($this->success as $iter487)
  12242.           {
  12243.             $xfer += $iter487->write($output);
  12244.           }
  12245.         }
  12246.         $output->writeListEnd();
  12247.       }
  12248.       $xfer += $output->writeFieldEnd();
  12249.     }
  12250.     if ($this->io !== null) {
  12251.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  12252.       $xfer += $this->io->write($output);
  12253.       $xfer += $output->writeFieldEnd();
  12254.     }
  12255.     if ($this->ia !== null) {
  12256.       $xfer += $output->writeFieldBegin('ia', TType::STRUCT, 2);
  12257.       $xfer += $this->ia->write($output);
  12258.       $xfer += $output->writeFieldEnd();
  12259.     }
  12260.     $xfer += $output->writeFieldStop();
  12261.     $xfer += $output->writeStructEnd();
  12262.     return $xfer;
  12263.   }
  12264.  
  12265. }
  12266.  
  12267. class Hbase_scannerGetList_args {
  12268.   static $_TSPEC;
  12269.  
  12270.   public $id = null;
  12271.   public $nbRows = null;
  12272.  
  12273.   public function __construct($vals=null) {
  12274.     if (!isset(self::$_TSPEC)) {
  12275.       self::$_TSPEC = array(
  12276.         1 => array(
  12277.           'var' => 'id',
  12278.           'type' => TType::I32,
  12279.           ),
  12280.         2 => array(
  12281.           'var' => 'nbRows',
  12282.           'type' => TType::I32,
  12283.           ),
  12284.         );
  12285.     }
  12286.     if (is_array($vals)) {
  12287.       if (isset($vals['id'])) {
  12288.         $this->id = $vals['id'];
  12289.       }
  12290.       if (isset($vals['nbRows'])) {
  12291.         $this->nbRows = $vals['nbRows'];
  12292.       }
  12293.     }
  12294.   }
  12295.  
  12296.   public function getName() {
  12297.     return 'Hbase_scannerGetList_args';
  12298.   }
  12299.  
  12300.   public function read($input)
  12301.   {
  12302.     $xfer = 0;
  12303.     $fname = null;
  12304.     $ftype = 0;
  12305.     $fid = 0;
  12306.     $xfer += $input->readStructBegin($fname);
  12307.     while (true)
  12308.     {
  12309.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  12310.       if ($ftype == TType::STOP) {
  12311.         break;
  12312.       }
  12313.       switch ($fid)
  12314.       {
  12315.         case 1:
  12316.           if ($ftype == TType::I32) {
  12317.             $xfer += $input->readI32($this->id);
  12318.           } else {
  12319.             $xfer += $input->skip($ftype);
  12320.           }
  12321.           break;
  12322.         case 2:
  12323.           if ($ftype == TType::I32) {
  12324.             $xfer += $input->readI32($this->nbRows);
  12325.           } else {
  12326.             $xfer += $input->skip($ftype);
  12327.           }
  12328.           break;
  12329.         default:
  12330.           $xfer += $input->skip($ftype);
  12331.           break;
  12332.       }
  12333.       $xfer += $input->readFieldEnd();
  12334.     }
  12335.     $xfer += $input->readStructEnd();
  12336.     return $xfer;
  12337.   }
  12338.  
  12339.   public function write($output) {
  12340.     $xfer = 0;
  12341.     $xfer += $output->writeStructBegin('Hbase_scannerGetList_args');
  12342.     if ($this->id !== null) {
  12343.       $xfer += $output->writeFieldBegin('id', TType::I32, 1);
  12344.       $xfer += $output->writeI32($this->id);
  12345.       $xfer += $output->writeFieldEnd();
  12346.     }
  12347.     if ($this->nbRows !== null) {
  12348.       $xfer += $output->writeFieldBegin('nbRows', TType::I32, 2);
  12349.       $xfer += $output->writeI32($this->nbRows);
  12350.       $xfer += $output->writeFieldEnd();
  12351.     }
  12352.     $xfer += $output->writeFieldStop();
  12353.     $xfer += $output->writeStructEnd();
  12354.     return $xfer;
  12355.   }
  12356.  
  12357. }
  12358.  
  12359. class Hbase_scannerGetList_result {
  12360.   static $_TSPEC;
  12361.  
  12362.   public $success = null;
  12363.   public $io = null;
  12364.   public $ia = null;
  12365.  
  12366.   public function __construct($vals=null) {
  12367.     if (!isset(self::$_TSPEC)) {
  12368.       self::$_TSPEC = array(
  12369.         0 => array(
  12370.           'var' => 'success',
  12371.           'type' => TType::LST,
  12372.           'etype' => TType::STRUCT,
  12373.           'elem' => array(
  12374.             'type' => TType::STRUCT,
  12375.             'class' => '\Hbase\TRowResult',
  12376.             ),
  12377.           ),
  12378.         1 => array(
  12379.           'var' => 'io',
  12380.           'type' => TType::STRUCT,
  12381.           'class' => '\Hbase\IOError',
  12382.           ),
  12383.         2 => array(
  12384.           'var' => 'ia',
  12385.           'type' => TType::STRUCT,
  12386.           'class' => '\Hbase\IllegalArgument',
  12387.           ),
  12388.         );
  12389.     }
  12390.     if (is_array($vals)) {
  12391.       if (isset($vals['success'])) {
  12392.         $this->success = $vals['success'];
  12393.       }
  12394.       if (isset($vals['io'])) {
  12395.         $this->io = $vals['io'];
  12396.       }
  12397.       if (isset($vals['ia'])) {
  12398.         $this->ia = $vals['ia'];
  12399.       }
  12400.     }
  12401.   }
  12402.  
  12403.   public function getName() {
  12404.     return 'Hbase_scannerGetList_result';
  12405.   }
  12406.  
  12407.   public function read($input)
  12408.   {
  12409.     $xfer = 0;
  12410.     $fname = null;
  12411.     $ftype = 0;
  12412.     $fid = 0;
  12413.     $xfer += $input->readStructBegin($fname);
  12414.     while (true)
  12415.     {
  12416.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  12417.       if ($ftype == TType::STOP) {
  12418.         break;
  12419.       }
  12420.       switch ($fid)
  12421.       {
  12422.         case 0:
  12423.           if ($ftype == TType::LST) {
  12424.             $this->success = array();
  12425.             $_size488 = 0;
  12426.             $_etype491 = 0;
  12427.             $xfer += $input->readListBegin($_etype491, $_size488);
  12428.             for ($_i492 = 0; $_i492 < $_size488; ++$_i492)
  12429.             {
  12430.               $elem493 = null;
  12431.               $elem493 = new \Hbase\TRowResult();
  12432.               $xfer += $elem493->read($input);
  12433.               $this->success []= $elem493;
  12434.             }
  12435.             $xfer += $input->readListEnd();
  12436.           } else {
  12437.             $xfer += $input->skip($ftype);
  12438.           }
  12439.           break;
  12440.         case 1:
  12441.           if ($ftype == TType::STRUCT) {
  12442.             $this->io = new \Hbase\IOError();
  12443.             $xfer += $this->io->read($input);
  12444.           } else {
  12445.             $xfer += $input->skip($ftype);
  12446.           }
  12447.           break;
  12448.         case 2:
  12449.           if ($ftype == TType::STRUCT) {
  12450.             $this->ia = new \Hbase\IllegalArgument();
  12451.             $xfer += $this->ia->read($input);
  12452.           } else {
  12453.             $xfer += $input->skip($ftype);
  12454.           }
  12455.           break;
  12456.         default:
  12457.           $xfer += $input->skip($ftype);
  12458.           break;
  12459.       }
  12460.       $xfer += $input->readFieldEnd();
  12461.     }
  12462.     $xfer += $input->readStructEnd();
  12463.     return $xfer;
  12464.   }
  12465.  
  12466.   public function write($output) {
  12467.     $xfer = 0;
  12468.     $xfer += $output->writeStructBegin('Hbase_scannerGetList_result');
  12469.     if ($this->success !== null) {
  12470.       if (!is_array($this->success)) {
  12471.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  12472.       }
  12473.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  12474.       {
  12475.         $output->writeListBegin(TType::STRUCT, count($this->success));
  12476.         {
  12477.           foreach ($this->success as $iter494)
  12478.           {
  12479.             $xfer += $iter494->write($output);
  12480.           }
  12481.         }
  12482.         $output->writeListEnd();
  12483.       }
  12484.       $xfer += $output->writeFieldEnd();
  12485.     }
  12486.     if ($this->io !== null) {
  12487.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  12488.       $xfer += $this->io->write($output);
  12489.       $xfer += $output->writeFieldEnd();
  12490.     }
  12491.     if ($this->ia !== null) {
  12492.       $xfer += $output->writeFieldBegin('ia', TType::STRUCT, 2);
  12493.       $xfer += $this->ia->write($output);
  12494.       $xfer += $output->writeFieldEnd();
  12495.     }
  12496.     $xfer += $output->writeFieldStop();
  12497.     $xfer += $output->writeStructEnd();
  12498.     return $xfer;
  12499.   }
  12500.  
  12501. }
  12502.  
  12503. class Hbase_scannerClose_args {
  12504.   static $_TSPEC;
  12505.  
  12506.   public $id = null;
  12507.  
  12508.   public function __construct($vals=null) {
  12509.     if (!isset(self::$_TSPEC)) {
  12510.       self::$_TSPEC = array(
  12511.         1 => array(
  12512.           'var' => 'id',
  12513.           'type' => TType::I32,
  12514.           ),
  12515.         );
  12516.     }
  12517.     if (is_array($vals)) {
  12518.       if (isset($vals['id'])) {
  12519.         $this->id = $vals['id'];
  12520.       }
  12521.     }
  12522.   }
  12523.  
  12524.   public function getName() {
  12525.     return 'Hbase_scannerClose_args';
  12526.   }
  12527.  
  12528.   public function read($input)
  12529.   {
  12530.     $xfer = 0;
  12531.     $fname = null;
  12532.     $ftype = 0;
  12533.     $fid = 0;
  12534.     $xfer += $input->readStructBegin($fname);
  12535.     while (true)
  12536.     {
  12537.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  12538.       if ($ftype == TType::STOP) {
  12539.         break;
  12540.       }
  12541.       switch ($fid)
  12542.       {
  12543.         case 1:
  12544.           if ($ftype == TType::I32) {
  12545.             $xfer += $input->readI32($this->id);
  12546.           } else {
  12547.             $xfer += $input->skip($ftype);
  12548.           }
  12549.           break;
  12550.         default:
  12551.           $xfer += $input->skip($ftype);
  12552.           break;
  12553.       }
  12554.       $xfer += $input->readFieldEnd();
  12555.     }
  12556.     $xfer += $input->readStructEnd();
  12557.     return $xfer;
  12558.   }
  12559.  
  12560.   public function write($output) {
  12561.     $xfer = 0;
  12562.     $xfer += $output->writeStructBegin('Hbase_scannerClose_args');
  12563.     if ($this->id !== null) {
  12564.       $xfer += $output->writeFieldBegin('id', TType::I32, 1);
  12565.       $xfer += $output->writeI32($this->id);
  12566.       $xfer += $output->writeFieldEnd();
  12567.     }
  12568.     $xfer += $output->writeFieldStop();
  12569.     $xfer += $output->writeStructEnd();
  12570.     return $xfer;
  12571.   }
  12572.  
  12573. }
  12574.  
  12575. class Hbase_scannerClose_result {
  12576.   static $_TSPEC;
  12577.  
  12578.   public $io = null;
  12579.   public $ia = null;
  12580.  
  12581.   public function __construct($vals=null) {
  12582.     if (!isset(self::$_TSPEC)) {
  12583.       self::$_TSPEC = array(
  12584.         1 => array(
  12585.           'var' => 'io',
  12586.           'type' => TType::STRUCT,
  12587.           'class' => '\Hbase\IOError',
  12588.           ),
  12589.         2 => array(
  12590.           'var' => 'ia',
  12591.           'type' => TType::STRUCT,
  12592.           'class' => '\Hbase\IllegalArgument',
  12593.           ),
  12594.         );
  12595.     }
  12596.     if (is_array($vals)) {
  12597.       if (isset($vals['io'])) {
  12598.         $this->io = $vals['io'];
  12599.       }
  12600.       if (isset($vals['ia'])) {
  12601.         $this->ia = $vals['ia'];
  12602.       }
  12603.     }
  12604.   }
  12605.  
  12606.   public function getName() {
  12607.     return 'Hbase_scannerClose_result';
  12608.   }
  12609.  
  12610.   public function read($input)
  12611.   {
  12612.     $xfer = 0;
  12613.     $fname = null;
  12614.     $ftype = 0;
  12615.     $fid = 0;
  12616.     $xfer += $input->readStructBegin($fname);
  12617.     while (true)
  12618.     {
  12619.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  12620.       if ($ftype == TType::STOP) {
  12621.         break;
  12622.       }
  12623.       switch ($fid)
  12624.       {
  12625.         case 1:
  12626.           if ($ftype == TType::STRUCT) {
  12627.             $this->io = new \Hbase\IOError();
  12628.             $xfer += $this->io->read($input);
  12629.           } else {
  12630.             $xfer += $input->skip($ftype);
  12631.           }
  12632.           break;
  12633.         case 2:
  12634.           if ($ftype == TType::STRUCT) {
  12635.             $this->ia = new \Hbase\IllegalArgument();
  12636.             $xfer += $this->ia->read($input);
  12637.           } else {
  12638.             $xfer += $input->skip($ftype);
  12639.           }
  12640.           break;
  12641.         default:
  12642.           $xfer += $input->skip($ftype);
  12643.           break;
  12644.       }
  12645.       $xfer += $input->readFieldEnd();
  12646.     }
  12647.     $xfer += $input->readStructEnd();
  12648.     return $xfer;
  12649.   }
  12650.  
  12651.   public function write($output) {
  12652.     $xfer = 0;
  12653.     $xfer += $output->writeStructBegin('Hbase_scannerClose_result');
  12654.     if ($this->io !== null) {
  12655.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  12656.       $xfer += $this->io->write($output);
  12657.       $xfer += $output->writeFieldEnd();
  12658.     }
  12659.     if ($this->ia !== null) {
  12660.       $xfer += $output->writeFieldBegin('ia', TType::STRUCT, 2);
  12661.       $xfer += $this->ia->write($output);
  12662.       $xfer += $output->writeFieldEnd();
  12663.     }
  12664.     $xfer += $output->writeFieldStop();
  12665.     $xfer += $output->writeStructEnd();
  12666.     return $xfer;
  12667.   }
  12668.  
  12669. }
  12670.  
  12671. class Hbase_getRowOrBefore_args {
  12672.   static $_TSPEC;
  12673.  
  12674.   public $tableName = null;
  12675.   public $row = null;
  12676.   public $family = null;
  12677.  
  12678.   public function __construct($vals=null) {
  12679.     if (!isset(self::$_TSPEC)) {
  12680.       self::$_TSPEC = array(
  12681.         1 => array(
  12682.           'var' => 'tableName',
  12683.           'type' => TType::STRING,
  12684.           ),
  12685.         2 => array(
  12686.           'var' => 'row',
  12687.           'type' => TType::STRING,
  12688.           ),
  12689.         3 => array(
  12690.           'var' => 'family',
  12691.           'type' => TType::STRING,
  12692.           ),
  12693.         );
  12694.     }
  12695.     if (is_array($vals)) {
  12696.       if (isset($vals['tableName'])) {
  12697.         $this->tableName = $vals['tableName'];
  12698.       }
  12699.       if (isset($vals['row'])) {
  12700.         $this->row = $vals['row'];
  12701.       }
  12702.       if (isset($vals['family'])) {
  12703.         $this->family = $vals['family'];
  12704.       }
  12705.     }
  12706.   }
  12707.  
  12708.   public function getName() {
  12709.     return 'Hbase_getRowOrBefore_args';
  12710.   }
  12711.  
  12712.   public function read($input)
  12713.   {
  12714.     $xfer = 0;
  12715.     $fname = null;
  12716.     $ftype = 0;
  12717.     $fid = 0;
  12718.     $xfer += $input->readStructBegin($fname);
  12719.     while (true)
  12720.     {
  12721.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  12722.       if ($ftype == TType::STOP) {
  12723.         break;
  12724.       }
  12725.       switch ($fid)
  12726.       {
  12727.         case 1:
  12728.           if ($ftype == TType::STRING) {
  12729.             $xfer += $input->readString($this->tableName);
  12730.           } else {
  12731.             $xfer += $input->skip($ftype);
  12732.           }
  12733.           break;
  12734.         case 2:
  12735.           if ($ftype == TType::STRING) {
  12736.             $xfer += $input->readString($this->row);
  12737.           } else {
  12738.             $xfer += $input->skip($ftype);
  12739.           }
  12740.           break;
  12741.         case 3:
  12742.           if ($ftype == TType::STRING) {
  12743.             $xfer += $input->readString($this->family);
  12744.           } else {
  12745.             $xfer += $input->skip($ftype);
  12746.           }
  12747.           break;
  12748.         default:
  12749.           $xfer += $input->skip($ftype);
  12750.           break;
  12751.       }
  12752.       $xfer += $input->readFieldEnd();
  12753.     }
  12754.     $xfer += $input->readStructEnd();
  12755.     return $xfer;
  12756.   }
  12757.  
  12758.   public function write($output) {
  12759.     $xfer = 0;
  12760.     $xfer += $output->writeStructBegin('Hbase_getRowOrBefore_args');
  12761.     if ($this->tableName !== null) {
  12762.       $xfer += $output->writeFieldBegin('tableName', TType::STRING, 1);
  12763.       $xfer += $output->writeString($this->tableName);
  12764.       $xfer += $output->writeFieldEnd();
  12765.     }
  12766.     if ($this->row !== null) {
  12767.       $xfer += $output->writeFieldBegin('row', TType::STRING, 2);
  12768.       $xfer += $output->writeString($this->row);
  12769.       $xfer += $output->writeFieldEnd();
  12770.     }
  12771.     if ($this->family !== null) {
  12772.       $xfer += $output->writeFieldBegin('family', TType::STRING, 3);
  12773.       $xfer += $output->writeString($this->family);
  12774.       $xfer += $output->writeFieldEnd();
  12775.     }
  12776.     $xfer += $output->writeFieldStop();
  12777.     $xfer += $output->writeStructEnd();
  12778.     return $xfer;
  12779.   }
  12780.  
  12781. }
  12782.  
  12783. class Hbase_getRowOrBefore_result {
  12784.   static $_TSPEC;
  12785.  
  12786.   public $success = null;
  12787.   public $io = null;
  12788.  
  12789.   public function __construct($vals=null) {
  12790.     if (!isset(self::$_TSPEC)) {
  12791.       self::$_TSPEC = array(
  12792.         0 => array(
  12793.           'var' => 'success',
  12794.           'type' => TType::LST,
  12795.           'etype' => TType::STRUCT,
  12796.           'elem' => array(
  12797.             'type' => TType::STRUCT,
  12798.             'class' => '\Hbase\TCell',
  12799.             ),
  12800.           ),
  12801.         1 => array(
  12802.           'var' => 'io',
  12803.           'type' => TType::STRUCT,
  12804.           'class' => '\Hbase\IOError',
  12805.           ),
  12806.         );
  12807.     }
  12808.     if (is_array($vals)) {
  12809.       if (isset($vals['success'])) {
  12810.         $this->success = $vals['success'];
  12811.       }
  12812.       if (isset($vals['io'])) {
  12813.         $this->io = $vals['io'];
  12814.       }
  12815.     }
  12816.   }
  12817.  
  12818.   public function getName() {
  12819.     return 'Hbase_getRowOrBefore_result';
  12820.   }
  12821.  
  12822.   public function read($input)
  12823.   {
  12824.     $xfer = 0;
  12825.     $fname = null;
  12826.     $ftype = 0;
  12827.     $fid = 0;
  12828.     $xfer += $input->readStructBegin($fname);
  12829.     while (true)
  12830.     {
  12831.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  12832.       if ($ftype == TType::STOP) {
  12833.         break;
  12834.       }
  12835.       switch ($fid)
  12836.       {
  12837.         case 0:
  12838.           if ($ftype == TType::LST) {
  12839.             $this->success = array();
  12840.             $_size495 = 0;
  12841.             $_etype498 = 0;
  12842.             $xfer += $input->readListBegin($_etype498, $_size495);
  12843.             for ($_i499 = 0; $_i499 < $_size495; ++$_i499)
  12844.             {
  12845.               $elem500 = null;
  12846.               $elem500 = new \Hbase\TCell();
  12847.               $xfer += $elem500->read($input);
  12848.               $this->success []= $elem500;
  12849.             }
  12850.             $xfer += $input->readListEnd();
  12851.           } else {
  12852.             $xfer += $input->skip($ftype);
  12853.           }
  12854.           break;
  12855.         case 1:
  12856.           if ($ftype == TType::STRUCT) {
  12857.             $this->io = new \Hbase\IOError();
  12858.             $xfer += $this->io->read($input);
  12859.           } else {
  12860.             $xfer += $input->skip($ftype);
  12861.           }
  12862.           break;
  12863.         default:
  12864.           $xfer += $input->skip($ftype);
  12865.           break;
  12866.       }
  12867.       $xfer += $input->readFieldEnd();
  12868.     }
  12869.     $xfer += $input->readStructEnd();
  12870.     return $xfer;
  12871.   }
  12872.  
  12873.   public function write($output) {
  12874.     $xfer = 0;
  12875.     $xfer += $output->writeStructBegin('Hbase_getRowOrBefore_result');
  12876.     if ($this->success !== null) {
  12877.       if (!is_array($this->success)) {
  12878.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  12879.       }
  12880.       $xfer += $output->writeFieldBegin('success', TType::LST, 0);
  12881.       {
  12882.         $output->writeListBegin(TType::STRUCT, count($this->success));
  12883.         {
  12884.           foreach ($this->success as $iter501)
  12885.           {
  12886.             $xfer += $iter501->write($output);
  12887.           }
  12888.         }
  12889.         $output->writeListEnd();
  12890.       }
  12891.       $xfer += $output->writeFieldEnd();
  12892.     }
  12893.     if ($this->io !== null) {
  12894.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  12895.       $xfer += $this->io->write($output);
  12896.       $xfer += $output->writeFieldEnd();
  12897.     }
  12898.     $xfer += $output->writeFieldStop();
  12899.     $xfer += $output->writeStructEnd();
  12900.     return $xfer;
  12901.   }
  12902.  
  12903. }
  12904.  
  12905. class Hbase_getRegionInfo_args {
  12906.   static $_TSPEC;
  12907.  
  12908.   public $row = null;
  12909.  
  12910.   public function __construct($vals=null) {
  12911.     if (!isset(self::$_TSPEC)) {
  12912.       self::$_TSPEC = array(
  12913.         1 => array(
  12914.           'var' => 'row',
  12915.           'type' => TType::STRING,
  12916.           ),
  12917.         );
  12918.     }
  12919.     if (is_array($vals)) {
  12920.       if (isset($vals['row'])) {
  12921.         $this->row = $vals['row'];
  12922.       }
  12923.     }
  12924.   }
  12925.  
  12926.   public function getName() {
  12927.     return 'Hbase_getRegionInfo_args';
  12928.   }
  12929.  
  12930.   public function read($input)
  12931.   {
  12932.     $xfer = 0;
  12933.     $fname = null;
  12934.     $ftype = 0;
  12935.     $fid = 0;
  12936.     $xfer += $input->readStructBegin($fname);
  12937.     while (true)
  12938.     {
  12939.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  12940.       if ($ftype == TType::STOP) {
  12941.         break;
  12942.       }
  12943.       switch ($fid)
  12944.       {
  12945.         case 1:
  12946.           if ($ftype == TType::STRING) {
  12947.             $xfer += $input->readString($this->row);
  12948.           } else {
  12949.             $xfer += $input->skip($ftype);
  12950.           }
  12951.           break;
  12952.         default:
  12953.           $xfer += $input->skip($ftype);
  12954.           break;
  12955.       }
  12956.       $xfer += $input->readFieldEnd();
  12957.     }
  12958.     $xfer += $input->readStructEnd();
  12959.     return $xfer;
  12960.   }
  12961.  
  12962.   public function write($output) {
  12963.     $xfer = 0;
  12964.     $xfer += $output->writeStructBegin('Hbase_getRegionInfo_args');
  12965.     if ($this->row !== null) {
  12966.       $xfer += $output->writeFieldBegin('row', TType::STRING, 1);
  12967.       $xfer += $output->writeString($this->row);
  12968.       $xfer += $output->writeFieldEnd();
  12969.     }
  12970.     $xfer += $output->writeFieldStop();
  12971.     $xfer += $output->writeStructEnd();
  12972.     return $xfer;
  12973.   }
  12974.  
  12975. }
  12976.  
  12977. class Hbase_getRegionInfo_result {
  12978.   static $_TSPEC;
  12979.  
  12980.   public $success = null;
  12981.   public $io = null;
  12982.  
  12983.   public function __construct($vals=null) {
  12984.     if (!isset(self::$_TSPEC)) {
  12985.       self::$_TSPEC = array(
  12986.         0 => array(
  12987.           'var' => 'success',
  12988.           'type' => TType::STRUCT,
  12989.           'class' => '\Hbase\TRegionInfo',
  12990.           ),
  12991.         1 => array(
  12992.           'var' => 'io',
  12993.           'type' => TType::STRUCT,
  12994.           'class' => '\Hbase\IOError',
  12995.           ),
  12996.         );
  12997.     }
  12998.     if (is_array($vals)) {
  12999.       if (isset($vals['success'])) {
  13000.         $this->success = $vals['success'];
  13001.       }
  13002.       if (isset($vals['io'])) {
  13003.         $this->io = $vals['io'];
  13004.       }
  13005.     }
  13006.   }
  13007.  
  13008.   public function getName() {
  13009.     return 'Hbase_getRegionInfo_result';
  13010.   }
  13011.  
  13012.   public function read($input)
  13013.   {
  13014.     $xfer = 0;
  13015.     $fname = null;
  13016.     $ftype = 0;
  13017.     $fid = 0;
  13018.     $xfer += $input->readStructBegin($fname);
  13019.     while (true)
  13020.     {
  13021.       $xfer += $input->readFieldBegin($fname, $ftype, $fid);
  13022.       if ($ftype == TType::STOP) {
  13023.         break;
  13024.       }
  13025.       switch ($fid)
  13026.       {
  13027.         case 0:
  13028.           if ($ftype == TType::STRUCT) {
  13029.             $this->success = new \Hbase\TRegionInfo();
  13030.             $xfer += $this->success->read($input);
  13031.           } else {
  13032.             $xfer += $input->skip($ftype);
  13033.           }
  13034.           break;
  13035.         case 1:
  13036.           if ($ftype == TType::STRUCT) {
  13037.             $this->io = new \Hbase\IOError();
  13038.             $xfer += $this->io->read($input);
  13039.           } else {
  13040.             $xfer += $input->skip($ftype);
  13041.           }
  13042.           break;
  13043.         default:
  13044.           $xfer += $input->skip($ftype);
  13045.           break;
  13046.       }
  13047.       $xfer += $input->readFieldEnd();
  13048.     }
  13049.     $xfer += $input->readStructEnd();
  13050.     return $xfer;
  13051.   }
  13052.  
  13053.   public function write($output) {
  13054.     $xfer = 0;
  13055.     $xfer += $output->writeStructBegin('Hbase_getRegionInfo_result');
  13056.     if ($this->success !== null) {
  13057.       if (!is_object($this->success)) {
  13058.         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
  13059.       }
  13060.       $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
  13061.       $xfer += $this->success->write($output);
  13062.       $xfer += $output->writeFieldEnd();
  13063.     }
  13064.     if ($this->io !== null) {
  13065.       $xfer += $output->writeFieldBegin('io', TType::STRUCT, 1);
  13066.       $xfer += $this->io->write($output);
  13067.       $xfer += $output->writeFieldEnd();
  13068.     }
  13069.     $xfer += $output->writeFieldStop();
  13070.     $xfer += $output->writeStructEnd();
  13071.     return $xfer;
  13072.   }
  13073.  
  13074. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement