public class TestTextDoubleDoubleAdjacencyListVertexInputFormat extends TextDoubleDoubleAdjacencyListVertexInputFormat
| Modifier and Type | Class and Description |
|---|---|
static class |
TestTextDoubleDoubleAdjacencyListVertexInputFormat.DummyComputation |
TextDoubleDoubleAdjacencyListVertexInputFormat.TextDoubleDoubleAdjacencyListVertexReaderAdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReader, AdjacencyListTextVertexInputFormat.LineSanitizerTextVertexInputFormat.TextVertexReader, TextVertexInputFormat.TextVertexReaderFromEachLine, TextVertexInputFormat.TextVertexReaderFromEachLineProcessed<T>, TextVertexInputFormat.TextVertexReaderFromEachLineProcessedHandlingExceptions<T,X extends Throwable>LINE_TOKENIZE_VALUE, LINE_TOKENIZE_VALUE_DEFAULTtextInputFormat| Constructor and Description |
|---|
TestTextDoubleDoubleAdjacencyListVertexInputFormat() |
| 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.WritableComparable> |
assertValid(Vertex<I,V,E> expected,
Vertex<I,V,E> actual) |
static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.WritableComparable> |
assertValidVertex(ImmutableClassesGiraphConfiguration<I,V,E> conf,
Vertex<I,V,E> actual,
I expectedId,
V expectedValue,
Edge<I,E>... edges) |
protected TextVertexInputFormat.TextVertexReader |
createVertexReader(org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text> rr) |
protected TextVertexInputFormat.TextVertexReader |
createVertexReader(org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text> rr,
AdjacencyListTextVertexInputFormat.LineSanitizer lineSanitizer) |
void |
setUp() |
void |
testDifferentSeparators() |
void |
testEdgesMustHaveValues() |
void |
testHappyPath() |
void |
testIndexMustHaveValue() |
void |
testLineSanitizer() |
createVertexReadercheckInputSpecs, getSplitsreadInputSplit, writeInputSplitgetConf, setConfpublic TestTextDoubleDoubleAdjacencyListVertexInputFormat()
public void setUp()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionprotected TextVertexInputFormat.TextVertexReader createVertexReader(org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text> rr)
protected TextVertexInputFormat.TextVertexReader createVertexReader(org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text> rr, AdjacencyListTextVertexInputFormat.LineSanitizer lineSanitizer)
public void testIndexMustHaveValue()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testEdgesMustHaveValues()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.WritableComparable> void assertValidVertex(ImmutableClassesGiraphConfiguration<I,V,E> conf, Vertex<I,V,E> actual, I expectedId, V expectedValue, Edge<I,E>... edges) throws Exception
Exceptionpublic static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.WritableComparable> void assertValid(Vertex<I,V,E> expected, Vertex<I,V,E> actual)
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.