public class SimpleDataSupplier
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
SimpleDataSupplier.DataConsumer |
Constructor and Description |
---|
SimpleDataSupplier(<any> outputGeneratorProvider,
EntityClonerService entityClonerService,
ParameterSetFactory parameterSetFactory,
DatasourceTransformationService datasourceTransformationService) |
Modifier and Type | Method and Description |
---|---|
int |
_getColumnValuesCount(DatasourceContainerProvider container,
ParameterSet parameters,
java.util.List<Column> columns,
java.util.List<AdditionalColumnSpec> additionalColumns,
boolean useFilters,
boolean distinct) |
RSTableModel |
_getColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
java.util.List<Column> column,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters,
boolean distinct,
SimpleDataSupplier.DataConsumer streamConsumer) |
RSTableModel |
_getColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
java.util.List<Column> column,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters,
boolean distinct,
SimpleDataSupplier.DataConsumer streamConsumer,
java.lang.String executorToken) |
java.util.List<java.lang.String> |
getColumnNames(DatasourceContainerProvider container) |
java.util.List<java.lang.Object[]> |
getColumns(DatasourceContainerProvider container) |
int |
getColumnValuesCount(DatasourceContainerProvider container,
Column column,
boolean useFilters) |
int |
getColumnValuesCount(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
boolean useFilters) |
int |
getColumnValuesCount(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
java.util.List<AdditionalColumnSpec> additionalColumns,
boolean useFilters) |
RSTableModel |
getColumnValuesPaged(DatasourceContainerProvider container,
Column column,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters) |
RSTableModel |
getColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters) |
RSTableModel |
getColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters) |
RSTableModel |
getColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters,
SimpleDataSupplier.DataConsumer consumer) |
RSTableModel |
getColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
java.util.List<Column> columns,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters) |
RSTableModel |
getColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
java.util.List<Column> columns,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters,
SimpleDataSupplier.DataConsumer consumer) |
RSTableModel |
getData(DatasourceContainerProvider container) |
RSTableModel |
getData(DatasourceContainerProvider container,
ParameterSet parameters) |
RSTableModel |
getData(DatasourceContainerProvider container,
ParameterSet parameters,
java.lang.Integer offset,
java.lang.Integer limit) |
RSTableModel |
getData(DatasourceContainerProvider container,
ParameterSet parameters,
java.lang.Integer offset,
java.lang.Integer limit,
TableDatasourceConfig config,
SimpleDataSupplier.DataConsumer consumer,
Column... columns) |
RSTableModel |
getData(DatasourceContainerProvider container,
Report report,
User user) |
RSTableModel |
getData(DatasourceContainerProvider container,
User user,
java.lang.Integer offset,
java.lang.Integer limit,
TableDatasourceConfig config,
SimpleDataSupplier.DataConsumer consumer,
Column... columns) |
RSTableModel |
getData(TableDataSource ds) |
RSTableModel |
getData(TableDataSource ds,
java.lang.String executorToken) |
int |
getDataCount(DatasourceContainerProvider container) |
int |
getDataCount(DatasourceContainerProvider container,
ParameterSet parameters) |
int |
getDataCount(DatasourceContainerProvider container,
ParameterSet parameters,
TableDatasourceConfig config) |
int |
getDistinctColumnValuesCount(DatasourceContainerProvider container,
Column column,
boolean useFilters) |
int |
getDistinctColumnValuesCount(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
boolean useFilters) |
int |
getDistinctColumnValuesCount(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
java.util.List<AdditionalColumnSpec> additionalColumns,
boolean useFilters) |
RSTableModel |
getDistinctColumnValuesPaged(DatasourceContainerProvider container,
Column column,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters) |
RSTableModel |
getDistinctColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters) |
RSTableModel |
getDistinctColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters) |
RSTableModel |
getDistinctColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters,
SimpleDataSupplier.DataConsumer consumer) |
RSTableModel |
getDistinctColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
Column column,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters,
java.lang.String executeToken) |
RSTableModel |
getDistinctColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
java.util.List<Column> columns,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters) |
RSTableModel |
getDistinctColumnValuesPaged(DatasourceContainerProvider container,
ParameterSet parameters,
java.util.List<Column> columns,
java.util.List<AdditionalColumnSpec> additionalColumns,
java.lang.Integer offset,
java.lang.Integer length,
boolean useFilters,
SimpleDataSupplier.DataConsumer consumer) |
TableDefinition |
getInfo(DatasourceContainerProvider container) |
TableDefinition |
getInfo(DatasourceContainerProvider container,
User user,
Column... columns) |
RSTableModel |
streamData(TableDataSource ds,
SimpleDataSupplier.DataConsumer consumer) |
RSTableModel |
streamData(TableDataSource ds,
SimpleDataSupplier.DataConsumer consumer,
java.lang.String executorToken) |
public SimpleDataSupplier(<any> outputGeneratorProvider, EntityClonerService entityClonerService, ParameterSetFactory parameterSetFactory, DatasourceTransformationService datasourceTransformationService)
public TableDefinition getInfo(DatasourceContainerProvider container) throws ReportExecutorException
ReportExecutorException
public TableDefinition getInfo(DatasourceContainerProvider container, User user, Column... columns) throws ReportExecutorException
ReportExecutorException
public RSTableModel getData(DatasourceContainerProvider container) throws ReportExecutorException
ReportExecutorException
public RSTableModel getData(DatasourceContainerProvider container, Report report, User user) throws ReportExecutorException
ReportExecutorException
public RSTableModel getData(DatasourceContainerProvider container, ParameterSet parameters) throws ReportExecutorException
ReportExecutorException
public RSTableModel getData(DatasourceContainerProvider container, ParameterSet parameters, java.lang.Integer offset, java.lang.Integer limit) throws ReportExecutorException
ReportExecutorException
public RSTableModel getData(DatasourceContainerProvider container, User user, java.lang.Integer offset, java.lang.Integer limit, TableDatasourceConfig config, SimpleDataSupplier.DataConsumer consumer, Column... columns) throws ReportExecutorException
ReportExecutorException
public RSTableModel getData(DatasourceContainerProvider container, ParameterSet parameters, java.lang.Integer offset, java.lang.Integer limit, TableDatasourceConfig config, SimpleDataSupplier.DataConsumer consumer, Column... columns) throws ReportExecutorException
ReportExecutorException
public int getDataCount(DatasourceContainerProvider container) throws ReportExecutorException
ReportExecutorException
public int getDataCount(DatasourceContainerProvider container, ParameterSet parameters) throws ReportExecutorException
ReportExecutorException
public int getDataCount(DatasourceContainerProvider container, ParameterSet parameters, TableDatasourceConfig config) throws ReportExecutorException
ReportExecutorException
public RSTableModel getColumnValuesPaged(DatasourceContainerProvider container, Column column, java.lang.Integer offset, java.lang.Integer length, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public RSTableModel getColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, Column column, java.lang.Integer offset, java.lang.Integer length, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public RSTableModel getColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, Column column, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public RSTableModel getColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, Column column, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters, SimpleDataSupplier.DataConsumer consumer) throws ReportExecutorException
ReportExecutorException
public RSTableModel getColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, java.util.List<Column> columns, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public RSTableModel getColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, java.util.List<Column> columns, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters, SimpleDataSupplier.DataConsumer consumer) throws ReportExecutorException
ReportExecutorException
public RSTableModel getDistinctColumnValuesPaged(DatasourceContainerProvider container, Column column, java.lang.Integer offset, java.lang.Integer length, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public RSTableModel getDistinctColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, Column column, java.lang.Integer offset, java.lang.Integer length, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public RSTableModel getDistinctColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, Column column, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters, java.lang.String executeToken) throws ReportExecutorException
ReportExecutorException
public RSTableModel getDistinctColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, Column column, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public RSTableModel getDistinctColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, Column column, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters, SimpleDataSupplier.DataConsumer consumer) throws ReportExecutorException
ReportExecutorException
public RSTableModel getDistinctColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, java.util.List<Column> columns, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public RSTableModel getDistinctColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, java.util.List<Column> columns, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters, SimpleDataSupplier.DataConsumer consumer) throws ReportExecutorException
ReportExecutorException
public RSTableModel _getColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, java.util.List<Column> column, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters, boolean distinct, SimpleDataSupplier.DataConsumer streamConsumer) throws ReportExecutorException
ReportExecutorException
public RSTableModel _getColumnValuesPaged(DatasourceContainerProvider container, ParameterSet parameters, java.util.List<Column> column, java.util.List<AdditionalColumnSpec> additionalColumns, java.lang.Integer offset, java.lang.Integer length, boolean useFilters, boolean distinct, SimpleDataSupplier.DataConsumer streamConsumer, java.lang.String executorToken) throws ReportExecutorException
ReportExecutorException
public int getColumnValuesCount(DatasourceContainerProvider container, Column column, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public int getColumnValuesCount(DatasourceContainerProvider container, ParameterSet parameters, Column column, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public int getColumnValuesCount(DatasourceContainerProvider container, ParameterSet parameters, Column column, java.util.List<AdditionalColumnSpec> additionalColumns, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public int getDistinctColumnValuesCount(DatasourceContainerProvider container, Column column, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public int getDistinctColumnValuesCount(DatasourceContainerProvider container, ParameterSet parameters, Column column, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public int getDistinctColumnValuesCount(DatasourceContainerProvider container, ParameterSet parameters, Column column, java.util.List<AdditionalColumnSpec> additionalColumns, boolean useFilters) throws ReportExecutorException
ReportExecutorException
public int _getColumnValuesCount(DatasourceContainerProvider container, ParameterSet parameters, java.util.List<Column> columns, java.util.List<AdditionalColumnSpec> additionalColumns, boolean useFilters, boolean distinct) throws ReportExecutorException
ReportExecutorException
public java.util.List<java.lang.String> getColumnNames(DatasourceContainerProvider container) throws ReportExecutorException
ReportExecutorException
public java.util.List<java.lang.Object[]> getColumns(DatasourceContainerProvider container) throws ReportExecutorException
ReportExecutorException
public RSTableModel getData(TableDataSource ds) throws ReportExecutorException
ReportExecutorException
public RSTableModel getData(TableDataSource ds, java.lang.String executorToken) throws ReportExecutorException
ReportExecutorException
public RSTableModel streamData(TableDataSource ds, SimpleDataSupplier.DataConsumer consumer) throws ReportExecutorException
ReportExecutorException
public RSTableModel streamData(TableDataSource ds, SimpleDataSupplier.DataConsumer consumer, java.lang.String executorToken) throws ReportExecutorException
ReportExecutorException