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

Provides information about the OS we're running on. More...

#include <os-info.h>

Collaboration diagram for impala::OsInfo:

Static Public Member Functions

static void Init ()
 Initialize OsInfo. More...
 
static const std::string os_version ()
 
static std::string DebugString ()
 

Static Private Attributes

static bool initialized_ = false
 
static std::string os_version_ = "Unknown"
 

Detailed Description

Provides information about the OS we're running on.

Definition at line 24 of file os-info.h.

Member Function Documentation

string impala::OsInfo::DebugString ( )
static

Definition at line 41 of file os-info.cc.

References initialized_, and os_version_.

Referenced by impala::Webserver::RootHandler().

void impala::OsInfo::Init ( )
static

Initialize OsInfo.

Definition at line 32 of file os-info.cc.

References initialized_, and os_version_.

static const std::string impala::OsInfo::os_version ( )
inlinestatic

Definition at line 29 of file os-info.h.

References initialized_, and os_version_.

Member Data Documentation

bool impala::OsInfo::initialized_ = false
staticprivate

Definition at line 37 of file os-info.h.

Referenced by DebugString(), Init(), and os_version().

string impala::OsInfo::os_version_ = "Unknown"
staticprivate

Definition at line 38 of file os-info.h.

Referenced by DebugString(), Init(), and os_version().


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