getKeyOfIndexFn = function(index) {
    return index.columns.length == 1 ?
        getSingleKeyFn(index.columns[0].schema) :
        getMultiKeyFn(index.columns);
  }
@param {!lf.schema.Index} index
@return {function(!Object): !lf.index.Index.Key}