classy-influxdb-simple-0.2.0.0: Super simple InfluxDB package in Classy-MTL style

Safe HaskellNone
LanguageHaskell2010

Database.InfluxDB.Simple.Classy.Types

Synopsis

Documentation

data InfluxRqType Source #

Used to differentiate what action we were trying to perform on the InfluxDB when an error occurred.

Constructors

Write 
Query 
QueryCSV 

class ToLine a where Source #

Create an input line to be inserted into the InfluxDB. This is super loose right now and provides no protection. If you do not comply with the specifications for the InfluxDB LineProtocol then you're going to get errors. Work in progress to make this a bit nicer and more helpful so the compiler can prevent you from messing it up. :)

Minimal complete definition

toLine

Methods

toLine :: a -> ByteString Source #

Instances

ToLine a => ToLine [a] Source # 

Methods

toLine :: [a] -> ByteString Source #

ToLine a => ToLine (Vector a) Source # 

class IsDb a where Source #

Minimal complete definition

toDbName

Methods

toDbName :: a -> Text Source #

class AsPrecision r where Source #