EncodeValue appends the encoded values to byte slice b, returning the appended slice. It does not guarantee the order for comparison.
(loc *time.Location, b []byte, v ...types.Datum)
| 307 | // EncodeValue appends the encoded values to byte slice b, returning the appended |
| 308 | // slice. It does not guarantee the order for comparison. |
| 309 | func EncodeValue(loc *time.Location, b []byte, v ...types.Datum) ([]byte, error) { |
| 310 | return encode(loc, b, v, false) |
| 311 | } |
| 312 | |
| 313 | func encodeHashChunkRowIdx(typeCtx types.Context, row chunk.Row, tp *types.FieldType, idx int) (flag byte, b []byte, err error) { |
| 314 | if row.IsNull(idx) { |