Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Descriptor for a DataSourceTable. More...
#include <descriptors.h>
Public Member Functions | |
DataSourceTableDescriptor (const TTableDescriptor &tdesc) | |
virtual std::string | DebugString () const |
int | num_cols () const |
int | num_clustering_cols () const |
bool | IsClusteringCol (const SlotDescriptor *slot_desc) const |
const std::string & | name () const |
const std::string & | database () const |
const std::vector< std::string > & | col_names () const |
Protected Attributes | |
std::string | name_ |
std::string | database_ |
TableId | id_ |
int | num_cols_ |
int | num_clustering_cols_ |
std::vector< std::string > | col_names_ |
Descriptor for a DataSourceTable.
Definition at line 292 of file descriptors.h.
|
inline |
Definition at line 294 of file descriptors.h.
|
inlineinherited |
Definition at line 165 of file descriptors.h.
References impala::TableDescriptor::col_names_.
Referenced by impala::HdfsParquetTableWriter::AddRowGroup(), impala::HdfsParquetTableWriter::CreateSchema(), impala::HdfsParquetTableWriter::FlushCurrentRowGroup(), impala::HdfsTableSink::InitOutputPartition(), impala::DataSourceScanNode::Open(), impala::HdfsTableSink::PrepareExprs(), and impala::HdfsAvroScanner::VerifyTypesMatch().
|
inlineinherited |
Definition at line 164 of file descriptors.h.
References impala::TableDescriptor::database_.
Referenced by impala::HdfsScanNode::StopAndFinalizeCounters().
|
virtual |
Reimplemented from impala::TableDescriptor.
Definition at line 167 of file descriptors.cc.
References impala::TableDescriptor::DebugString().
|
inlineinherited |
The first num_clustering_cols_ columns by position are clustering columns.
Definition at line 158 of file descriptors.h.
References impala::SlotDescriptor::col_path(), and impala::TableDescriptor::num_clustering_cols_.
|
inlineinherited |
Definition at line 163 of file descriptors.h.
References impala::TableDescriptor::name_.
Referenced by impala::HBaseTableWriter::Init(), impala::DataSourceScanNode::Open(), and impala::HdfsScanNode::StopAndFinalizeCounters().
|
inlineinherited |
Definition at line 153 of file descriptors.h.
References impala::TableDescriptor::num_clustering_cols_.
Referenced by impala::HdfsParquetTableWriter::AddRowGroup(), impala::HdfsSequenceTableWriter::AppendRowBatch(), impala::HdfsTextTableWriter::AppendRowBatch(), impala::HdfsAvroTableWriter::ConsumeRow(), impala::HdfsParquetTableWriter::CreateSchema(), impala::HdfsSequenceTableWriter::EncodeRow(), impala::HdfsParquetTableWriter::FlushCurrentRowGroup(), impala::HdfsTableWriter::HdfsTableWriter(), impala::HdfsParquetTableWriter::Init(), impala::HdfsScanNode::num_partition_keys(), and impala::HdfsTableSink::PrepareExprs().
|
inlineinherited |
Definition at line 152 of file descriptors.h.
References impala::TableDescriptor::num_cols_.
Referenced by impala::HBaseTableWriter::AppendRowBatch(), impala::HdfsSequenceTableWriter::AppendRowBatch(), impala::HdfsTextTableWriter::AppendRowBatch(), impala::HdfsAvroTableWriter::ConsumeRow(), impala::HdfsSequenceTableWriter::EncodeRow(), impala::HdfsTableWriter::HdfsTableWriter(), impala::HBaseTableWriter::Init(), impala::HdfsParquetTableWriter::Init(), impala::HdfsTextScanner::InitNewRange(), impala::HdfsSequenceScanner::InitNewRange(), impala::HdfsRCFileScanner::InitNewRange(), impala::HdfsTableSink::PrepareExprs(), and impala::HdfsAvroScanner::ResolveSchemas().
|
protectedinherited |
Definition at line 173 of file descriptors.h.
Referenced by impala::TableDescriptor::col_names(), and impala::TableDescriptor::DebugString().
|
protectedinherited |
Definition at line 169 of file descriptors.h.
Referenced by impala::TableDescriptor::database().
|
protectedinherited |
Definition at line 170 of file descriptors.h.
|
protectedinherited |
Definition at line 168 of file descriptors.h.
Referenced by impala::TableDescriptor::name().
|
protectedinherited |
Definition at line 172 of file descriptors.h.
Referenced by impala::TableDescriptor::DebugString(), impala::TableDescriptor::IsClusteringCol(), and impala::TableDescriptor::num_clustering_cols().
|
protectedinherited |
Definition at line 171 of file descriptors.h.
Referenced by impala::TableDescriptor::DebugString(), and impala::TableDescriptor::num_cols().