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
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}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



222
223
# File 'lib/thrift/hive_metastore_types.rb', line 222

def validate
end