You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by xu...@apache.org on 2015/08/01 00:57:31 UTC

[30/54] [abbrv] hive git commit: HIVE-9152 - Dynamic Partition Pruning [Spark Branch] (Chao Sun, reviewed by Xuefu Zhang and Chengxiang Li)

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-php/metastore/Types.php
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-php/metastore/Types.php b/metastore/src/gen/thrift/gen-php/metastore/Types.php
index a1ce8cd..31b951e 100644
--- a/metastore/src/gen/thrift/gen-php/metastore/Types.php
+++ b/metastore/src/gen/thrift/gen-php/metastore/Types.php
@@ -2,7 +2,7 @@
 namespace metastore;
 
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
@@ -13,6 +13,7 @@ use Thrift\Type\TMessageType;
 use Thrift\Exception\TException;
 use Thrift\Exception\TProtocolException;
 use Thrift\Protocol\TProtocol;
+use Thrift\Protocol\TBinaryProtocolAccelerated;
 use Thrift\Exception\TApplicationException;
 
 
@@ -145,7 +146,13 @@ final class ResourceType {
 class Version {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $version = null;
+  /**
+   * @var string
+   */
   public $comments = null;
 
   public function __construct($vals=null) {
@@ -237,8 +244,17 @@ class Version {
 class FieldSchema {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $name = null;
+  /**
+   * @var string
+   */
   public $type = null;
+  /**
+   * @var string
+   */
   public $comment = null;
 
   public function __construct($vals=null) {
@@ -349,9 +365,21 @@ class FieldSchema {
 class Type {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $name = null;
+  /**
+   * @var string
+   */
   public $type1 = null;
+  /**
+   * @var string
+   */
   public $type2 = null;
+  /**
+   * @var \metastore\FieldSchema[]
+   */
   public $fields = null;
 
   public function __construct($vals=null) {
@@ -509,10 +537,25 @@ class Type {
 class HiveObjectRef {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $objectType = null;
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $objectName = null;
+  /**
+   * @var string[]
+   */
   public $partValues = null;
+  /**
+   * @var string
+   */
   public $columnName = null;
 
   public function __construct($vals=null) {
@@ -687,10 +730,25 @@ class HiveObjectRef {
 class PrivilegeGrantInfo {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $privilege = null;
+  /**
+   * @var int
+   */
   public $createTime = null;
+  /**
+   * @var string
+   */
   public $grantor = null;
+  /**
+   * @var int
+   */
   public $grantorType = null;
+  /**
+   * @var bool
+   */
   public $grantOption = null;
 
   public function __construct($vals=null) {
@@ -839,9 +897,21 @@ class PrivilegeGrantInfo {
 class HiveObjectPrivilege {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\HiveObjectRef
+   */
   public $hiveObject = null;
+  /**
+   * @var string
+   */
   public $principalName = null;
+  /**
+   * @var int
+   */
   public $principalType = null;
+  /**
+   * @var \metastore\PrivilegeGrantInfo
+   */
   public $grantInfo = null;
 
   public function __construct($vals=null) {
@@ -981,6 +1051,9 @@ class HiveObjectPrivilege {
 class PrivilegeBag {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\HiveObjectPrivilege[]
+   */
   public $privileges = null;
 
   public function __construct($vals=null) {
@@ -1081,8 +1154,17 @@ class PrivilegeBag {
 class PrincipalPrivilegeSet {
   static $_TSPEC;
 
+  /**
+   * @var array
+   */
   public $userPrivileges = null;
+  /**
+   * @var array
+   */
   public $groupPrivileges = null;
+  /**
+   * @var array
+   */
   public $rolePrivileges = null;
 
   public function __construct($vals=null) {
@@ -1370,8 +1452,17 @@ class PrincipalPrivilegeSet {
 class GrantRevokePrivilegeRequest {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $requestType = null;
+  /**
+   * @var \metastore\PrivilegeBag
+   */
   public $privileges = null;
+  /**
+   * @var bool
+   */
   public $revokeGrantOption = null;
 
   public function __construct($vals=null) {
@@ -1487,6 +1578,9 @@ class GrantRevokePrivilegeRequest {
 class GrantRevokePrivilegeResponse {
   static $_TSPEC;
 
+  /**
+   * @var bool
+   */
   public $success = null;
 
   public function __construct($vals=null) {
@@ -1559,8 +1653,17 @@ class GrantRevokePrivilegeResponse {
 class Role {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $roleName = null;
+  /**
+   * @var int
+   */
   public $createTime = null;
+  /**
+   * @var string
+   */
   public $ownerName = null;
 
   public function __construct($vals=null) {
@@ -1671,12 +1774,33 @@ class Role {
 class RolePrincipalGrant {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $roleName = null;
+  /**
+   * @var string
+   */
   public $principalName = null;
+  /**
+   * @var int
+   */
   public $principalType = null;
+  /**
+   * @var bool
+   */
   public $grantOption = null;
+  /**
+   * @var int
+   */
   public $grantTime = null;
+  /**
+   * @var string
+   */
   public $grantorName = null;
+  /**
+   * @var int
+   */
   public $grantorPrincipalType = null;
 
   public function __construct($vals=null) {
@@ -1863,7 +1987,13 @@ class RolePrincipalGrant {
 class GetRoleGrantsForPrincipalRequest {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $principal_name = null;
+  /**
+   * @var int
+   */
   public $principal_type = null;
 
   public function __construct($vals=null) {
@@ -1955,6 +2085,9 @@ class GetRoleGrantsForPrincipalRequest {
 class GetRoleGrantsForPrincipalResponse {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\RolePrincipalGrant[]
+   */
   public $principalGrants = null;
 
   public function __construct($vals=null) {
@@ -2055,6 +2188,9 @@ class GetRoleGrantsForPrincipalResponse {
 class GetPrincipalsInRoleRequest {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $roleName = null;
 
   public function __construct($vals=null) {
@@ -2127,6 +2263,9 @@ class GetPrincipalsInRoleRequest {
 class GetPrincipalsInRoleResponse {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\RolePrincipalGrant[]
+   */
   public $principalGrants = null;
 
   public function __construct($vals=null) {
@@ -2227,12 +2366,33 @@ class GetPrincipalsInRoleResponse {
 class GrantRevokeRoleRequest {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $requestType = null;
+  /**
+   * @var string
+   */
   public $roleName = null;
+  /**
+   * @var string
+   */
   public $principalName = null;
+  /**
+   * @var int
+   */
   public $principalType = null;
+  /**
+   * @var string
+   */
   public $grantor = null;
+  /**
+   * @var int
+   */
   public $grantorType = null;
+  /**
+   * @var bool
+   */
   public $grantOption = null;
 
   public function __construct($vals=null) {
@@ -2419,6 +2579,9 @@ class GrantRevokeRoleRequest {
 class GrantRevokeRoleResponse {
   static $_TSPEC;
 
+  /**
+   * @var bool
+   */
   public $success = null;
 
   public function __construct($vals=null) {
@@ -2491,12 +2654,33 @@ class GrantRevokeRoleResponse {
 class Database {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $name = null;
+  /**
+   * @var string
+   */
   public $description = null;
+  /**
+   * @var string
+   */
   public $locationUri = null;
+  /**
+   * @var array
+   */
   public $parameters = null;
+  /**
+   * @var \metastore\PrincipalPrivilegeSet
+   */
   public $privileges = null;
+  /**
+   * @var string
+   */
   public $ownerName = null;
+  /**
+   * @var int
+   */
   public $ownerType = null;
 
   public function __construct($vals=null) {
@@ -2722,8 +2906,17 @@ class Database {
 class SerDeInfo {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $name = null;
+  /**
+   * @var string
+   */
   public $serializationLib = null;
+  /**
+   * @var array
+   */
   public $parameters = null;
 
   public function __construct($vals=null) {
@@ -2868,7 +3061,13 @@ class SerDeInfo {
 class Order {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $col = null;
+  /**
+   * @var int
+   */
   public $order = null;
 
   public function __construct($vals=null) {
@@ -2960,8 +3159,17 @@ class Order {
 class SkewedInfo {
   static $_TSPEC;
 
+  /**
+   * @var string[]
+   */
   public $skewedColNames = null;
+  /**
+   * @var (string[])[]
+   */
   public $skewedColValues = null;
+  /**
+   * @var array
+   */
   public $skewedColValueLocationMaps = null;
 
   public function __construct($vals=null) {
@@ -3204,17 +3412,53 @@ class SkewedInfo {
 class StorageDescriptor {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\FieldSchema[]
+   */
   public $cols = null;
+  /**
+   * @var string
+   */
   public $location = null;
+  /**
+   * @var string
+   */
   public $inputFormat = null;
+  /**
+   * @var string
+   */
   public $outputFormat = null;
+  /**
+   * @var bool
+   */
   public $compressed = null;
+  /**
+   * @var int
+   */
   public $numBuckets = null;
+  /**
+   * @var \metastore\SerDeInfo
+   */
   public $serdeInfo = null;
+  /**
+   * @var string[]
+   */
   public $bucketCols = null;
+  /**
+   * @var \metastore\Order[]
+   */
   public $sortCols = null;
+  /**
+   * @var array
+   */
   public $parameters = null;
+  /**
+   * @var \metastore\SkewedInfo
+   */
   public $skewedInfo = null;
+  /**
+   * @var bool
+   */
   public $storedAsSubDirectories = null;
 
   public function __construct($vals=null) {
@@ -3622,19 +3866,61 @@ class StorageDescriptor {
 class Table {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $tableName = null;
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $owner = null;
+  /**
+   * @var int
+   */
   public $createTime = null;
+  /**
+   * @var int
+   */
   public $lastAccessTime = null;
+  /**
+   * @var int
+   */
   public $retention = null;
+  /**
+   * @var \metastore\StorageDescriptor
+   */
   public $sd = null;
+  /**
+   * @var \metastore\FieldSchema[]
+   */
   public $partitionKeys = null;
+  /**
+   * @var array
+   */
   public $parameters = null;
+  /**
+   * @var string
+   */
   public $viewOriginalText = null;
+  /**
+   * @var string
+   */
   public $viewExpandedText = null;
+  /**
+   * @var string
+   */
   public $tableType = null;
+  /**
+   * @var \metastore\PrincipalPrivilegeSet
+   */
   public $privileges = null;
+  /**
+   * @var bool
+   */
   public $temporary = false;
 
   public function __construct($vals=null) {
@@ -4026,13 +4312,37 @@ class Table {
 class Partition {
   static $_TSPEC;
 
+  /**
+   * @var string[]
+   */
   public $values = null;
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $tableName = null;
+  /**
+   * @var int
+   */
   public $createTime = null;
+  /**
+   * @var int
+   */
   public $lastAccessTime = null;
+  /**
+   * @var \metastore\StorageDescriptor
+   */
   public $sd = null;
+  /**
+   * @var array
+   */
   public $parameters = null;
+  /**
+   * @var \metastore\PrincipalPrivilegeSet
+   */
   public $privileges = null;
 
   public function __construct($vals=null) {
@@ -4308,11 +4618,29 @@ class Partition {
 class PartitionWithoutSD {
   static $_TSPEC;
 
+  /**
+   * @var string[]
+   */
   public $values = null;
+  /**
+   * @var int
+   */
   public $createTime = null;
+  /**
+   * @var int
+   */
   public $lastAccessTime = null;
+  /**
+   * @var string
+   */
   public $relativePath = null;
+  /**
+   * @var array
+   */
   public $parameters = null;
+  /**
+   * @var \metastore\PrincipalPrivilegeSet
+   */
   public $privileges = null;
 
   public function __construct($vals=null) {
@@ -4545,7 +4873,13 @@ class PartitionWithoutSD {
 class PartitionSpecWithSharedSD {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\PartitionWithoutSD[]
+   */
   public $partitions = null;
+  /**
+   * @var \metastore\StorageDescriptor
+   */
   public $sd = null;
 
   public function __construct($vals=null) {
@@ -4670,6 +5004,9 @@ class PartitionSpecWithSharedSD {
 class PartitionListComposingSpec {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\Partition[]
+   */
   public $partitions = null;
 
   public function __construct($vals=null) {
@@ -4770,10 +5107,25 @@ class PartitionListComposingSpec {
 class PartitionSpec {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $tableName = null;
+  /**
+   * @var string
+   */
   public $rootPath = null;
+  /**
+   * @var \metastore\PartitionSpecWithSharedSD
+   */
   public $sharedSDPartitionSpec = null;
+  /**
+   * @var \metastore\PartitionListComposingSpec
+   */
   public $partitionList = null;
 
   public function __construct($vals=null) {
@@ -4932,15 +5284,45 @@ class PartitionSpec {
 class Index {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $indexName = null;
+  /**
+   * @var string
+   */
   public $indexHandlerClass = null;
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $origTableName = null;
+  /**
+   * @var int
+   */
   public $createTime = null;
+  /**
+   * @var int
+   */
   public $lastAccessTime = null;
+  /**
+   * @var string
+   */
   public $indexTableName = null;
+  /**
+   * @var \metastore\StorageDescriptor
+   */
   public $sd = null;
+  /**
+   * @var array
+   */
   public $parameters = null;
+  /**
+   * @var bool
+   */
   public $deferredRebuild = null;
 
   public function __construct($vals=null) {
@@ -5223,8 +5605,17 @@ class Index {
 class BooleanColumnStatsData {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $numTrues = null;
+  /**
+   * @var int
+   */
   public $numFalses = null;
+  /**
+   * @var int
+   */
   public $numNulls = null;
 
   public function __construct($vals=null) {
@@ -5335,9 +5726,21 @@ class BooleanColumnStatsData {
 class DoubleColumnStatsData {
   static $_TSPEC;
 
+  /**
+   * @var double
+   */
   public $lowValue = null;
+  /**
+   * @var double
+   */
   public $highValue = null;
+  /**
+   * @var int
+   */
   public $numNulls = null;
+  /**
+   * @var int
+   */
   public $numDVs = null;
 
   public function __construct($vals=null) {
@@ -5467,9 +5870,21 @@ class DoubleColumnStatsData {
 class LongColumnStatsData {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $lowValue = null;
+  /**
+   * @var int
+   */
   public $highValue = null;
+  /**
+   * @var int
+   */
   public $numNulls = null;
+  /**
+   * @var int
+   */
   public $numDVs = null;
 
   public function __construct($vals=null) {
@@ -5599,9 +6014,21 @@ class LongColumnStatsData {
 class StringColumnStatsData {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $maxColLen = null;
+  /**
+   * @var double
+   */
   public $avgColLen = null;
+  /**
+   * @var int
+   */
   public $numNulls = null;
+  /**
+   * @var int
+   */
   public $numDVs = null;
 
   public function __construct($vals=null) {
@@ -5731,8 +6158,17 @@ class StringColumnStatsData {
 class BinaryColumnStatsData {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $maxColLen = null;
+  /**
+   * @var double
+   */
   public $avgColLen = null;
+  /**
+   * @var int
+   */
   public $numNulls = null;
 
   public function __construct($vals=null) {
@@ -5843,7 +6279,13 @@ class BinaryColumnStatsData {
 class Decimal {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $unscaled = null;
+  /**
+   * @var int
+   */
   public $scale = null;
 
   public function __construct($vals=null) {
@@ -5935,9 +6377,21 @@ class Decimal {
 class DecimalColumnStatsData {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\Decimal
+   */
   public $lowValue = null;
+  /**
+   * @var \metastore\Decimal
+   */
   public $highValue = null;
+  /**
+   * @var int
+   */
   public $numNulls = null;
+  /**
+   * @var int
+   */
   public $numDVs = null;
 
   public function __construct($vals=null) {
@@ -6077,6 +6531,9 @@ class DecimalColumnStatsData {
 class Date {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $daysSinceEpoch = null;
 
   public function __construct($vals=null) {
@@ -6149,9 +6606,21 @@ class Date {
 class DateColumnStatsData {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\Date
+   */
   public $lowValue = null;
+  /**
+   * @var \metastore\Date
+   */
   public $highValue = null;
+  /**
+   * @var int
+   */
   public $numNulls = null;
+  /**
+   * @var int
+   */
   public $numDVs = null;
 
   public function __construct($vals=null) {
@@ -6291,12 +6760,33 @@ class DateColumnStatsData {
 class ColumnStatisticsData {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\BooleanColumnStatsData
+   */
   public $booleanStats = null;
+  /**
+   * @var \metastore\LongColumnStatsData
+   */
   public $longStats = null;
+  /**
+   * @var \metastore\DoubleColumnStatsData
+   */
   public $doubleStats = null;
+  /**
+   * @var \metastore\StringColumnStatsData
+   */
   public $stringStats = null;
+  /**
+   * @var \metastore\BinaryColumnStatsData
+   */
   public $binaryStats = null;
+  /**
+   * @var \metastore\DecimalColumnStatsData
+   */
   public $decimalStats = null;
+  /**
+   * @var \metastore\DateColumnStatsData
+   */
   public $dateStats = null;
 
   public function __construct($vals=null) {
@@ -6518,8 +7008,17 @@ class ColumnStatisticsData {
 class ColumnStatisticsObj {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $colName = null;
+  /**
+   * @var string
+   */
   public $colType = null;
+  /**
+   * @var \metastore\ColumnStatisticsData
+   */
   public $statsData = null;
 
   public function __construct($vals=null) {
@@ -6635,10 +7134,25 @@ class ColumnStatisticsObj {
 class ColumnStatisticsDesc {
   static $_TSPEC;
 
+  /**
+   * @var bool
+   */
   public $isTblLevel = null;
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $tableName = null;
+  /**
+   * @var string
+   */
   public $partName = null;
+  /**
+   * @var int
+   */
   public $lastAnalyzed = null;
 
   public function __construct($vals=null) {
@@ -6787,7 +7301,13 @@ class ColumnStatisticsDesc {
 class ColumnStatistics {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\ColumnStatisticsDesc
+   */
   public $statsDesc = null;
+  /**
+   * @var \metastore\ColumnStatisticsObj[]
+   */
   public $statsObj = null;
 
   public function __construct($vals=null) {
@@ -6912,7 +7432,13 @@ class ColumnStatistics {
 class AggrStats {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\ColumnStatisticsObj[]
+   */
   public $colStats = null;
+  /**
+   * @var int
+   */
   public $partsFound = null;
 
   public function __construct($vals=null) {
@@ -7032,6 +7558,9 @@ class AggrStats {
 class SetPartitionsStatsRequest {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\ColumnStatistics[]
+   */
   public $colStats = null;
 
   public function __construct($vals=null) {
@@ -7132,7 +7661,13 @@ class SetPartitionsStatsRequest {
 class Schema {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\FieldSchema[]
+   */
   public $fieldSchemas = null;
+  /**
+   * @var array
+   */
   public $properties = null;
 
   public function __construct($vals=null) {
@@ -7286,6 +7821,9 @@ class Schema {
 class EnvironmentContext {
   static $_TSPEC;
 
+  /**
+   * @var array
+   */
   public $properties = null;
 
   public function __construct($vals=null) {
@@ -7392,7 +7930,13 @@ class EnvironmentContext {
 class PartitionsByExprResult {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\Partition[]
+   */
   public $partitions = null;
+  /**
+   * @var bool
+   */
   public $hasUnknownPartitions = null;
 
   public function __construct($vals=null) {
@@ -7512,10 +8056,25 @@ class PartitionsByExprResult {
 class PartitionsByExprRequest {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $tblName = null;
+  /**
+   * @var string
+   */
   public $expr = null;
+  /**
+   * @var string
+   */
   public $defaultPartitionName = null;
+  /**
+   * @var int
+   */
   public $maxParts = -1;
 
   public function __construct($vals=null) {
@@ -7664,6 +8223,9 @@ class PartitionsByExprRequest {
 class TableStatsResult {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\ColumnStatisticsObj[]
+   */
   public $tableStats = null;
 
   public function __construct($vals=null) {
@@ -7764,6 +8326,9 @@ class TableStatsResult {
 class PartitionsStatsResult {
   static $_TSPEC;
 
+  /**
+   * @var array
+   */
   public $partStats = null;
 
   public function __construct($vals=null) {
@@ -7895,8 +8460,17 @@ class PartitionsStatsResult {
 class TableStatsRequest {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $tblName = null;
+  /**
+   * @var string[]
+   */
   public $colNames = null;
 
   public function __construct($vals=null) {
@@ -8033,9 +8607,21 @@ class TableStatsRequest {
 class PartitionsStatsRequest {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $tblName = null;
+  /**
+   * @var string[]
+   */
   public $colNames = null;
+  /**
+   * @var string[]
+   */
   public $partNames = null;
 
   public function __construct($vals=null) {
@@ -8217,6 +8803,9 @@ class PartitionsStatsRequest {
 class AddPartitionsResult {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\Partition[]
+   */
   public $partitions = null;
 
   public function __construct($vals=null) {
@@ -8317,10 +8906,25 @@ class AddPartitionsResult {
 class AddPartitionsRequest {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $tblName = null;
+  /**
+   * @var \metastore\Partition[]
+   */
   public $parts = null;
+  /**
+   * @var bool
+   */
   public $ifNotExists = null;
+  /**
+   * @var bool
+   */
   public $needResult = true;
 
   public function __construct($vals=null) {
@@ -8497,6 +9101,9 @@ class AddPartitionsRequest {
 class DropPartitionsResult {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\Partition[]
+   */
   public $partitions = null;
 
   public function __construct($vals=null) {
@@ -8597,7 +9204,13 @@ class DropPartitionsResult {
 class DropPartitionsExpr {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $expr = null;
+  /**
+   * @var int
+   */
   public $partArchiveLevel = null;
 
   public function __construct($vals=null) {
@@ -8689,7 +9302,13 @@ class DropPartitionsExpr {
 class RequestPartsSpec {
   static $_TSPEC;
 
+  /**
+   * @var string[]
+   */
   public $names = null;
+  /**
+   * @var \metastore\DropPartitionsExpr[]
+   */
   public $exprs = null;
 
   public function __construct($vals=null) {
@@ -8835,13 +9454,37 @@ class RequestPartsSpec {
 class DropPartitionsRequest {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $tblName = null;
+  /**
+   * @var \metastore\RequestPartsSpec
+   */
   public $parts = null;
+  /**
+   * @var bool
+   */
   public $deleteData = null;
+  /**
+   * @var bool
+   */
   public $ifExists = true;
+  /**
+   * @var bool
+   */
   public $ignoreProtection = null;
+  /**
+   * @var \metastore\EnvironmentContext
+   */
   public $environmentContext = null;
+  /**
+   * @var bool
+   */
   public $needResult = true;
 
   public function __construct($vals=null) {
@@ -9057,7 +9700,13 @@ class DropPartitionsRequest {
 class ResourceUri {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $resourceType = null;
+  /**
+   * @var string
+   */
   public $uri = null;
 
   public function __construct($vals=null) {
@@ -9149,13 +9798,37 @@ class ResourceUri {
 class Function {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $functionName = null;
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $className = null;
+  /**
+   * @var string
+   */
   public $ownerName = null;
+  /**
+   * @var int
+   */
   public $ownerType = null;
+  /**
+   * @var int
+   */
   public $createTime = null;
+  /**
+   * @var int
+   */
   public $functionType = null;
+  /**
+   * @var \metastore\ResourceUri[]
+   */
   public $resourceUris = null;
 
   public function __construct($vals=null) {
@@ -9389,9 +10062,21 @@ class Function {
 class TxnInfo {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $id = null;
+  /**
+   * @var int
+   */
   public $state = null;
+  /**
+   * @var string
+   */
   public $user = null;
+  /**
+   * @var string
+   */
   public $hostname = null;
 
   public function __construct($vals=null) {
@@ -9521,7 +10206,13 @@ class TxnInfo {
 class GetOpenTxnsInfoResponse {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $txn_high_water_mark = null;
+  /**
+   * @var \metastore\TxnInfo[]
+   */
   public $open_txns = null;
 
   public function __construct($vals=null) {
@@ -9641,7 +10332,13 @@ class GetOpenTxnsInfoResponse {
 class GetOpenTxnsResponse {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $txn_high_water_mark = null;
+  /**
+   * @var int[]
+   */
   public $open_txns = null;
 
   public function __construct($vals=null) {
@@ -9767,8 +10464,17 @@ class GetOpenTxnsResponse {
 class OpenTxnRequest {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $num_txns = null;
+  /**
+   * @var string
+   */
   public $user = null;
+  /**
+   * @var string
+   */
   public $hostname = null;
 
   public function __construct($vals=null) {
@@ -9879,6 +10585,9 @@ class OpenTxnRequest {
 class OpenTxnsResponse {
   static $_TSPEC;
 
+  /**
+   * @var int[]
+   */
   public $txn_ids = null;
 
   public function __construct($vals=null) {
@@ -9977,6 +10686,9 @@ class OpenTxnsResponse {
 class AbortTxnRequest {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $txnid = null;
 
   public function __construct($vals=null) {
@@ -10049,6 +10761,9 @@ class AbortTxnRequest {
 class CommitTxnRequest {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $txnid = null;
 
   public function __construct($vals=null) {
@@ -10121,10 +10836,25 @@ class CommitTxnRequest {
 class LockComponent {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $type = null;
+  /**
+   * @var int
+   */
   public $level = null;
+  /**
+   * @var string
+   */
   public $dbname = null;
+  /**
+   * @var string
+   */
   public $tablename = null;
+  /**
+   * @var string
+   */
   public $partitionname = null;
 
   public function __construct($vals=null) {
@@ -10273,9 +11003,21 @@ class LockComponent {
 class LockRequest {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\LockComponent[]
+   */
   public $component = null;
+  /**
+   * @var int
+   */
   public $txnid = null;
+  /**
+   * @var string
+   */
   public $user = null;
+  /**
+   * @var string
+   */
   public $hostname = null;
 
   public function __construct($vals=null) {
@@ -10433,7 +11175,13 @@ class LockRequest {
 class LockResponse {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $lockid = null;
+  /**
+   * @var int
+   */
   public $state = null;
 
   public function __construct($vals=null) {
@@ -10525,6 +11273,9 @@ class LockResponse {
 class CheckLockRequest {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $lockid = null;
 
   public function __construct($vals=null) {
@@ -10597,6 +11348,9 @@ class CheckLockRequest {
 class UnlockRequest {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $lockid = null;
 
   public function __construct($vals=null) {
@@ -10719,16 +11473,49 @@ class ShowLocksRequest {
 class ShowLocksResponseElement {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $lockid = null;
+  /**
+   * @var string
+   */
   public $dbname = null;
+  /**
+   * @var string
+   */
   public $tablename = null;
+  /**
+   * @var string
+   */
   public $partname = null;
+  /**
+   * @var int
+   */
   public $state = null;
+  /**
+   * @var int
+   */
   public $type = null;
+  /**
+   * @var int
+   */
   public $txnid = null;
+  /**
+   * @var int
+   */
   public $lastheartbeat = null;
+  /**
+   * @var int
+   */
   public $acquiredat = null;
+  /**
+   * @var string
+   */
   public $user = null;
+  /**
+   * @var string
+   */
   public $hostname = null;
 
   public function __construct($vals=null) {
@@ -10991,6 +11778,9 @@ class ShowLocksResponseElement {
 class ShowLocksResponse {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\ShowLocksResponseElement[]
+   */
   public $locks = null;
 
   public function __construct($vals=null) {
@@ -11091,7 +11881,13 @@ class ShowLocksResponse {
 class HeartbeatRequest {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $lockid = null;
+  /**
+   * @var int
+   */
   public $txnid = null;
 
   public function __construct($vals=null) {
@@ -11183,7 +11979,13 @@ class HeartbeatRequest {
 class HeartbeatTxnRangeRequest {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $min = null;
+  /**
+   * @var int
+   */
   public $max = null;
 
   public function __construct($vals=null) {
@@ -11275,7 +12077,13 @@ class HeartbeatTxnRangeRequest {
 class HeartbeatTxnRangeResponse {
   static $_TSPEC;
 
+  /**
+   * @var int[]
+   */
   public $aborted = null;
+  /**
+   * @var int[]
+   */
   public $nosuch = null;
 
   public function __construct($vals=null) {
@@ -11435,10 +12243,25 @@ class HeartbeatTxnRangeResponse {
 class CompactionRequest {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $dbname = null;
+  /**
+   * @var string
+   */
   public $tablename = null;
+  /**
+   * @var string
+   */
   public $partitionname = null;
+  /**
+   * @var int
+   */
   public $type = null;
+  /**
+   * @var string
+   */
   public $runas = null;
 
   public function __construct($vals=null) {
@@ -11637,13 +12460,37 @@ class ShowCompactRequest {
 class ShowCompactResponseElement {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $dbname = null;
+  /**
+   * @var string
+   */
   public $tablename = null;
+  /**
+   * @var string
+   */
   public $partitionname = null;
+  /**
+   * @var int
+   */
   public $type = null;
+  /**
+   * @var string
+   */
   public $state = null;
+  /**
+   * @var string
+   */
   public $workerid = null;
+  /**
+   * @var int
+   */
   public $start = null;
+  /**
+   * @var string
+   */
   public $runAs = null;
 
   public function __construct($vals=null) {
@@ -11849,6 +12696,9 @@ class ShowCompactResponseElement {
 class ShowCompactResponse {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\ShowCompactResponseElement[]
+   */
   public $compacts = null;
 
   public function __construct($vals=null) {
@@ -11949,9 +12799,21 @@ class ShowCompactResponse {
 class AddDynamicPartitions {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $txnid = null;
+  /**
+   * @var string
+   */
   public $dbname = null;
+  /**
+   * @var string
+   */
   public $tablename = null;
+  /**
+   * @var string[]
+   */
   public $partitionnames = null;
 
   public function __construct($vals=null) {
@@ -12107,7 +12969,13 @@ class AddDynamicPartitions {
 class NotificationEventRequest {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $lastEvent = null;
+  /**
+   * @var int
+   */
   public $maxEvents = null;
 
   public function __construct($vals=null) {
@@ -12199,11 +13067,29 @@ class NotificationEventRequest {
 class NotificationEvent {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $eventId = null;
+  /**
+   * @var int
+   */
   public $eventTime = null;
+  /**
+   * @var string
+   */
   public $eventType = null;
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $tableName = null;
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -12371,6 +13257,9 @@ class NotificationEvent {
 class NotificationEventResponse {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\NotificationEvent[]
+   */
   public $events = null;
 
   public function __construct($vals=null) {
@@ -12471,6 +13360,9 @@ class NotificationEventResponse {
 class CurrentNotificationEventId {
   static $_TSPEC;
 
+  /**
+   * @var int
+   */
   public $eventId = null;
 
   public function __construct($vals=null) {
@@ -12543,6 +13435,9 @@ class CurrentNotificationEventId {
 class InsertEventRequestData {
   static $_TSPEC;
 
+  /**
+   * @var string[]
+   */
   public $filesAdded = null;
 
   public function __construct($vals=null) {
@@ -12641,6 +13536,9 @@ class InsertEventRequestData {
 class FireEventRequestData {
   static $_TSPEC;
 
+  /**
+   * @var \metastore\InsertEventRequestData
+   */
   public $insertData = null;
 
   public function __construct($vals=null) {
@@ -12718,10 +13616,25 @@ class FireEventRequestData {
 class FireEventRequest {
   static $_TSPEC;
 
+  /**
+   * @var bool
+   */
   public $successful = null;
+  /**
+   * @var \metastore\FireEventRequestData
+   */
   public $data = null;
+  /**
+   * @var string
+   */
   public $dbName = null;
+  /**
+   * @var string
+   */
   public $tableName = null;
+  /**
+   * @var string[]
+   */
   public $partitionVals = null;
 
   public function __construct($vals=null) {
@@ -12951,6 +13864,9 @@ class FireEventResponse {
 class MetaException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13023,6 +13939,9 @@ class MetaException extends TException {
 class UnknownTableException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13095,6 +14014,9 @@ class UnknownTableException extends TException {
 class UnknownDBException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13167,6 +14089,9 @@ class UnknownDBException extends TException {
 class AlreadyExistsException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13239,6 +14164,9 @@ class AlreadyExistsException extends TException {
 class InvalidPartitionException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13311,6 +14239,9 @@ class InvalidPartitionException extends TException {
 class UnknownPartitionException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13383,6 +14314,9 @@ class UnknownPartitionException extends TException {
 class InvalidObjectException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13455,6 +14389,9 @@ class InvalidObjectException extends TException {
 class NoSuchObjectException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13527,6 +14464,9 @@ class NoSuchObjectException extends TException {
 class IndexAlreadyExistsException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13599,6 +14539,9 @@ class IndexAlreadyExistsException extends TException {
 class InvalidOperationException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13671,6 +14614,9 @@ class InvalidOperationException extends TException {
 class ConfigValSecurityException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13743,6 +14689,9 @@ class ConfigValSecurityException extends TException {
 class InvalidInputException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13815,6 +14764,9 @@ class InvalidInputException extends TException {
 class NoSuchTxnException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13887,6 +14839,9 @@ class NoSuchTxnException extends TException {
 class TxnAbortedException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -13959,6 +14914,9 @@ class TxnAbortedException extends TException {
 class TxnOpenException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -14031,6 +14989,9 @@ class TxnOpenException extends TException {
 class NoSuchLockException extends TException {
   static $_TSPEC;
 
+  /**
+   * @var string
+   */
   public $message = null;
 
   public function __construct($vals=null) {
@@ -14100,50 +15061,122 @@ class NoSuchLockException extends TException {
 
 }
 
-$GLOBALS['hive_metastore_CONSTANTS']['DDL_TIME'] = "transient_lastDdlTime";
+final class Constant extends \Thrift\Type\TConstant {
+  static protected $DDL_TIME;
+  static protected $HIVE_FILTER_FIELD_OWNER;
+  static protected $HIVE_FILTER_FIELD_PARAMS;
+  static protected $HIVE_FILTER_FIELD_LAST_ACCESS;
+  static protected $IS_ARCHIVED;
+  static protected $ORIGINAL_LOCATION;
+  static protected $IS_IMMUTABLE;
+  static protected $META_TABLE_COLUMNS;
+  static protected $META_TABLE_COLUMN_TYPES;
+  static protected $BUCKET_FIELD_NAME;
+  static protected $BUCKET_COUNT;
+  static protected $FIELD_TO_DIMENSION;
+  static protected $META_TABLE_NAME;
+  static protected $META_TABLE_DB;
+  static protected $META_TABLE_LOCATION;
+  static protected $META_TABLE_SERDE;
+  static protected $META_TABLE_PARTITION_COLUMNS;
+  static protected $META_TABLE_PARTITION_COLUMN_TYPES;
+  static protected $FILE_INPUT_FORMAT;
+  static protected $FILE_OUTPUT_FORMAT;
+  static protected $META_TABLE_STORAGE;
+  static protected $TABLE_IS_TRANSACTIONAL;
+  static protected $TABLE_NO_AUTO_COMPACT;
 
-$GLOBALS['hive_metastore_CONSTANTS']['HIVE_FILTER_FIELD_OWNER'] = "hive_filter_field_owner__";
+  static protected function init_DDL_TIME() {
+    return "transient_lastDdlTime";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['HIVE_FILTER_FIELD_PARAMS'] = "hive_filter_field_params__";
+  static protected function init_HIVE_FILTER_FIELD_OWNER() {
+    return "hive_filter_field_owner__";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['HIVE_FILTER_FIELD_LAST_ACCESS'] = "hive_filter_field_last_access__";
+  static protected function init_HIVE_FILTER_FIELD_PARAMS() {
+    return "hive_filter_field_params__";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['IS_ARCHIVED'] = "is_archived";
+  static protected function init_HIVE_FILTER_FIELD_LAST_ACCESS() {
+    return "hive_filter_field_last_access__";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['ORIGINAL_LOCATION'] = "original_location";
+  static protected function init_IS_ARCHIVED() {
+    return "is_archived";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['IS_IMMUTABLE'] = "immutable";
+  static protected function init_ORIGINAL_LOCATION() {
+    return "original_location";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_COLUMNS'] = "columns";
+  static protected function init_IS_IMMUTABLE() {
+    return "immutable";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_COLUMN_TYPES'] = "columns.types";
+  static protected function init_META_TABLE_COLUMNS() {
+    return "columns";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['BUCKET_FIELD_NAME'] = "bucket_field_name";
+  static protected function init_META_TABLE_COLUMN_TYPES() {
+    return "columns.types";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['BUCKET_COUNT'] = "bucket_count";
+  static protected function init_BUCKET_FIELD_NAME() {
+    return "bucket_field_name";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['FIELD_TO_DIMENSION'] = "field_to_dimension";
+  static protected function init_BUCKET_COUNT() {
+    return "bucket_count";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_NAME'] = "name";
+  static protected function init_FIELD_TO_DIMENSION() {
+    return "field_to_dimension";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_DB'] = "db";
+  static protected function init_META_TABLE_NAME() {
+    return "name";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_LOCATION'] = "location";
+  static protected function init_META_TABLE_DB() {
+    return "db";
+  }
+
+  static protected function init_META_TABLE_LOCATION() {
+    return "location";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_SERDE'] = "serde";
+  static protected function init_META_TABLE_SERDE() {
+    return "serde";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_PARTITION_COLUMNS'] = "partition_columns";
+  static protected function init_META_TABLE_PARTITION_COLUMNS() {
+    return "partition_columns";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_PARTITION_COLUMN_TYPES'] = "partition_columns.types";
+  static protected function init_META_TABLE_PARTITION_COLUMN_TYPES() {
+    return "partition_columns.types";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['FILE_INPUT_FORMAT'] = "file.inputformat";
+  static protected function init_FILE_INPUT_FORMAT() {
+    return "file.inputformat";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['FILE_OUTPUT_FORMAT'] = "file.outputformat";
+  static protected function init_FILE_OUTPUT_FORMAT() {
+    return "file.outputformat";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_STORAGE'] = "storage_handler";
+  static protected function init_META_TABLE_STORAGE() {
+    return "storage_handler";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['TABLE_IS_TRANSACTIONAL'] = "transactional";
+  static protected function init_TABLE_IS_TRANSACTIONAL() {
+    return "transactional";
+  }
 
-$GLOBALS['hive_metastore_CONSTANTS']['TABLE_NO_AUTO_COMPACT'] = "no_auto_compaction";
+  static protected function init_TABLE_NO_AUTO_COMPACT() {
+    return "no_auto_compaction";
+  }
+}