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

Data that is fixed across headers. This struct is shared between scan ranges. More...

Inheritance diagram for impala::HdfsRCFileScanner::RcFileHeader:
Collaboration diagram for impala::HdfsRCFileScanner::RcFileHeader:

Public Attributes

Version version
 RC file version. More...
 
int num_cols
 
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 fixed across headers. This struct is shared between scan ranges.

Definition at line 334 of file hdfs-rcfile-scanner.h.

Member Data Documentation

THdfsCompression::type impala::BaseSequenceScanner::FileHeader::compression_type
inherited
int64_t impala::BaseSequenceScanner::FileHeader::header_size
inherited

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().

int impala::HdfsRCFileScanner::RcFileHeader::num_cols

The number of columns in the file (may be more than the number of columns in the table metadata)

Definition at line 340 of file hdfs-rcfile-scanner.h.

Referenced by impala::HdfsRCFileScanner::ReadNumColumnsMetadata().

Version impala::HdfsRCFileScanner::RcFileHeader::version

RC file version.

Definition at line 336 of file hdfs-rcfile-scanner.h.

Referenced by impala::HdfsRCFileScanner::ReadFileHeader().


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