Package edu.brown.hstore.util

Examples of edu.brown.hstore.util.TransactionCounter


        boolean found = false;
        while (results[0].advanceRow()) {
            if (results[0].getString(3).equalsIgnoreCase(catalog_proc.getName())) {
                for (int i = 4; i < results[0].getColumnCount(); i++) {
                    String counterName = results[0].getColumnName(i);
                    TransactionCounter tc = TransactionCounter.get(counterName);
                    assertNotNull(counterName, tc);
                   
                    Long tcVal = tc.get(catalog_proc);
                    if (tcVal == null) tcVal = 0l;
                    assertEquals(counterName, tcVal.intValue(), (int)results[0].getLong(i));
                } // FOR
                found = true;
                break;
View Full Code Here

TOP

Related Classes of edu.brown.hstore.util.TransactionCounter

Copyright © 2018 www.massapicom. 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.