| Safe Haskell | None |
|---|
Network.TableStorage.Types
Description
Data types used to construct the various web method requests.
- newtype AccountKey = AccountKey {}
- newtype Signature = Signature {}
- newtype AuthHeader = AuthHeader {}
- data Account = Account {}
- data SharedKeyAuth = SharedKeyAuth {}
- data EntityKey = EntityKey {}
- data EntityColumn
- data Entity = Entity {
- entityKey :: EntityKey
- entityColumns :: [(String, EntityColumn)]
- data EntityQuery = EntityQuery {}
- data ComparisonType
- = Equal
- | GreaterThan
- | GreaterThanOrEqual
- | LessThan
- | LessThanOrEqual
- | NotEqual
- data EntityFilter
- = And [EntityFilter]
- | Or [EntityFilter]
- | Not EntityFilter
- | CompareBoolean String Bool
- | CompareDateTime String ComparisonType UTCTime
- | CompareDouble String ComparisonType Double
- | CompareGuid String String
- | CompareInt32 String ComparisonType Integer
- | CompareInt64 String ComparisonType Integer
- | CompareString String ComparisonType String
- data QueryResponse = QueryResponse Status String
- type TableStorage = ErrorT TableError (ReaderT TableConf IO)
- data TableConf = TableConf {}
- data TableError
Documentation
newtype AccountKey Source
The Base-64 encoded account secret key
Constructors
| AccountKey | |
Fields | |
Instances
The type of authorization header signatures
Constructors
| Signature | |
Fields | |
Account information: host, port, secret key and account name
Constructors
| Account | |
Fields
| |
data SharedKeyAuth Source
The unencrypted content of the Shared Key authorization header
Constructors
| SharedKeyAuth | |
Uniquely identifies an entity in a table : a partition key and row key pair.
Constructors
| EntityKey | |
Fields
| |
data EntityColumn Source
Represents a column in an entity.
The constructor used indicates the data type of the column represented.
For certain operations, the type must match the type of data stored in the table.
Constructors
| EdmBinary (Maybe String) | |
| EdmBoolean (Maybe Bool) | |
| EdmDateTime (Maybe UTCTime) | |
| EdmDouble (Maybe Double) | |
| EdmGuid (Maybe String) | |
| EdmInt32 (Maybe Int) | |
| EdmInt64 (Maybe Int) | |
| EdmString (Maybe String) |
Instances
An entity consists of a key and zero or more additional columns.
Constructors
| Entity | |
Fields
| |
data EntityQuery Source
An entity query consists of an optional filter and an optional number of entities to return.
Projections are not currently supported.
Constructors
| EntityQuery | |
Fields
| |
Instances
data ComparisonType Source
The various comparisons supported in entity queries.
Constructors
| Equal | |
| GreaterThan | |
| GreaterThanOrEqual | |
| LessThan | |
| LessThanOrEqual | |
| NotEqual |
Instances
data EntityFilter Source
The data type of entity filters
Constructors
Instances
type TableStorage = ErrorT TableError (ReaderT TableConf IO)Source
Monad stack and return type of operations on azure tables
TableStorage configuration data
Constructors
| TableConf | |
Fields
| |
data TableError Source
Error type
Constructors
| TableParseError | |
| TableUnknownError | |
| TableOtherError String |
Instances