Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::BaseSequenceScanner::FileHeader Struct Reference

#include <base-sequence-scanner.h>

Inheritance diagram for impala::BaseSequenceScanner::FileHeader:
Collaboration diagram for impala::BaseSequenceScanner::FileHeader:

Public Member Functions

virtual ~FileHeader ()
 

Public Attributes

uint8_t sync [SYNC_HASH_SIZE]
 The sync hash for this file. More...
 
bool is_compressed
 true if the file is compressed More...
 
std::string codec
 Codec name if it is compressed. More...
 
THdfsCompression::type compression_type
 Enum for compression type. More...
 
int64_t header_size
 

Detailed Description

Data that is shared between scan ranges of the same file. The subclass is responsible for filling in all these fields in ReadFileHeader

Definition at line 53 of file base-sequence-scanner.h.

Constructor & Destructor Documentation

virtual impala::BaseSequenceScanner::FileHeader::~FileHeader ( )
inlinevirtual

Definition at line 54 of file base-sequence-scanner.h.

Member Data Documentation

int64_t impala::BaseSequenceScanner::FileHeader::header_size

Byte size of header. This must not include the sync directly preceding the data (even if the sync is considered part of the header in the file format spec).

Definition at line 70 of file base-sequence-scanner.h.

Referenced by impala::BaseSequenceScanner::ProcessSplit(), impala::HdfsAvroScanner::ReadFileHeader(), impala::HdfsSequenceScanner::ReadFileHeader(), and impala::HdfsRCFileScanner::ReadFileHeader().


The documentation for this struct was generated from the following file: