DecodeIndexKeyToCols decodes an index key into the idx'th position of the provided slices of colexec.Vecs. The input index key must already have its first table id / index id prefix removed. If matches is false, the key is from a different table, and the returned remainingKey indicates a "seek prefix": the next key that might be part of the table being searched for. The input key will also be mutated if matches is false. See the analog in sqlbase/index_encoding.go.
DecodeKeyValsToCols decodes the values that are part of the key, writing the result to the idx'th slot of the input slice of colexec.Vecs. If the directions slice is nil, the direction used will default to encoding.Ascending. If the unseen int set is non-nil, upon decoding the column with ordinal i, i will be removed from the set to facilitate tracking whether or not columns have been observed during decoding. See the analog in sqlbase/index_encoding.go. DecodeKeyValsToCols additionally returns whether a NULL was encountered when decoding.
DecodeTableValueToCol decodes a value encoded by EncodeTableValue, writing the result to the idx'th position of the input exec.Vec. See the analog in sqlbase/column_type_encoding.go.
UnmarshalColumnValueToCol decodes the value from a roachpb.Value using the type expected by the column, writing into the input Vec at the given row idx. An error is returned if the value's type does not match the column's type. See the analog, UnmarshalColumnValue, in sqlbase/column_type_encoding.go