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

Used to store metadata about a token group within a date/time format. More...

#include <timestamp-parse-util.h>

Collaboration diagram for impala::DateTimeFormatToken:

Public Member Functions

 DateTimeFormatToken (DateTimeFormatTokenType type, int pos, int len, const char *val)
 

Public Attributes

DateTimeFormatTokenType type
 Indicates the type of date/time format token e.g. year. More...
 
int pos
 
int len
 The length of the token group. More...
 
const char * val
 

Detailed Description

Used to store metadata about a token group within a date/time format.

Definition at line 47 of file timestamp-parse-util.h.

Constructor & Destructor Documentation

impala::DateTimeFormatToken::DateTimeFormatToken ( DateTimeFormatTokenType  type,
int  pos,
int  len,
const char *  val 
)
inline

Definition at line 59 of file timestamp-parse-util.h.

Member Data Documentation

int impala::DateTimeFormatToken::len
int impala::DateTimeFormatToken::pos

The position of where this token group is supposed to start in the date/time string to be parsed

Definition at line 52 of file timestamp-parse-util.h.

Referenced by impala::TimestampParser::ParseDateTime().

DateTimeFormatTokenType impala::DateTimeFormatToken::type

Indicates the type of date/time format token e.g. year.

Definition at line 49 of file timestamp-parse-util.h.

Referenced by impala::TimestampParser::Format(), and impala::TimestampParser::ParseDateTime().

const char* impala::DateTimeFormatToken::val

A pointer to the date/time format string that is positioned at the start of this token group

Definition at line 57 of file timestamp-parse-util.h.

Referenced by impala::TimestampParser::Format(), and impala::TimestampParser::ParseDateTime().


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