Package com.mobixess.jodb.util

Examples of com.mobixess.jodb.util.LongVector


                throw new RemoteException("",e);
            }
        }

        public IServerQueryResult runQuery(QueryNode query, long[] localActiveObjects) throws IOException{
            LongVector remoteActiveObjects=null;
            if(localActiveObjects!=null){
                remoteActiveObjects = new LongVector(localActiveObjects);
            }
            query.setSession(_sessionContainer.getSession());
            try {
                LongVector additionalRejected = new LongVector();
                JODBQueryList objectSet = (JODBQueryList) query.runQuery(remoteActiveObjects,additionalRejected);
               
                long[] result = objectSet.getAllObjectIds();
                long[] additionalRejectedObjects = null;
                if(additionalRejected.size() > 0){
                    additionalRejectedObjects = additionalRejected.getDataAsArray();
                }
                return new ServerQueryResult(additionalRejectedObjects,result);
            } catch (IllegalClassTypeException e) {
                throw new JodbIOException(e);
            }
View Full Code Here

TOP

Related Classes of com.mobixess.jodb.util.LongVector

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.