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

Method Rewind

be/src/exec/tuple-text-file-reader.cc:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void TupleTextFileReader::Rewind() {
52 if (reader_.is_open()) {
53 reader_.clear();
54 reader_.seekg(0, std::ios::beg);
55 }
56}
57
58Status TupleTextFileReader::GetNext(string* output, bool* eos) {
59 DCHECK(output != nullptr);

Callers 1

CacheFileCmpFunction · 0.45

Calls 2

clearMethod · 0.65
is_openMethod · 0.45

Tested by

no test coverage detected