Package com.alibaba.wasp.client

Examples of com.alibaba.wasp.client.WaspAdmin.createTable()


    LocalWaspCluster cluster = new LocalWaspCluster(conf);
    cluster.startup();
    WaspAdmin admin = new WaspAdmin(conf);
    FTable table = new FTable();
    table.setTableName(cluster.getClass().getName());
    admin.createTable(table);
    cluster.shutdown();
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.