Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::DataSourceTableDescriptor Class Reference

Descriptor for a DataSourceTable. More...

#include <descriptors.h>

Inheritance diagram for impala::DataSourceTableDescriptor:
Collaboration diagram for impala::DataSourceTableDescriptor:

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_
 

Detailed Description

Descriptor for a DataSourceTable.

Definition at line 292 of file descriptors.h.

Constructor & Destructor Documentation

impala::DataSourceTableDescriptor::DataSourceTableDescriptor ( const TTableDescriptor &  tdesc)
inline

Definition at line 294 of file descriptors.h.

Member Function Documentation

const std::string& impala::TableDescriptor::database ( ) const
inlineinherited
string impala::DataSourceTableDescriptor::DebugString ( ) const
virtual

Reimplemented from impala::TableDescriptor.

Definition at line 167 of file descriptors.cc.

References impala::TableDescriptor::DebugString().

bool impala::TableDescriptor::IsClusteringCol ( const SlotDescriptor slot_desc) const
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_.

const std::string& impala::TableDescriptor::name ( ) const
inlineinherited

Member Data Documentation

std::vector<std::string> impala::TableDescriptor::col_names_
protectedinherited
std::string impala::TableDescriptor::database_
protectedinherited

Definition at line 169 of file descriptors.h.

Referenced by impala::TableDescriptor::database().

TableId impala::TableDescriptor::id_
protectedinherited

Definition at line 170 of file descriptors.h.

std::string impala::TableDescriptor::name_
protectedinherited

Definition at line 168 of file descriptors.h.

Referenced by impala::TableDescriptor::name().

int impala::TableDescriptor::num_clustering_cols_
protectedinherited
int impala::TableDescriptor::num_cols_
protectedinherited

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