Package com.oltpbenchmark.benchmarks.epinions.procedures

Examples of com.oltpbenchmark.benchmarks.epinions.procedures.GetItemReviewsByTrustedUser.run()


    public void itemReviewsByTrustedUser() throws SQLException {
        GetItemReviewsByTrustedUser proc = this.getProcedure(GetItemReviewsByTrustedUser.class);
        assert (proc != null);
        long iid = Long.valueOf(item_ids.get(rand.nextInt(item_ids.size())));
        long uid = Long.valueOf(user_ids.get(rand.nextInt(user_ids.size())));
        proc.run(conn, iid, uid);
    }

    public void updateUserName() throws SQLException {
        UpdateUserName proc = this.getProcedure(UpdateUserName.class);
        assert (proc != null);
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.