Class: Partition

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/hive_metastore_types.rb

Constant Summary collapse

VALUES =
1
DBNAME =
2
TABLENAME =
3
CREATETIME =
4
LASTACCESSTIME =
5
SD =
6
PARAMETERS =
7
PRIVILEGES =
8
FIELDS =
{
  VALUES => {:type => ::Thrift::Types::LIST, :name => 'values', :element => {:type => ::Thrift::Types::STRING}},
  DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'},
  TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'},
  CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
  LASTACCESSTIME => {:type => ::Thrift::Types::I32, :name => 'lastAccessTime'},
  SD => {:type => ::Thrift::Types::STRUCT, :name => 'sd', :class => ::StorageDescriptor},
  PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
  PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::PrincipalPrivilegeSet, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



382
# File 'lib/thrift/hive_metastore_types.rb', line 382

def struct_fields; FIELDS; end

#validateObject



384
385
# File 'lib/thrift/hive_metastore_types.rb', line 384

def validate
end