I
- Vertex idV
- Vertex dataE
- Edge datapublic class VertexInputFormatDescription<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends InputFormatDescription<VertexInputFormat<I,V,E>>
MultiVertexInputFormat
Modifier and Type | Field and Description |
---|---|
static StrConfOption |
VERTEX_INPUT_FORMAT_DESCRIPTIONS
VertexInputFormats description - JSON array containing a JSON array for
each vertex input.
|
Constructor and Description |
---|
VertexInputFormatDescription(Class<? extends VertexInputFormat<I,V,E>> vertexInputFormatClass)
Constructor with vertex input format class
|
VertexInputFormatDescription(String description)
Constructor with json string describing this input format
|
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> |
createVertexInputFormats(ImmutableClassesGiraphConfiguration<I,V,E> conf)
Create all vertex input formats
|
static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> |
getVertexInputFormatDescriptions(org.apache.hadoop.conf.Configuration conf)
Get descriptions of vertex input formats from configuration.
|
addParameter, addParameters, getInputFormatClass, putParametersToConfiguration, setInputFormatClass, toJsonArray, toJsonString, toString
public static final StrConfOption VERTEX_INPUT_FORMAT_DESCRIPTIONS
public VertexInputFormatDescription(Class<? extends VertexInputFormat<I,V,E>> vertexInputFormatClass)
vertexInputFormatClass
- Vertex input format classpublic VertexInputFormatDescription(String description)
description
- Json string describing this input formatpublic static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> List<VertexInputFormatDescription<I,V,E>> getVertexInputFormatDescriptions(org.apache.hadoop.conf.Configuration conf)
I
- Vertex idV
- Vertex dataE
- Edge dataconf
- Configurationpublic static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> List<VertexInputFormat<I,V,E>> createVertexInputFormats(ImmutableClassesGiraphConfiguration<I,V,E> conf)
I
- Vertex idV
- Vertex dataE
- Edge dataconf
- ConfigurationCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.