SearchRowGetters typedef

SearchRowGetters = Map<Kind, SearchRowGetter>

The type of the getters argument to SearchIndex.new.

This type is a Map of Kinds to SearchRowGetters. For a particular SearchIndex, it associates each Kind that this index deals with with the corresponding SearchRowGetter that provides SearchRows for JSON values of this Kind. It is expected that every kind used as a key for the map is a String or a finite num.

See also: SearchIndex.getters

Implementation

typedef SearchRowGetters = Map<Kind, SearchRowGetter>;