protected abstract class HCatalogVertexInputFormat.SingleRowHCatalogVertexReader extends HCatalogVertexInputFormat.HCatalogVertexReader
| Modifier | Constructor and Description |
|---|---|
protected |
SingleRowHCatalogVertexReader() |
| Modifier and Type | Method and Description |
|---|---|
Vertex<I,V,E> |
getCurrentVertex()
Get the current vertex.
|
protected abstract Iterable<Edge<I,E>> |
getEdges(org.apache.hcatalog.data.HCatRecord record)
get edges.
|
protected abstract I |
getVertexId(org.apache.hcatalog.data.HCatRecord record)
get vertex id.
|
protected abstract V |
getVertexValue(org.apache.hcatalog.data.HCatRecord record)
get vertex value.
|
close, getContext, getProgress, getRecordReader, initialize, nextVertexaggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsagegetConf, setConfprotected abstract I getVertexId(org.apache.hcatalog.data.HCatRecord record)
record - hcat recordprotected abstract V getVertexValue(org.apache.hcatalog.data.HCatRecord record)
record - hcat recordprotected abstract Iterable<Edge<I,E>> getEdges(org.apache.hcatalog.data.HCatRecord record)
record - hcat recordpublic final Vertex<I,V,E> getCurrentVertex() throws IOException, InterruptedException
VertexReadergetCurrentVertex in class VertexReader<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>IOExceptionInterruptedExceptionCopyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.