Class: Impala::Protocol::HiveMetastore::Partition

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/impala/protocol/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 => Impala::Protocol::HiveMetastore::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 => Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet, :optional => true }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



388
# File 'lib/impala/protocol/hive_metastore_types.rb', line 388

def struct_fields; FIELDS; end

#validateObject



390
391
# File 'lib/impala/protocol/hive_metastore_types.rb', line 390

def validate
end