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, initialize
getConf, setConf
protected 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
SimpleVertexWriter
vertex
- set the properties of this vertexIOException
InterruptedException
Copyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.