Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::TimestampTC Struct Reference
Collaboration diagram for impala::TimestampTC:

Public Member Functions

 TimestampTC (const char *fmt, const char *str, bool fmt_should_fail=true, bool str_should_fail=true)
 
 TimestampTC (const char *fmt, const char *str, bool should_format, bool fmt_has_date_toks, bool fmt_has_time_toks, int expected_year, int expected_month, int expected_day, int expected_hours=0, int expected_minutes=0, int expected_seconds=0, int expected_fraction=0)
 

Public Attributes

const char * fmt
 
const char * str
 
bool fmt_should_fail
 
bool str_should_fail
 
bool should_format
 
int expected_year
 
int expected_month
 
int expected_day
 
int expected_hours
 
int expected_minutes
 
int expected_seconds
 
int expected_fraction
 
bool fmt_has_date_toks
 
bool fmt_has_time_toks
 

Detailed Description

Definition at line 42 of file timestamp-test.cc.

Constructor & Destructor Documentation

impala::TimestampTC::TimestampTC ( const char *  fmt,
const char *  str,
bool  fmt_should_fail = true,
bool  str_should_fail = true 
)
inline

Definition at line 58 of file timestamp-test.cc.

impala::TimestampTC::TimestampTC ( const char *  fmt,
const char *  str,
bool  should_format,
bool  fmt_has_date_toks,
bool  fmt_has_time_toks,
int  expected_year,
int  expected_month,
int  expected_day,
int  expected_hours = 0,
int  expected_minutes = 0,
int  expected_seconds = 0,
int  expected_fraction = 0 
)
inline

Definition at line 76 of file timestamp-test.cc.

Member Data Documentation

int impala::TimestampTC::expected_day

Definition at line 50 of file timestamp-test.cc.

Referenced by impala::TEST().

int impala::TimestampTC::expected_fraction

Definition at line 54 of file timestamp-test.cc.

Referenced by impala::TEST().

int impala::TimestampTC::expected_hours

Definition at line 51 of file timestamp-test.cc.

Referenced by impala::TEST().

int impala::TimestampTC::expected_minutes

Definition at line 52 of file timestamp-test.cc.

Referenced by impala::TEST().

int impala::TimestampTC::expected_month

Definition at line 49 of file timestamp-test.cc.

Referenced by impala::TEST().

int impala::TimestampTC::expected_seconds

Definition at line 53 of file timestamp-test.cc.

Referenced by impala::TEST().

int impala::TimestampTC::expected_year

Definition at line 48 of file timestamp-test.cc.

Referenced by impala::TEST().

const char* impala::TimestampTC::fmt

Definition at line 43 of file timestamp-test.cc.

Referenced by impala::TEST().

bool impala::TimestampTC::fmt_has_date_toks

Definition at line 55 of file timestamp-test.cc.

Referenced by impala::TEST().

bool impala::TimestampTC::fmt_has_time_toks

Definition at line 56 of file timestamp-test.cc.

Referenced by impala::TEST().

bool impala::TimestampTC::fmt_should_fail

Definition at line 45 of file timestamp-test.cc.

Referenced by impala::TEST().

bool impala::TimestampTC::should_format

Definition at line 47 of file timestamp-test.cc.

Referenced by impala::TEST().

const char* impala::TimestampTC::str

Definition at line 44 of file timestamp-test.cc.

Referenced by impala::TEST().

bool impala::TimestampTC::str_should_fail

Definition at line 46 of file timestamp-test.cc.

Referenced by impala::TEST().


The documentation for this struct was generated from the following file: