EncodeInvertedIndexKeys takes in a key prefix and returns a slice of inverted index keys, one per unique path through the receiver.
(b []byte, json JSON)
| 687 | // EncodeInvertedIndexKeys takes in a key prefix and returns a slice of inverted index keys, |
| 688 | // one per unique path through the receiver. |
| 689 | func EncodeInvertedIndexKeys(b []byte, json JSON) ([][]byte, error) { |
| 690 | return json.encodeInvertedIndexKeys(encoding.EncodeJSONAscending(b)) |
| 691 | } |
| 692 | func (j jsonNull) encodeInvertedIndexKeys(b []byte) ([][]byte, error) { |
| 693 | b = encoding.AddJSONPathTerminator(b) |
| 694 | return [][]byte{encoding.EncodeNullAscending(b)}, nil |
nothing calls this directly
no test coverage detected
searching dependent graphs…