public interface TableDataSource
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalColumnSpecs(java.util.List<AdditionalColumnSpec> additionalColumns) |
void |
addQueryComment(java.lang.String comment) |
void |
applyColumnConfiguration(java.util.List<Column> columnList) |
void |
applyConfig(TableDatasourceConfig config) |
void |
applyParameters(ParameterSet paramterSet) |
void |
cancelStatement() |
void |
close() |
void |
countRows()
Sets a flag that tells the datasource to not execute the report as it is, but
to only count the rows.
|
void |
distinct(boolean enableDistinct) |
DatasourceContainerProvider |
getDatasourceContainerProvider() |
java.lang.Object |
getFieldValue(int pos)
If DataSource is not "open" open will be called and cursor will be moved to
first "row"
|
ParameterSet |
getParameters() |
TableDefinition |
getPlainTableDefinition() |
TableDefinition |
getTableDefinition()
If DataSource is not "open" open will be called
|
boolean |
isOpen() |
void |
limit(int number) |
boolean |
next()
If DataSource is not "open" open will be called
|
void |
open() |
void |
open(java.lang.String executorToken) |
void |
paged(int offset,
int length) |
void |
setIgnoreAnyColumnConfiguration(boolean b) |
void |
setPreFilter(FilterBlock rootBlock) |
void countRows()
DatasourceContainerProvider getDatasourceContainerProvider()
void applyParameters(ParameterSet paramterSet)
void applyColumnConfiguration(java.util.List<Column> columnList)
void limit(int number)
void distinct(boolean enableDistinct)
void paged(int offset, int length)
boolean next() throws ReportExecutorException
If DataSource is not "open" open will be called
ReportExecutorException
java.lang.Object getFieldValue(int pos) throws ReportExecutorException
If DataSource is not "open" open will be called and cursor will be moved to first "row"
ReportExecutorException
TableDefinition getTableDefinition() throws ReportExecutorException
If DataSource is not "open" open will be called
ReportExecutorException
TableDefinition getPlainTableDefinition()
void open() throws ReportExecutorException
ReportExecutorException
void open(java.lang.String executorToken) throws ReportExecutorException
ReportExecutorException
boolean isOpen()
void close()
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
void setPreFilter(FilterBlock rootBlock)
void addAdditionalColumnSpecs(java.util.List<AdditionalColumnSpec> additionalColumns)
void setIgnoreAnyColumnConfiguration(boolean b)
ParameterSet getParameters()
void applyConfig(TableDatasourceConfig config)
void cancelStatement()
void addQueryComment(java.lang.String comment)