Package com.orientechnologies.orient.core.sql

Examples of com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect


         result = dManager.sendRequest(getName(), involvedClusters, nodes, task, EXECUTION_MODE.RESPONSE);

         if (result instanceof Map) {
           if (executor instanceof OCommandExecutorSQLDelegate
               && ((OCommandExecutorSQLDelegate) executor).getDelegate() instanceof OCommandExecutorSQLSelect) {
             final OCommandExecutorSQLSelect cmd = (OCommandExecutorSQLSelect) ((OCommandExecutorSQLDelegate) executor)
                 .getDelegate();

             if (((Map<String, Object>) result).size() == 1)
               // USE THE COLLECTION DIRECTLY
               result = ((Map<String, Object>) result).values().iterator().next();
             else {
               if (cmd.isAnyFunctionAggregates()) {
                 final Map<String, Object> proj = cmd.getProjections();

                 final List<Object> list = new ArrayList<Object>();
                 final ODocument doc = new ODocument();
                 list.add(doc);
View Full Code Here

TOP

Related Classes of com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect

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.