I - Vertex idV - Vertex valueE - Edge valuepublic abstract static class HCatalogVertexOutputFormat.MultiRowHCatalogVertexWriter<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>
| Constructor and Description |
|---|
MultiRowHCatalogVertexWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Iterable<org.apache.hcatalog.data.HCatRecord> |
createRecords(Vertex<I,V,E> vertex)
create records
|
void |
writeVertex(Vertex<I,V,E> vertex)
Writes the next vertex and associated data
|
close, getContext, getRecordWriter, initialize, initializegetConf, setConfprotected abstract Iterable<org.apache.hcatalog.data.HCatRecord> createRecords(Vertex<I,V,E> vertex)
vertex - to populate recordspublic 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.