| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.Cayley.Types
Synopsis
- data APIVersion = V1
- data QueryLang
- data CayleyConfig = CayleyConfig {
- serverPort :: !Int
- serverName :: !String
- apiVersion :: !APIVersion
- queryLang :: !QueryLang
- defaultCayleyConfig :: CayleyConfig
- data CayleyConnection = CayleyConnection {
- cayleyConfig :: !CayleyConfig
- manager :: !Manager
- data Quad = Quad {}
- data Shape = Shape {}
- parseNode :: Value -> Parser Node
- parseLink :: Value -> Parser Link
- data Node = Node {}
- data Link = Link {}
- type Query = Text
- type Subject = Text
- type Predicate = Text
- type Object = Text
- type Label = Text
- type Tag = Text
- type Value = Text
Documentation
data APIVersion Source #
Constructors
| V1 |
Instances
| Show APIVersion Source # | |
Defined in Database.Cayley.Types Methods showsPrec :: Int -> APIVersion -> ShowS # show :: APIVersion -> String # showList :: [APIVersion] -> ShowS # | |
data CayleyConfig Source #
Constructors
| CayleyConfig | |
Fields
| |
Instances
| Show CayleyConfig Source # | |
Defined in Database.Cayley.Types Methods showsPrec :: Int -> CayleyConfig -> ShowS # show :: CayleyConfig -> String # showList :: [CayleyConfig] -> ShowS # | |
defaultCayleyConfig :: CayleyConfig Source #
CayleyConfig { serverPort = 64210 , serverName = "localhost" , apiVersion = V1 , queryLang = Gremlin }
data CayleyConnection Source #
Constructors
| CayleyConnection | |
Fields
| |
Constructors
| Quad | |
Instances
Constructors
| Node | |
Constructors
| Link | |