MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / SetLength

Method SetLength

pkg/col/coldata/batch.go:390–392  ·  view source on GitHub ↗

SetLength implements the Batch interface.

(length int)

Source from the content-addressed store, hash-verified

388
389// SetLength implements the Batch interface.
390func (m *MemBatch) SetLength(length int) {
391 m.length = length
392}
393
394// AppendCol implements the Batch interface.
395func (m *MemBatch) AppendCol(col *Vec) {

Callers 2

ResetMethod · 0.95
ResetInternalBatchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected