Examples of TestMessageValueFactory


Examples of org.apache.giraph.factories.TestMessageValueFactory

      int partitionId =
          service.getVertexPartitionOwner(entry.getKey()).getPartitionId();
      ByteArrayVertexIdMessages<IntWritable, IntWritable>
          byteArrayVertexIdMessages =
          new ByteArrayVertexIdMessages<IntWritable, IntWritable>(
              new TestMessageValueFactory(IntWritable.class));
      byteArrayVertexIdMessages.setConf(config);
      byteArrayVertexIdMessages.initialize();
      for (IntWritable message : entry.getValue()) {
        byteArrayVertexIdMessages.add(entry.getKey(), message);
      }
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.