PrefixIndexer is an optional interface on top of an Indexer that allows indexes to support prefix-based iteration.
| 51 | // PrefixIndexer is an optional interface on top of an Indexer that allows |
| 52 | // indexes to support prefix-based iteration. |
| 53 | type PrefixIndexer interface { |
| 54 | // PrefixFromArgs is the same as FromArgs for an Indexer except that |
| 55 | // the index value returned should return all prefix-matched values. |
| 56 | PrefixFromArgs(args ...interface{}) ([]byte, error) |
| 57 | } |
| 58 | |
| 59 | // StringFieldIndex is used to extract a field from an object |
| 60 | // using reflection and builds an index on that field. |
no outgoing calls
no test coverage detected
searching dependent graphs…