Package com.oltpbenchmark.benchmarks.epinions.procedures

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


        UpdateReviewRating proc = this.getProcedure(UpdateReviewRating.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())));
        int rating = rand.nextInt(1000); // ???
        proc.run(conn, iid, uid, rating);
    }

    public void updateTrustRating() throws SQLException {
        UpdateTrustRating proc = this.getProcedure(UpdateTrustRating.class);
        int uix= rand.nextInt(user_ids.size());
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.