SparkseeNet  5.0.0
Public Member Functions | List of all members Class Reference

Base TypeExporter class. More...

Inheritance diagram for
Inheritance graph

Public Member Functions

void SetRowWriter ( rw)
 Sets the output data destination. More...
void SetFrequency (int freq)
 Sets the frequency of listener notification. More...
void Run () throws System.IO.IOException, System.ApplicationException
 Runs export process. More...
void Register ( tel)
 Registers a new listener. More...
void SetType (int t)
 Sets the type to be exported. More...
void SetHeader (bool header)
 Sets the presence of a header row. More...
void SetGraph (com.sparsity.sparksee.gdb.Graph g)
 Sets the graph that will be exported. More...
void SetAttributes (com.sparsity.sparksee.gdb.AttributeList attrs)
 Sets the list of Attributes. More...

Detailed Description

Base TypeExporter class.

Base class to export a node or edge type from a graph using a RowWriter.

TypeExporterListener can be registered to receive information about the progress of the export process by means of TypeExporterEvent. The default frequency of notification to listeners is 100000.

By default no header row is created.

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

Sparsity Technologies

Member Function Documentation

void (  tel)

Registers a new listener.

tel[in] TypeExporterListener to be registered.
void ( ) throws System.IO.IOException, System.ApplicationException

Runs export process.

System.IO.IOExceptionIf bad things happen writing to the RowWriter.
void ( com.sparsity.sparksee.gdb.AttributeList  attrs)

Sets the list of Attributes.

attrs[in] Attribute identifiers to be exported
void ( int  freq)

Sets the frequency of listener notification.

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

void ( com.sparsity.sparksee.gdb.Graph  g)

Sets the graph that will be exported.

g[in] Graph.
void ( bool  header)

Sets the presence of a header row.

header[in] If TRUE, a header row is dumped with the name of the attributes.
void (  rw)

Sets the output data destination.

rr[in] Input RowWriter.

void ( int  t)

Sets the type to be exported.

t[in] Type identifier.