Examples of aggregate()


Examples of org.elasticsearch.hadoop.rest.stats.Stats.aggregate()

    @Override
    public Stats stats() {
        Stats copy = new Stats(stats);
        if (network != null) {
            copy.aggregate(network.stats());
        }
        return copy;
    }

    private void countStreamStats(InputStream content) {
View Full Code Here

Examples of org.elasticsearch.hadoop.rest.stats.Stats.aggregate()

    @Override
    public Stats stats() {
        Stats copy = new Stats(stats);
        if (currentTransport != null) {
            copy.aggregate(currentTransport.stats());
        }
        return copy;
    }

    Stats transportStats() {
View Full Code Here

Examples of org.elasticsearch.hadoop.rest.stats.Stats.aggregate()

    @Override
    public Stats stats() {
        Stats copy = new Stats(stats);
        if (client != null) {
            copy.aggregate(client.stats());
        }
        return copy;
    }

    public Settings getSettings() {
View Full Code Here

Examples of org.gradle.api.reporting.GenerateBuildDashboard.aggregate()

                    return;
                }

                Reporting reporting = (Reporting) task;

                buildDashboardTask.aggregate(reporting);

                if (!task.equals(buildDashboardTask)) {
                    task.finalizedBy(buildDashboardTask);
                }
            }
View Full Code Here

Examples of org.noos.xing.mydoggy.ToolWindow.aggregate()

                // Set debug tool active
                ToolWindow debugTool = toolWindowManager.getToolWindow("Debug");
                debugTool.setActive(true);

                ToolWindow runTool = toolWindowManager.getToolWindow("Run");
                runTool.aggregate();

                frame.setVisible(true);
            }
        });
    }
View Full Code Here

Examples of redis.clients.jedis.ZParams.aggregate()

  jedis.zadd("bar", 2, "a");
  jedis.zadd("bar", 2, "b");

  ZParams params = new ZParams();
  params.weights(2, 2.5);
  params.aggregate(ZParams.Aggregate.SUM);
  long result = jedis.zunionstore("dst", params, "foo", "bar");

  assertEquals(2, result);

  Set<Tuple> expected = new LinkedHashSet<Tuple>();
View Full Code Here

Examples of redis.clients.jedis.ZParams.aggregate()

  jedis.zadd(bbar, 2, ba);
  jedis.zadd(bbar, 2, bb);

  ZParams bparams = new ZParams();
  bparams.weights(2, 2.5);
  bparams.aggregate(ZParams.Aggregate.SUM);
  long bresult = jedis.zunionstore(SafeEncoder.encode("dst"), bparams,
    bfoo, bbar);

  assertEquals(2, bresult);
View Full Code Here

Examples of redis.clients.jedis.ZParams.aggregate()

  jedis.zadd("foo", 2, "b");
  jedis.zadd("bar", 2, "a");

  ZParams params = new ZParams();
  params.weights(2, 2.5);
  params.aggregate(ZParams.Aggregate.SUM);
  long result = jedis.zinterstore("dst", params, "foo", "bar");

  assertEquals(1, result);

  Set<Tuple> expected = new LinkedHashSet<Tuple>();
View Full Code Here

Examples of redis.clients.jedis.ZParams.aggregate()

  jedis.zadd(bfoo, 2, bb);
  jedis.zadd(bbar, 2, ba);

  ZParams bparams = new ZParams();
  bparams.weights(2, 2.5);
  bparams.aggregate(ZParams.Aggregate.SUM);
  long bresult = jedis.zinterstore(SafeEncoder.encode("dst"), bparams,
    bfoo, bbar);

  assertEquals(1, bresult);
View Full Code Here

Examples of siena.base.test.model.AggregateChildManualModel.aggregate()

    AggregateChildManualModel eve = new AggregateChildManualModel(1L, "eve");
    eve.aggregate(god, "children");
    eve.insert();

    AggregateChildManualModel bob = new AggregateChildManualModel(2L, "bob");
    bob.aggregate(god, "children");
    bob.insert();
   
    int nb = AggregateParentManualModel.all().filter("name", "god").delete();
    assertEquals(5, nb);
   
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.