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, nextVertex
aggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsage
getConf, setConf
protected 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
VertexReader
getCurrentVertex
in class VertexReader<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
IOException
InterruptedException
Copyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.