MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / resetState

Method resetState

src/processor/result/factorized_table.cpp:674–684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672}
673
674void FactorizedTableIterator::resetState() {
675 numFlatTuples = 0;
676 nextFlatTupleIdx = 0;
677 nextTupleIdx = 1;
678 if (factorizedTable.getNumTuples()) {
679 currentTupleBuffer = factorizedTable.getTuple(0);
680 numFlatTuples = factorizedTable.getNumFlatTuples(0);
681 updateNumElementsInDataChunk();
682 updateInvalidEntriesInFlatTuplePositionsInDataChunk();
683 }
684}
685
686void FactorizedTableIterator::readUnflatColToFlatTuple(ft_col_idx_t colIdx, uint8_t* valueBuffer,
687 FlatTuple& tuple) {

Callers

nothing calls this directly

Calls 3

getNumFlatTuplesMethod · 0.80
getNumTuplesMethod · 0.45
getTupleMethod · 0.45

Tested by

no test coverage detected