public <T> Result<T> query(final Class<T> entityClass, final String statement,
      final Map<String, Object> values) {
    return query(entityClass, new SimpleStatement(statement, values));
  }
public <T> Result<T> query(final Class<T> entityClass, final String statement,
      final Map<String, Object> values) {
    return query(entityClass, new SimpleStatement(statement, values));
  }
public < T > Result < T > query ( final Class < T > entityClass , final String statement , final Map < String , Object > values ) { return query ( entityClass , new SimpleStatement ( statement , values ) ) ; }
Execute a query and map result to entityClass.

@param entityClass Entity class.
@param statement Statement to execute.
@param values Statement parameters.
@return A query result.
Execute a query and map result to entityClass .