Uses of Class
com.blackrook.sql.SQLRow
Packages that use SQLRow
-
Uses of SQLRow in com.blackrook.sql
Fields in com.blackrook.sql with type parameters of type SQLRowMethods in com.blackrook.sql that return SQLRowModifier and TypeMethodDescriptionstatic SQLRow
SQL.getRow
(Connection connection, String query, Object... parameters) Performs a query on a connection and extracts the data into a single SQLRow.Performs a query and extracts the first row result into a singleSQLRow
.SQLResult.getRow()
Gets the first row, or only row in this result, or null if no rows.SQLResult.SQLResultIterator.next()
Methods in com.blackrook.sql that return types with arguments of type SQLRowMethod parameters in com.blackrook.sql with type arguments of type SQLRowModifier and TypeMethodDescriptionprotected <R> R
SQLAbstractDAO.value
(SQLConnectionFunction<SQLRow> handler, Function<SQLRow, R> extractor) Lifts a single value from a queriedSQLRow
and returns it, returning null if the row is null.protected <R> R
SQLAbstractDAO.value
(SQLConnectionFunction<SQLRow> handler, Function<SQLRow, R> extractor) Lifts a single value from a queriedSQLRow
and returns it, returning null if the row is null.SQLAbstractDAO.valueCaseInsenstiveMap
(SQLConnectionFunction<SQLResult> handler, BiConsumer<SQLRow, SortedMap<String, V>> extractor) Lifts a map of values from a queriedSQLResult
and returns it as an immutable map of case-insensitive string key to value.protected <R> List<R>
SQLAbstractDAO.valueList
(SQLConnectionFunction<SQLResult> handler, Function<SQLRow, R> extractor) Lifts a list of single values from a queriedSQLResult
and returns it as an immutable list.protected <K,
V> Map<K, V> SQLAbstractDAO.valueMap
(SQLConnectionFunction<SQLResult> handler, BiConsumer<SQLRow, Map<K, V>> extractor) Lifts a map of values from a queriedSQLResult
and returns it as an immutable map of key to value.protected <R> Set<R>
SQLAbstractDAO.valueSet
(SQLConnectionFunction<SQLResult> handler, Function<SQLRow, R> extractor) Lifts a list of single values from a queriedSQLResult
and returns it as an immutable set of unique values.protected <K,
V> SortedMap<K, V> SQLAbstractDAO.valueSortedMap
(SQLConnectionFunction<SQLResult> handler, BiConsumer<SQLRow, SortedMap<K, V>> extractor) Lifts a sorted map of values from a queriedSQLResult
and returns it as an immutable map of key to value.protected <R> SortedSet<R>
SQLAbstractDAO.valueSortedSet
(SQLConnectionFunction<SQLResult> handler, Function<SQLRow, R> extractor) Lifts a list of single values from a queriedSQLResult
and returns it as an immutable sorted set of unique values.