MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / createTable

Method createTable

test/TestIntegration.java:2287–2292  ·  view source on GitHub ↗
(final String table,
                                  final String family)

Source from the content-addressed store, hash-verified

2285 }
2286
2287 private static void createTable(final String table,
2288 final String family) throws Exception {
2289 LOG.info("Creating table " + table + " with family " + family);
2290 hbaseShell("create '" + table + "',"
2291 + " {NAME => '" + family + "', VERSIONS => 2}");
2292 }
2293
2294 private static void splitTable(final String table, final String key) throws Exception {
2295 LOG.info("Splitting table " + table + " with key " + key);

Callers 1

createOrTruncateTableMethod · 0.95

Calls 1

hbaseShellMethod · 0.95

Tested by

no test coverage detected