The Working of Export Data Utility

The export command can be used in two ways to export the data from database:

  • Export the entire database.
  • Export nodetypes with a number of degrees of separation.

While exporting nodetype with a number of degree of separation, if a nodetype A is exported with n degrees of separation, then all nodetypes that are connected to a node of type A by a path of n or less edges are also exported.

For example, to export nodetype A with 1 degree of separation that is export selective(A)degree=1, following edges and nodes are exported:

Exporting nodetypes with a number of degrees of separation
  • Node A1 is exported since it is of type A
  • Node B1 of type B and node C1 of type C are also exported, since they are at 1 degree of separation from node A1
  • The edges connecting the nodes A1 to B1 and A1 to C1 are also exported, since they are directly connecting to the node A1
  • Node C2 of type C and node D1 of type D are not exported, since they are at 2 degree of separation from the node A1
  • Edges connecting the nodes B1 to C2 and B1 to D1 are not exported since they are also at 2 degree of separation from the node A1