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

Method Mask

be/src/exprs/mask-functions-ir.cc:776–779  ·  view source on GitHub ↗

Mask() overloads for string value

Source from the content-addressed store, hash-verified

774
775/// Mask() overloads for string value
776StringVal MaskFunctions::Mask(FunctionContext* ctx, const StringVal& val) {
777 return MaskImpl(ctx, val, MASKED_UPPERCASE, MASKED_LOWERCASE, MASKED_DIGIT,
778 MASKED_OTHER_CHAR);
779}
780// Marked as IR_ALWAYS_INLINE since this is called in other overloads.
781// This way the overloads can also replace GetConstFnAttr() calls in codegen.
782IR_ALWAYS_INLINE StringVal MaskFunctions::Mask(FunctionContext* ctx, const StringVal& val,

Callers

nothing calls this directly

Calls 4

MaskImplFunction · 0.85
GetFirstCharFunction · 0.85
MaskShowFirstNImplFunction · 0.85
GetDigitFromStringFunction · 0.85

Tested by

no test coverage detected