edu.upc.dama.dex.io
Class EdgeTypeExporter
java.lang.Object
edu.upc.dama.dex.io.Exporter
edu.upc.dama.dex.io.EdgeTypeExporter
public class EdgeTypeExporter
- extends Exporter
Exporter implementation for edge types.
- See Also:
Exporter- Author:
- Sparsity Technologies
|
Constructor Summary |
EdgeTypeExporter(RowWriter rowWriter,
Graph graph,
int edgeType,
int tailPos,
long tailAttr,
int headPos,
long headAttr)
Creates a new instance of EdgeTypeExporter.
All atrributes are exported. |
EdgeTypeExporter(RowWriter rowWriter,
Graph graph,
int edgeType,
java.lang.Long[] exportAttr,
int tailPos,
long tailAttr,
int headPos,
long headAttr)
Creates a new instance of EdgeTypeExporter.
All atrributes are exported. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdgeTypeExporter
public EdgeTypeExporter(RowWriter rowWriter,
Graph graph,
int edgeType,
int tailPos,
long tailAttr,
int headPos,
long headAttr)
- Creates a new instance of
EdgeTypeExporter.
All atrributes are exported.
- Parameters:
rowWriter - RowWriter to write data.graph - Graph that nodes are exported.tailPos - Position to be written the tail id on the RowWriter.tailAttr - Attribute identifier in the Graph of the tail node type.headPos - Position to be written the head id on the RowWriter.headAttr - Attribute identifier in the Graph of the tail head type.
EdgeTypeExporter
public EdgeTypeExporter(RowWriter rowWriter,
Graph graph,
int edgeType,
java.lang.Long[] exportAttr,
int tailPos,
long tailAttr,
int headPos,
long headAttr)
- Creates a new instance of
EdgeTypeExporter.
All atrributes are exported.
- Parameters:
rowWriter - RowWriter to write data.graph - Graph that nodes are exported.edgeType - Edge type to be exported.exportAttr - Attributes id of the edgeType to be
exported.tailPos - Position to be written the tail id on the RowWriter.tailAttr - Attribute identifier in the Graph of the tail node type.headPos - Position to be written the head id on the RowWriter.headAttr - Attribute identifier in the Graph of the tail head type.