Examples of db_create()


Examples of com.dkhenry.RethinkDB.RqlConnection.db_create()

        final double numberOfIterations = 256.0;
        final SecureRandom random = new SecureRandom();
        String database = new BigInteger(130, random).toString(32);
        String table = new BigInteger(130, random).toString(32);
        RqlConnection r = RqlConnection.connect("localhost",28015);
        r.run(r.db_create(database));
        r.run(r.db(database).table_create(table));

        for( long j =0 ; j < numberOfIterations ; j++ ) {
            List<Object> l = new ArrayList<Object>();
            System.out.println("Inserting Rows...") ;
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.