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

Function EncodeTSVectorValue

pkg/util/encoding/encoding.go:2830–2833  ·  view source on GitHub ↗

EncodeTSVectorValue encodes an already-byte-encoded TSVector value with no value tag but with a length prefix, appends it to the supplied buffer, and returns the final buffer.

(appendTo []byte, colIDDelta uint32, data []byte)

Source from the content-addressed store, hash-verified

2828// value tag but with a length prefix, appends it to the supplied buffer, and
2829// returns the final buffer.
2830func EncodeTSVectorValue(appendTo []byte, colIDDelta uint32, data []byte) []byte {
2831 appendTo = EncodeValueTag(appendTo, colIDDelta, TSVector)
2832 return EncodeUntaggedBytesValue(appendTo, data)
2833}
2834
2835// EncodePGVectorValue encodes an already-byte-encoded PGVector value with no
2836// value tag but with a length prefix, appends it to the supplied buffer, and

Callers

nothing calls this directly

Calls 2

EncodeValueTagFunction · 0.85
EncodeUntaggedBytesValueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…