class DefaultDocumentQueryMapperBuilder implements DocumentQueryMapperBuilder {

    @Override
    public <T> DocumentMapperFrom selectFrom(Class<T> entityClass) {
        requireNonNull(entityClass, "entity is required");
        ClassMapping mapping = mappings.get().get(entityClass);
        return new DefaultDocumentMapperSelectBuilder(mapping, converters.get());
    }

}