Package io.jmix.reports.libintegration
Class JmixSqlDataLoader
java.lang.Object
io.jmix.reports.yarg.loaders.impl.AbstractDataLoader
io.jmix.reports.yarg.loaders.impl.AbstractDbDataLoader
io.jmix.reports.yarg.loaders.impl.SqlDataLoader
io.jmix.reports.libintegration.JmixSqlDataLoader
- All Implemented Interfaces:
ReportDataLoader,StreamingReportDataLoader
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.reports.yarg.loaders.impl.SqlDataLoader
SqlDataLoader.SqlRowIteratorNested classes/interfaces inherited from class io.jmix.reports.yarg.loaders.impl.AbstractDbDataLoader
AbstractDbDataLoader.OutputValue, AbstractDbDataLoader.QueryPack, AbstractDbDataLoader.QueryParameter -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ReportsGroovyFeatureSupportprotected StoreAwareLocatorFields inherited from class io.jmix.reports.yarg.loaders.impl.SqlDataLoader
streamingFetchSizeFields inherited from class io.jmix.reports.yarg.loaders.impl.AbstractDbDataLoader
COMMON_PARAM_PATTERNFields inherited from class io.jmix.reports.yarg.loaders.impl.AbstractDataLoader
fieldsConverter, parametersConverter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected DataSourceresolveDataSource(ReportQuery reportQuery) The data source the streaming cursor connects to.protected ListrunQuery(ReportQuery reportQuery, String queryString, Object[] params, ResultSetHandler<List> handler) Methods inherited from class io.jmix.reports.yarg.loaders.impl.SqlDataLoader
buildOutputValues, getDataSource, loadData, loadDataStreaming, resolveStreamingFetchSize, setStreamingFetchSizeMethods inherited from class io.jmix.reports.yarg.loaders.impl.AbstractDbDataLoader
fillOutputData, fillOutputRow, findParameterNames, insertParameterToQuery, prepareQueryMethods inherited from class io.jmix.reports.yarg.loaders.impl.AbstractDataLoader
addParentBandDataToParameters, convertOutputValue, convertParameter, getFieldsConverter, getParametersConverter, setFieldsConverter, setParametersConverter
-
Field Details
-
storeAwareLocator
-
groovyFeatureSupport
-
-
Constructor Details
-
JmixSqlDataLoader
-
-
Method Details
-
runQuery
protected List runQuery(ReportQuery reportQuery, String queryString, Object[] params, ResultSetHandler<List> handler) throws SQLException - Overrides:
runQueryin classSqlDataLoader- Throws:
SQLException
-
resolveDataSource
Description copied from class:SqlDataLoaderThe data source the streaming cursor connects to. The default is the constructor-injected one; subclasses may route by the dataset's data store (mirrorsrunQueryoverrides).- Overrides:
resolveDataSourcein classSqlDataLoader
-
processQueryTemplate
protected String processQueryTemplate(String query, @Nullable BandData parentBand, Map<String, Object> reportParams) - Overrides:
processQueryTemplatein classAbstractDbDataLoader
-