protected abstract class HCatalogVertexValueInputFormat.SingleRowHCatalogVertexValueReader extends HCatalogVertexValueInputFormat.HCatalogVertexValueReader
HCatalogVertexValueInputFormat.HCatalogVertexValueReader for tables holding a complete vertex
value in each row.| Modifier | Constructor and Description |
|---|---|
protected |
SingleRowHCatalogVertexValueReader() |
| Modifier and Type | Method and Description |
|---|---|
I |
getCurrentVertexId()
User-defined method to extract the vertex id.
|
V |
getCurrentVertexValue()
User-defined method to extract the vertex value.
|
protected abstract I |
getVertexId(org.apache.hcatalog.data.HCatRecord record)
Get vertex id from a record.
|
protected abstract V |
getVertexValue(org.apache.hcatalog.data.HCatRecord record)
Get vertex value from a record.
|
close, getContext, getProgress, getRecordReader, initialize, nextVertexgetCurrentVertexaggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsagegetConf, setConfprotected SingleRowHCatalogVertexValueReader()
protected abstract I getVertexId(org.apache.hcatalog.data.HCatRecord record)
record - Input recordprotected abstract V getVertexValue(org.apache.hcatalog.data.HCatRecord record)
record - Input recordpublic final I getCurrentVertexId() throws IOException, InterruptedException
BasicVertexValueReadergetCurrentVertexId in class BasicVertexValueReader<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>IOExceptionInterruptedExceptionpublic final V getCurrentVertexValue() throws IOException, InterruptedException
BasicVertexValueReadergetCurrentVertexValue in class BasicVertexValueReader<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>IOExceptionInterruptedExceptionCopyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.