Package | Description |
---|---|
org.apache.giraph.conf |
Package of Giraph configuration related things.
|
org.apache.giraph.io |
Input/Output related things.
|
org.apache.giraph.io.formats |
Package of reusable library Giraph objects.
|
org.apache.giraph.io.formats.multi |
Package for Input formats which wrap several input formats and allow
reading data from multiple sources.
|
org.apache.giraph.io.internal |
Input/Output classes for internal use only.
|
org.apache.giraph.utils |
Package of all generic utility classes.
|
org.apache.giraph.worker |
Package of all the worker related things
|
Modifier and Type | Field and Description |
---|---|
static ClassConfOption<VertexInputFormat> |
GiraphConstants.VERTEX_INPUT_FORMAT_CLASS
VertexInputFormat class
|
protected Class<? extends VertexInputFormat<I,V,E>> |
GiraphClasses.vertexInputFormatClass
Vertex input format class - cached for fast access
|
Modifier and Type | Method and Description |
---|---|
Class<? extends VertexInputFormat<I,V,E>> |
GiraphClasses.getVertexInputFormatClass()
Get VertexInputFormat held
|
Class<? extends VertexInputFormat<I,V,E>> |
ImmutableClassesGiraphConfiguration.getVertexInputFormatClass()
Get the user's subclassed
VertexInputFormat . |
Modifier and Type | Method and Description |
---|---|
GiraphClasses |
GiraphClasses.setVertexInputFormatClass(Class<? extends VertexInputFormat<I,V,E>> vertexInputFormatClass)
Set VertexInputFormat held
|
void |
GiraphConfiguration.setVertexInputFormatClass(Class<? extends VertexInputFormat> vertexInputFormatClass)
Set the vertex input format class (required)
|
void |
ImmutableClassesGiraphConfiguration.setVertexInputFormatClass(Class<? extends VertexInputFormat> vertexInputFormatClass) |
Modifier and Type | Class and Description |
---|---|
class |
VertexValueInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
Vertex input format that only allows setting vertex id and value.
|
Modifier and Type | Class and Description |
---|---|
class |
AdjacencyListTextVertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
VertexReader that readers lines of text with vertices encoded as adjacency
lists and converts each token to the correct type.
|
class |
GeneratedVertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
This VertexInputFormat is meant for testing/debugging.
|
class |
IntIntNullTextInputFormat
Simple text-based
VertexInputFormat for
unweighted graphs with int ids. |
class |
IntIntNullTextVertexInputFormat
Simple text-based
VertexInputFormat for
unweighted graphs with int ids. |
class |
IntIntTextVertexValueInputFormat<E extends org.apache.hadoop.io.Writable>
Simple text-based
VertexValueInputFormat
for integer ids and values. |
class |
IntNullNullTextInputFormat
Simple text-based
VertexInputFormat for
unweighted graphs without edges or values, just vertices with ids. |
class |
JsonBase64VertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
Simple way to represent the structure of the graph with a JSON object.
|
class |
JsonLongDoubleFloatDoubleVertexInputFormat
VertexInputFormat that features
long vertex ID's,
double vertex values and float
out-edge weights, and double message types,
specified in JSON format. |
class |
LongDoubleDoubleAdjacencyListVertexInputFormat
InputFormat for reading graphs stored as (ordered) adjacency lists
with the vertex ids longs and the vertex values and edges doubles.
|
class |
LongLongNullTextInputFormat
Simple text-based
VertexInputFormat for
unweighted graphs with long ids. |
class |
PseudoRandomIntNullVertexInputFormat
VertexInputFormat for large scale testing,
like
PseudoRandomVertexInputFormat , but for the unweighted graphs
where vertex ids are integers. |
class |
PseudoRandomVertexInputFormat
This VertexInputFormat is meant for large scale testing.
|
class |
SequenceFileVertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,X extends Vertex<I,V,E>>
Sequence file vertex input format based on
SequenceFileInputFormat . |
class |
TextDoubleDoubleAdjacencyListVertexInputFormat
Class to read graphs stored as adjacency lists with ids represented by
Strings and values as doubles.
|
class |
TextVertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
Abstract class that users should subclass to use their own text based
vertex input format.
|
class |
TextVertexValueInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
Abstract class that users should subclass to use their own text based
vertex value input format.
|
class |
WattsStrogatzVertexInputFormat
Generates a random Watts-Strogatz graph by re-wiring a ring lattice.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiVertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
Vertex input format which wraps several vertex input formats.
|
Modifier and Type | Method and Description |
---|---|
static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> |
VertexInputFormatDescription.createVertexInputFormats(ImmutableClassesGiraphConfiguration<I,V,E> conf)
Create all vertex input formats
|
Constructor and Description |
---|
VertexInputFormatDescription(Class<? extends VertexInputFormat<I,V,E>> vertexInputFormatClass)
Constructor with vertex input format class
|
Modifier and Type | Class and Description |
---|---|
class |
WrappedVertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
For internal use only.
|
Constructor and Description |
---|
WrappedVertexInputFormat(VertexInputFormat<I,V,E> vertexInputFormat)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
InMemoryVertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
An input format that reads the input graph in memory.
|
Constructor and Description |
---|
VertexInputSplitsCallable(VertexInputFormat<I,V,E> vertexInputFormat,
org.apache.hadoop.mapreduce.Mapper.Context context,
ImmutableClassesGiraphConfiguration<I,V,E> configuration,
BspServiceWorker<I,V,E> bspServiceWorker,
WorkerInputSplitsHandler splitsHandler)
Constructor.
|
VertexInputSplitsCallableFactory(VertexInputFormat<I,V,E> vertexInputFormat,
org.apache.hadoop.mapreduce.Mapper.Context context,
ImmutableClassesGiraphConfiguration<I,V,E> configuration,
BspServiceWorker<I,V,E> bspServiceWorker,
WorkerInputSplitsHandler splitsHandler)
Constructor.
|
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.