|
|
DUCKDB_API idx_t | GetLength (date_t date, dtime_t time, int32_t utc_offset, const char *tz_name) |
| |
|
DUCKDB_API void | FormatStringNS (date_t date, int32_t data[8], const char *tz_name, char *target) const |
| |
|
DUCKDB_API void | FormatString (date_t date, int32_t data[8], const char *tz_name, char *target) |
| |
|
void | FormatString (date_t date, dtime_t time, char *target) |
| |
|
DUCKDB_API void | ConvertDateVector (Vector &input, Vector &result, idx_t count) |
| |
|
DUCKDB_API void | ConvertTimestampVector (Vector &input, Vector &result, idx_t count) |
| |
|
DUCKDB_API void | ConvertTimestampNSVector (Vector &input, Vector &result, idx_t count) |
| |
| bool | HasFormatSpecifier (StrTimeSpecifier s) const |
| |
|
DUCKDB_API bool | Empty () const |
| | If the string format is empty.
|
| |
|
| DUCKDB_API void | AddFormatSpecifier (string preceding_literal, StrTimeSpecifier specifier) override |
| |
|
idx_t | GetLength (date_t date, int32_t data[8], const char *tz_name) const |
| |
|
string_t | ConvertTimestampValue (const timestamp_t &input, Vector &result) const |
| |
|
string_t | ConvertTimestampValue (const timestamp_ns_t &input, Vector &result) const |
| |
|
char * | WriteString (char *target, const string_t &str) const |
| |
|
char * | Write2 (char *target, uint8_t value) const |
| |
|
char * | WritePadded2 (char *target, uint32_t value) const |
| |
|
char * | WritePadded3 (char *target, uint32_t value) const |
| |
|
char * | WritePadded (char *target, uint32_t value, size_t padding) const |
| |
|
bool | IsDateSpecifier (StrTimeSpecifier specifier) |
| |
|
char * | WriteDateSpecifier (StrTimeSpecifier specifier, date_t date, char *target) const |
| |
|
char * | WriteStandardSpecifier (StrTimeSpecifier specifier, int32_t data[], const char *tz_name, size_t tz_len, char *target) const |
| |
|
void | AddLiteral (string literal) |
| |
|
|
vector< StrTimeSpecifier > | var_length_specifiers |
| | The variable-length specifiers. To determine total string size, these need to be checked.
|
| |
| vector< bool > | is_date_specifier |
| |
|
vector< StrTimeSpecifier > | specifiers |
| | The format specifiers.
|
| |
| vector< string > | literals |
| |
|
idx_t | constant_size = 0 |
| | The constant size that appears in the format string.
|
| |
|
vector< int > | numeric_width |
| | The max numeric width of the specifier (if it is parsed as a number), or -1 if it is not a number.
|
| |
|
|
string | format_specifier |
| | The full format specifier, for error messages.
|
| |
◆ AddFormatSpecifier()
| DUCKDB_API void duckdb::StrfTimeFormat::AddFormatSpecifier |
( |
string |
preceding_literal, |
|
|
StrTimeSpecifier |
specifier |
|
) |
| |
|
overrideprotectedvirtual |
◆ is_date_specifier
| vector<bool> duckdb::StrfTimeFormat::is_date_specifier |
|
protected |
Whether or not the current specifier is a special "date" specifier (i.e. one that requires a date_t object to generate)
The documentation for this struct was generated from the following file: