EncodeInvertedIndexKeys implements the JSON interface.
(b []byte)
| 720 | |
| 721 | // EncodeInvertedIndexKeys implements the JSON interface. |
| 722 | func (j *jsonEncoded) encodeInvertedIndexKeys(b []byte) ([][]byte, error) { |
| 723 | // TODO(justin): this could possibly be optimized. |
| 724 | decoded, err := j.decode() |
| 725 | if err != nil { |
| 726 | return nil, err |
| 727 | } |
| 728 | return decoded.encodeInvertedIndexKeys(b) |
| 729 | } |
| 730 | |
| 731 | // numInvertedIndexEntries implements the JSON interface. |
| 732 | func (j *jsonEncoded) numInvertedIndexEntries() (int, error) { |
nothing calls this directly
no test coverage detected