Safe Haskell | Safe-Infered |
---|
Data types used to construct the various web method requests.
- type AccountKey = String
- type Signature = String
- type AuthHeader = String
- 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
Documentation
type AccountKey = StringSource
The Base-64 encoded account secret key
type AuthHeader = StringSource
The type of authorization headers
Account information: host, port, secret key and account name
Account | |
|
data SharedKeyAuth Source
The unencrypted content of the Shared Key authorization header
Uniquely identifies an entity in a table : a partition key and row key pair.
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.
An entity consists of a key and zero or more additional columns.
Entity | |
|
data EntityQuery Source
An entity query consists of an optional filter and an optional number of entities to return.
Projections are not currently supported.
data ComparisonType Source
The various comparisons supported in entity queries.
data EntityFilter Source
The data type of entity filters