sparksee.NodeTypeExporter Class Reference

NodeTypeExporter class. More...

Inheritance diagram for sparksee.NodeTypeExporter:

Inheritance graph
Collaboration diagram for sparksee.NodeTypeExporter:

Collaboration graph

List of all members.

Public Member Functions

def __init__
 Creates a new instance.
def set_row_writer
 Sets the output data destination.
def set_frequency
 Sets the frequency of listener notification.
def register
 Registers a new listener.
def run
 See the TypeExporter class Run method.
def set_graph
 Sets the graph that will be exported.
def set_header
 Sets the presence of a header row.
def set_type
 Sets the type to be exported.
def __init__
 Creates a new instance.
def set_attributes
 Sets the list of Attributes.


Detailed Description

NodeTypeExporter class.

Specific TypeExporter implementation for node types.

Check out the 'Data export' section in the SPARKSEE User Manual for more details on this.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

def sparksee.NodeTypeExporter.__init__ (   self,
  rowWriter,
  graph,
  type,
  attrs 
)

Creates a new instance.

Parameters:
rowWriter [in] Output RowWriter.
graph [in] Graph.
type [in] Type identifier.
attrs [in] Attribute identifiers to be exported.

def sparksee.NodeTypeExporter.set_row_writer (   self,
  rw 
)

Sets the output data destination.

Parameters:
rw [in] Input RowWriter.

Reimplemented from sparksee.TypeExporter.

def sparksee.NodeTypeExporter.set_frequency (   self,
  freq 
)

Sets the frequency of listener notification.

Parameters:
freq [in] Frequency in number of rows managed to notify progress to all listeners

Reimplemented from sparksee.TypeExporter.

def sparksee.NodeTypeExporter.register (   self,
  tel 
)

Registers a new listener.

Parameters:
tel [in] TypeExporterListener to be registered.

Reimplemented from sparksee.TypeExporter.

def sparksee.NodeTypeExporter.run (   self  ) 

See the TypeExporter class Run method.

Exceptions:
IOError null
RuntimeError null

Reimplemented from sparksee.TypeExporter.

def sparksee.NodeTypeExporter.set_graph (   self,
  graph 
)

Sets the graph that will be exported.

Parameters:
graph [in] Graph.

Reimplemented from sparksee.TypeExporter.

def sparksee.NodeTypeExporter.set_header (   self,
  header 
)

Sets the presence of a header row.

Parameters:
header [in] If TRUE, a header row is dumped with the name of the attributes.

Reimplemented from sparksee.TypeExporter.

def sparksee.NodeTypeExporter.set_type (   self,
  type 
)

Sets the type to be exported.

Parameters:
type [in] Type identifier.

Reimplemented from sparksee.TypeExporter.

def sparksee.NodeTypeExporter.set_attributes (   self,
  attrs 
)

Sets the list of Attributes.

Parameters:
attrs [in] Attribute identifiers to be exported

Reimplemented from sparksee.TypeExporter.


Generated on Fri Sep 12 13:39:42 2014 for SparkseePython by  doxygen 1.5.6