MCPcopy Create free account
hub / github.com/apache/impala / ToString

Method ToString

be/src/runtime/date-value.cc:431–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431string DateValue::ToString() const {
432 string s;
433 s.resize(SimpleDateFormatTokenizer::DEFAULT_DATE_FMT_LEN);
434 const int out_len = DateParser::FormatDefault(*this, s.data());
435 if (UNLIKELY(out_len != SimpleDateFormatTokenizer::DEFAULT_DATE_FMT_LEN)) {
436 s.clear();
437 }
438 return s;
439}
440
441ostream& operator<<(ostream& os, const DateValue& date_value) {
442 char dst[SimpleDateFormatTokenizer::DEFAULT_DATE_FMT_LEN + 1];

Callers 15

NegotiateAuthFunction · 0.45
AuthorizeMethod · 0.45
RejectTooBusyMethod · 0.45
QueueInboundCallMethod · 0.45
TEST_PFunction · 0.45
AuthorizeMethod · 0.45
StartServicesMethod · 0.45
IsTrustedDomainFunction · 0.45
TESTFunction · 0.45
VerifyToStringFunction · 0.45

Calls 3

resizeMethod · 0.80
clearMethod · 0.65
dataMethod · 0.45

Tested by 7

AuthorizeMethod · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36
VerifyToStringFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36