Package com.mobixess.jodb.soda.api

Examples of com.mobixess.jodb.soda.api.ObjectSet


            benchmarkResults._sorted = true;
            query.descend("_val1").orderAscending();
        }
       
        startTime = System.currentTimeMillis();
        ObjectSet objectSet = query.execute();
        benchmarkResults._queryTime = System.currentTimeMillis() - startTime;
       
        startTime = System.currentTimeMillis();
        int total = objectSet.size();
        if(total < MAX_OBJECTS){
            throw new RuntimeException(""+total);
        }
        int processed = 0;
//        try {
            while (objectSet.hasNext()) {
                Object next = objectSet.next();
                processed++;
            }
//        } catch(Exception e){
//            System.err.println("Processed = "+processed);
//            e.printStackTrace();
View Full Code Here

TOP

Related Classes of com.mobixess.jodb.soda.api.ObjectSet

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.