Modified: hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/hive_metastore_constants.php URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/hive_metastore_constants.php?rev=1165207&r1=1165206&r2=1165207&view=diff ============================================================================== --- hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/hive_metastore_constants.php (original) +++ hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/hive_metastore_constants.php Mon Sep 5 08:47:02 2011 @@ -1,6 +1,6 @@ <?php /** - * Autogenerated by Thrift + * Autogenerated by Thrift Compiler (0.7.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING */
Modified: hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/hive_metastore_types.php URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/hive_metastore_types.php?rev=1165207&r1=1165206&r2=1165207&view=diff ============================================================================== --- hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/hive_metastore_types.php (original) +++ hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/hive_metastore_types.php Mon Sep 5 08:47:02 2011 @@ -1,6 +1,6 @@ <?php /** - * Autogenerated by Thrift + * Autogenerated by Thrift Compiler (0.7.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING */ @@ -8,7 +8,7 @@ include_once $GLOBALS['THRIFT_ROOT'].'/T include_once $GLOBALS['THRIFT_ROOT'].'/packages/fb303/fb303_types.php'; -$GLOBALS['metastore_E_HiveObjectType'] = array( +$GLOBALS['E_HiveObjectType'] = array( 'GLOBAL' => 1, 'DATABASE' => 2, 'TABLE' => 3, @@ -16,7 +16,7 @@ $GLOBALS['metastore_E_HiveObjectType'] = 'COLUMN' => 5, ); -final class metastore_HiveObjectType { +final class HiveObjectType { const GLOBAL = 1; const DATABASE = 2; const TABLE = 3; @@ -31,13 +31,13 @@ final class metastore_HiveObjectType { ); } -$GLOBALS['metastore_E_PrincipalType'] = array( +$GLOBALS['E_PrincipalType'] = array( 'USER' => 1, 'ROLE' => 2, 'GROUP' => 3, ); -final class metastore_PrincipalType { +final class PrincipalType { const USER = 1; const ROLE = 2; const GROUP = 3; @@ -48,18 +48,18 @@ final class metastore_PrincipalType { ); } -$GLOBALS['metastore_E_PartitionEventType'] = array( +$GLOBALS['E_PartitionEventType'] = array( 'LOAD_DONE' => 1, ); -final class metastore_PartitionEventType { +final class PartitionEventType { const LOAD_DONE = 1; static public $__names = array( 1 => 'LOAD_DONE', ); } -class metastore_Version { +class Version { static $_TSPEC; public $version = null; @@ -151,7 +151,7 @@ class metastore_Version { } -class metastore_FieldSchema { +class FieldSchema { static $_TSPEC; public $name = null; @@ -263,7 +263,7 @@ class metastore_FieldSchema { } -class metastore_Type { +class Type { static $_TSPEC; public $name = null; @@ -292,7 +292,7 @@ class metastore_Type { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => 'metastore_FieldSchema', + 'class' => 'FieldSchema', ), ), ); @@ -362,7 +362,7 @@ class metastore_Type { for ($_i4 = 0; $_i4 < $_size0; ++$_i4) { $elem5 = null; - $elem5 = new metastore_FieldSchema(); + $elem5 = new FieldSchema(); $xfer += $elem5->read($input); $this->fields []= $elem5; } @@ -423,7 +423,7 @@ class metastore_Type { } -class metastore_HiveObjectRef { +class HiveObjectRef { static $_TSPEC; public $objectType = null; @@ -601,7 +601,7 @@ class metastore_HiveObjectRef { } -class metastore_PrivilegeGrantInfo { +class PrivilegeGrantInfo { static $_TSPEC; public $privilege = null; @@ -753,7 +753,7 @@ class metastore_PrivilegeGrantInfo { } -class metastore_HiveObjectPrivilege { +class HiveObjectPrivilege { static $_TSPEC; public $hiveObject = null; @@ -767,7 +767,7 @@ class metastore_HiveObjectPrivilege { 1 => array( 'var' => 'hiveObject', 'type' => TType::STRUCT, - 'class' => 'metastore_HiveObjectRef', + 'class' => 'HiveObjectRef', ), 2 => array( 'var' => 'principalName', @@ -780,7 +780,7 @@ class metastore_HiveObjectPrivilege { 4 => array( 'var' => 'grantInfo', 'type' => TType::STRUCT, - 'class' => 'metastore_PrivilegeGrantInfo', + 'class' => 'PrivilegeGrantInfo', ), ); } @@ -821,7 +821,7 @@ class metastore_HiveObjectPrivilege { { case 1: if ($ftype == TType::STRUCT) { - $this->hiveObject = new metastore_HiveObjectRef(); + $this->hiveObject = new HiveObjectRef(); $xfer += $this->hiveObject->read($input); } else { $xfer += $input->skip($ftype); @@ -843,7 +843,7 @@ class metastore_HiveObjectPrivilege { break; case 4: if ($ftype == TType::STRUCT) { - $this->grantInfo = new metastore_PrivilegeGrantInfo(); + $this->grantInfo = new PrivilegeGrantInfo(); $xfer += $this->grantInfo->read($input); } else { $xfer += $input->skip($ftype); @@ -895,7 +895,7 @@ class metastore_HiveObjectPrivilege { } -class metastore_PrivilegeBag { +class PrivilegeBag { static $_TSPEC; public $privileges = null; @@ -909,7 +909,7 @@ class metastore_PrivilegeBag { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => 'metastore_HiveObjectPrivilege', + 'class' => 'HiveObjectPrivilege', ), ), ); @@ -949,7 +949,7 @@ class metastore_PrivilegeBag { for ($_i18 = 0; $_i18 < $_size14; ++$_i18) { $elem19 = null; - $elem19 = new metastore_HiveObjectPrivilege(); + $elem19 = new HiveObjectPrivilege(); $xfer += $elem19->read($input); $this->privileges []= $elem19; } @@ -995,7 +995,7 @@ class metastore_PrivilegeBag { } -class metastore_PrincipalPrivilegeSet { +class PrincipalPrivilegeSet { static $_TSPEC; public $userPrivileges = null; @@ -1018,7 +1018,7 @@ class metastore_PrincipalPrivilegeSet { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => 'metastore_PrivilegeGrantInfo', + 'class' => 'PrivilegeGrantInfo', ), ), ), @@ -1035,7 +1035,7 @@ class metastore_PrincipalPrivilegeSet { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => 'metastore_PrivilegeGrantInfo', + 'class' => 'PrivilegeGrantInfo', ), ), ), @@ -1052,7 +1052,7 @@ class metastore_PrincipalPrivilegeSet { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => 'metastore_PrivilegeGrantInfo', + 'class' => 'PrivilegeGrantInfo', ), ), ), @@ -1109,7 +1109,7 @@ class metastore_PrincipalPrivilegeSet { for ($_i32 = 0; $_i32 < $_size28; ++$_i32) { $elem33 = null; - $elem33 = new metastore_PrivilegeGrantInfo(); + $elem33 = new PrivilegeGrantInfo(); $xfer += $elem33->read($input); $val27 []= $elem33; } @@ -1140,7 +1140,7 @@ class metastore_PrincipalPrivilegeSet { for ($_i45 = 0; $_i45 < $_size41; ++$_i45) { $elem46 = null; - $elem46 = new metastore_PrivilegeGrantInfo(); + $elem46 = new PrivilegeGrantInfo(); $xfer += $elem46->read($input); $val40 []= $elem46; } @@ -1171,7 +1171,7 @@ class metastore_PrincipalPrivilegeSet { for ($_i58 = 0; $_i58 < $_size54; ++$_i58) { $elem59 = null; - $elem59 = new metastore_PrivilegeGrantInfo(); + $elem59 = new PrivilegeGrantInfo(); $xfer += $elem59->read($input); $val53 []= $elem59; } @@ -1284,7 +1284,7 @@ class metastore_PrincipalPrivilegeSet { } -class metastore_Role { +class Role { static $_TSPEC; public $roleName = null; @@ -1396,7 +1396,7 @@ class metastore_Role { } -class metastore_Database { +class Database { static $_TSPEC; public $name = null; @@ -1435,7 +1435,7 @@ class metastore_Database { 5 => array( 'var' => 'privileges', 'type' => TType::STRUCT, - 'class' => 'metastore_PrincipalPrivilegeSet', + 'class' => 'PrincipalPrivilegeSet', ), ); } @@ -1520,7 +1520,7 @@ class metastore_Database { break; case 5: if ($ftype == TType::STRUCT) { - $this->privileges = new metastore_PrincipalPrivilegeSet(); + $this->privileges = new PrincipalPrivilegeSet(); $xfer += $this->privileges->read($input); } else { $xfer += $input->skip($ftype); @@ -1587,7 +1587,7 @@ class metastore_Database { } -class metastore_SerDeInfo { +class SerDeInfo { static $_TSPEC; public $name = null; @@ -1733,7 +1733,7 @@ class metastore_SerDeInfo { } -class metastore_Order { +class Order { static $_TSPEC; public $col = null; @@ -1825,7 +1825,7 @@ class metastore_Order { } -class metastore_StorageDescriptor { +class StorageDescriptor { static $_TSPEC; public $cols = null; @@ -1848,7 +1848,7 @@ class metastore_StorageDescriptor { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => 'metastore_FieldSchema', + 'class' => 'FieldSchema', ), ), 2 => array( @@ -1874,7 +1874,7 @@ class metastore_StorageDescriptor { 7 => array( 'var' => 'serdeInfo', 'type' => TType::STRUCT, - 'class' => 'metastore_SerDeInfo', + 'class' => 'SerDeInfo', ), 8 => array( 'var' => 'bucketCols', @@ -1890,7 +1890,7 @@ class metastore_StorageDescriptor { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => 'metastore_Order', + 'class' => 'Order', ), ), 10 => array( @@ -1969,7 +1969,7 @@ class metastore_StorageDescriptor { for ($_i91 = 0; $_i91 < $_size87; ++$_i91) { $elem92 = null; - $elem92 = new metastore_FieldSchema(); + $elem92 = new FieldSchema(); $xfer += $elem92->read($input); $this->cols []= $elem92; } @@ -2015,7 +2015,7 @@ class metastore_StorageDescriptor { break; case 7: if ($ftype == TType::STRUCT) { - $this->serdeInfo = new metastore_SerDeInfo(); + $this->serdeInfo = new SerDeInfo(); $xfer += $this->serdeInfo->read($input); } else { $xfer += $input->skip($ftype); @@ -2047,7 +2047,7 @@ class metastore_StorageDescriptor { for ($_i103 = 0; $_i103 < $_size99; ++$_i103) { $elem104 = null; - $elem104 = new metastore_Order(); + $elem104 = new Order(); $xfer += $elem104->read($input); $this->sortCols []= $elem104; } @@ -2198,7 +2198,7 @@ class metastore_StorageDescriptor { } -class metastore_Table { +class Table { static $_TSPEC; public $tableName = null; @@ -2245,7 +2245,7 @@ class metastore_Table { 7 => array( 'var' => 'sd', 'type' => TType::STRUCT, - 'class' => 'metastore_StorageDescriptor', + 'class' => 'StorageDescriptor', ), 8 => array( 'var' => 'partitionKeys', @@ -2253,7 +2253,7 @@ class metastore_Table { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => 'metastore_FieldSchema', + 'class' => 'FieldSchema', ), ), 9 => array( @@ -2283,7 +2283,7 @@ class metastore_Table { 13 => array( 'var' => 'privileges', 'type' => TType::STRUCT, - 'class' => 'metastore_PrincipalPrivilegeSet', + 'class' => 'PrincipalPrivilegeSet', ), ); } @@ -2393,7 +2393,7 @@ class metastore_Table { break; case 7: if ($ftype == TType::STRUCT) { - $this->sd = new metastore_StorageDescriptor(); + $this->sd = new StorageDescriptor(); $xfer += $this->sd->read($input); } else { $xfer += $input->skip($ftype); @@ -2408,7 +2408,7 @@ class metastore_Table { for ($_i121 = 0; $_i121 < $_size117; ++$_i121) { $elem122 = null; - $elem122 = new metastore_FieldSchema(); + $elem122 = new FieldSchema(); $xfer += $elem122->read($input); $this->partitionKeys []= $elem122; } @@ -2460,7 +2460,7 @@ class metastore_Table { break; case 13: if ($ftype == TType::STRUCT) { - $this->privileges = new metastore_PrincipalPrivilegeSet(); + $this->privileges = new PrincipalPrivilegeSet(); $xfer += $this->privileges->read($input); } else { $xfer += $input->skip($ftype); @@ -2582,7 +2582,7 @@ class metastore_Table { } -class metastore_Partition { +class Partition { static $_TSPEC; public $values = null; @@ -2624,7 +2624,7 @@ class metastore_Partition { 6 => array( 'var' => 'sd', 'type' => TType::STRUCT, - 'class' => 'metastore_StorageDescriptor', + 'class' => 'StorageDescriptor', ), 7 => array( 'var' => 'parameters', @@ -2641,7 +2641,7 @@ class metastore_Partition { 8 => array( 'var' => 'privileges', 'type' => TType::STRUCT, - 'class' => 'metastore_PrincipalPrivilegeSet', + 'class' => 'PrincipalPrivilegeSet', ), ); } @@ -2739,7 +2739,7 @@ class metastore_Partition { break; case 6: if ($ftype == TType::STRUCT) { - $this->sd = new metastore_StorageDescriptor(); + $this->sd = new StorageDescriptor(); $xfer += $this->sd->read($input); } else { $xfer += $input->skip($ftype); @@ -2767,7 +2767,7 @@ class metastore_Partition { break; case 8: if ($ftype == TType::STRUCT) { - $this->privileges = new metastore_PrincipalPrivilegeSet(); + $this->privileges = new PrincipalPrivilegeSet(); $xfer += $this->privileges->read($input); } else { $xfer += $input->skip($ftype); @@ -2864,7 +2864,7 @@ class metastore_Partition { } -class metastore_Index { +class Index { static $_TSPEC; public $indexName = null; @@ -2912,7 +2912,7 @@ class metastore_Index { 8 => array( 'var' => 'sd', 'type' => TType::STRUCT, - 'class' => 'metastore_StorageDescriptor', + 'class' => 'StorageDescriptor', ), 9 => array( 'var' => 'parameters', @@ -3036,7 +3036,7 @@ class metastore_Index { break; case 8: if ($ftype == TType::STRUCT) { - $this->sd = new metastore_StorageDescriptor(); + $this->sd = new StorageDescriptor(); $xfer += $this->sd->read($input); } else { $xfer += $input->skip($ftype); @@ -3155,7 +3155,7 @@ class metastore_Index { } -class metastore_Schema { +class Schema { static $_TSPEC; public $fieldSchemas = null; @@ -3170,7 +3170,7 @@ class metastore_Schema { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => 'metastore_FieldSchema', + 'class' => 'FieldSchema', ), ), 2 => array( @@ -3225,7 +3225,7 @@ class metastore_Schema { for ($_i162 = 0; $_i162 < $_size158; ++$_i162) { $elem163 = null; - $elem163 = new metastore_FieldSchema(); + $elem163 = new FieldSchema(); $xfer += $elem163->read($input); $this->fieldSchemas []= $elem163; } @@ -3309,7 +3309,7 @@ class metastore_Schema { } -class metastore_MetaException extends TException { +class MetaException extends TException { static $_TSPEC; public $message = null; @@ -3381,7 +3381,7 @@ class metastore_MetaException extends TE } -class metastore_UnknownTableException extends TException { +class UnknownTableException extends TException { static $_TSPEC; public $message = null; @@ -3453,7 +3453,7 @@ class metastore_UnknownTableException ex } -class metastore_UnknownDBException extends TException { +class UnknownDBException extends TException { static $_TSPEC; public $message = null; @@ -3525,7 +3525,7 @@ class metastore_UnknownDBException exten } -class metastore_AlreadyExistsException extends TException { +class AlreadyExistsException extends TException { static $_TSPEC; public $message = null; @@ -3597,7 +3597,7 @@ class metastore_AlreadyExistsException e } -class metastore_InvalidPartitionException extends TException { +class InvalidPartitionException extends TException { static $_TSPEC; public $message = null; @@ -3669,7 +3669,7 @@ class metastore_InvalidPartitionExceptio } -class metastore_UnknownPartitionException extends TException { +class UnknownPartitionException extends TException { static $_TSPEC; public $message = null; @@ -3741,7 +3741,7 @@ class metastore_UnknownPartitionExceptio } -class metastore_InvalidObjectException extends TException { +class InvalidObjectException extends TException { static $_TSPEC; public $message = null; @@ -3813,7 +3813,7 @@ class metastore_InvalidObjectException e } -class metastore_NoSuchObjectException extends TException { +class NoSuchObjectException extends TException { static $_TSPEC; public $message = null; @@ -3885,7 +3885,7 @@ class metastore_NoSuchObjectException ex } -class metastore_IndexAlreadyExistsException extends TException { +class IndexAlreadyExistsException extends TException { static $_TSPEC; public $message = null; @@ -3957,7 +3957,7 @@ class metastore_IndexAlreadyExistsExcept } -class metastore_InvalidOperationException extends TException { +class InvalidOperationException extends TException { static $_TSPEC; public $message = null; @@ -4029,7 +4029,7 @@ class metastore_InvalidOperationExceptio } -class metastore_ConfigValSecurityException extends TException { +class ConfigValSecurityException extends TException { static $_TSPEC; public $message = null; Modified: hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote?rev=1165207&r1=1165206&r2=1165207&view=diff ============================================================================== --- hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote (original) +++ hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote Mon Sep 5 08:47:02 2011 @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Autogenerated by Thrift +# Autogenerated by Thrift Compiler (0.7.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING #
