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

Method ExternalLen

be/src/runtime/string-value.h:103–105  ·  view source on GitHub ↗

Returns the number of bytes needed outside the slot itself: - if the length is too long to smallify, return length - if the length is small enough to smallify: - if assume_smallify is true or the string is already smallified return 0 - otherwise (not already smallified and assume_smallify is false) return length

Source from the content-addressed store, hash-verified

101 /// - if assume_smallify is true or the string is already smallified return 0
102 /// - otherwise (not already smallified and assume_smallify is false) return length
103 int ExternalLen(bool assume_smallify) const {
104 return string_impl_.ExternalLen(assume_smallify);
105 }
106
107 /// Sets the length of this String object. Length can only be decreased.
108 void SetLen(int len) { return string_impl_.SetLen(len); }

Callers 1

VarlenByteSizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected