novie-core/src/main/java/com/groupon/novie/internal/services/SqlQueryEngine.java
public <T extends MeasureAppender> List<T> retrieveRecords(SchemaDefinition schemaDefinition, Class<T> resultClazz, QueryParameter queryParameter) throws NovieRuntimeException {
        final SqlQueryBuilder<T> sqlQueryBuilder = new SqlQueryBuilder<T>(schemaDefinition, resultClazz, queryParameter);
        return executeQuery(sqlQueryBuilder);
    }
public <T extends MeasureAppender> List<T> retrieveRecords(SchemaDefinition schemaDefinition, Class<T> resultClazz, QueryParameter queryParameter) throws NovieRuntimeException {
        final SqlQueryBuilder<T> sqlQueryBuilder = new SqlQueryBuilder<T>(schemaDefinition, resultClazz, queryParameter);
        return executeQuery(sqlQueryBuilder);
    }
Execute a query to retrieve the records.

@param schemaDefinition The schema definition
@param resultClazz      The result object
@param queryParameter   The Query parameters object
@return the summary object if exist. Otherwise throws an exception.
@throws com.groupon.novie.internal.exception.NovieRuntimeException