Package com.oltpbenchmark.benchmarks.ycsb.procedures

Examples of com.oltpbenchmark.benchmarks.ycsb.procedures.ReadModifyWriteRecord


        int keyname = readRecord.nextInt();
        proc.run(conn, keyname, new HashMap<Integer, String>());
    }

    private void readModifyWriteRecord() throws SQLException {
        ReadModifyWriteRecord proc = this.getProcedure(ReadModifyWriteRecord.class);
        assert (proc != null);
        int keyname = readRecord.nextInt();
       
        String fields[] = new String[10];
        for (int i = 0; i < fields.length; i++) {
            fields[i] = TextGenerator.randomStr(rng(), 100);
        } // FOR
       
        this.m.clear();
        proc.run(conn, keyname, fields, this.m);
    }
View Full Code Here

TOP

Related Classes of com.oltpbenchmark.benchmarks.ycsb.procedures.ReadModifyWriteRecord

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.