EncodeInvertedIndexKeys implements the JSON interface.
(b []byte)
| 706 | |
| 707 | // EncodeInvertedIndexKeys implements the JSON interface. |
| 708 | func (j *jsonEncoded) encodeInvertedIndexKeys(b []byte) ([][]byte, error) { |
| 709 | // TODO(justin): this could possibly be optimized. |
| 710 | decoded, err := j.decode() |
| 711 | if err != nil { |
| 712 | return nil, err |
| 713 | } |
| 714 | return decoded.encodeInvertedIndexKeys(b) |
| 715 | } |
| 716 | |
| 717 | // numInvertedIndexEntries implements the JSON interface. |
| 718 | func (j *jsonEncoded) numInvertedIndexEntries() (int, error) { |
nothing calls this directly
no test coverage detected