import edu.brown.utils.ArgumentsParser;
public class HStoreClientExample {
public static void main(String[] vargs) throws Exception {
ArgumentsParser args = ArgumentsParser.load(vargs);
args.require(ArgumentsParser.PARAM_CATALOG_HOSTS);
// connect to VoltDB server
Client client = ClientFactory.createClient();
client.createConnection(null, args.getParam(ArgumentsParser.PARAM_CATALOG_HOSTS), HStoreConstants.DEFAULT_PORT, "user", "password");