Configuration File Generated by the Export Utility

The configuration file is in the same format as an initialization configuration file, with the following exceptions:

  • The [initdb] section is not included,
  • A new section labeled [import] is included, which consists of name/value pairs list – the name is an exported nodetype name, and the value consists of following three fields:
    • @attrs: The list of node type attributes, listed in the same order as they appear in the CSV files
    • @edgeattrs: The list of edge type attributes, listed in the same order as they appear in the CSV files
    • @files: The list of files generated for the given nodetype
  • Nodetypes and edgetypes include the @importid field, which is a type ID used to map edgetypes in the configuration file to edgetypes in the generated edge files. This field is used only during import operation
  • The config file does not include the [users] section

Following is an example of configuration file generated by export:

[attrtypes]
yearBorn = @type:int
yearDied = @type:int
reignStart = @type:date
crownTitle = @type:string
relType = @type:string
crownName = @type:string
memberName = @type:string
houseHead = @type:boolean
reignEnd = @type:date

[nodetypes]
houseMemberType = @attrs:crownTitle,houseHead,reignEnd,yearBorn,crownName,yearDied,reignStart,memberName @pkey:memberName @importid:9226

[edgetypes]
houseMemberTypeEdge = @direction:Bidirected @attrs:relType @importid:1041

[indices]

[import]
houseMemberType = @attrs:yearBorn,memberName,houseHead,yearDied,crownTitle,crownName,reignEnd,reignStart @edgeattrs:relType @files:houseMemberType.csv,houseMemberType$edges.csv