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

Function EncodeTSQueryValue

pkg/util/encoding/encoding.go:2822–2825  ·  view source on GitHub ↗

EncodeTSQueryValue encodes an already-byte-encoded TSQuery 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

2820// value tag but with a length prefix, appends it to the supplied buffer, and
2821// returns the final buffer.
2822func EncodeTSQueryValue(appendTo []byte, colIDDelta uint32, data []byte) []byte {
2823 appendTo = EncodeValueTag(appendTo, colIDDelta, TSQuery)
2824 return EncodeUntaggedBytesValue(appendTo, data)
2825}
2826
2827// EncodeTSVectorValue encodes an already-byte-encoded TSVector value with no
2828// 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…