def __init__(self, mdl):
mdl.validateModel()<EOL>self.mdl = mdl<EOL>self.keyName = mdl.KEY_NAME<EOL>fields = mdl.FIELDS<EOL>self.fields = mdl.FIELDS<EOL>self.indexedFields = [fields[fieldName] for fieldName in mdl.INDEXED_FIELDS]<EOL>self._connection = None<EOL>
Internal constructor

@param mdl - IndexedRedisModel implementer