Class: Impala::Protocol::HiveMetastore::StorageDescriptor

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

Constant Summary collapse

COLS =
1
LOCATION =
2
INPUTFORMAT =
3
OUTPUTFORMAT =
4
COMPRESSED =
5
NUMBUCKETS =
6
SERDEINFO =
7
BUCKETCOLS =
8
SORTCOLS =
9
PARAMETERS =
10
FIELDS =
{
COLS => { :type => ::Thrift::Types::LIST, :name => 'cols', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::FieldSchema } },
LOCATION => { :type => ::Thrift::Types::STRING, :name => 'location' },
INPUTFORMAT => { :type => ::Thrift::Types::STRING, :name => 'inputFormat' },
OUTPUTFORMAT => { :type => ::Thrift::Types::STRING, :name => 'outputFormat' },
COMPRESSED => { :type => ::Thrift::Types::BOOL, :name => 'compressed' },
NUMBUCKETS => { :type => ::Thrift::Types::I32, :name => 'numBuckets' },
SERDEINFO => { :type => ::Thrift::Types::STRUCT, :name => 'serdeInfo', :class => Impala::Protocol::HiveMetastore::SerDeInfo },
BUCKETCOLS => { :type => ::Thrift::Types::LIST, :name => 'bucketCols', :element => { :type => ::Thrift::Types::STRING } },
SORTCOLS => { :type => ::Thrift::Types::LIST, :name => 'sortCols', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Order } },
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



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end