I - Vertex idV - Vertex valueE - Edge valueprotected abstract static class HCatalogVertexOutputFormat.SingleRowHCatalogVertexWriter<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends HCatalogVertexOutputFormat.HCatalogVertexWriter<I,V,E>
| Modifier | Constructor and Description |
|---|---|
protected |
SingleRowHCatalogVertexWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hcatalog.data.HCatRecord |
createRecord(Vertex<I,V,E> vertex)
create record
|
protected abstract void |
fillRecord(org.apache.hcatalog.data.HCatRecord record,
Vertex<I,V,E> vertex)
fill record
|
protected abstract int |
getNumColumns()
get num columns
|
void |
writeVertex(Vertex<I,V,E> vertex)
Writes the next vertex and associated data
|
close, getContext, getRecordWriter, initialize, initializegetConf, setConfprotected abstract int getNumColumns()
protected abstract void fillRecord(org.apache.hcatalog.data.HCatRecord record,
Vertex<I,V,E> vertex)
record - to fillvertex - to populate recordprotected org.apache.hcatalog.data.HCatRecord createRecord(Vertex<I,V,E> vertex)
vertex - to populate recordpublic final void writeVertex(Vertex<I,V,E> vertex) throws IOException, InterruptedException
SimpleVertexWritervertex - set the properties of this vertexIOExceptionInterruptedExceptionCopyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.