Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Hadoop.SequenceFile.Types
- data Header = Header {
- hdKeyType :: !Text
- hdValueType :: !Text
- hdCompressionType :: !Text
- hdMetadata :: ![(Text, Text)]
- hdSync :: !MD5
- newtype MD5 = MD5 {}
- data RecordBlock k v = RecordBlock {
- rbCount :: Int
- rbKeys :: Collection k
- rbValues :: Collection v
Documentation
The header of a sequence file. Contains the names of the Java classes used to encode the file and potentially some metadata.
Constructors
Header | |
Fields
|
An MD5 hash. Stored between each record block in a sequence file to check for corruption.
Constructors
MD5 | |
Fields |
data RecordBlock k v Source
A block of key/value pairs. The key at index i always relates to the value at index i. Both vectors will always be the same size.
Constructors
RecordBlock | |
Fields
|