Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Internal representation of a column schema (including nested-type columns). More...
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< SchemaNode > | children |
Any nested schema nodes. Empty for non-nested types. More... | |
SlotDescriptor * | slot_desc |
Internal representation of a column schema (including nested-type columns).
Definition at line 90 of file hdfs-parquet-scanner.h.
|
inline |
Definition at line 107 of file hdfs-parquet-scanner.h.
string HdfsParquetScanner::SchemaNode::DebugString | ( | int | indent = 0 | ) | const |
Definition at line 1443 of file hdfs-parquet-scanner.cc.
References PrintParquetType(), and PrintRepetitionType().
Referenced by impala::HdfsParquetScanner::CreateColumnReaders().
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().
SlotDescriptor* impala::HdfsParquetScanner::SchemaNode::slot_desc |