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

Method Init

be/src/runtime/io/data-cache-trace.cc:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130Status TraceFileIterator::Init() {
131 boost::filesystem::path file_path(filename_);
132 if (!boost::filesystem::exists(file_path)) {
133 return Status(Substitute("Trace file does not exist: $0", filename_));
134 }
135 stream_.open(filename_);
136 initialized_ = true;
137 return Status::OK();
138}
139
140Status TraceFileIterator::GetNextEvent(TraceEvent* event, bool* done) {
141 string line;

Callers 2

OpenMethod · 0.45
ReplayFileMethod · 0.45

Calls 8

SubstituteFunction · 0.85
OKFunction · 0.85
openMethod · 0.65
resetMethod · 0.65
getMethod · 0.65
StatusClass · 0.50
OpenMethod · 0.45
StartMethod · 0.45

Tested by

no test coverage detected