public <T, I> List<T> findByKeyAndIndex(Object key, I indexStart,
I indexEnd, boolean inclusive, Class<T> bean, Session session,
ConsistencyLevel consistency) {
ClassInformation classInformation = ClassInformations.INSTACE.getClass(bean);
FindByIndexQuery.checkFieldNull(bean, classInformation.getIndexFields());
FieldInformation indexField = classInformation.getIndexFields().get(0);
return findByKeyAndIndex(key, indexField.getName(), indexStart, indexEnd,
inclusive, bean, session, consistency);
}