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

Method clear

shell/impala_shell/shell_output.py:223–229  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

221 self.last_clean_text = re.sub(r"[^\s]", " ", data)
222
223 def clear(self):
224 sys.stderr.write(self.UP * self.last_line_count)
225 sys.stderr.write(self.last_clean_text)
226 sys.stderr.write(self.UP * self.last_line_count)
227 sys.stderr.flush()
228 self.last_line_count = 0
229 self.last_clean_text = ""

Callers

nothing calls this directly

Calls 2

writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected