edu.upc.dama.dex.io
Class NodeTypeExporter

java.lang.Object
  extended by edu.upc.dama.dex.io.Exporter
      extended by edu.upc.dama.dex.io.NodeTypeExporter

public class NodeTypeExporter
extends Exporter

Exporter implementation for node types.

See Also:
Exporter
Author:
Sparsity Technologies

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.upc.dama.dex.io.Exporter
Exporter.ExporterEvent
 
Field Summary
 
Fields inherited from class edu.upc.dama.dex.io.Exporter
headAttr, headPos, tailAttr, tailPos
 
Constructor Summary
NodeTypeExporter(RowWriter rowWriter, Graph graph, int nodeType)
          Creates a new instance of NodeTypeExporter.
All atrributes are exported.
NodeTypeExporter(RowWriter rowWriter, Graph graph, int nodeType, java.lang.Long[] exportAttr)
          Creates a new instance of NodeTypeExporter.
 
Method Summary
 
Methods inherited from class edu.upc.dama.dex.io.Exporter
getFrequency, getNamesOnTop, registerUnloaderListener, run, setFrequency, setNamesOnTop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypeExporter

public NodeTypeExporter(RowWriter rowWriter,
                        Graph graph,
                        int nodeType)
Creates a new instance of NodeTypeExporter.
All atrributes are exported.

Parameters:
rowWriter - RowWriter to write data.
graph - Graph that nodes are exported.
nodeType - Node type to be exported.

NodeTypeExporter

public NodeTypeExporter(RowWriter rowWriter,
                        Graph graph,
                        int nodeType,
                        java.lang.Long[] exportAttr)
Creates a new instance of NodeTypeExporter.

Parameters:
rowWriter - RowWriter to write data.
graph - Graph that nodes are exported.
nodeType - Node type to be exported.
exportAttr - Attributes id of the nodeType to be exported.