| Package | Description | 
|---|---|
| org.apache.giraph.benchmark | Package of benchmarks for performance testing and optimization | 
| org.apache.giraph.conf | Package of Giraph configuration related things. | 
| org.apache.giraph.factories | Package of factories for creating types, for example the user's graph types. | 
| org.apache.giraph.graph | Package of all the graph related objects, built on the
 org.apache.bsp package. | 
| org.apache.giraph.jython | Jython integration. | 
| org.apache.giraph.jython.factories | Jython factories. | 
| org.apache.giraph.master | Package of all the master related things. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AggregatorsBenchmark.AggregatorsBenchmarkComputationVertex class for AggregatorsBenchmark | 
| class  | PageRankComputationImplementation of PageRank in which vertex ids are ints, page rank values
 are floats, and graph is unweighted. | 
| static class  | RandomMessageBenchmark.RandomMessageComputationActual message computation (messaging in this case) | 
| static class  | ReducersBenchmark.ReducersBenchmarkComputationVertex class for ReducersBenchmark | 
| class  | ShortestPathsComputationShortest paths algorithm. | 
| class  | WeightedPageRankComputationImplementation of Page Rank algorithm on a weighted graph. | 
| Modifier and Type | Field and Description | 
|---|---|
| static ClassConfOption<Computation> | GiraphConstants. COMPUTATION_CLASSComputation class - required | 
| protected Class<? extends Computation<I,V,E,? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable>> | GiraphClasses. computationClassComputation class - cached for fast access | 
| Modifier and Type | Method and Description | 
|---|---|
| Computation<I,V,E,? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable> | ImmutableClassesGiraphConfiguration. createComputation()Create a user computation | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends Computation<I,V,E,? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable>> | GiraphClasses. getComputationClass()Get Computation class | 
| Class<? extends Computation> | GiraphConfiguration. getComputationClass()Get the user's subclassed  Computation | 
| Class<? extends Computation<I,V,E,? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable>> | ImmutableClassesGiraphConfiguration. getComputationClass() | 
| Modifier and Type | Method and Description | 
|---|---|
| GiraphClasses | GiraphClasses. setComputationClass(Class<? extends Computation<I,V,E,? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable>> computationClass)Set Computation class held, and update message types | 
| void | GiraphConfiguration. setComputationClass(Class<? extends Computation> computationClass)Set the computation class (required) | 
| Modifier and Type | Method and Description | 
|---|---|
| Computation<I,V,E,org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable> | DefaultComputationFactory. createComputation(ImmutableClassesGiraphConfiguration<I,V,E> conf) | 
| Computation<I,V,E,M1,M2> | ComputationFactory. createComputation(ImmutableClassesGiraphConfiguration<I,V,E> conf)Get Computation object | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractComputation<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M1 extends org.apache.hadoop.io.Writable,M2 extends org.apache.hadoop.io.Writable>See  Computationfor explanation of the interface. | 
| class  | BasicComputation<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable>Computation in which both incoming and outgoing message types are the same. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JythonGiraphComputation<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M1 extends org.apache.hadoop.io.Writable,M2 extends org.apache.hadoop.io.Writable>The  Computationclass for using
 Jython with Giraph. | 
| Modifier and Type | Method and Description | 
|---|---|
| Computation | JythonComputationFactory. createComputation(ImmutableClassesGiraphConfiguration conf) | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends Computation> | MasterCompute. getComputation()Get Computation class to be used | 
| Class<? extends Computation> | SuperstepClasses. getComputationClass() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MasterCompute. setComputation(Class<? extends Computation> computationClass)Set Computation class to be used | 
| void | SuperstepClasses. setComputationClass(Class<? extends Computation> computationClass)Set computation class | 
| Constructor and Description | 
|---|
| SuperstepClasses(ImmutableClassesGiraphConfiguration conf,
                Class<? extends Computation> computationClass,
                MessageClasses<? extends org.apache.hadoop.io.WritableComparable,? extends org.apache.hadoop.io.Writable> incomingMessageClasses,
                MessageClasses<? extends org.apache.hadoop.io.WritableComparable,? extends org.apache.hadoop.io.Writable> outgoingMessageClasses)Constructor | 
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.