Class: Apache::Hadoop::Hbase::Thrift::Hbase::CreateTable_args

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

Constant Summary collapse

TABLENAME =
1
COLUMNFAMILIES =
2
FIELDS =
{
  # name of table to create
  TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
  # list of column family descriptors
  COLUMNFAMILIES => {:type => ::Thrift::Types::LIST, :name => 'columnFamilies', :element => {:type => ::Thrift::Types::STRUCT, :class => Apache::Hadoop::Hbase::Thrift::ColumnDescriptor}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



1240
# File 'lib/thrift/hbase.rb', line 1240

def struct_fields; FIELDS; end

#validateObject



1242
1243
# File 'lib/thrift/hbase.rb', line 1242

def validate
end