EdgeTypeExporter class.
More...
#include <EdgeTypeExporter.h>
|
|
| EdgeTypeExporter () |
| | Creates a new instance.
|
| | EdgeTypeExporter (RowWriter &rowWriter, sparksee::gdb::Graph &graph, sparksee::gdb::type_t type, sparksee::gdb::AttributeList &attrs, sparksee::gdb::int32_t hPos, sparksee::gdb::int32_t tPos, sparksee::gdb::attr_t hAttr, sparksee::gdb::attr_t tAttr) |
| | Creates a new instance.
|
|
virtual | ~EdgeTypeExporter () |
| | Destructor.
|
| void | Run () throw (sparksee::gdb::IOException, sparksee::gdb::WrongArgumentError, sparksee::gdb::Error) |
| | See the TypeExporter class Run method.
|
| void | SetHeadAttribute (sparksee::gdb::attr_t attr) |
| | Sets the attribute that will be used to get the value to be dumped for the head of the edge.
|
| void | SetHeadPosition (sparksee::gdb::int32_t pos) |
| | Sets the position (index column) of the head attribute in the exported data.
|
| void | SetTailAttribute (sparksee::gdb::attr_t attr) |
| | Sets the attribute that will be used to get the value to be dumped for the tail of the edge.
|
| void | SetTailPosition (sparksee::gdb::int32_t pos) |
| | Sets the position (index column) of the tail attribute in the exported data.
|
| void | Register (TypeExporterListener &tel) |
| | Registers a new listener.
|
| void | SetRowWriter (RowWriter &rw) |
| | Sets the output data destination.
|
| void | SetGraph (sparksee::gdb::Graph &graph) |
| | Sets the graph that will be exported.
|
| void | SetType (sparksee::gdb::type_t type) |
| | Sets the type to be exported.
|
| void | SetAttributes (sparksee::gdb::AttributeList &attrs) |
| | Sets the list of Attributes.
|
| void | SetFrequency (sparksee::gdb::int32_t freq) |
| | Sets the frequency of listener notification.
|
| void | SetHeader (sparksee::gdb::bool_t header) |
| | Sets the presence of a header row.
|
|
| sparksee::gdb::bool_t | CanRun () |
| | Checks that all the required settings are ready to run.
|
| void | NotifyListeners (const TypeExporterEvent &ev) |
| | Notifies progress to all registered listeners.
|
| void | RunProcess () throw (sparksee::gdb::IOException, sparksee::gdb::WrongArgumentError, sparksee::gdb::Error) |
| | Runs export process.
|
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
◆ EdgeTypeExporter()
| EdgeTypeExporter::EdgeTypeExporter |
( |
RowWriter & | rowWriter, |
|
|
sparksee::gdb::Graph & | graph, |
|
|
sparksee::gdb::type_t | type, |
|
|
sparksee::gdb::AttributeList & | attrs, |
|
|
sparksee::gdb::int32_t | hPos, |
|
|
sparksee::gdb::int32_t | tPos, |
|
|
sparksee::gdb::attr_t | hAttr, |
|
|
sparksee::gdb::attr_t | tAttr ) |
|
inline |
◆ CanRun()
| sparksee::gdb::bool_t TypeExporter::CanRun |
( |
| ) |
|
|
protectedinherited |
Checks that all the required settings are ready to run.
- Returns
- Returns true if all the settings are ready.
◆ NotifyListeners()
Notifies progress to all registered listeners.
- Parameters
-
| ev | [in] Progress event to be notified. |
◆ Register()
◆ Run()
| void EdgeTypeExporter::Run |
( |
| ) |
|
| throw | ( | sparksee::gdb::IOException, |
| | sparksee::gdb::WrongArgumentError, |
| | sparksee::gdb::Error ) | | | |
|
inlinevirtual |
◆ RunProcess()
| void TypeExporter::RunProcess |
( |
| ) |
|
| throw | ( | sparksee::gdb::IOException, |
| | sparksee::gdb::WrongArgumentError, |
| | sparksee::gdb::Error ) | | | |
|
protectedinherited |
Runs export process.
- Exceptions
-
◆ SetAttributes()
| void TypeExporter::SetAttributes |
( |
sparksee::gdb::AttributeList & | attrs | ) |
|
|
inherited |
◆ SetFrequency()
| void TypeExporter::SetFrequency |
( |
sparksee::gdb::int32_t | freq | ) |
|
|
inherited |
Sets the frequency of listener notification.
- Parameters
-
| freq | [in] Frequency in number of rows managed to notify progress to all listeners |
References SetFrequency().
Referenced by SetFrequency().
◆ SetGraph()
| void TypeExporter::SetGraph |
( |
sparksee::gdb::Graph & | graph | ) |
|
|
inherited |
◆ SetHeadAttribute()
| void EdgeTypeExporter::SetHeadAttribute |
( |
sparksee::gdb::attr_t | attr | ) |
|
|
inline |
◆ SetHeader()
| void TypeExporter::SetHeader |
( |
sparksee::gdb::bool_t | header | ) |
|
|
inherited |
◆ SetHeadPosition()
| void EdgeTypeExporter::SetHeadPosition |
( |
sparksee::gdb::int32_t | pos | ) |
|
|
inline |
◆ SetRowWriter()
| void TypeExporter::SetRowWriter |
( |
RowWriter & | rw | ) |
|
|
inherited |
◆ SetTailAttribute()
| void EdgeTypeExporter::SetTailAttribute |
( |
sparksee::gdb::attr_t | attr | ) |
|
|
inline |
◆ SetTailPosition()
| void EdgeTypeExporter::SetTailPosition |
( |
sparksee::gdb::int32_t | pos | ) |
|
|
inline |
◆ SetType()
| void TypeExporter::SetType |
( |
sparksee::gdb::type_t | type | ) |
|
|
inherited |
Sets the type to be exported.
- Parameters
-
| type | [in] Type identifier. |
References SetType().
Referenced by SetType().
The documentation for this class was generated from the following file: