MCPcopy
hub / github.com/uber/aresdb / preExec

Method preExec

query/aql_batchexecutor.go:256–263  ·  view source on GitHub ↗
(isLastBatch bool, start time.Time)

Source from the content-addressed store, hash-verified

254}
255
256func (e *BatchExecutorImpl) preExec(isLastBatch bool, start time.Time) {
257 e.isLastBatch = isLastBatch
258 // initialize index vector.
259 if !e.qc.OOPK.currentBatch.indexVectorD.isNull() {
260 initIndexVector(e.qc.OOPK.currentBatch.indexVectorD.getPointer(), 0, e.qc.OOPK.currentBatch.size, e.stream, e.qc.Device)
261 }
262 e.qc.reportTimingForCurrentBatch(e.stream, &start, initIndexVectorTiming)
263}
264
265func (e *BatchExecutorImpl) postExec(start time.Time) {
266 // swap result buffer before next batch

Callers

nothing calls this directly

Calls 4

initIndexVectorFunction · 0.85
isNullMethod · 0.80
getPointerMethod · 0.80

Tested by

no test coverage detected