SparkseeNet  6.0.2
Public Member Functions | List of all members
com.sparsity.sparksee.gdb.DefaultExport Class Reference

Default implementation for ExportManager class. More...

Inheritance diagram for com.sparsity.sparksee.gdb.DefaultExport:
Inheritance graph
Collaboration diagram for com.sparsity.sparksee.gdb.DefaultExport:
Collaboration graph

Public Member Functions

bool EnableType (int type)
 Default implementation of the ExportManager class method EnableType.
 
bool GetEdge (long edge, com.sparsity.sparksee.gdb.EdgeExport edgeExport)
 Default implementation of the ExportManager class method GetEdge.
 
bool GetGraph (com.sparsity.sparksee.gdb.GraphExport graphExport)
 Default implementation of the ExportManager class method GetGraph.
 
bool GetEdgeType (int type, com.sparsity.sparksee.gdb.EdgeExport edgeExport)
 Default implementation of the ExportManager class method GetEdgeType.
 
bool GetNodeType (int type, com.sparsity.sparksee.gdb.NodeExport nodeExport)
 Default implementation of the ExportManager class method GetNodeType.
 
void Release ()
 Default implementation of the ExportManager class method Release.
 
bool GetNode (long node, com.sparsity.sparksee.gdb.NodeExport nodeExport)
 Default implementation of the ExportManager class method GetNode.
 
void Prepare (com.sparsity.sparksee.gdb.Graph graph)
 Default implementation of the ExportManager class method Prepare.
 
 DefaultExport ()
 Creates a new instance.
 

Detailed Description

Default implementation for ExportManager class.

It uses the default values from GraphExport, NodeExport and EdgeExport to export all node and edge types.

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

Member Function Documentation

bool com.sparsity.sparksee.gdb.DefaultExport.EnableType ( int  type)

Default implementation of the ExportManager class method EnableType.

This enables all node and edge types to be exported.

Parameters
type[in] The type to enable.
Returns
TRUE.
bool com.sparsity.sparksee.gdb.DefaultExport.GetEdge ( long  edge,
com.sparsity.sparksee.gdb.EdgeExport  edgeExport 
)

Default implementation of the ExportManager class method GetEdge.

This sets the default EdgeExport values and sets the OID as the label. Also, it exports the edge as directed just if the edge is directed.

Parameters
edge[in] An edge.
edgeExport[out] The EdgeExport that will store the information.
Returns
TRUE.
bool com.sparsity.sparksee.gdb.DefaultExport.GetEdgeType ( int  type,
com.sparsity.sparksee.gdb.EdgeExport  edgeExport 
)

Default implementation of the ExportManager class method GetEdgeType.

This sets de default EdgeExport values.

Parameters
type[in] An edge type.
edgeExport[out] The EdgeExport that will store the information.
Returns
TRUE.
bool com.sparsity.sparksee.gdb.DefaultExport.GetGraph ( com.sparsity.sparksee.gdb.GraphExport  graphExport)

Default implementation of the ExportManager class method GetGraph.

This sets the default GraphExport values and "Graph" as the label.

Parameters
graphExport[out] The GraphExport that will store the information.
Returns
TRUE.
bool com.sparsity.sparksee.gdb.DefaultExport.GetNode ( long  node,
com.sparsity.sparksee.gdb.NodeExport  nodeExport 
)

Default implementation of the ExportManager class method GetNode.

This sets the default NodeExport values and sets the OID as the label.

Parameters
node[in] A node.
nodeExport[out] The NodeExport that will store the information.
Returns
TRUE.
bool com.sparsity.sparksee.gdb.DefaultExport.GetNodeType ( int  type,
com.sparsity.sparksee.gdb.NodeExport  nodeExport 
)

Default implementation of the ExportManager class method GetNodeType.

This sets de default NodeExport values.

Parameters
type[in] A node type.
nodeExport[out] The NodeExport that will store the information.
Returns
TRUE.
void com.sparsity.sparksee.gdb.DefaultExport.Prepare ( com.sparsity.sparksee.gdb.Graph  graph)

Default implementation of the ExportManager class method Prepare.

Parameters
graphnull