Sparksee
6.0.2
|
Base TypeExporter class. More...
Instance Methods | |
(void) | - registerListener: |
Registers a new listener. More... | |
(void) | - run |
Runs export process. 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... | |
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.
- (void) registerListener: | (STSTypeExporterListener *) | tel |
Registers a new listener.
tel | [in] TypeExporterListener to be registered. |
- (void) run |
Runs export process.
System.ApplicationException | null |
System.IO.IOException | If bad things happen writing to the RowWriter. |
Implemented in STSNodeTypeExporter, and STSEdgeTypeExporter.
- (void) setAttributes: | (STSAttributeList *) | attrs |
Sets the list of Attributes.
attrs | [in] Attribute identifiers to be exported |
- (void) setFrequency: | (int) | freq |
Sets the frequency of listener notification.
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.
graph | [in] Graph. |
- (void) setHeader: | (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) setRowWriter: | (STSRowWriter *) | rw |
Sets the output data destination.
rw | [in] Input RowWriter. |
- (void) setType: | (int) | type |
Sets the type to be exported.
type | [in] Type identifier. |