|
Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
#include <hdfs-parquet-scanner.h>
Public Member Functions | |
| FileVersion () | |
| FileVersion (const std::string &created_by) | |
| Parses the version from the created_by string. More... | |
| bool | VersionLt (int major, int minor=0, int patch=0) const |
| Returns true if version is strictly less than <major>.<minor>.<patch> More... | |
| bool | VersionEq (int major, int minor, int patch) const |
| Returns true if version is equal to <major>.<minor>.<patch> More... | |
Public Attributes | |
| std::string | application |
| Application that wrote the file. e.g. "IMPALA". More... | |
| struct { | |
| int major | |
| int minor | |
| int patch | |
| } | version |
| bool | is_impala_internal |
| If true, this file was generated by an Impala internal release. More... | |
Definition at line 57 of file hdfs-parquet-scanner.h.
|
inline |
Definition at line 76 of file hdfs-parquet-scanner.h.
| impala::HdfsParquetScanner::FileVersion::FileVersion | ( | const std::string & | created_by | ) |
Parses the version from the created_by string.
| bool HdfsParquetScanner::FileVersion::VersionEq | ( | int | major, |
| int | minor, | ||
| int | patch | ||
| ) | const |
Returns true if version is equal to <major>.<minor>.<patch>
Definition at line 1259 of file hdfs-parquet-scanner.cc.
Referenced by RequiresSkippedDictionaryHeaderCheck(), and impala::TEST().
| bool HdfsParquetScanner::FileVersion::VersionLt | ( | int | major, |
| int | minor = 0, |
||
| int | patch = 0 |
||
| ) | const |
Returns true if version is strictly less than <major>.<minor>.<patch>
Definition at line 1249 of file hdfs-parquet-scanner.cc.
Referenced by impala::HdfsParquetScanner::InitColumns(), and impala::TEST().
| std::string impala::HdfsParquetScanner::FileVersion::application |
Application that wrote the file. e.g. "IMPALA".
Definition at line 59 of file hdfs-parquet-scanner.h.
Referenced by impala::CheckVersionParse(), impala::HdfsParquetScanner::ColumnReader< T >::ColumnReader(), impala::HdfsParquetScanner::InitColumns(), and RequiresSkippedDictionaryHeaderCheck().
| bool impala::HdfsParquetScanner::FileVersion::is_impala_internal |
If true, this file was generated by an Impala internal release.
Definition at line 74 of file hdfs-parquet-scanner.h.
Referenced by impala::CheckVersionParse(), and RequiresSkippedDictionaryHeaderCheck().
| int impala::HdfsParquetScanner::FileVersion::major |
Definition at line 68 of file hdfs-parquet-scanner.h.
Referenced by impala::CheckVersionParse().
| int impala::HdfsParquetScanner::FileVersion::minor |
Definition at line 69 of file hdfs-parquet-scanner.h.
Referenced by impala::CheckVersionParse().
| int impala::HdfsParquetScanner::FileVersion::patch |
Definition at line 70 of file hdfs-parquet-scanner.h.
Referenced by impala::CheckVersionParse().
| struct { ... } impala::HdfsParquetScanner::FileVersion::version |
Version of the application that wrote the file, expressed in three parts (<major>.<minor>.<patch>). Unspecified parts default to 0, and extra parts are ignored. e.g.: "1.2.3" => {1, 2, 3} "1.2" => {1, 2, 0} "1.2-cdh5" => {1, 2, 0}
Referenced by impala::CheckVersionParse().