net-spider-0.1.0.0: A graph database middleware to maintain a time-varying graph.

MaintainerToshio Ito <debug.ito@gmail.com>
Safe HaskellNone
LanguageHaskell2010

NetSpider.Spider.Config

Description

 
Synopsis

Documentation

data Spider n na fla Source #

An IO agent of the NetSpider database.

  • Type n: node ID. Note that type of node ID has nothing to do with type of vertex ID used by Gremlin implementation. Node ID (in net-spider) is stored as a vertex property. See nodeIdKey config field.
  • Type na: node attributes. It should implement NodeAttributes class. You can set this to () if you don't need node attributes.
  • Type fla: attributes of found links. It should implement LinkAttributes class. You can set this to () if you don't need link attributes.

Constructors

Spider 

Fields

data Config n na fla Source #

Configuration to create a Spider object.

Constructors

Config 

Fields

  • wsHost :: Host

    Host of WebSocket endpoint of Tinkerpop Gremlin Server. Default: "localhost".

  • wsPort :: Port

    Port of WebSocket endpoint of Tinkerpop Gremlin Server. Default: 8182

  • nodeIdKey :: Key VNode n

    Name of vertex property that stores the node ID. Default: "@node_id".

defConfig :: Config n na fla Source #

type Host = String #

Host name or an IP address.

type Port = Int #

TCP port number.