Package com.oltpbenchmark.benchmarks.twitter.util

Examples of com.oltpbenchmark.benchmarks.twitter.util.TwitterOperation


        this.tweet_len_rng = new FlatHistogram<Integer>(this.rng(), tweet_h);
    }

    @Override
    protected TransactionStatus executeWork(TransactionType nextTrans) throws UserAbortException, SQLException {
        TwitterOperation t = generator.nextTransaction();
        t.uid = this.rng().nextInt(this.num_users); // HACK
       
        if (nextTrans.getProcedureClass().equals(GetTweet.class)) {
            doSelect1Tweet(t.tweetid);
        } else if (nextTrans.getProcedureClass().equals(GetTweetsFromFollowing.class)) {
View Full Code Here

TOP

Related Classes of com.oltpbenchmark.benchmarks.twitter.util.TwitterOperation

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.