Maintainer | Toshio Ito <debug.ito@gmail.com> |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- class NodeAttributes ps where
- writeNodeAttributes :: ps -> Binder (Walk SideEffect (VFoundNode ps) (VFoundNode ps))
- parseNodeAttributes :: PropertyMapList AVertexProperty GValue -> Parser ps
- class LinkAttributes ps where
- writeLinkAttributes :: ps -> Binder (Walk SideEffect (EFinds ps) (EFinds ps))
- parseLinkAttributes :: PropertyMapSingle AProperty GValue -> Parser ps
- data EID
- data VNode
- data VFoundNode na
- data EFinds la
Attributes classes
class NodeAttributes ps where Source #
Class of user-defined types for node attributes. Its content is stored in the NetSpider database.
writeNodeAttributes :: ps -> Binder (Walk SideEffect (VFoundNode ps) (VFoundNode ps)) Source #
Return Walk
to write the attributes to the VFoundNode
.
parseNodeAttributes :: PropertyMapList AVertexProperty GValue -> Parser ps Source #
Parse the vertex proprerties into the attributes.
Instances
NodeAttributes () Source # | No attributes. |
Defined in NetSpider.Graph.Internal writeNodeAttributes :: () -> Binder (Walk SideEffect (VFoundNode ()) (VFoundNode ())) Source # parseNodeAttributes :: PropertyMapList AVertexProperty GValue -> Parser () Source # |
class LinkAttributes ps where Source #
Class of user-defined types for link attributes. Its content is stored in the NetSpider database.
writeLinkAttributes :: ps -> Binder (Walk SideEffect (EFinds ps) (EFinds ps)) Source #
parseLinkAttributes :: PropertyMapSingle AProperty GValue -> Parser ps Source #
Parse the edge proprerties into the attributes.
Instances
LinkAttributes () Source # | No attributes. |
Defined in NetSpider.Graph.Internal writeLinkAttributes :: () -> Binder (Walk SideEffect (EFinds ()) (EFinds ())) Source # parseLinkAttributes :: PropertyMapSingle AProperty GValue -> Parser () Source # |
Graph element types
Generic element ID used in the graph DB.
The "node" vertex.
Instances
Element VNode Source # | |
Defined in NetSpider.Graph.Internal | |
Vertex VNode Source # | |
Defined in NetSpider.Graph.Internal | |
type ElementProperty VNode Source # | |
Defined in NetSpider.Graph.Internal | |
type ElementID VNode Source # | |
Defined in NetSpider.Graph.Internal |
data VFoundNode na Source #
The "found_node" vertex.
Instances
Show na => Show (VFoundNode na) Source # | |
Defined in NetSpider.Graph.Internal showsPrec :: Int -> VFoundNode na -> ShowS # show :: VFoundNode na -> String # showList :: [VFoundNode na] -> ShowS # | |
NodeAttributes na => FromGraphSON (VFoundNode na) Source # | |
Defined in NetSpider.Graph.Internal parseGraphSON :: GValue -> Parser (VFoundNode na) # | |
Element (VFoundNode na) Source # | |
Defined in NetSpider.Graph.Internal type ElementID (VFoundNode na) :: Type # type ElementProperty (VFoundNode na) :: Type -> Type # | |
Vertex (VFoundNode na) Source # | |
Defined in NetSpider.Graph.Internal | |
type ElementProperty (VFoundNode na) Source # | |
Defined in NetSpider.Graph.Internal | |
type ElementID (VFoundNode na) Source # | |
Defined in NetSpider.Graph.Internal |
"finds" edge.
Instances
Show la => Show (EFinds la) Source # | |
LinkAttributes la => FromGraphSON (EFinds la) Source # | |
Defined in NetSpider.Graph.Internal parseGraphSON :: GValue -> Parser (EFinds la) # | |
Element (EFinds la) Source # | |
Defined in NetSpider.Graph.Internal | |
Edge (EFinds la) Source # | |
Defined in NetSpider.Graph.Internal type EdgeVertexID (EFinds la) :: Type # | |
type ElementProperty (EFinds la) Source # | |
Defined in NetSpider.Graph.Internal | |
type ElementID (EFinds la) Source # | |
Defined in NetSpider.Graph.Internal | |
type EdgeVertexID (EFinds la) Source # | |
Defined in NetSpider.Graph.Internal |