| Package | Description | 
|---|---|
| org.apache.giraph.bsp | Package of generic bulk synchronous processing objects. | 
| org.apache.giraph.conf | Package of Giraph configuration related things. | 
| org.apache.giraph.partition | Package of partitioning related objects. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected GraphPartitionerFactory<I,V,E> | BspService. getGraphPartitionerFactory()Subclasses can use this to instantiate their respective partitioners | 
| Modifier and Type | Field and Description | 
|---|---|
| static ClassConfOption<GraphPartitionerFactory> | GiraphConstants. GRAPH_PARTITIONER_FACTORY_CLASSGraph partitioner factory class - optional | 
| protected Class<? extends GraphPartitionerFactory<I,V,E>> | GiraphClasses. graphPartitionerFactoryClassGraph partitioner factory class - cached for fast access | 
| Modifier and Type | Method and Description | 
|---|---|
| GraphPartitionerFactory<I,V,E> | ImmutableClassesGiraphConfiguration. createGraphPartitioner()Create a user graph partitioner class | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends GraphPartitionerFactory<I,V,E>> | ImmutableClassesGiraphConfiguration. getGraphPartitionerClass()Get the user's subclassed
  GraphPartitionerFactory. | 
| Class<? extends GraphPartitionerFactory<I,V,E>> | GiraphClasses. getGraphPartitionerFactoryClass()Get the GraphPartitionerFactory | 
| Modifier and Type | Method and Description | 
|---|---|
| GiraphClasses | GiraphClasses. setGraphPartitionerFactoryClass(Class<? extends GraphPartitionerFactory<I,V,E>> klass)Set GraphPartitionerFactory class held | 
| void | GiraphConfiguration. setGraphPartitionerFactoryClass(Class<? extends GraphPartitionerFactory> graphPartitionerFactoryClass)Set the graph partitioner class (optional) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HashPartitionerFactory<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>Divides the vertices into partitions by their hash code using a simple
 round-robin hash for great balancing if given a random hash code. | 
| class  | HashRangePartitionerFactory<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>Divides the vertices into partitions by their hash code using ranges of the
 hash space. | 
| class  | LongMappingStorePartitionerFactory<V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>Factory for long-byte mapping based partitioners. | 
| class  | SimpleIntRangePartitionerFactory<V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>Factory for simple range-based partitioners based on integer vertex ids. | 
| class  | SimpleLongRangePartitionerFactory<V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>Factory for simple range-based partitioners based on long vertex ids. | 
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.