I
- Vertex idE
- Edge datapublic class EdgeInputFormatDescription<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> extends InputFormatDescription<EdgeInputFormat<I,E>>
MultiEdgeInputFormat
Modifier and Type | Field and Description |
---|---|
static StrConfOption |
EDGE_INPUT_FORMAT_DESCRIPTIONS
EdgeInputFormats description - JSON array containing a JSON array for
each edge input.
|
Constructor and Description |
---|
EdgeInputFormatDescription(Class<? extends EdgeInputFormat<I,E>> edgeInputFormatClass)
Constructor with edge input format class
|
EdgeInputFormatDescription(String description)
Constructor with json string describing this input format
|
Modifier and Type | Method and Description |
---|---|
static <I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> |
createEdgeInputFormats(ImmutableClassesGiraphConfiguration<I,org.apache.hadoop.io.Writable,E> conf)
Create all edge input formats
|
static <I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> |
getEdgeInputFormatDescriptions(org.apache.hadoop.conf.Configuration conf)
Get descriptions of edge input formats from configuration.
|
addParameter, addParameters, getInputFormatClass, putParametersToConfiguration, setInputFormatClass, toJsonArray, toJsonString, toString
public static final StrConfOption EDGE_INPUT_FORMAT_DESCRIPTIONS
public EdgeInputFormatDescription(Class<? extends EdgeInputFormat<I,E>> edgeInputFormatClass)
edgeInputFormatClass
- Edge input format classpublic EdgeInputFormatDescription(String description)
description
- Json string describing this input formatpublic static <I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> List<EdgeInputFormatDescription<I,E>> getEdgeInputFormatDescriptions(org.apache.hadoop.conf.Configuration conf)
I
- Vertex idE
- Edge dataconf
- Configurationpublic static <I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> List<EdgeInputFormat<I,E>> createEdgeInputFormats(ImmutableClassesGiraphConfiguration<I,org.apache.hadoop.io.Writable,E> conf)
I
- Vertex idE
- Edge dataconf
- ConfigurationCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.