Class: Table

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

Constant Summary collapse

TABLENAME =
1
DBNAME =
2
OWNER =
3
CREATETIME =
4
LASTACCESSTIME =
5
RETENTION =
6
SD =
7
PARTITIONKEYS =
8
PARAMETERS =
9
VIEWORIGINALTEXT =
10
VIEWEXPANDEDTEXT =
11
TABLETYPE =
12
FIELDS =
{
  TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'},
  DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'},
  OWNER => {:type => ::Thrift::Types::STRING, :name => 'owner'},
  CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
  LASTACCESSTIME => {:type => ::Thrift::Types::I32, :name => 'lastAccessTime'},
  RETENTION => {:type => ::Thrift::Types::I32, :name => 'retention'},
  SD => {:type => ::Thrift::Types::STRUCT, :name => 'sd', :class => StorageDescriptor},
  PARTITIONKEYS => {:type => ::Thrift::Types::LIST, :name => 'partitionKeys', :element => {:type => ::Thrift::Types::STRUCT, :class => FieldSchema}},
  PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
  VIEWORIGINALTEXT => {:type => ::Thrift::Types::STRING, :name => 'viewOriginalText'},
  VIEWEXPANDEDTEXT => {:type => ::Thrift::Types::STRING, :name => 'viewExpandedText'},
  TABLETYPE => {:type => ::Thrift::Types::STRING, :name => 'tableType'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



194
195
# File 'lib/thrift/hive_metastore_types.rb', line 194

def validate
end