Package org.apache.giraph.partition

Examples of org.apache.giraph.partition.SimplePartition


    ServerData<IntWritable, IntWritable, IntWritable> serverData =
      new ServerData<IntWritable, IntWritable, IntWritable>(
      serviceWorker, conf, ByteArrayMessagesPerVertexStore.newFactory(
          serviceWorker, conf), context);
    // Here we add a partition to simulate the case that there is one partition.
    serverData.getPartitionStore().addPartition(new SimplePartition());
    return serverData;
  }
View Full Code Here

TOP

Related Classes of org.apache.giraph.partition.SimplePartition

Copyright © 2018 www.massapicom. 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.