| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.Cayley.Types
Synopsis
- data APIVersion = V1
- data QueryLang
- data CayleyConfig = CayleyConfig {}
- defaultCayleyConfig :: CayleyConfig
- newtype CayleyConnection = CayleyConnection (CayleyConfig, 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 }
newtype CayleyConnection Source #
Constructors
| CayleyConnection (CayleyConfig, Manager) |
Constructors
| Quad | |
Instances
| Eq Quad Source # | Two quads are equals when subject, predicate, object and label are equals. |
| Show Quad Source # | |
| Generic Quad Source # | |
| ToJSON Quad Source # | |
Defined in Database.Cayley.Types | |
| FromJSON Quad Source # | |
| Binary Quad Source # | |
| type Rep Quad Source # | |
Defined in Database.Cayley.Types type Rep Quad = D1 (MetaData "Quad" "Database.Cayley.Types" "cayley-client-0.4.13-DcSMl8tRcxAC3oiEgYnxry" False) (C1 (MetaCons "Quad" PrefixI True) ((S1 (MetaSel (Just "subject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "predicate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "object") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "label") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) | |
Constructors
| Node | |
Constructors
| Link | |