Package com.mobixess.jodb.core.io.rmi.IRemoteServer

Examples of com.mobixess.jodb.core.io.rmi.IRemoteServer.IServerQueryResult


       
    }
   
    public JODBQueryList executeQuery(QueryNode query) throws IOException, IllegalClassTypeException {
        JODBQueryList result = null;
        IServerQueryResult queryResult = _server.runQuery(query, null);
        if(query!=null){
            long[] resultingOffsets = queryResult.getSearchResult();
            if(resultingOffsets!=null){
                result = new SimpleArrayQueryList(resultingOffsets, query.getSession());
            }
        }
        return result;
View Full Code Here


//        QueryBytecode queryBytecode = NQExecutor.getInstance().getTransformationForQuery(session, predicate, comparator);
//        if(queryBytecode==null){
//            throw new JodbIOException("cannot run unoptimized query in server mode");
//        }
        JODBQueryList result = null;
        IServerQueryResult queryResult = _server.query(predicate.getClass().getName(), comparator==null?null:comparator.getClass().getName());

        long[] resultingOffsets = queryResult.getSearchResult();
        if(resultingOffsets!=null){
            result = new SimpleArrayQueryList(resultingOffsets, session);
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of com.mobixess.jodb.core.io.rmi.IRemoteServer.IServerQueryResult

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.