// Construct an HBase dataset repository using the local HBase database
RandomAccessDatasetRepository repo =
DatasetRepositories.openRandomAccess("repo:hbase:localhost.localdomain");
// Load the users dataset
RandomAccessDataset<User> users = repo.load("users");
// Get an accessor for the dataset and write some users to it
users.put(user("bill", "green"));
users.put(user("alice", "blue"));
users.put(user("cuthbert", "pink"));