Examples of execute()


Examples of com.mongodb.BulkWriteOperation.execute()

        builder.find(new BasicDBObject("_id", 1)).updateOne(new BasicDBObject("$set", new BasicDBObject("x", 2)));
        builder.find(new BasicDBObject("_id", 2)).removeOne();
        builder.find(new BasicDBObject("_id", 3)).replaceOne(new BasicDBObject("_id", 3).append("x", 4));

        BulkWriteResult result = builder.execute();
        System.out.println("Ordered bulk write result : " + result);

        // Unordered bulk operation - no guarantee of order of operation
        builder = coll.initializeUnorderedBulkOperation();
        builder.find(new BasicDBObject("_id", 1)).removeOne();
View Full Code Here

Examples of com.mongodb.hadoop.testutils.MapReduceJob.execute()

        MapReduceJob job = new MapReduceJob(TreasuryYieldXMLConfig.class.getName())
                               .jar(JOBJAR_PATH)
                               .inputUris(getInputUri())
                               .outputUris(getOutputUri())
                               .param(SPLITS_USE_RANGEQUERY, "true");
        job.execute(isRunTestInVm());

        compareResults(collection, getReference());
        collection.drop();

        job.param(INPUT_QUERY, "{\"_id\":{\"$gt\":{\"$date\":1182470400000}}}").execute(isRunTestInVm());
View Full Code Here

Examples of com.mossle.auth.support.Exporter.execute()

    public String doExport() {
        Exporter exporter = new Exporter();
        exporter.setJdbcTemplate(jdbcTemplate);

        return exporter.execute();
    }

    public void doImport(String text) {
        Importer importer = new Importer();
        importer.setJdbcTemplate(jdbcTemplate);
View Full Code Here

Examples of com.mossle.auth.support.Importer.execute()

    }

    public void doImport(String text) {
        Importer importer = new Importer();
        importer.setJdbcTemplate(jdbcTemplate);
        importer.execute(text);
    }

    public void batchSaveAccess(String text, String type, String scopeId) {
        List<Access> accesses = accessManager.find(
                "from Access where type=? and scopeId=?", type, scopeId);
View Full Code Here

Examples of com.mxgraph.layout.hierarchical.stage.mxCoordinateAssignment.execute()

  {
    mxCoordinateAssignment placementStage = new mxCoordinateAssignment(
        this, intraCellSpacing, interRankCellSpacing, orientation,
        initialX, parallelEdgeSpacing);
    placementStage.setFineTuning(fineTuning);
    placementStage.execute(parent);

    return placementStage.getLimitX() + interHierarchySpacing;
  }

  /**
 
View Full Code Here

Examples of com.mxgraph.layout.hierarchical.stage.mxHierarchicalLayoutStage.execute()

   * mxMinimumCycleRemover.
   */
  public void cycleStage(Object parent)
  {
    mxHierarchicalLayoutStage cycleStage = new mxMinimumCycleRemover(this);
    cycleStage.execute(parent);
  }

  /**
   * Implements first stage of a Sugiyama layout.
   */
 
View Full Code Here

Examples of com.mxgraph.layout.hierarchical.stage.mxMedianHybridCrossingReduction.execute()

   */
  public void crossingStage(Object parent)
  {
    mxHierarchicalLayoutStage crossingStage = new mxMedianHybridCrossingReduction(
        this);
    crossingStage.execute(parent);
  }

  /**
   * Executes the placement stage using mxCoordinateAssignment.
   */
 
View Full Code Here

Examples of com.mxgraph.layout.hierarchical.stage.mxMinimumCycleRemover.execute()

   * mxMinimumCycleRemover.
   */
  public void cycleStage(Object parent)
  {
    mxHierarchicalLayoutStage cycleStage = new mxMinimumCycleRemover(this);
    cycleStage.execute(parent);
  }

  /**
   * Implements first stage of a Sugiyama layout.
   */
 
View Full Code Here

Examples of com.mxgraph.layout.mxCircleLayout.execute()

            generator.getNullGraph(aGraph, nodeCount);

            mxGraphStructure.setDefaultGraphStyle(aGraph, false);
            mxCircleLayout layout = new mxCircleLayout(graph);
            layout.execute(graph.getDefaultParent());
          }
          else if (graphType2 == GraphType.SIMPLE_RANDOM_TREE)
          {
            graph.getModel().beginUpdate();
View Full Code Here

Examples of com.mxgraph.layout.mxCompactTreeLayout.execute()

            mxGraphProperties.setDirected(props, true);
            mxGraphStructure.setDefaultGraphStyle(aGraph, false);
            setVisible(false);
            mxCompactTreeLayout layout = new mxCompactTreeLayout(graph, false);
            layout.execute(graph.getDefaultParent());
            graph.getModel().endUpdate();
          }

          graph.getModel().endUpdate();
          setVisible(false);
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.