Package com.nearinfinity.honeycomb

Examples of com.nearinfinity.honeycomb.Store.openTable()


     * @param tableName Name of the table to be dropped
     */
    public void dropTable(String tableName) {
        Verify.isNotNullOrEmpty(tableName);
        Store store = storeFactory.createStore(tableName);
        Table table = store.openTable(tableName);

        table.deleteAllRows();
        Util.closeQuietly(table);
        store.deleteTable(tableName);
    }
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.