Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Create a table.

:param str name: The table name
:param dict families: The name and options for each column family

The `families` parameter is a dictionary mapping column family
names to a dictionary containing the options for this column
family, e.g.

::(more...)

src/s/q/SqlHBase-0.4/sqlhbase/intake.py   SqlHBase(Download)
        if __createtable__ not in self._connection.tables():
            # :key == timestamp (at "tail -1"), to have a sorted table
            self._connection.create_table( __createtable__,
                {'tables': __compressed_nohistory__, # tbl_name => statement
                 'views' : __compressed_nohistory__, # viewname => statement
 
        if __valuestable__ not in self._connection.tables():
            self._connection.create_table( __valuestable__,
                # the md5 on the stmt is going to be the hbase's key
                {'values': __compressed_nohistory__} # tbl_name => insert statement

src/h/a/happybase-0.8/tests/test_api.py   happybase(Download)
        'cf3': {'max_versions': 1},
    }
    connection.create_table(TEST_TABLE_NAME, families=cfs)
 
    table = connection.table(TEST_TABLE_NAME)

src/h/a/happybase-HEAD/tests/test_api.py   happybase(Download)
        'cf3': {'max_versions': 1},
    }
    connection.create_table(TEST_TABLE_NAME, families=cfs)
 
    table = connection.table(TEST_TABLE_NAME)