Sparksee  6.0.2
STSEdgeTypeExporter Class Reference

EdgeTypeExporter class. More...

Inheritance diagram for STSEdgeTypeExporter:
Inheritance graph
Collaboration diagram for STSEdgeTypeExporter:
Collaboration graph

Instance Methods

(id) - init
 Creates a new instance.
 
(id) - initWithRowWriter:graph:type:attrs:hPos:tPos:hAttr:tAttr:
 Creates a new instance. More...
 
(void) - run
 See the TypeExporter class Run method. More...
 
(void) - setHeadAttribute:
 Sets the attribute that will be used to get the value to be dumped for the head of the edge. More...
 
(void) - setHeadPosition:
 Sets the position (index column) of the head attribute in the exported data. More...
 
(void) - setTailAttribute:
 Sets the attribute that will be used to get the value to be dumped for the tail of the edge. More...
 
(void) - setTailPosition:
 Sets the position (index column) of the tail attribute in the exported data. More...
 
(void) - registerListener:
 Registers a new listener. More...
 
(void) - setRowWriter:
 Sets the output data destination. More...
 
(void) - setGraph:
 Sets the graph that will be exported. More...
 
(void) - setType:
 Sets the type to be exported. More...
 
(void) - setAttributes:
 Sets the list of Attributes. More...
 
(void) - setFrequency:
 Sets the frequency of listener notification. More...
 
(void) - setHeader:
 Sets the presence of a header row. More...
 

Detailed Description

EdgeTypeExporter class.

Specific TypeExporter implementation for edge 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

Method Documentation

- (id) initWithRowWriter: (STSRowWriter *)  rowWriter
graph: (STSGraph *)  graph
type: (int)  type
attrs: (STSAttributeList *)  attrs
hPos: (int)  hPos
tPos: (int)  tPos
hAttr: (int)  hAttr
tAttr: (int)  tAttr 

Creates a new instance.

Parameters
rowWriter[in] Output RowWriter.
graph[in] Graph.
type[in] Type identifier.
attrs[in] Attribute identifiers to be exported.
hPos[in] The position (index column) for the head value.
tPos[in] The position (index column) for the tail value.
hAttr[in] The attribute identifier to get the value to be dumped for the head.
tAttr[in] The attribute identifier to get the value to be dumped for the tail.
- (void) registerListener: (STSTypeExporterListener *)  tel

Registers a new listener.

Parameters
tel[in] TypeExporterListener to be registered.
- (void) run

See the TypeExporter class Run method.

Exceptions
System.ApplicationExceptionnull
System.IO.IOExceptionnull

Implements STSTypeExporter.

- (void) setAttributes: (STSAttributeList *)  attrs

Sets the list of Attributes.

Parameters
attrs[in] Attribute identifiers to be exported
- (void) setFrequency: (int)  freq

Sets the frequency of listener notification.

Parameters
freq[in] Frequency in number of rows managed to notify progress to all listeners
- (void) setGraph: (STSGraph *)  graph

Sets the graph that will be exported.

Parameters
graph[in] Graph.
- (void) setHeadAttribute: (int)  attr

Sets the attribute that will be used to get the value to be dumped for the head of the edge.

Parameters
attr[in] Head Attribute
- (void) setHeader: (BOOL)  header

Sets the presence of a header row.

Parameters
header[in] If TRUE, a header row is dumped with the name of the attributes.
- (void) setHeadPosition: (int)  pos

Sets the position (index column) of the head attribute in the exported data.

Parameters
pos[in] Head position
- (void) setRowWriter: (STSRowWriter *)  rw

Sets the output data destination.

Parameters
rw[in] Input RowWriter.
- (void) setTailAttribute: (int)  attr

Sets the attribute that will be used to get the value to be dumped for the tail of the edge.

Parameters
attr[in] Tail Attribute
- (void) setTailPosition: (int)  pos

Sets the position (index column) of the tail attribute in the exported data.

Parameters
pos[in] Tail position
- (void) setType: (int)  type

Sets the type to be exported.

Parameters
type[in] Type identifier.

The documentation for this class was generated from the following file: