_log.info("Started granting rights to table {} ...",
table);
final String grantQuery = String.format(
"GRANT ALL on %s TO %s", table, _username);
_log.debug("Executing grant query: {}", grantQuery);
session.execute(grantQuery);
_log.info("Finished granting rights to table {}.",
table);
} catch (Exception e) {
_log.error("Error granting rights to table {}.", table,
e);