Tabnine Logo
DiffCount.setNewTree
Code IndexAdd Tabnine to your IDE (free)

How to use
setNewTree
method
in
org.locationtech.geogig.plumbing.DiffCount

Best Java code snippets using org.locationtech.geogig.plumbing.DiffCount.setNewTree (Showing top 10 results out of 315)

origin: locationtech/geogig

final DiffObjectCount stageCount = command(DiffCount.class)
    .setNewTree(finalWorkTree.getId())//
origin: org.locationtech.geogig/geogig-core

final DiffObjectCount stageCount = command(DiffCount.class)
    .setNewTree(finalWorkTree.getId())//
origin: org.locationtech.geogig/geogig-osm

.setNewTree(afterTreeId).call();
origin: locationtech/geogig

private CompletableFuture<LayerDiffSummary> run(final String path, final NodeRef left,
    final NodeRef right) {
  final ObjectId leftTreeId = left == null ? RevTree.EMPTY_TREE_ID : left.getObjectId();
  final ObjectId rightTreeId = right == null ? RevTree.EMPTY_TREE_ID : right.getObjectId();
  final RevTree leftTree = left == null ? RevTree.EMPTY : leftSource.getTree(leftTreeId);
  final RevTree rightTree = right == null ? RevTree.EMPTY : rightSource.getTree(rightTreeId);
  CompletableFuture<DiffObjectCount> diffCount = CompletableFuture.supplyAsync(() -> {
    DiffObjectCount count = command(DiffCount.class).setOldTree(leftTree)
        .setNewTree(rightTree).setLeftSource(leftSource).setRightSource(rightSource)
        .call();
    return count;
  });
  CompletableFuture<org.locationtech.geogig.plumbing.diff.DiffSummary<BoundingBox, BoundingBox>> diffBounds;
  diffBounds = CompletableFuture.supplyAsync(() -> {
    DiffSummary<BoundingBox, BoundingBox> boundsDiff;
    boundsDiff = command(DiffBounds.class).setOldVersion(leftTree).setNewVersion(rightTree)
        .setLeftSource(leftSource).setRightSource(rightSource).call();
    return boundsDiff;
  });
  return diffCount.thenCombine(diffBounds,
      (count, bounds) -> toSummary(path, leftTree, rightTree, count, bounds));
}
origin: locationtech/geogig

console.flush();
final DiffObjectCount diffCount = geogig.command(DiffCount.class)
    .setOldVersion(parentId.toString()).setNewTree(commit.getTreeId())
    .setProgressListener(progress).call();
origin: org.locationtech.geogig/geogig-cli

console.flush();
final DiffObjectCount diffCount = geogig.command(DiffCount.class)
    .setOldVersion(parentId.toString()).setNewTree(commit.getTreeId())
    .setProgressListener(progress).call();
origin: org.locationtech.geogig/geogig-cli-core

console.flush();
final DiffObjectCount diffCount = geogig.command(DiffCount.class)
    .setOldVersion(parentId.toString()).setNewTree(commit.getTreeId())
    .setProgressListener(progress).call();
origin: locationtech/geogig

console.flush();
final DiffObjectCount diffCount = geogig.command(DiffCount.class)
    .setOldVersion(parentId.toString()).setNewTree(commit.getTreeId())
    .setProgressListener(progress).call();
origin: org.locationtech.geogig/geogig-cli

console.flush();
final DiffObjectCount diffCount = geogig.command(DiffCount.class)
    .setOldVersion(parentId.toString()).setNewTree(commit.getTreeId())
    .setProgressListener(progress).call();
origin: org.locationtech.geogig/geogig-cli-core

console.flush();
final DiffObjectCount diffCount = geogig.command(DiffCount.class)
    .setOldVersion(parentId.toString()).setNewTree(commit.getTreeId())
    .setProgressListener(progress).call();
org.locationtech.geogig.plumbingDiffCountsetNewTree

Popular methods of DiffCount

  • call
  • setNewVersion
  • setOldVersion
  • setFilter
  • setOldTree
  • setProgressListener
  • addFilter
  • command
  • getTree
  • objectDatabase
  • setLeftSource
  • setRightSource
  • setLeftSource,
  • setRightSource

Popular in Java

  • Reactive rest calls using spring rest template
  • startActivity (Activity)
  • getApplicationContext (Context)
  • putExtra (Intent)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Collectors (java.util.stream)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now