Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- defInitCassandra :: CassandraOpts -> Logger -> IO ClientState
- initCassandraForService :: CassandraOpts -> String -> Maybe Text -> Maybe Int32 -> Logger -> IO ClientState
- initCassandra :: Settings -> Maybe FilePath -> Logger -> IO ClientState
- newtype Writetime a = Writetime {}
- writetimeToInt64 :: Writetime a -> Int64
Documentation
defInitCassandra :: CassandraOpts -> Logger -> IO ClientState Source #
initCassandraForService :: CassandraOpts -> String -> Maybe Text -> Maybe Int32 -> Logger -> IO ClientState Source #
Create Cassandra ClientState
("connection") for a service
initCassandra :: Settings -> Maybe FilePath -> Logger -> IO ClientState Source #
Read cassandra's writetimes https://docs.datastax.com/en/dse/5.1/cql/cql/cql_using/useWritetime.html as UTCTime values without any loss of precision
writetimeToInt64 :: Writetime a -> Int64 Source #
This yields the same int as it is returned by WRITETIME()