Class QueryImpl
- java.lang.Object
-
- io.apicurio.registry.storage.impl.sql.jdb.SqlImpl<Query>
-
- io.apicurio.registry.storage.impl.sql.jdb.QueryImpl
-
-
Field Summary
-
Fields inherited from class io.apicurio.registry.storage.impl.sql.jdb.SqlImpl
connection, parameters, sql
-
-
Constructor Summary
Constructors Constructor Description QueryImpl(Connection connection, String sql)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> MappedQuery<T>map(RowMapper<T> mapper)<T> MappedQuery<T>mapTo(Class<T> someClass)QuerysetFetchSize(int size)-
Methods inherited from class io.apicurio.registry.storage.impl.sql.jdb.SqlImpl
bind, bind, bind, bind, bind, bind, bindParametersTo
-
-
-
-
Constructor Detail
-
QueryImpl
public QueryImpl(Connection connection, String sql)
Constructor.- Parameters:
connection-sql-
-
-
Method Detail
-
setFetchSize
public Query setFetchSize(int size)
- Specified by:
setFetchSizein interfaceQuery- See Also:
Query.setFetchSize(int)
-
map
public <T> MappedQuery<T> map(RowMapper<T> mapper)
- Specified by:
mapin interfaceQuery- See Also:
Query.map(io.apicurio.registry.storage.impl.sql.jdb.RowMapper)
-
mapTo
public <T> MappedQuery<T> mapTo(Class<T> someClass)
- Specified by:
mapToin interfaceQuery- See Also:
Query.mapTo(java.lang.Class)
-
-