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

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



1345
# File 'lib/massive_record/adapters/thrift/hbase/hbase.rb', line 1345

def struct_fields; FIELDS; end

#validateObject



1347
1348
# File 'lib/massive_record/adapters/thrift/hbase/hbase.rb', line 1347

def validate
end