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

Internal representation of a column schema (including nested-type columns). More...

Collaboration diagram for impala::HdfsParquetScanner::SchemaNode:

Public Member Functions

 SchemaNode ()
 
std::string DebugString (int indent=0) const
 

Public Attributes

const parquet::SchemaElement * element
 The corresponding schema element defined in the file metadata. More...
 
int col_idx
 
int max_def_level
 
std::vector< SchemaNodechildren
 Any nested schema nodes. Empty for non-nested types. More...
 
SlotDescriptorslot_desc
 

Detailed Description

Internal representation of a column schema (including nested-type columns).

Definition at line 90 of file hdfs-parquet-scanner.h.

Constructor & Destructor Documentation

impala::HdfsParquetScanner::SchemaNode::SchemaNode ( )
inline

Definition at line 107 of file hdfs-parquet-scanner.h.

Member Function Documentation

string HdfsParquetScanner::SchemaNode::DebugString ( int  indent = 0) const

Member Data Documentation

std::vector<SchemaNode> impala::HdfsParquetScanner::SchemaNode::children

Any nested schema nodes. Empty for non-nested types.

Definition at line 103 of file hdfs-parquet-scanner.h.

Referenced by impala::HdfsParquetScanner::CreateColumnReaders().

int impala::HdfsParquetScanner::SchemaNode::col_idx

The index into the RowGroup::columns list if this column is materialized in the file (i.e. it's a scalar type). -1 for nested types.

Definition at line 96 of file hdfs-parquet-scanner.h.

Referenced by impala::HdfsParquetScanner::BaseColumnReader::BaseColumnReader(), and impala::HdfsParquetScanner::BaseColumnReader::col_idx().

const parquet::SchemaElement* impala::HdfsParquetScanner::SchemaNode::element

The corresponding schema element defined in the file metadata.

Definition at line 92 of file hdfs-parquet-scanner.h.

Referenced by impala::HdfsParquetScanner::BaseColumnReader::schema_element().

int impala::HdfsParquetScanner::SchemaNode::max_def_level

The maximum definition level of this column, i.e., the definition level that corresponds to a non-NULL value. Valid values are >= 0.

Definition at line 100 of file hdfs-parquet-scanner.h.

Referenced by impala::HdfsParquetScanner::BaseColumnReader::BaseColumnReader(), and impala::HdfsParquetScanner::BaseColumnReader::max_def_level().


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