Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #
Instances
Show APIVersion Source # | |
Defined in Database.Cayley.Types showsPrec :: Int -> APIVersion -> ShowS # show :: APIVersion -> String # showList :: [APIVersion] -> ShowS # |
data CayleyConfig Source #
CayleyConfig | |
|
Instances
Show CayleyConfig Source # | |
Defined in Database.Cayley.Types showsPrec :: Int -> CayleyConfig -> ShowS # show :: CayleyConfig -> String # showList :: [CayleyConfig] -> ShowS # |
defaultCayleyConfig :: CayleyConfig Source #
CayleyConfig { serverPort = 64210 , serverName = "localhost" , apiVersion = V1 , queryLang = Gremlin }
Instances
FromJSON Quad Source # | |
Defined in Database.Cayley.Types | |
ToJSON Quad Source # | |
Generic Quad Source # | |
Show Quad Source # | |
Binary Quad Source # | |
Eq Quad Source # | Two quads are equals when subject, predicate, object and label are equals. |
type Rep Quad Source # | |
Defined in Database.Cayley.Types type Rep Quad = D1 ('MetaData "Quad" "Database.Cayley.Types" "cayley-client-0.4.19.3-DEELHK4hWB6K79WI6a0ukH" '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))))) |