Class: HbaseClient::Thrift::Hbase::CreateTable_args

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

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



1536
# File 'lib/hbase-client/thrift/hbase.rb', line 1536

def struct_fields; FIELDS; end

#validateObject



1538
1539
# File 'lib/hbase-client/thrift/hbase.rb', line 1538

def validate
end