SparkseePython
6.0.2
|
Default implementation for ExportManager class. More...
Public Member Functions | |
def | prepare (self, graph) |
Default implementation of the ExportManager class method Prepare. More... | |
def | get_graph (self, graph_export) |
Default implementation of the ExportManager class method GetGraph. More... | |
def | release (self) |
Default implementation of the ExportManager class method Release. | |
def | __init__ (self) |
Creates a new instance. | |
def | get_node_type (self, type, node_export) |
Default implementation of the ExportManager class method GetNodeType. More... | |
def | enable_type (self, type) |
Default implementation of the ExportManager class method EnableType. More... | |
def | get_node (self, node, node_export) |
Default implementation of the ExportManager class method GetNode. More... | |
def | get_edge (self, edge, edge_export) |
Default implementation of the ExportManager class method GetEdge. More... | |
def | get_edge_type (self, type, edge_export) |
Default implementation of the ExportManager class method GetEdgeType. More... | |
Default implementation for ExportManager class.
It uses the default values from GraphExport, NodeExport and EdgeExport to export all node and edge types.
def sparksee.DefaultExport.enable_type | ( | self, | |
type | |||
) |
Default implementation of the ExportManager class method EnableType.
This enables all node and edge types to be exported.
type | [in] The type to enable. |
def sparksee.DefaultExport.get_edge | ( | self, | |
edge, | |||
edge_export | |||
) |
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.
edge | [in] An edge. |
edge_export | [out] The EdgeExport that will store the information. |
def sparksee.DefaultExport.get_edge_type | ( | self, | |
type, | |||
edge_export | |||
) |
Default implementation of the ExportManager class method GetEdgeType.
This sets de default EdgeExport values.
type | [in] An edge type. |
edge_export | [out] The EdgeExport that will store the information. |
def sparksee.DefaultExport.get_graph | ( | self, | |
graph_export | |||
) |
Default implementation of the ExportManager class method GetGraph.
This sets the default GraphExport values and "Graph" as the label.
graph_export | [out] The GraphExport that will store the information. |
def sparksee.DefaultExport.get_node | ( | self, | |
node, | |||
node_export | |||
) |
Default implementation of the ExportManager class method GetNode.
This sets the default NodeExport values and sets the OID as the label.
node | [in] A node. |
node_export | [out] The NodeExport that will store the information. |
def sparksee.DefaultExport.get_node_type | ( | self, | |
type, | |||
node_export | |||
) |
Default implementation of the ExportManager class method GetNodeType.
This sets de default NodeExport values.
type | [in] A node type. |
node_export | [out] The NodeExport that will store the information. |
def sparksee.DefaultExport.prepare | ( | self, | |
graph | |||
) |
Default implementation of the ExportManager class method Prepare.
graph | null |