You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by gu...@apache.org on 2014/08/22 23:37:21 UTC
svn commit: r1619936 [9/49] - in /hive/branches/cbo: ./ accumulo-handler/
ant/src/org/apache/hadoop/hive/ant/ bin/
common/src/java/org/apache/hadoop/hive/ant/
common/src/java/org/apache/hadoop/hive/common/type/
common/src/java/org/apache/hadoop/hive/co...
Modified: hive/branches/cbo/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
URL: http://svn.apache.org/viewvc/hive/branches/cbo/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php?rev=1619936&r1=1619935&r2=1619936&view=diff
==============================================================================
--- hive/branches/cbo/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php (original)
+++ hive/branches/cbo/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php Fri Aug 22 21:36:47 2014
@@ -16,6 +16,8 @@ use Thrift\Exception\TApplicationExcepti
interface ThriftHiveMetastoreIf extends \FacebookServiceIf {
+ public function getMetaConf($key);
+ public function setMetaConf($key, $value);
public function create_database(\metastore\Database $database);
public function get_database($name);
public function drop_database($name, $deleteData, $cascade);
@@ -88,6 +90,7 @@ interface ThriftHiveMetastoreIf extends
public function get_table_statistics_req(\metastore\TableStatsRequest $request);
public function get_partitions_statistics_req(\metastore\PartitionsStatsRequest $request);
public function get_aggr_stats_for(\metastore\PartitionsStatsRequest $request);
+ public function set_aggr_stats_for(\metastore\SetPartitionsStatsRequest $request);
public function delete_partition_column_statistics($db_name, $tbl_name, $part_name, $col_name);
public function delete_table_column_statistics($db_name, $tbl_name, $col_name);
public function create_function(\metastore\Function $func);
@@ -133,6 +136,112 @@ class ThriftHiveMetastoreClient extends
parent::__construct($input, $output);
}
+ public function getMetaConf($key)
+ {
+ $this->send_getMetaConf($key);
+ return $this->recv_getMetaConf();
+ }
+
+ public function send_getMetaConf($key)
+ {
+ $args = new \metastore\ThriftHiveMetastore_getMetaConf_args();
+ $args->key = $key;
+ $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
+ if ($bin_accel)
+ {
+ thrift_protocol_write_binary($this->output_, 'getMetaConf', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+ }
+ else
+ {
+ $this->output_->writeMessageBegin('getMetaConf', TMessageType::CALL, $this->seqid_);
+ $args->write($this->output_);
+ $this->output_->writeMessageEnd();
+ $this->output_->getTransport()->flush();
+ }
+ }
+
+ public function recv_getMetaConf()
+ {
+ $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
+ if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_getMetaConf_result', $this->input_->isStrictRead());
+ else
+ {
+ $rseqid = 0;
+ $fname = null;
+ $mtype = 0;
+
+ $this->input_->readMessageBegin($fname, $mtype, $rseqid);
+ if ($mtype == TMessageType::EXCEPTION) {
+ $x = new TApplicationException();
+ $x->read($this->input_);
+ $this->input_->readMessageEnd();
+ throw $x;
+ }
+ $result = new \metastore\ThriftHiveMetastore_getMetaConf_result();
+ $result->read($this->input_);
+ $this->input_->readMessageEnd();
+ }
+ if ($result->success !== null) {
+ return $result->success;
+ }
+ if ($result->o1 !== null) {
+ throw $result->o1;
+ }
+ throw new \Exception("getMetaConf failed: unknown result");
+ }
+
+ public function setMetaConf($key, $value)
+ {
+ $this->send_setMetaConf($key, $value);
+ $this->recv_setMetaConf();
+ }
+
+ public function send_setMetaConf($key, $value)
+ {
+ $args = new \metastore\ThriftHiveMetastore_setMetaConf_args();
+ $args->key = $key;
+ $args->value = $value;
+ $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
+ if ($bin_accel)
+ {
+ thrift_protocol_write_binary($this->output_, 'setMetaConf', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+ }
+ else
+ {
+ $this->output_->writeMessageBegin('setMetaConf', TMessageType::CALL, $this->seqid_);
+ $args->write($this->output_);
+ $this->output_->writeMessageEnd();
+ $this->output_->getTransport()->flush();
+ }
+ }
+
+ public function recv_setMetaConf()
+ {
+ $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
+ if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_setMetaConf_result', $this->input_->isStrictRead());
+ else
+ {
+ $rseqid = 0;
+ $fname = null;
+ $mtype = 0;
+
+ $this->input_->readMessageBegin($fname, $mtype, $rseqid);
+ if ($mtype == TMessageType::EXCEPTION) {
+ $x = new TApplicationException();
+ $x->read($this->input_);
+ $this->input_->readMessageEnd();
+ throw $x;
+ }
+ $result = new \metastore\ThriftHiveMetastore_setMetaConf_result();
+ $result->read($this->input_);
+ $this->input_->readMessageEnd();
+ }
+ if ($result->o1 !== null) {
+ throw $result->o1;
+ }
+ return;
+ }
+
public function create_database(\metastore\Database $database)
{
$this->send_create_database($database);
@@ -4390,6 +4499,69 @@ class ThriftHiveMetastoreClient extends
throw new \Exception("get_aggr_stats_for failed: unknown result");
}
+ public function set_aggr_stats_for(\metastore\SetPartitionsStatsRequest $request)
+ {
+ $this->send_set_aggr_stats_for($request);
+ return $this->recv_set_aggr_stats_for();
+ }
+
+ public function send_set_aggr_stats_for(\metastore\SetPartitionsStatsRequest $request)
+ {
+ $args = new \metastore\ThriftHiveMetastore_set_aggr_stats_for_args();
+ $args->request = $request;
+ $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
+ if ($bin_accel)
+ {
+ thrift_protocol_write_binary($this->output_, 'set_aggr_stats_for', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+ }
+ else
+ {
+ $this->output_->writeMessageBegin('set_aggr_stats_for', TMessageType::CALL, $this->seqid_);
+ $args->write($this->output_);
+ $this->output_->writeMessageEnd();
+ $this->output_->getTransport()->flush();
+ }
+ }
+
+ public function recv_set_aggr_stats_for()
+ {
+ $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
+ if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_set_aggr_stats_for_result', $this->input_->isStrictRead());
+ else
+ {
+ $rseqid = 0;
+ $fname = null;
+ $mtype = 0;
+
+ $this->input_->readMessageBegin($fname, $mtype, $rseqid);
+ if ($mtype == TMessageType::EXCEPTION) {
+ $x = new TApplicationException();
+ $x->read($this->input_);
+ $this->input_->readMessageEnd();
+ throw $x;
+ }
+ $result = new \metastore\ThriftHiveMetastore_set_aggr_stats_for_result();
+ $result->read($this->input_);
+ $this->input_->readMessageEnd();
+ }
+ if ($result->success !== null) {
+ return $result->success;
+ }
+ if ($result->o1 !== null) {
+ throw $result->o1;
+ }
+ if ($result->o2 !== null) {
+ throw $result->o2;
+ }
+ if ($result->o3 !== null) {
+ throw $result->o3;
+ }
+ if ($result->o4 !== null) {
+ throw $result->o4;
+ }
+ throw new \Exception("set_aggr_stats_for failed: unknown result");
+ }
+
public function delete_partition_column_statistics($db_name, $tbl_name, $part_name, $col_name)
{
$this->send_delete_partition_column_statistics($db_name, $tbl_name, $part_name, $col_name);
@@ -6476,30 +6648,29 @@ class ThriftHiveMetastoreClient extends
// HELPER FUNCTIONS AND STRUCTURES
-class ThriftHiveMetastore_create_database_args {
+class ThriftHiveMetastore_getMetaConf_args {
static $_TSPEC;
- public $database = null;
+ public $key = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
- 'var' => 'database',
- 'type' => TType::STRUCT,
- 'class' => '\metastore\Database',
+ 'var' => 'key',
+ 'type' => TType::STRING,
),
);
}
if (is_array($vals)) {
- if (isset($vals['database'])) {
- $this->database = $vals['database'];
+ if (isset($vals['key'])) {
+ $this->key = $vals['key'];
}
}
}
public function getName() {
- return 'ThriftHiveMetastore_create_database_args';
+ return 'ThriftHiveMetastore_getMetaConf_args';
}
public function read($input)
@@ -6518,9 +6689,8 @@ class ThriftHiveMetastore_create_databas
switch ($fid)
{
case 1:
- if ($ftype == TType::STRUCT) {
- $this->database = new \metastore\Database();
- $xfer += $this->database->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->key);
} else {
$xfer += $input->skip($ftype);
}
@@ -6537,13 +6707,10 @@ class ThriftHiveMetastore_create_databas
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('ThriftHiveMetastore_create_database_args');
- if ($this->database !== null) {
- if (!is_object($this->database)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('database', TType::STRUCT, 1);
- $xfer += $this->database->write($output);
+ $xfer += $output->writeStructBegin('ThriftHiveMetastore_getMetaConf_args');
+ if ($this->key !== null) {
+ $xfer += $output->writeFieldBegin('key', TType::STRING, 1);
+ $xfer += $output->writeString($this->key);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -6553,48 +6720,38 @@ class ThriftHiveMetastore_create_databas
}
-class ThriftHiveMetastore_create_database_result {
+class ThriftHiveMetastore_getMetaConf_result {
static $_TSPEC;
+ public $success = null;
public $o1 = null;
- public $o2 = null;
- public $o3 = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
+ 0 => array(
+ 'var' => 'success',
+ 'type' => TType::STRING,
+ ),
1 => array(
'var' => 'o1',
'type' => TType::STRUCT,
- 'class' => '\metastore\AlreadyExistsException',
- ),
- 2 => array(
- 'var' => 'o2',
- 'type' => TType::STRUCT,
- 'class' => '\metastore\InvalidObjectException',
- ),
- 3 => array(
- 'var' => 'o3',
- 'type' => TType::STRUCT,
'class' => '\metastore\MetaException',
),
);
}
if (is_array($vals)) {
+ if (isset($vals['success'])) {
+ $this->success = $vals['success'];
+ }
if (isset($vals['o1'])) {
$this->o1 = $vals['o1'];
}
- if (isset($vals['o2'])) {
- $this->o2 = $vals['o2'];
- }
- if (isset($vals['o3'])) {
- $this->o3 = $vals['o3'];
- }
}
}
public function getName() {
- return 'ThriftHiveMetastore_create_database_result';
+ return 'ThriftHiveMetastore_getMetaConf_result';
}
public function read($input)
@@ -6612,26 +6769,17 @@ class ThriftHiveMetastore_create_databas
}
switch ($fid)
{
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->o1 = new \metastore\AlreadyExistsException();
- $xfer += $this->o1->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRUCT) {
- $this->o2 = new \metastore\InvalidObjectException();
- $xfer += $this->o2->read($input);
+ case 0:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
break;
- case 3:
+ case 1:
if ($ftype == TType::STRUCT) {
- $this->o3 = new \metastore\MetaException();
- $xfer += $this->o3->read($input);
+ $this->o1 = new \metastore\MetaException();
+ $xfer += $this->o1->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -6648,22 +6796,17 @@ class ThriftHiveMetastore_create_databas
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('ThriftHiveMetastore_create_database_result');
+ $xfer += $output->writeStructBegin('ThriftHiveMetastore_getMetaConf_result');
+ if ($this->success !== null) {
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->o1 !== null) {
$xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1);
$xfer += $this->o1->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->o2 !== null) {
- $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2);
- $xfer += $this->o2->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->o3 !== null) {
- $xfer += $output->writeFieldBegin('o3', TType::STRUCT, 3);
- $xfer += $this->o3->write($output);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -6671,29 +6814,37 @@ class ThriftHiveMetastore_create_databas
}
-class ThriftHiveMetastore_get_database_args {
+class ThriftHiveMetastore_setMetaConf_args {
static $_TSPEC;
- public $name = null;
+ public $key = null;
+ public $value = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
- 'var' => 'name',
+ 'var' => 'key',
+ 'type' => TType::STRING,
+ ),
+ 2 => array(
+ 'var' => 'value',
'type' => TType::STRING,
),
);
}
if (is_array($vals)) {
- if (isset($vals['name'])) {
- $this->name = $vals['name'];
+ if (isset($vals['key'])) {
+ $this->key = $vals['key'];
+ }
+ if (isset($vals['value'])) {
+ $this->value = $vals['value'];
}
}
}
public function getName() {
- return 'ThriftHiveMetastore_get_database_args';
+ return 'ThriftHiveMetastore_setMetaConf_args';
}
public function read($input)
@@ -6713,7 +6864,14 @@ class ThriftHiveMetastore_get_database_a
{
case 1:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->name);
+ $xfer += $input->readString($this->key);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 2:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->value);
} else {
$xfer += $input->skip($ftype);
}
@@ -6730,10 +6888,15 @@ class ThriftHiveMetastore_get_database_a
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_database_args');
- if ($this->name !== null) {
- $xfer += $output->writeFieldBegin('name', TType::STRING, 1);
- $xfer += $output->writeString($this->name);
+ $xfer += $output->writeStructBegin('ThriftHiveMetastore_setMetaConf_args');
+ if ($this->key !== null) {
+ $xfer += $output->writeFieldBegin('key', TType::STRING, 1);
+ $xfer += $output->writeString($this->key);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->value !== null) {
+ $xfer += $output->writeFieldBegin('value', TType::STRING, 2);
+ $xfer += $output->writeString($this->value);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -6743,35 +6906,376 @@ class ThriftHiveMetastore_get_database_a
}
-class ThriftHiveMetastore_get_database_result {
+class ThriftHiveMetastore_setMetaConf_result {
static $_TSPEC;
- public $success = null;
public $o1 = null;
- public $o2 = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\metastore\Database',
- ),
1 => array(
'var' => 'o1',
'type' => TType::STRUCT,
- 'class' => '\metastore\NoSuchObjectException',
- ),
- 2 => array(
- 'var' => 'o2',
- 'type' => TType::STRUCT,
'class' => '\metastore\MetaException',
),
);
}
if (is_array($vals)) {
- if (isset($vals['success'])) {
+ if (isset($vals['o1'])) {
+ $this->o1 = $vals['o1'];
+ }
+ }
+ }
+
+ public function getName() {
+ return 'ThriftHiveMetastore_setMetaConf_result';
+ }
+
+ public function read($input)
+ {
+ $xfer = 0;
+ $fname = null;
+ $ftype = 0;
+ $fid = 0;
+ $xfer += $input->readStructBegin($fname);
+ while (true)
+ {
+ $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+ if ($ftype == TType::STOP) {
+ break;
+ }
+ switch ($fid)
+ {
+ case 1:
+ if ($ftype == TType::STRUCT) {
+ $this->o1 = new \metastore\MetaException();
+ $xfer += $this->o1->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ default:
+ $xfer += $input->skip($ftype);
+ break;
+ }
+ $xfer += $input->readFieldEnd();
+ }
+ $xfer += $input->readStructEnd();
+ return $xfer;
+ }
+
+ public function write($output) {
+ $xfer = 0;
+ $xfer += $output->writeStructBegin('ThriftHiveMetastore_setMetaConf_result');
+ if ($this->o1 !== null) {
+ $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1);
+ $xfer += $this->o1->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
+ }
+
+}
+
+class ThriftHiveMetastore_create_database_args {
+ static $_TSPEC;
+
+ public $database = null;
+
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 1 => array(
+ 'var' => 'database',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\Database',
+ ),
+ );
+ }
+ if (is_array($vals)) {
+ if (isset($vals['database'])) {
+ $this->database = $vals['database'];
+ }
+ }
+ }
+
+ public function getName() {
+ return 'ThriftHiveMetastore_create_database_args';
+ }
+
+ public function read($input)
+ {
+ $xfer = 0;
+ $fname = null;
+ $ftype = 0;
+ $fid = 0;
+ $xfer += $input->readStructBegin($fname);
+ while (true)
+ {
+ $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+ if ($ftype == TType::STOP) {
+ break;
+ }
+ switch ($fid)
+ {
+ case 1:
+ if ($ftype == TType::STRUCT) {
+ $this->database = new \metastore\Database();
+ $xfer += $this->database->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ default:
+ $xfer += $input->skip($ftype);
+ break;
+ }
+ $xfer += $input->readFieldEnd();
+ }
+ $xfer += $input->readStructEnd();
+ return $xfer;
+ }
+
+ public function write($output) {
+ $xfer = 0;
+ $xfer += $output->writeStructBegin('ThriftHiveMetastore_create_database_args');
+ if ($this->database !== null) {
+ if (!is_object($this->database)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('database', TType::STRUCT, 1);
+ $xfer += $this->database->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
+ }
+
+}
+
+class ThriftHiveMetastore_create_database_result {
+ static $_TSPEC;
+
+ public $o1 = null;
+ public $o2 = null;
+ public $o3 = null;
+
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 1 => array(
+ 'var' => 'o1',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\AlreadyExistsException',
+ ),
+ 2 => array(
+ 'var' => 'o2',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\InvalidObjectException',
+ ),
+ 3 => array(
+ 'var' => 'o3',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\MetaException',
+ ),
+ );
+ }
+ if (is_array($vals)) {
+ if (isset($vals['o1'])) {
+ $this->o1 = $vals['o1'];
+ }
+ if (isset($vals['o2'])) {
+ $this->o2 = $vals['o2'];
+ }
+ if (isset($vals['o3'])) {
+ $this->o3 = $vals['o3'];
+ }
+ }
+ }
+
+ public function getName() {
+ return 'ThriftHiveMetastore_create_database_result';
+ }
+
+ public function read($input)
+ {
+ $xfer = 0;
+ $fname = null;
+ $ftype = 0;
+ $fid = 0;
+ $xfer += $input->readStructBegin($fname);
+ while (true)
+ {
+ $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+ if ($ftype == TType::STOP) {
+ break;
+ }
+ switch ($fid)
+ {
+ case 1:
+ if ($ftype == TType::STRUCT) {
+ $this->o1 = new \metastore\AlreadyExistsException();
+ $xfer += $this->o1->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 2:
+ if ($ftype == TType::STRUCT) {
+ $this->o2 = new \metastore\InvalidObjectException();
+ $xfer += $this->o2->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->o3 = new \metastore\MetaException();
+ $xfer += $this->o3->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ default:
+ $xfer += $input->skip($ftype);
+ break;
+ }
+ $xfer += $input->readFieldEnd();
+ }
+ $xfer += $input->readStructEnd();
+ return $xfer;
+ }
+
+ public function write($output) {
+ $xfer = 0;
+ $xfer += $output->writeStructBegin('ThriftHiveMetastore_create_database_result');
+ if ($this->o1 !== null) {
+ $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1);
+ $xfer += $this->o1->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->o2 !== null) {
+ $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2);
+ $xfer += $this->o2->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->o3 !== null) {
+ $xfer += $output->writeFieldBegin('o3', TType::STRUCT, 3);
+ $xfer += $this->o3->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
+ }
+
+}
+
+class ThriftHiveMetastore_get_database_args {
+ static $_TSPEC;
+
+ public $name = null;
+
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 1 => array(
+ 'var' => 'name',
+ 'type' => TType::STRING,
+ ),
+ );
+ }
+ if (is_array($vals)) {
+ if (isset($vals['name'])) {
+ $this->name = $vals['name'];
+ }
+ }
+ }
+
+ public function getName() {
+ return 'ThriftHiveMetastore_get_database_args';
+ }
+
+ public function read($input)
+ {
+ $xfer = 0;
+ $fname = null;
+ $ftype = 0;
+ $fid = 0;
+ $xfer += $input->readStructBegin($fname);
+ while (true)
+ {
+ $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+ if ($ftype == TType::STOP) {
+ break;
+ }
+ switch ($fid)
+ {
+ case 1:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->name);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ default:
+ $xfer += $input->skip($ftype);
+ break;
+ }
+ $xfer += $input->readFieldEnd();
+ }
+ $xfer += $input->readStructEnd();
+ return $xfer;
+ }
+
+ public function write($output) {
+ $xfer = 0;
+ $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_database_args');
+ if ($this->name !== null) {
+ $xfer += $output->writeFieldBegin('name', TType::STRING, 1);
+ $xfer += $output->writeString($this->name);
+ $xfer += $output->writeFieldEnd();
+ }
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
+ }
+
+}
+
+class ThriftHiveMetastore_get_database_result {
+ static $_TSPEC;
+
+ public $success = null;
+ public $o1 = null;
+ public $o2 = null;
+
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 0 => array(
+ 'var' => 'success',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\Database',
+ ),
+ 1 => array(
+ 'var' => 'o1',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\NoSuchObjectException',
+ ),
+ 2 => array(
+ 'var' => 'o2',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\MetaException',
+ ),
+ );
+ }
+ if (is_array($vals)) {
+ if (isset($vals['success'])) {
$this->success = $vals['success'];
}
if (isset($vals['o1'])) {
@@ -7222,14 +7726,14 @@ class ThriftHiveMetastore_get_databases_
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size400 = 0;
- $_etype403 = 0;
- $xfer += $input->readListBegin($_etype403, $_size400);
- for ($_i404 = 0; $_i404 < $_size400; ++$_i404)
+ $_size407 = 0;
+ $_etype410 = 0;
+ $xfer += $input->readListBegin($_etype410, $_size407);
+ for ($_i411 = 0; $_i411 < $_size407; ++$_i411)
{
- $elem405 = null;
- $xfer += $input->readString($elem405);
- $this->success []= $elem405;
+ $elem412 = null;
+ $xfer += $input->readString($elem412);
+ $this->success []= $elem412;
}
$xfer += $input->readListEnd();
} else {
@@ -7265,9 +7769,9 @@ class ThriftHiveMetastore_get_databases_
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter406)
+ foreach ($this->success as $iter413)
{
- $xfer += $output->writeString($iter406);
+ $xfer += $output->writeString($iter413);
}
}
$output->writeListEnd();
@@ -7392,14 +7896,14 @@ class ThriftHiveMetastore_get_all_databa
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size407 = 0;
- $_etype410 = 0;
- $xfer += $input->readListBegin($_etype410, $_size407);
- for ($_i411 = 0; $_i411 < $_size407; ++$_i411)
+ $_size414 = 0;
+ $_etype417 = 0;
+ $xfer += $input->readListBegin($_etype417, $_size414);
+ for ($_i418 = 0; $_i418 < $_size414; ++$_i418)
{
- $elem412 = null;
- $xfer += $input->readString($elem412);
- $this->success []= $elem412;
+ $elem419 = null;
+ $xfer += $input->readString($elem419);
+ $this->success []= $elem419;
}
$xfer += $input->readListEnd();
} else {
@@ -7435,9 +7939,9 @@ class ThriftHiveMetastore_get_all_databa
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter413)
+ foreach ($this->success as $iter420)
{
- $xfer += $output->writeString($iter413);
+ $xfer += $output->writeString($iter420);
}
}
$output->writeListEnd();
@@ -8378,18 +8882,18 @@ class ThriftHiveMetastore_get_type_all_r
case 0:
if ($ftype == TType::MAP) {
$this->success = array();
- $_size414 = 0;
- $_ktype415 = 0;
- $_vtype416 = 0;
- $xfer += $input->readMapBegin($_ktype415, $_vtype416, $_size414);
- for ($_i418 = 0; $_i418 < $_size414; ++$_i418)
+ $_size421 = 0;
+ $_ktype422 = 0;
+ $_vtype423 = 0;
+ $xfer += $input->readMapBegin($_ktype422, $_vtype423, $_size421);
+ for ($_i425 = 0; $_i425 < $_size421; ++$_i425)
{
- $key419 = '';
- $val420 = new \metastore\Type();
- $xfer += $input->readString($key419);
- $val420 = new \metastore\Type();
- $xfer += $val420->read($input);
- $this->success[$key419] = $val420;
+ $key426 = '';
+ $val427 = new \metastore\Type();
+ $xfer += $input->readString($key426);
+ $val427 = new \metastore\Type();
+ $xfer += $val427->read($input);
+ $this->success[$key426] = $val427;
}
$xfer += $input->readMapEnd();
} else {
@@ -8425,10 +8929,10 @@ class ThriftHiveMetastore_get_type_all_r
{
$output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success));
{
- foreach ($this->success as $kiter421 => $viter422)
+ foreach ($this->success as $kiter428 => $viter429)
{
- $xfer += $output->writeString($kiter421);
- $xfer += $viter422->write($output);
+ $xfer += $output->writeString($kiter428);
+ $xfer += $viter429->write($output);
}
}
$output->writeMapEnd();
@@ -8614,15 +9118,15 @@ class ThriftHiveMetastore_get_fields_res
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size423 = 0;
- $_etype426 = 0;
- $xfer += $input->readListBegin($_etype426, $_size423);
- for ($_i427 = 0; $_i427 < $_size423; ++$_i427)
+ $_size430 = 0;
+ $_etype433 = 0;
+ $xfer += $input->readListBegin($_etype433, $_size430);
+ for ($_i434 = 0; $_i434 < $_size430; ++$_i434)
{
- $elem428 = null;
- $elem428 = new \metastore\FieldSchema();
- $xfer += $elem428->read($input);
- $this->success []= $elem428;
+ $elem435 = null;
+ $elem435 = new \metastore\FieldSchema();
+ $xfer += $elem435->read($input);
+ $this->success []= $elem435;
}
$xfer += $input->readListEnd();
} else {
@@ -8674,9 +9178,9 @@ class ThriftHiveMetastore_get_fields_res
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter429)
+ foreach ($this->success as $iter436)
{
- $xfer += $iter429->write($output);
+ $xfer += $iter436->write($output);
}
}
$output->writeListEnd();
@@ -8872,15 +9376,15 @@ class ThriftHiveMetastore_get_schema_res
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size430 = 0;
- $_etype433 = 0;
- $xfer += $input->readListBegin($_etype433, $_size430);
- for ($_i434 = 0; $_i434 < $_size430; ++$_i434)
+ $_size437 = 0;
+ $_etype440 = 0;
+ $xfer += $input->readListBegin($_etype440, $_size437);
+ for ($_i441 = 0; $_i441 < $_size437; ++$_i441)
{
- $elem435 = null;
- $elem435 = new \metastore\FieldSchema();
- $xfer += $elem435->read($input);
- $this->success []= $elem435;
+ $elem442 = null;
+ $elem442 = new \metastore\FieldSchema();
+ $xfer += $elem442->read($input);
+ $this->success []= $elem442;
}
$xfer += $input->readListEnd();
} else {
@@ -8932,9 +9436,9 @@ class ThriftHiveMetastore_get_schema_res
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter436)
+ foreach ($this->success as $iter443)
{
- $xfer += $iter436->write($output);
+ $xfer += $iter443->write($output);
}
}
$output->writeListEnd();
@@ -10011,14 +10515,14 @@ class ThriftHiveMetastore_get_tables_res
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size437 = 0;
- $_etype440 = 0;
- $xfer += $input->readListBegin($_etype440, $_size437);
- for ($_i441 = 0; $_i441 < $_size437; ++$_i441)
+ $_size444 = 0;
+ $_etype447 = 0;
+ $xfer += $input->readListBegin($_etype447, $_size444);
+ for ($_i448 = 0; $_i448 < $_size444; ++$_i448)
{
- $elem442 = null;
- $xfer += $input->readString($elem442);
- $this->success []= $elem442;
+ $elem449 = null;
+ $xfer += $input->readString($elem449);
+ $this->success []= $elem449;
}
$xfer += $input->readListEnd();
} else {
@@ -10054,9 +10558,9 @@ class ThriftHiveMetastore_get_tables_res
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter443)
+ foreach ($this->success as $iter450)
{
- $xfer += $output->writeString($iter443);
+ $xfer += $output->writeString($iter450);
}
}
$output->writeListEnd();
@@ -10203,14 +10707,14 @@ class ThriftHiveMetastore_get_all_tables
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size444 = 0;
- $_etype447 = 0;
- $xfer += $input->readListBegin($_etype447, $_size444);
- for ($_i448 = 0; $_i448 < $_size444; ++$_i448)
+ $_size451 = 0;
+ $_etype454 = 0;
+ $xfer += $input->readListBegin($_etype454, $_size451);
+ for ($_i455 = 0; $_i455 < $_size451; ++$_i455)
{
- $elem449 = null;
- $xfer += $input->readString($elem449);
- $this->success []= $elem449;
+ $elem456 = null;
+ $xfer += $input->readString($elem456);
+ $this->success []= $elem456;
}
$xfer += $input->readListEnd();
} else {
@@ -10246,9 +10750,9 @@ class ThriftHiveMetastore_get_all_tables
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter450)
+ foreach ($this->success as $iter457)
{
- $xfer += $output->writeString($iter450);
+ $xfer += $output->writeString($iter457);
}
}
$output->writeListEnd();
@@ -10542,14 +11046,14 @@ class ThriftHiveMetastore_get_table_obje
case 2:
if ($ftype == TType::LST) {
$this->tbl_names = array();
- $_size451 = 0;
- $_etype454 = 0;
- $xfer += $input->readListBegin($_etype454, $_size451);
- for ($_i455 = 0; $_i455 < $_size451; ++$_i455)
+ $_size458 = 0;
+ $_etype461 = 0;
+ $xfer += $input->readListBegin($_etype461, $_size458);
+ for ($_i462 = 0; $_i462 < $_size458; ++$_i462)
{
- $elem456 = null;
- $xfer += $input->readString($elem456);
- $this->tbl_names []= $elem456;
+ $elem463 = null;
+ $xfer += $input->readString($elem463);
+ $this->tbl_names []= $elem463;
}
$xfer += $input->readListEnd();
} else {
@@ -10582,9 +11086,9 @@ class ThriftHiveMetastore_get_table_obje
{
$output->writeListBegin(TType::STRING, count($this->tbl_names));
{
- foreach ($this->tbl_names as $iter457)
+ foreach ($this->tbl_names as $iter464)
{
- $xfer += $output->writeString($iter457);
+ $xfer += $output->writeString($iter464);
}
}
$output->writeListEnd();
@@ -10673,15 +11177,15 @@ class ThriftHiveMetastore_get_table_obje
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size458 = 0;
- $_etype461 = 0;
- $xfer += $input->readListBegin($_etype461, $_size458);
- for ($_i462 = 0; $_i462 < $_size458; ++$_i462)
+ $_size465 = 0;
+ $_etype468 = 0;
+ $xfer += $input->readListBegin($_etype468, $_size465);
+ for ($_i469 = 0; $_i469 < $_size465; ++$_i469)
{
- $elem463 = null;
- $elem463 = new \metastore\Table();
- $xfer += $elem463->read($input);
- $this->success []= $elem463;
+ $elem470 = null;
+ $elem470 = new \metastore\Table();
+ $xfer += $elem470->read($input);
+ $this->success []= $elem470;
}
$xfer += $input->readListEnd();
} else {
@@ -10733,9 +11237,9 @@ class ThriftHiveMetastore_get_table_obje
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter464)
+ foreach ($this->success as $iter471)
{
- $xfer += $iter464->write($output);
+ $xfer += $iter471->write($output);
}
}
$output->writeListEnd();
@@ -10950,14 +11454,14 @@ class ThriftHiveMetastore_get_table_name
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size465 = 0;
- $_etype468 = 0;
- $xfer += $input->readListBegin($_etype468, $_size465);
- for ($_i469 = 0; $_i469 < $_size465; ++$_i469)
+ $_size472 = 0;
+ $_etype475 = 0;
+ $xfer += $input->readListBegin($_etype475, $_size472);
+ for ($_i476 = 0; $_i476 < $_size472; ++$_i476)
{
- $elem470 = null;
- $xfer += $input->readString($elem470);
- $this->success []= $elem470;
+ $elem477 = null;
+ $xfer += $input->readString($elem477);
+ $this->success []= $elem477;
}
$xfer += $input->readListEnd();
} else {
@@ -11009,9 +11513,9 @@ class ThriftHiveMetastore_get_table_name
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter471)
+ foreach ($this->success as $iter478)
{
- $xfer += $output->writeString($iter471);
+ $xfer += $output->writeString($iter478);
}
}
$output->writeListEnd();
@@ -12004,15 +12508,15 @@ class ThriftHiveMetastore_add_partitions
case 1:
if ($ftype == TType::LST) {
$this->new_parts = array();
- $_size472 = 0;
- $_etype475 = 0;
- $xfer += $input->readListBegin($_etype475, $_size472);
- for ($_i476 = 0; $_i476 < $_size472; ++$_i476)
+ $_size479 = 0;
+ $_etype482 = 0;
+ $xfer += $input->readListBegin($_etype482, $_size479);
+ for ($_i483 = 0; $_i483 < $_size479; ++$_i483)
{
- $elem477 = null;
- $elem477 = new \metastore\Partition();
- $xfer += $elem477->read($input);
- $this->new_parts []= $elem477;
+ $elem484 = null;
+ $elem484 = new \metastore\Partition();
+ $xfer += $elem484->read($input);
+ $this->new_parts []= $elem484;
}
$xfer += $input->readListEnd();
} else {
@@ -12040,9 +12544,9 @@ class ThriftHiveMetastore_add_partitions
{
$output->writeListBegin(TType::STRUCT, count($this->new_parts));
{
- foreach ($this->new_parts as $iter478)
+ foreach ($this->new_parts as $iter485)
{
- $xfer += $iter478->write($output);
+ $xfer += $iter485->write($output);
}
}
$output->writeListEnd();
@@ -12271,14 +12775,14 @@ class ThriftHiveMetastore_append_partiti
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size479 = 0;
- $_etype482 = 0;
- $xfer += $input->readListBegin($_etype482, $_size479);
- for ($_i483 = 0; $_i483 < $_size479; ++$_i483)
+ $_size486 = 0;
+ $_etype489 = 0;
+ $xfer += $input->readListBegin($_etype489, $_size486);
+ for ($_i490 = 0; $_i490 < $_size486; ++$_i490)
{
- $elem484 = null;
- $xfer += $input->readString($elem484);
- $this->part_vals []= $elem484;
+ $elem491 = null;
+ $xfer += $input->readString($elem491);
+ $this->part_vals []= $elem491;
}
$xfer += $input->readListEnd();
} else {
@@ -12316,9 +12820,9 @@ class ThriftHiveMetastore_append_partiti
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter485)
+ foreach ($this->part_vals as $iter492)
{
- $xfer += $output->writeString($iter485);
+ $xfer += $output->writeString($iter492);
}
}
$output->writeListEnd();
@@ -12781,14 +13285,14 @@ class ThriftHiveMetastore_append_partiti
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size486 = 0;
- $_etype489 = 0;
- $xfer += $input->readListBegin($_etype489, $_size486);
- for ($_i490 = 0; $_i490 < $_size486; ++$_i490)
+ $_size493 = 0;
+ $_etype496 = 0;
+ $xfer += $input->readListBegin($_etype496, $_size493);
+ for ($_i497 = 0; $_i497 < $_size493; ++$_i497)
{
- $elem491 = null;
- $xfer += $input->readString($elem491);
- $this->part_vals []= $elem491;
+ $elem498 = null;
+ $xfer += $input->readString($elem498);
+ $this->part_vals []= $elem498;
}
$xfer += $input->readListEnd();
} else {
@@ -12834,9 +13338,9 @@ class ThriftHiveMetastore_append_partiti
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter492)
+ foreach ($this->part_vals as $iter499)
{
- $xfer += $output->writeString($iter492);
+ $xfer += $output->writeString($iter499);
}
}
$output->writeListEnd();
@@ -13621,14 +14125,14 @@ class ThriftHiveMetastore_drop_partition
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size493 = 0;
- $_etype496 = 0;
- $xfer += $input->readListBegin($_etype496, $_size493);
- for ($_i497 = 0; $_i497 < $_size493; ++$_i497)
+ $_size500 = 0;
+ $_etype503 = 0;
+ $xfer += $input->readListBegin($_etype503, $_size500);
+ for ($_i504 = 0; $_i504 < $_size500; ++$_i504)
{
- $elem498 = null;
- $xfer += $input->readString($elem498);
- $this->part_vals []= $elem498;
+ $elem505 = null;
+ $xfer += $input->readString($elem505);
+ $this->part_vals []= $elem505;
}
$xfer += $input->readListEnd();
} else {
@@ -13673,9 +14177,9 @@ class ThriftHiveMetastore_drop_partition
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter499)
+ foreach ($this->part_vals as $iter506)
{
- $xfer += $output->writeString($iter499);
+ $xfer += $output->writeString($iter506);
}
}
$output->writeListEnd();
@@ -13904,14 +14408,14 @@ class ThriftHiveMetastore_drop_partition
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size500 = 0;
- $_etype503 = 0;
- $xfer += $input->readListBegin($_etype503, $_size500);
- for ($_i504 = 0; $_i504 < $_size500; ++$_i504)
+ $_size507 = 0;
+ $_etype510 = 0;
+ $xfer += $input->readListBegin($_etype510, $_size507);
+ for ($_i511 = 0; $_i511 < $_size507; ++$_i511)
{
- $elem505 = null;
- $xfer += $input->readString($elem505);
- $this->part_vals []= $elem505;
+ $elem512 = null;
+ $xfer += $input->readString($elem512);
+ $this->part_vals []= $elem512;
}
$xfer += $input->readListEnd();
} else {
@@ -13964,9 +14468,9 @@ class ThriftHiveMetastore_drop_partition
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter506)
+ foreach ($this->part_vals as $iter513)
{
- $xfer += $output->writeString($iter506);
+ $xfer += $output->writeString($iter513);
}
}
$output->writeListEnd();
@@ -14905,14 +15409,14 @@ class ThriftHiveMetastore_get_partition_
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size507 = 0;
- $_etype510 = 0;
- $xfer += $input->readListBegin($_etype510, $_size507);
- for ($_i511 = 0; $_i511 < $_size507; ++$_i511)
+ $_size514 = 0;
+ $_etype517 = 0;
+ $xfer += $input->readListBegin($_etype517, $_size514);
+ for ($_i518 = 0; $_i518 < $_size514; ++$_i518)
{
- $elem512 = null;
- $xfer += $input->readString($elem512);
- $this->part_vals []= $elem512;
+ $elem519 = null;
+ $xfer += $input->readString($elem519);
+ $this->part_vals []= $elem519;
}
$xfer += $input->readListEnd();
} else {
@@ -14950,9 +15454,9 @@ class ThriftHiveMetastore_get_partition_
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter513)
+ foreach ($this->part_vals as $iter520)
{
- $xfer += $output->writeString($iter513);
+ $xfer += $output->writeString($iter520);
}
}
$output->writeListEnd();
@@ -15170,17 +15674,17 @@ class ThriftHiveMetastore_exchange_parti
case 1:
if ($ftype == TType::MAP) {
$this->partitionSpecs = array();
- $_size514 = 0;
- $_ktype515 = 0;
- $_vtype516 = 0;
- $xfer += $input->readMapBegin($_ktype515, $_vtype516, $_size514);
- for ($_i518 = 0; $_i518 < $_size514; ++$_i518)
+ $_size521 = 0;
+ $_ktype522 = 0;
+ $_vtype523 = 0;
+ $xfer += $input->readMapBegin($_ktype522, $_vtype523, $_size521);
+ for ($_i525 = 0; $_i525 < $_size521; ++$_i525)
{
- $key519 = '';
- $val520 = '';
- $xfer += $input->readString($key519);
- $xfer += $input->readString($val520);
- $this->partitionSpecs[$key519] = $val520;
+ $key526 = '';
+ $val527 = '';
+ $xfer += $input->readString($key526);
+ $xfer += $input->readString($val527);
+ $this->partitionSpecs[$key526] = $val527;
}
$xfer += $input->readMapEnd();
} else {
@@ -15236,10 +15740,10 @@ class ThriftHiveMetastore_exchange_parti
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs));
{
- foreach ($this->partitionSpecs as $kiter521 => $viter522)
+ foreach ($this->partitionSpecs as $kiter528 => $viter529)
{
- $xfer += $output->writeString($kiter521);
- $xfer += $output->writeString($viter522);
+ $xfer += $output->writeString($kiter528);
+ $xfer += $output->writeString($viter529);
}
}
$output->writeMapEnd();
@@ -15535,14 +16039,14 @@ class ThriftHiveMetastore_get_partition_
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size523 = 0;
- $_etype526 = 0;
- $xfer += $input->readListBegin($_etype526, $_size523);
- for ($_i527 = 0; $_i527 < $_size523; ++$_i527)
+ $_size530 = 0;
+ $_etype533 = 0;
+ $xfer += $input->readListBegin($_etype533, $_size530);
+ for ($_i534 = 0; $_i534 < $_size530; ++$_i534)
{
- $elem528 = null;
- $xfer += $input->readString($elem528);
- $this->part_vals []= $elem528;
+ $elem535 = null;
+ $xfer += $input->readString($elem535);
+ $this->part_vals []= $elem535;
}
$xfer += $input->readListEnd();
} else {
@@ -15559,14 +16063,14 @@ class ThriftHiveMetastore_get_partition_
case 5:
if ($ftype == TType::LST) {
$this->group_names = array();
- $_size529 = 0;
- $_etype532 = 0;
- $xfer += $input->readListBegin($_etype532, $_size529);
- for ($_i533 = 0; $_i533 < $_size529; ++$_i533)
+ $_size536 = 0;
+ $_etype539 = 0;
+ $xfer += $input->readListBegin($_etype539, $_size536);
+ for ($_i540 = 0; $_i540 < $_size536; ++$_i540)
{
- $elem534 = null;
- $xfer += $input->readString($elem534);
- $this->group_names []= $elem534;
+ $elem541 = null;
+ $xfer += $input->readString($elem541);
+ $this->group_names []= $elem541;
}
$xfer += $input->readListEnd();
} else {
@@ -15604,9 +16108,9 @@ class ThriftHiveMetastore_get_partition_
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter535)
+ foreach ($this->part_vals as $iter542)
{
- $xfer += $output->writeString($iter535);
+ $xfer += $output->writeString($iter542);
}
}
$output->writeListEnd();
@@ -15626,9 +16130,9 @@ class ThriftHiveMetastore_get_partition_
{
$output->writeListBegin(TType::STRING, count($this->group_names));
{
- foreach ($this->group_names as $iter536)
+ foreach ($this->group_names as $iter543)
{
- $xfer += $output->writeString($iter536);
+ $xfer += $output->writeString($iter543);
}
}
$output->writeListEnd();
@@ -16174,15 +16678,15 @@ class ThriftHiveMetastore_get_partitions
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size537 = 0;
- $_etype540 = 0;
- $xfer += $input->readListBegin($_etype540, $_size537);
- for ($_i541 = 0; $_i541 < $_size537; ++$_i541)
+ $_size544 = 0;
+ $_etype547 = 0;
+ $xfer += $input->readListBegin($_etype547, $_size544);
+ for ($_i548 = 0; $_i548 < $_size544; ++$_i548)
{
- $elem542 = null;
- $elem542 = new \metastore\Partition();
- $xfer += $elem542->read($input);
- $this->success []= $elem542;
+ $elem549 = null;
+ $elem549 = new \metastore\Partition();
+ $xfer += $elem549->read($input);
+ $this->success []= $elem549;
}
$xfer += $input->readListEnd();
} else {
@@ -16226,9 +16730,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter543)
+ foreach ($this->success as $iter550)
{
- $xfer += $iter543->write($output);
+ $xfer += $iter550->write($output);
}
}
$output->writeListEnd();
@@ -16359,14 +16863,14 @@ class ThriftHiveMetastore_get_partitions
case 5:
if ($ftype == TType::LST) {
$this->group_names = array();
- $_size544 = 0;
- $_etype547 = 0;
- $xfer += $input->readListBegin($_etype547, $_size544);
- for ($_i548 = 0; $_i548 < $_size544; ++$_i548)
+ $_size551 = 0;
+ $_etype554 = 0;
+ $xfer += $input->readListBegin($_etype554, $_size551);
+ for ($_i555 = 0; $_i555 < $_size551; ++$_i555)
{
- $elem549 = null;
- $xfer += $input->readString($elem549);
- $this->group_names []= $elem549;
+ $elem556 = null;
+ $xfer += $input->readString($elem556);
+ $this->group_names []= $elem556;
}
$xfer += $input->readListEnd();
} else {
@@ -16414,9 +16918,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRING, count($this->group_names));
{
- foreach ($this->group_names as $iter550)
+ foreach ($this->group_names as $iter557)
{
- $xfer += $output->writeString($iter550);
+ $xfer += $output->writeString($iter557);
}
}
$output->writeListEnd();
@@ -16496,15 +17000,15 @@ class ThriftHiveMetastore_get_partitions
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size551 = 0;
- $_etype554 = 0;
- $xfer += $input->readListBegin($_etype554, $_size551);
- for ($_i555 = 0; $_i555 < $_size551; ++$_i555)
+ $_size558 = 0;
+ $_etype561 = 0;
+ $xfer += $input->readListBegin($_etype561, $_size558);
+ for ($_i562 = 0; $_i562 < $_size558; ++$_i562)
{
- $elem556 = null;
- $elem556 = new \metastore\Partition();
- $xfer += $elem556->read($input);
- $this->success []= $elem556;
+ $elem563 = null;
+ $elem563 = new \metastore\Partition();
+ $xfer += $elem563->read($input);
+ $this->success []= $elem563;
}
$xfer += $input->readListEnd();
} else {
@@ -16548,9 +17052,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter557)
+ foreach ($this->success as $iter564)
{
- $xfer += $iter557->write($output);
+ $xfer += $iter564->write($output);
}
}
$output->writeListEnd();
@@ -16742,14 +17246,14 @@ class ThriftHiveMetastore_get_partition_
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size558 = 0;
- $_etype561 = 0;
- $xfer += $input->readListBegin($_etype561, $_size558);
- for ($_i562 = 0; $_i562 < $_size558; ++$_i562)
+ $_size565 = 0;
+ $_etype568 = 0;
+ $xfer += $input->readListBegin($_etype568, $_size565);
+ for ($_i569 = 0; $_i569 < $_size565; ++$_i569)
{
- $elem563 = null;
- $xfer += $input->readString($elem563);
- $this->success []= $elem563;
+ $elem570 = null;
+ $xfer += $input->readString($elem570);
+ $this->success []= $elem570;
}
$xfer += $input->readListEnd();
} else {
@@ -16785,9 +17289,9 @@ class ThriftHiveMetastore_get_partition_
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter564)
+ foreach ($this->success as $iter571)
{
- $xfer += $output->writeString($iter564);
+ $xfer += $output->writeString($iter571);
}
}
$output->writeListEnd();
@@ -16891,14 +17395,14 @@ class ThriftHiveMetastore_get_partitions
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size565 = 0;
- $_etype568 = 0;
- $xfer += $input->readListBegin($_etype568, $_size565);
- for ($_i569 = 0; $_i569 < $_size565; ++$_i569)
+ $_size572 = 0;
+ $_etype575 = 0;
+ $xfer += $input->readListBegin($_etype575, $_size572);
+ for ($_i576 = 0; $_i576 < $_size572; ++$_i576)
{
- $elem570 = null;
- $xfer += $input->readString($elem570);
- $this->part_vals []= $elem570;
+ $elem577 = null;
+ $xfer += $input->readString($elem577);
+ $this->part_vals []= $elem577;
}
$xfer += $input->readListEnd();
} else {
@@ -16943,9 +17447,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter571)
+ foreach ($this->part_vals as $iter578)
{
- $xfer += $output->writeString($iter571);
+ $xfer += $output->writeString($iter578);
}
}
$output->writeListEnd();
@@ -17030,15 +17534,15 @@ class ThriftHiveMetastore_get_partitions
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size572 = 0;
- $_etype575 = 0;
- $xfer += $input->readListBegin($_etype575, $_size572);
- for ($_i576 = 0; $_i576 < $_size572; ++$_i576)
+ $_size579 = 0;
+ $_etype582 = 0;
+ $xfer += $input->readListBegin($_etype582, $_size579);
+ for ($_i583 = 0; $_i583 < $_size579; ++$_i583)
{
- $elem577 = null;
- $elem577 = new \metastore\Partition();
- $xfer += $elem577->read($input);
- $this->success []= $elem577;
+ $elem584 = null;
+ $elem584 = new \metastore\Partition();
+ $xfer += $elem584->read($input);
+ $this->success []= $elem584;
}
$xfer += $input->readListEnd();
} else {
@@ -17082,9 +17586,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter578)
+ foreach ($this->success as $iter585)
{
- $xfer += $iter578->write($output);
+ $xfer += $iter585->write($output);
}
}
$output->writeListEnd();
@@ -17213,14 +17717,14 @@ class ThriftHiveMetastore_get_partitions
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size579 = 0;
- $_etype582 = 0;
- $xfer += $input->readListBegin($_etype582, $_size579);
- for ($_i583 = 0; $_i583 < $_size579; ++$_i583)
+ $_size586 = 0;
+ $_etype589 = 0;
+ $xfer += $input->readListBegin($_etype589, $_size586);
+ for ($_i590 = 0; $_i590 < $_size586; ++$_i590)
{
- $elem584 = null;
- $xfer += $input->readString($elem584);
- $this->part_vals []= $elem584;
+ $elem591 = null;
+ $xfer += $input->readString($elem591);
+ $this->part_vals []= $elem591;
}
$xfer += $input->readListEnd();
} else {
@@ -17244,14 +17748,14 @@ class ThriftHiveMetastore_get_partitions
case 6:
if ($ftype == TType::LST) {
$this->group_names = array();
- $_size585 = 0;
- $_etype588 = 0;
- $xfer += $input->readListBegin($_etype588, $_size585);
- for ($_i589 = 0; $_i589 < $_size585; ++$_i589)
+ $_size592 = 0;
+ $_etype595 = 0;
+ $xfer += $input->readListBegin($_etype595, $_size592);
+ for ($_i596 = 0; $_i596 < $_size592; ++$_i596)
{
- $elem590 = null;
- $xfer += $input->readString($elem590);
- $this->group_names []= $elem590;
+ $elem597 = null;
+ $xfer += $input->readString($elem597);
+ $this->group_names []= $elem597;
}
$xfer += $input->readListEnd();
} else {
@@ -17289,9 +17793,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter591)
+ foreach ($this->part_vals as $iter598)
{
- $xfer += $output->writeString($iter591);
+ $xfer += $output->writeString($iter598);
}
}
$output->writeListEnd();
@@ -17316,9 +17820,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRING, count($this->group_names));
{
- foreach ($this->group_names as $iter592)
+ foreach ($this->group_names as $iter599)
{
- $xfer += $output->writeString($iter592);
+ $xfer += $output->writeString($iter599);
}
}
$output->writeListEnd();
@@ -17398,15 +17902,15 @@ class ThriftHiveMetastore_get_partitions
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size593 = 0;
- $_etype596 = 0;
- $xfer += $input->readListBegin($_etype596, $_size593);
- for ($_i597 = 0; $_i597 < $_size593; ++$_i597)
+ $_size600 = 0;
+ $_etype603 = 0;
+ $xfer += $input->readListBegin($_etype603, $_size600);
+ for ($_i604 = 0; $_i604 < $_size600; ++$_i604)
{
- $elem598 = null;
- $elem598 = new \metastore\Partition();
- $xfer += $elem598->read($input);
- $this->success []= $elem598;
+ $elem605 = null;
+ $elem605 = new \metastore\Partition();
+ $xfer += $elem605->read($input);
+ $this->success []= $elem605;
}
$xfer += $input->readListEnd();
} else {
@@ -17450,9 +17954,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter599)
+ foreach ($this->success as $iter606)
{
- $xfer += $iter599->write($output);
+ $xfer += $iter606->write($output);
}
}
$output->writeListEnd();
@@ -17561,14 +18065,14 @@ class ThriftHiveMetastore_get_partition_
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size600 = 0;
- $_etype603 = 0;
- $xfer += $input->readListBegin($_etype603, $_size600);
- for ($_i604 = 0; $_i604 < $_size600; ++$_i604)
+ $_size607 = 0;
+ $_etype610 = 0;
+ $xfer += $input->readListBegin($_etype610, $_size607);
+ for ($_i611 = 0; $_i611 < $_size607; ++$_i611)
{
- $elem605 = null;
- $xfer += $input->readString($elem605);
- $this->part_vals []= $elem605;
+ $elem612 = null;
+ $xfer += $input->readString($elem612);
+ $this->part_vals []= $elem612;
}
$xfer += $input->readListEnd();
} else {
@@ -17613,9 +18117,9 @@ class ThriftHiveMetastore_get_partition_
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter606)
+ foreach ($this->part_vals as $iter613)
{
- $xfer += $output->writeString($iter606);
+ $xfer += $output->writeString($iter613);
}
}
$output->writeListEnd();
@@ -17699,14 +18203,14 @@ class ThriftHiveMetastore_get_partition_
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size607 = 0;
- $_etype610 = 0;
- $xfer += $input->readListBegin($_etype610, $_size607);
- for ($_i611 = 0; $_i611 < $_size607; ++$_i611)
+ $_size614 = 0;
+ $_etype617 = 0;
+ $xfer += $input->readListBegin($_etype617, $_size614);
+ for ($_i618 = 0; $_i618 < $_size614; ++$_i618)
{
- $elem612 = null;
- $xfer += $input->readString($elem612);
- $this->success []= $elem612;
+ $elem619 = null;
+ $xfer += $input->readString($elem619);
+ $this->success []= $elem619;
}
$xfer += $input->readListEnd();
} else {
@@ -17750,9 +18254,9 @@ class ThriftHiveMetastore_get_partition_
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter613)
+ foreach ($this->success as $iter620)
{
- $xfer += $output->writeString($iter613);
+ $xfer += $output->writeString($iter620);
}
}
$output->writeListEnd();
@@ -17974,15 +18478,15 @@ class ThriftHiveMetastore_get_partitions
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size614 = 0;
- $_etype617 = 0;
- $xfer += $input->readListBegin($_etype617, $_size614);
- for ($_i618 = 0; $_i618 < $_size614; ++$_i618)
+ $_size621 = 0;
+ $_etype624 = 0;
+ $xfer += $input->readListBegin($_etype624, $_size621);
+ for ($_i625 = 0; $_i625 < $_size621; ++$_i625)
{
- $elem619 = null;
- $elem619 = new \metastore\Partition();
- $xfer += $elem619->read($input);
- $this->success []= $elem619;
+ $elem626 = null;
+ $elem626 = new \metastore\Partition();
+ $xfer += $elem626->read($input);
+ $this->success []= $elem626;
}
$xfer += $input->readListEnd();
} else {
@@ -18026,9 +18530,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter620)
+ foreach ($this->success as $iter627)
{
- $xfer += $iter620->write($output);
+ $xfer += $iter627->write($output);
}
}
$output->writeListEnd();
@@ -18327,14 +18831,14 @@ class ThriftHiveMetastore_get_partitions
case 3:
if ($ftype == TType::LST) {
$this->names = array();
- $_size621 = 0;
- $_etype624 = 0;
- $xfer += $input->readListBegin($_etype624, $_size621);
- for ($_i625 = 0; $_i625 < $_size621; ++$_i625)
+ $_size628 = 0;
+ $_etype631 = 0;
+ $xfer += $input->readListBegin($_etype631, $_size628);
+ for ($_i632 = 0; $_i632 < $_size628; ++$_i632)
{
- $elem626 = null;
- $xfer += $input->readString($elem626);
- $this->names []= $elem626;
+ $elem633 = null;
+ $xfer += $input->readString($elem633);
+ $this->names []= $elem633;
}
$xfer += $input->readListEnd();
} else {
@@ -18372,9 +18876,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRING, count($this->names));
{
- foreach ($this->names as $iter627)
+ foreach ($this->names as $iter634)
{
- $xfer += $output->writeString($iter627);
+ $xfer += $output->writeString($iter634);
}
}
$output->writeListEnd();
@@ -18454,15 +18958,15 @@ class ThriftHiveMetastore_get_partitions
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size628 = 0;
- $_etype631 = 0;
- $xfer += $input->readListBegin($_etype631, $_size628);
- for ($_i632 = 0; $_i632 < $_size628; ++$_i632)
+ $_size635 = 0;
+ $_etype638 = 0;
+ $xfer += $input->readListBegin($_etype638, $_size635);
+ for ($_i639 = 0; $_i639 < $_size635; ++$_i639)
{
- $elem633 = null;
- $elem633 = new \metastore\Partition();
- $xfer += $elem633->read($input);
- $this->success []= $elem633;
+ $elem640 = null;
+ $elem640 = new \metastore\Partition();
+ $xfer += $elem640->read($input);
+ $this->success []= $elem640;
}
$xfer += $input->readListEnd();
} else {
@@ -18506,9 +19010,9 @@ class ThriftHiveMetastore_get_partitions
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter634)
+ foreach ($this->success as $iter641)
{
- $xfer += $iter634->write($output);
+ $xfer += $iter641->write($output);
}
}
$output->writeListEnd();
@@ -18823,15 +19327,15 @@ class ThriftHiveMetastore_alter_partitio
case 3:
if ($ftype == TType::LST) {
$this->new_parts = array();
- $_size635 = 0;
- $_etype638 = 0;
- $xfer += $input->readListBegin($_etype638, $_size635);
- for ($_i639 = 0; $_i639 < $_size635; ++$_i639)
+ $_size642 = 0;
+ $_etype645 = 0;
+ $xfer += $input->readListBegin($_etype645, $_size642);
+ for ($_i646 = 0; $_i646 < $_size642; ++$_i646)
{
- $elem640 = null;
- $elem640 = new \metastore\Partition();
- $xfer += $elem640->read($input);
- $this->new_parts []= $elem640;
+ $elem647 = null;
+ $elem647 = new \metastore\Partition();
+ $xfer += $elem647->read($input);
+ $this->new_parts []= $elem647;
}
$xfer += $input->readListEnd();
} else {
@@ -18869,9 +19373,9 @@ class ThriftHiveMetastore_alter_partitio
{
$output->writeListBegin(TType::STRUCT, count($this->new_parts));
{
- foreach ($this->new_parts as $iter641)
+ foreach ($this->new_parts as $iter648)
{
- $xfer += $iter641->write($output);
+ $xfer += $iter648->write($output);
}
}
$output->writeListEnd();
@@ -19305,14 +19809,14 @@ class ThriftHiveMetastore_rename_partiti
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size642 = 0;
- $_etype645 = 0;
- $xfer += $input->readListBegin($_etype645, $_size642);
- for ($_i646 = 0; $_i646 < $_size642; ++$_i646)
+ $_size649 = 0;
+ $_etype652 = 0;
+ $xfer += $input->readListBegin($_etype652, $_size649);
+ for ($_i653 = 0; $_i653 < $_size649; ++$_i653)
{
- $elem647 = null;
- $xfer += $input->readString($elem647);
- $this->part_vals []= $elem647;
+ $elem654 = null;
+ $xfer += $input->readString($elem654);
+ $this->part_vals []= $elem654;
}
$xfer += $input->readListEnd();
} else {
@@ -19358,9 +19862,9 @@ class ThriftHiveMetastore_rename_partiti
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter648)
+ foreach ($this->part_vals as $iter655)
{
- $xfer += $output->writeString($iter648);
+ $xfer += $output->writeString($iter655);
}
}
$output->writeListEnd();
@@ -19533,14 +20037,14 @@ class ThriftHiveMetastore_partition_name
case 1:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size649 = 0;
- $_etype652 = 0;
- $xfer += $input->readListBegin($_etype652, $_size649);
- for ($_i653 = 0; $_i653 < $_size649; ++$_i653)
+ $_size656 = 0;
+ $_etype659 = 0;
+ $xfer += $input->readListBegin($_etype659, $_size656);
+ for ($_i660 = 0; $_i660 < $_size656; ++$_i660)
{
- $elem654 = null;
- $xfer += $input->readString($elem654);
- $this->part_vals []= $elem654;
+ $elem661 = null;
+ $xfer += $input->readString($elem661);
+ $this->part_vals []= $elem661;
}
$xfer += $input->readListEnd();
} else {
@@ -19575,9 +20079,9 @@ class ThriftHiveMetastore_partition_name
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter655)
+ foreach ($this->part_vals as $iter662)
{
- $xfer += $output->writeString($iter655);
+ $xfer += $output->writeString($iter662);
}
}
$output->writeListEnd();
@@ -20004,14 +20508,14 @@ class ThriftHiveMetastore_partition_name
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size656 = 0;
- $_etype659 = 0;
- $xfer += $input->readListBegin($_etype659, $_size656);
- for ($_i660 = 0; $_i660 < $_size656; ++$_i660)
+ $_size663 = 0;
+ $_etype666 = 0;
+ $xfer += $input->readListBegin($_etype666, $_size663);
+ for ($_i667 = 0; $_i667 < $_size663; ++$_i667)
{
- $elem661 = null;
- $xfer += $input->readString($elem661);
- $this->success []= $elem661;
+ $elem668 = null;
+ $xfer += $input->readString($elem668);
+ $this->success []= $elem668;
}
$xfer += $input->readListEnd();
} else {
@@ -20047,9 +20551,9 @@ class ThriftHiveMetastore_partition_name
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter662)
+ foreach ($this->success as $iter669)
{
- $xfer += $output->writeString($iter662);
+ $xfer += $output->writeString($iter669);
}
}
$output->writeListEnd();
@@ -20200,17 +20704,17 @@ class ThriftHiveMetastore_partition_name
case 0:
if ($ftype == TType::MAP) {
$this->success = array();
- $_size663 = 0;
- $_ktype664 = 0;
- $_vtype665 = 0;
- $xfer += $input->readMapBegin($_ktype664, $_vtype665, $_size663);
- for ($_i667 = 0; $_i667 < $_size663; ++$_i667)
+ $_size670 = 0;
+ $_ktype671 = 0;
+ $_vtype672 = 0;
+ $xfer += $input->readMapBegin($_ktype671, $_vtype672, $_size670);
+ for ($_i674 = 0; $_i674 < $_size670; ++$_i674)
{
- $key668 = '';
- $val669 = '';
- $xfer += $input->readString($key668);
- $xfer += $input->readString($val669);
- $this->success[$key668] = $val669;
+ $key675 = '';
+ $val676 = '';
+ $xfer += $input->readString($key675);
+ $xfer += $input->readString($val676);
+ $this->success[$key675] = $val676;
}
$xfer += $input->readMapEnd();
} else {
@@ -20246,10 +20750,10 @@ class ThriftHiveMetastore_partition_name
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
{
- foreach ($this->success as $kiter670 => $viter671)
+ foreach ($this->success as $kiter677 => $viter678)
{
- $xfer += $output->writeString($kiter670);
- $xfer += $output->writeString($viter671);
+ $xfer += $output->writeString($kiter677);
+ $xfer += $output->writeString($viter678);
}
}
$output->writeMapEnd();
@@ -20357,17 +20861,17 @@ class ThriftHiveMetastore_markPartitionF
case 3:
if ($ftype == TType::MAP) {
$this->part_vals = array();
- $_size672 = 0;
- $_ktype673 = 0;
- $_vtype674 = 0;
- $xfer += $input->readMapBegin($_ktype673, $_vtype674, $_size672);
- for ($_i676 = 0; $_i676 < $_size672; ++$_i676)
+ $_size679 = 0;
+ $_ktype680 = 0;
+ $_vtype681 = 0;
+ $xfer += $input->readMapBegin($_ktype680, $_vtype681, $_size679);
+ for ($_i683 = 0; $_i683 < $_size679; ++$_i683)
{
- $key677 = '';
- $val678 = '';
- $xfer += $input->readString($key677);
- $xfer += $input->readString($val678);
- $this->part_vals[$key677] = $val678;
+ $key684 = '';
+ $val685 = '';
+ $xfer += $input->readString($key684);
+ $xfer += $input->readString($val685);
+ $this->part_vals[$key684] = $val685;
}
$xfer += $input->readMapEnd();
} else {
@@ -20412,10 +20916,10 @@ class ThriftHiveMetastore_markPartitionF
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $kiter679 => $viter680)
+ foreach ($this->part_vals as $kiter686 => $viter687)
{
- $xfer += $output->writeString($kiter679);
- $xfer += $output->writeString($viter680);
+ $xfer += $output->writeString($kiter686);
+ $xfer += $output->writeString($viter687);
}
}
$output->writeMapEnd();
@@ -20707,17 +21211,17 @@ class ThriftHiveMetastore_isPartitionMar
case 3:
if ($ftype == TType::MAP) {
$this->part_vals = array();
- $_size681 = 0;
- $_ktype682 = 0;
- $_vtype683 = 0;
- $xfer += $input->readMapBegin($_ktype682, $_vtype683, $_size681);
- for ($_i685 = 0; $_i685 < $_size681; ++$_i685)
+ $_size688 = 0;
+ $_ktype689 = 0;
+ $_vtype690 = 0;
+ $xfer += $input->readMapBegin($_ktype689, $_vtype690, $_size688);
+ for ($_i692 = 0; $_i692 < $_size688; ++$_i692)
{
- $key686 = '';
- $val687 = '';
- $xfer += $input->readString($key686);
- $xfer += $input->readString($val687);
- $this->part_vals[$key686] = $val687;
+ $key693 = '';
+ $val694 = '';
+ $xfer += $input->readString($key693);
+ $xfer += $input->readString($val694);
+ $this->part_vals[$key693] = $val694;
}
$xfer += $input->readMapEnd();
} else {
@@ -20762,10 +21266,10 @@ class ThriftHiveMetastore_isPartitionMar
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $kiter688 => $viter689)
+ foreach ($this->part_vals as $kiter695 => $viter696)
{
- $xfer += $output->writeString($kiter688);
- $xfer += $output->writeString($viter689);
+ $xfer += $output->writeString($kiter695);
+ $xfer += $output->writeString($viter696);
}
}
$output->writeMapEnd();
@@ -22125,15 +22629,15 @@ class ThriftHiveMetastore_get_indexes_re
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size690 = 0;
- $_etype693 = 0;
- $xfer += $input->readListBegin($_etype693, $_size690);
- for ($_i694 = 0; $_i694 < $_size690; ++$_i694)
+ $_size697 = 0;
+ $_etype700 = 0;
+ $xfer += $input->readListBegin($_etype700, $_size697);
+ for ($_i701 = 0; $_i701 < $_size697; ++$_i701)
{
- $elem695 = null;
- $elem695 = new \metastore\Index();
- $xfer += $elem695->read($input);
- $this->success []= $elem695;
+ $elem702 = null;
+ $elem702 = new \metastore\Index();
+ $xfer += $elem702->read($input);
+ $this->success []= $elem702;
}
$xfer += $input->readListEnd();
} else {
@@ -22177,9 +22681,9 @@ class ThriftHiveMetastore_get_indexes_re
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter696)
+ foreach ($this->success as $iter703)
{
- $xfer += $iter696->write($output);
+ $xfer += $iter703->write($output);
}
}
$output->writeListEnd();
@@ -22371,14 +22875,14 @@ class ThriftHiveMetastore_get_index_name
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size697 = 0;
- $_etype700 = 0;
- $xfer += $input->readListBegin($_etype700, $_size697);
- for ($_i701 = 0; $_i701 < $_size697; ++$_i701)
+ $_size704 = 0;
+ $_etype707 = 0;
+ $xfer += $input->readListBegin($_etype707, $_size704);
+ for ($_i708 = 0; $_i708 < $_size704; ++$_i708)
{
- $elem702 = null;
- $xfer += $input->readString($elem702);
- $this->success []= $elem702;
+ $elem709 = null;
+ $xfer += $input->readString($elem709);
+ $this->success []= $elem709;
}
$xfer += $input->readListEnd();
} else {
@@ -22414,9 +22918,9 @@ class ThriftHiveMetastore_get_index_name
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter703)
+ foreach ($this->success as $iter710)
{
- $xfer += $output->writeString($iter703);
+ $xfer += $output->writeString($iter710);
}
}
$output->writeListEnd();
@@ -23318,14 +23822,254 @@ class ThriftHiveMetastore_get_partition_
}
-class ThriftHiveMetastore_get_partition_column_statistics_result {
+class ThriftHiveMetastore_get_partition_column_statistics_result {
+ static $_TSPEC;
+
+ public $success = null;
+ public $o1 = null;
+ public $o2 = null;
+ public $o3 = null;
+ public $o4 = null;
+
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 0 => array(
+ 'var' => 'success',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\ColumnStatistics',
+ ),
+ 1 => array(
+ 'var' => 'o1',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\NoSuchObjectException',
+ ),
+ 2 => array(
+ 'var' => 'o2',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\MetaException',
+ ),
+ 3 => array(
+ 'var' => 'o3',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\InvalidInputException',
+ ),
+ 4 => array(
+ 'var' => 'o4',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\InvalidObjectException',
+ ),
+ );
+ }
+ if (is_array($vals)) {
+ if (isset($vals['success'])) {
+ $this->success = $vals['success'];
+ }
+ if (isset($vals['o1'])) {
+ $this->o1 = $vals['o1'];
+ }
+ if (isset($vals['o2'])) {
+ $this->o2 = $vals['o2'];
+ }
+ if (isset($vals['o3'])) {
+ $this->o3 = $vals['o3'];
+ }
+ if (isset($vals['o4'])) {
+ $this->o4 = $vals['o4'];
+ }
+ }
+ }
+
+ public function getName() {
+ return 'ThriftHiveMetastore_get_partition_column_statistics_result';
+ }
+
+ public function read($input)
+ {
+ $xfer = 0;
+ $fname = null;
+ $ftype = 0;
+ $fid = 0;
+ $xfer += $input->readStructBegin($fname);
+ while (true)
+ {
+ $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+ if ($ftype == TType::STOP) {
+ break;
+ }
+ switch ($fid)
+ {
+ case 0:
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \metastore\ColumnStatistics();
+ $xfer += $this->success->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 1:
+ if ($ftype == TType::STRUCT) {
+ $this->o1 = new \metastore\NoSuchObjectException();
+ $xfer += $this->o1->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 2:
+ if ($ftype == TType::STRUCT) {
+ $this->o2 = new \metastore\MetaException();
+ $xfer += $this->o2->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->o3 = new \metastore\InvalidInputException();
+ $xfer += $this->o3->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::STRUCT) {
+ $this->o4 = new \metastore\InvalidObjectException();
+ $xfer += $this->o4->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ default:
+ $xfer += $input->skip($ftype);
+ break;
+ }
+ $xfer += $input->readFieldEnd();
+ }
+ $xfer += $input->readStructEnd();
+ return $xfer;
+ }
+
+ public function write($output) {
+ $xfer = 0;
+ $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_partition_column_statistics_result');
+ if ($this->success !== null) {
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->o1 !== null) {
+ $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1);
+ $xfer += $this->o1->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->o2 !== null) {
[... 801 lines stripped ...]