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

Method Substring

be/src/runtime/string-value.inline.h:115–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115inline StringValue StringValue::Substring(int start_pos) const {
116 SimpleString this_s = ToSimpleString();
117 return StringValue(this_s.ptr + start_pos, this_s.len - start_pos);
118}
119
120inline StringValue StringValue::Substring(int start_pos, int new_len) const {
121 SimpleString this_s = ToSimpleString();

Callers

nothing calls this directly

Calls 1

StringValueClass · 0.70

Tested by

no test coverage detected