Class: StorageDescriptor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/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 => 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 => 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 => 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



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

def struct_fields; FIELDS; end

#validateObject



156
157
# File 'lib/thrift/hive_metastore_types.rb', line 156

def validate
end