MCPcopy Index your code
hub / github.com/apache/groovy / asList

Method asList

subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:4557–4559  ·  view source on GitHub ↗

Hook to allow derived classes to override list of result collection behavior. The default behavior is to return a list of GroovyRowResult objects corresponding to each row in the ResultSet. @param sql query to execute @param rs the ResultSet to process @return the resulting list of rows @throws SQ

(String sql, ResultSet rs)

Source from the content-addressed store, hash-verified

4555 * @throws SQLException if a database error occurs
4556 */
4557 protected List<GroovyRowResult> asList(String sql, ResultSet rs) throws SQLException {
4558 return asList(sql, rs, null);
4559 }
4560
4561 /**
4562 * Hook to allow derived classes to override list of result collection behavior.

Callers 15

rowsMethod · 0.95
executeMethod · 0.95
executeInsertMethod · 0.95
callWithRowsMethod · 0.95
mainMethod · 0.45
SmartDocumentFilterClass · 0.45
initStylesMethod · 0.45
updateStylesMethod · 0.45
MatchingHighlighterClass · 0.45
highlightMatchedMethod · 0.45
GroovyEngineClass · 0.45

Calls 6

moveCursorMethod · 0.95
toRowResultMethod · 0.80
callMethod · 0.65
addMethod · 0.65
nextMethod · 0.45
getMessageMethod · 0.45