MCPcopy Index your code
hub / github.com/OpenTSDB/asynchbase / ensureTableExists

Method ensureTableExists

src/HBaseClient.java:1231–1233  ·  view source on GitHub ↗

Ensures that a given table really exists. It's recommended to call this method in the startup code of your application if you know ahead of time which tables / families you're going to need, because it'll allow you to "fail fast" if they're missing. @param table The name of the table you int

(final String table)

Source from the content-addressed store, hash-verified

1229 * @throws TableNotFoundException (deferred) if the table doesn't exist.
1230 */
1231 public Deferred<Object> ensureTableExists(final String table) {
1232 return ensureTableFamilyExists(table.getBytes(), EMPTY_ARRAY);
1233 }
1234
1235 /**
1236 * Ensures that a given table really exists.

Callers 1

findTableRegionsMethod · 0.95

Calls 1

Tested by

no test coverage detected