Package com.oltpbenchmark.catalog

Examples of com.oltpbenchmark.catalog.Table


     *         num_users and added to reviewers list. Note: the selection is
     *         based on Zipfian distribution.
     * @throws SQLException
     */
    private void loadReviews() throws SQLException {
        Table catalog_tbl = this.getTableCatalog("review");
        assert (catalog_tbl != null);
        String sql = SQLUtil.getInsertSQL(catalog_tbl);
        PreparedStatement reviewInsert = this.conn.prepareStatement(sql);
       
        //
View Full Code Here


     *         Zipfian distribution Trusted users are not correlated to heavy
     *         reviewers (drawn using a scrambled distribution)
     * @throws SQLException
     */
    public void loadTrust() throws SQLException {
        Table catalog_tbl = this.getTableCatalog("trust");
        assert (catalog_tbl != null);
        String sql = SQLUtil.getInsertSQL(catalog_tbl);
        PreparedStatement trustInsert = this.conn.prepareStatement(sql);
       
        //
View Full Code Here

TOP

Related Classes of com.oltpbenchmark.catalog.Table

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.