Package com.orientechnologies.orient.core.db.document

Examples of com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.browseCluster()


        throw new IllegalArgumentException("Invalid cluster '" + urlParts[2] + "'");

      final int limit = urlParts.length > 3 ? Integer.parseInt(urlParts[3]) : 20;

      final List<ORecord<?>> response = new ArrayList<ORecord<?>>();
      for (ORecord<?> rec : db.browseCluster(urlParts[2])) {
        if (limit > 0 && response.size() >= limit)
          break;

        response.add(rec);
      }
View Full Code Here


         throw new IllegalArgumentException("Invalid cluster '" + urlParts[2] + "'");

       final int limit = urlParts.length > 3 ? Integer.parseInt(urlParts[3]) : 20;

       final List<OIdentifiable> response = new ArrayList<OIdentifiable>();
       for (ORecord rec : db.browseCluster(urlParts[2])) {
         if (limit > 0 && response.size() >= limit)
           break;

         response.add(rec);
       }
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.