Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec interface {
// Encode encodes uncompressed bytes from src and appends them to dst.
Encode(src, dst []byte) ([]byte, uint32)
// Decode decodes compressed bytes from src and appends them to dst.
Decode(src, dst []byte) ([]byte, uint32, error)
// ChunkLen returns the maximum size of chunk for particular codec.
ChunkLen() uint32
// CellBlockCompressorClass returns full Java class name of the compressor on the HBase side
CellBlockCompressorClass() string
}
Codec is used to encode and decode chunks of hadoop's sequence file chunks.
Click to show internal directories.
Click to hide internal directories.