Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
BoolColumnReader (HdfsParquetScanner *parent, const SchemaNode &node) | |
Status | Reset (const parquet::ColumnMetaData *metadata, ScannerContext::Stream *stream) |
void | Close () |
int64_t | total_len () const |
const SlotDescriptor * | slot_desc () const |
const parquet::SchemaElement & | schema_element () const |
int | col_idx () const |
int | max_def_level () const |
THdfsCompression::type | codec () const |
bool | ReadValue (MemPool *pool, Tuple *tuple, bool *conjuncts_failed) |
Protected Member Functions | |
virtual void | CreateDictionaryDecoder (uint8_t *values, int size) |
virtual Status | InitDataPage (uint8_t *data, int size) |
virtual bool | ReadSlot (void *slot, MemPool *pool, bool *conjuncts_failed) |
Status | ReadDataPage () |
int | ReadDefinitionLevel () |
Protected Attributes | |
HdfsParquetScanner * | parent_ |
const SchemaNode & | node_ |
const parquet::ColumnMetaData * | metadata_ |
scoped_ptr< Codec > | decompressor_ |
ScannerContext::Stream * | stream_ |
boost::scoped_ptr< MemPool > | decompressed_data_pool_ |
parquet::PageHeader | current_page_header_ |
int | num_buffered_values_ |
uint8_t * | data_ |
RleDecoder | rle_def_levels_ |
BitReader | bit_packed_def_levels_ |
DictDecoderBase * | dict_decoder_base_ |
int64_t | num_values_read_ |
const Bitmap * | bitmap_filter_ |
uint32_t | hash_seed_ |
int64_t | rows_returned_ |
int64_t | bitmap_filter_rows_rejected_ |
Private Attributes | |
BitReader | bool_values_ |
Definition at line 409 of file hdfs-parquet-scanner.cc.
|
inline |
Definition at line 411 of file hdfs-parquet-scanner.cc.
References impala::HdfsParquetScanner::BaseColumnReader::slot_desc(), and impala::TYPE_BOOLEAN.
|
inlineinherited |
Definition at line 163 of file hdfs-parquet-scanner.cc.
References impala::HdfsParquetScanner::BaseColumnReader::decompressor_.
|
inlineinherited |
Definition at line 172 of file hdfs-parquet-scanner.cc.
References impala::HdfsParquetScanner::BaseColumnReader::metadata_, and impala::PARQUET_TO_IMPALA_CODEC.
|
inlineinherited |
Definition at line 170 of file hdfs-parquet-scanner.cc.
References impala::HdfsParquetScanner::SchemaNode::col_idx, and impala::HdfsParquetScanner::BaseColumnReader::node_.
Referenced by impala::HdfsParquetScanner::ValidateColumn().
|
inlineprotectedvirtual |
Implements impala::HdfsParquetScanner::BaseColumnReader.
Definition at line 417 of file hdfs-parquet-scanner.cc.
|
inlineprotectedvirtual |
Implements impala::HdfsParquetScanner::BaseColumnReader.
Definition at line 422 of file hdfs-parquet-scanner.cc.
References bool_values_, and impala::Status::OK.
|
inlineinherited |
Definition at line 171 of file hdfs-parquet-scanner.cc.
References impala::HdfsParquetScanner::SchemaNode::max_def_level, and impala::HdfsParquetScanner::BaseColumnReader::node_.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage().
|
protectedinherited |
Definition at line 532 of file hdfs-parquet-scanner.cc.
References impala::Status::AddDetail(), impala::HdfsScanner::AttachPool(), impala::HdfsParquetScanner::BaseColumnReader::bit_packed_def_levels_, impala::BitUtil::Ceil(), impala::HdfsParquetScanner::BaseColumnReader::CreateDictionaryDecoder(), impala::HdfsParquetScanner::BaseColumnReader::current_page_header_, impala::HdfsParquetScanner::BaseColumnReader::data_, impala::HdfsScanner::decompress_timer_, impala::HdfsParquetScanner::BaseColumnReader::decompressed_data_pool_, impala::HdfsParquetScanner::BaseColumnReader::decompressor_, impala::DeserializeThriftMsg(), impala::HdfsParquetScanner::BaseColumnReader::dict_decoder_base_, impala::HdfsParquetScanner::dictionary_pool_, impala::ScannerContext::Stream::eosr(), impala::HdfsParquetScanner::file_version_, impala::ScannerContext::Stream::GetBuffer(), impala::ScannerContext::Stream::GetBytes(), impala::HdfsParquetScanner::BaseColumnReader::InitDataPage(), impala::BitUtil::Log2(), LOG_OR_ABORT, impala::HdfsParquetScanner::BaseColumnReader::max_def_level(), MAX_PAGE_HEADER_SIZE, impala::HdfsParquetScanner::BaseColumnReader::metadata_, impala::HdfsParquetScanner::BaseColumnReader::num_buffered_values_, impala::DictDecoderBase::num_entries(), impala::HdfsScanNode::num_partition_keys(), impala::HdfsParquetScanner::BaseColumnReader::num_values_read_, impala::Status::OK, impala::Status::ok(), impala::HdfsParquetScanner::BaseColumnReader::parent_, impala::PLAIN, impala::PrettyPrinter::Print(), impala::ReadWriteUtil::Read(), impala::ScannerContext::Stream::ReadBytes(), RequiresSkippedDictionaryHeaderCheck(), RETURN_IF_ERROR, impala::HdfsParquetScanner::BaseColumnReader::rle_def_levels_, impala::HdfsScanNode::runtime_state(), impala::HdfsScanner::scan_node_, SCOPED_TIMER, impala::ScannerContext::Stream::SkipBytes(), impala::HdfsParquetScanner::BaseColumnReader::slot_desc(), impala::HdfsParquetScanner::BaseColumnReader::stream_, impala::TYPE_BOOLEAN, and VLOG_FILE.
|
inlineprotectedinherited |
Definition at line 720 of file hdfs-parquet-scanner.cc.
|
inlineprotectedvirtual |
Implements impala::HdfsParquetScanner::BaseColumnReader.
Definition at line 428 of file hdfs-parquet-scanner.cc.
References bool_values_, impala::BitReader::GetValue(), impala::HdfsParquetScanner::BaseColumnReader::parent_, and impala::HdfsParquetScanner::parse_status_.
|
inlineinherited |
Definition at line 744 of file hdfs-parquet-scanner.cc.
References impala::Tuple::GetSlot(), pool, and impala::Tuple::SetNull().
|
inlineinherited |
Definition at line 145 of file hdfs-parquet-scanner.cc.
References impala::Codec::CreateDecompressor(), impala::HdfsParquetScanner::BaseColumnReader::data_, impala::HdfsParquetScanner::BaseColumnReader::decompressor_, impala::HdfsParquetScanner::BaseColumnReader::dict_decoder_base_, impala::HdfsParquetScanner::BaseColumnReader::metadata_, impala::HdfsParquetScanner::BaseColumnReader::num_buffered_values_, impala::HdfsParquetScanner::BaseColumnReader::num_values_read_, impala::Status::OK, impala::PARQUET_TO_IMPALA_CODEC, RETURN_IF_ERROR, and impala::HdfsParquetScanner::BaseColumnReader::stream_.
|
inlineinherited |
Definition at line 169 of file hdfs-parquet-scanner.cc.
References impala::HdfsParquetScanner::SchemaNode::element, and impala::HdfsParquetScanner::BaseColumnReader::node_.
Referenced by impala::HdfsParquetScanner::ValidateColumn().
|
inlineinherited |
Definition at line 168 of file hdfs-parquet-scanner.cc.
References impala::HdfsParquetScanner::BaseColumnReader::node_, and impala::HdfsParquetScanner::SchemaNode::slot_desc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::BaseColumnReader(), BoolColumnReader(), impala::HdfsParquetScanner::ColumnReader< T >::ColumnReader(), impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage(), impala::HdfsParquetScanner::ColumnReader< T >::ReadSlot(), and impala::HdfsParquetScanner::ValidateColumn().
|
inlineinherited |
Definition at line 167 of file hdfs-parquet-scanner.cc.
References impala::HdfsParquetScanner::BaseColumnReader::metadata_.
|
protectedinherited |
Definition at line 219 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage().
|
protectedinherited |
Definition at line 228 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::BaseColumnReader(), impala::HdfsParquetScanner::ColumnReader< T >::InitDataPage(), and impala::HdfsParquetScanner::ColumnReader< T >::ReadSlot().
|
protectedinherited |
Definition at line 238 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::BaseColumnReader(), impala::HdfsParquetScanner::ColumnReader< T >::InitDataPage(), and impala::HdfsParquetScanner::ColumnReader< T >::ReadSlot().
|
private |
Definition at line 435 of file hdfs-parquet-scanner.cc.
Referenced by InitDataPage(), and ReadSlot().
|
protectedinherited |
Definition at line 208 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::ColumnReader< T >::InitDataPage(), impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage(), and impala::HdfsParquetScanner::ColumnReader< T >::ReadSlot().
|
protectedinherited |
Definition at line 214 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage(), impala::HdfsParquetScanner::ColumnReader< T >::ReadSlot(), and impala::HdfsParquetScanner::BaseColumnReader::Reset().
|
protectedinherited |
Definition at line 205 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage().
|
protectedinherited |
Definition at line 201 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::Close(), impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage(), and impala::HdfsParquetScanner::BaseColumnReader::Reset().
|
protectedinherited |
Definition at line 222 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::ColumnReader< T >::CreateDictionaryDecoder(), impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage(), and impala::HdfsParquetScanner::BaseColumnReader::Reset().
|
protectedinherited |
Definition at line 230 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::BaseColumnReader(), and impala::HdfsParquetScanner::ColumnReader< T >::ReadSlot().
|
protectedinherited |
Definition at line 200 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::codec(), impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage(), impala::HdfsParquetScanner::BaseColumnReader::Reset(), and impala::HdfsParquetScanner::BaseColumnReader::total_len().
|
protectedinherited |
Definition at line 198 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::col_idx(), impala::HdfsParquetScanner::BaseColumnReader::max_def_level(), impala::HdfsParquetScanner::BaseColumnReader::schema_element(), and impala::HdfsParquetScanner::BaseColumnReader::slot_desc().
|
protectedinherited |
Definition at line 211 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage(), and impala::HdfsParquetScanner::BaseColumnReader::Reset().
|
protectedinherited |
Definition at line 225 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage(), and impala::HdfsParquetScanner::BaseColumnReader::Reset().
|
protectedinherited |
Definition at line 197 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::BaseColumnReader(), impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage(), and ReadSlot().
|
protectedinherited |
Definition at line 218 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage().
|
protectedinherited |
Definition at line 237 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::BaseColumnReader::BaseColumnReader(), impala::HdfsParquetScanner::ColumnReader< T >::InitDataPage(), and impala::HdfsParquetScanner::ColumnReader< T >::ReadSlot().
|
protectedinherited |
Definition at line 202 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::AssembleRows(), impala::HdfsParquetScanner::BaseColumnReader::ReadDataPage(), and impala::HdfsParquetScanner::BaseColumnReader::Reset().