Package com.oltpbenchmark.benchmarks.twitter.procedures

Examples of com.oltpbenchmark.benchmarks.twitter.procedures.InsertTweet


        assert (proc != null);
        proc.run(conn, uid).close();
    }

    public void doInsertTweet(int uid, String text) throws SQLException {
        InsertTweet proc = this.getProcedure(InsertTweet.class);
        assert (proc != null);
        Time time = new Time(System.currentTimeMillis());
        try {
            proc.run(conn, uid, text, time);
        } catch (SQLException ex) {
            System.err.println("uid=" + uid);
            System.err.println("text=" + text);
            System.err.println("time=" + time);
            throw ex;
View Full Code Here

TOP

Related Classes of com.oltpbenchmark.benchmarks.twitter.procedures.InsertTweet

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.