I - Vertex idV - Vertex dataE - Edge dataB - Mapping targetpublic class MappingInputFormatDescription<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,B extends org.apache.hadoop.io.Writable> extends InputFormatDescription<MappingInputFormat<I,V,E,B>>
MultiMappingInputFormat| Modifier and Type | Field and Description |
|---|---|
static StrConfOption |
MAPPING_INPUT_FORMAT_DESCRIPTIONS
MappingInputFormats description - JSON array containing a JSON array for
each mapping input.
|
| Constructor and Description |
|---|
MappingInputFormatDescription(Class<? extends MappingInputFormat<I,V,E,B>> mappingInputFormatClass)
Constructor with mapping input format class
|
MappingInputFormatDescription(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,B extends org.apache.hadoop.io.Writable> |
createMappingInputFormats(ImmutableClassesGiraphConfiguration<I,V,E> conf)
Create all mapping input formats
|
static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,B extends org.apache.hadoop.io.Writable> |
getMappingInputFormatDescriptions(org.apache.hadoop.conf.Configuration conf)
Get descriptions of mapping input formats from configuration.
|
addParameter, addParameters, getInputFormatClass, putParametersToConfiguration, setInputFormatClass, toJsonArray, toJsonString, toStringpublic static final StrConfOption MAPPING_INPUT_FORMAT_DESCRIPTIONS
public MappingInputFormatDescription(Class<? extends MappingInputFormat<I,V,E,B>> mappingInputFormatClass)
mappingInputFormatClass - Mapping input format classpublic MappingInputFormatDescription(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,B extends org.apache.hadoop.io.Writable> List<MappingInputFormatDescription<I,V,E,B>> getMappingInputFormatDescriptions(org.apache.hadoop.conf.Configuration conf)
I - Vertex idV - Vertex dataE - Edge dataB - Mapping targetconf - Configurationpublic static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,B extends org.apache.hadoop.io.Writable> List<MappingInputFormat<I,V,E,B>> createMappingInputFormats(ImmutableClassesGiraphConfiguration<I,V,E> conf)
I - Vertex idV - Vertex dataE - Edge dataB - Mapping target dataconf - ConfigurationCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.