Class JmixSqlDataLoader

java.lang.Object
com.haulmont.yarg.loaders.impl.AbstractDataLoader
com.haulmont.yarg.loaders.impl.AbstractDbDataLoader
com.haulmont.yarg.loaders.impl.SqlDataLoader
io.jmix.reports.libintegration.JmixSqlDataLoader
All Implemented Interfaces:
com.haulmont.yarg.loaders.ReportDataLoader

public class JmixSqlDataLoader extends com.haulmont.yarg.loaders.impl.SqlDataLoader
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.haulmont.yarg.loaders.impl.AbstractDbDataLoader

    com.haulmont.yarg.loaders.impl.AbstractDbDataLoader.OutputValue, com.haulmont.yarg.loaders.impl.AbstractDbDataLoader.QueryPack, com.haulmont.yarg.loaders.impl.AbstractDbDataLoader.QueryParameter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class com.haulmont.yarg.loaders.impl.AbstractDbDataLoader

    COMMON_PARAM_PATTERN

    Fields inherited from class com.haulmont.yarg.loaders.impl.AbstractDataLoader

    fieldsConverter, parametersConverter
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List
    runQuery(com.haulmont.yarg.structure.ReportQuery reportQuery, String queryString, Object[] params, com.haulmont.yarg.util.db.ResultSetHandler<List> handler)
     

    Methods inherited from class com.haulmont.yarg.loaders.impl.SqlDataLoader

    getDataSource, loadData

    Methods inherited from class com.haulmont.yarg.loaders.impl.AbstractDbDataLoader

    fillOutputData, findParameterNames, insertParameterToQuery, prepareQuery, processQueryTemplate

    Methods inherited from class com.haulmont.yarg.loaders.impl.AbstractDataLoader

    addParentBandDataToParameters, convertOutputValue, convertParameter, getFieldsConverter, getParametersConverter, setFieldsConverter, setParametersConverter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • JmixSqlDataLoader

      public JmixSqlDataLoader(DataSource dataSource)
  • Method Details

    • runQuery

      protected List runQuery(com.haulmont.yarg.structure.ReportQuery reportQuery, String queryString, Object[] params, com.haulmont.yarg.util.db.ResultSetHandler<List> handler) throws SQLException
      Overrides:
      runQuery in class com.haulmont.yarg.loaders.impl.SqlDataLoader
      Throws:
      SQLException