public class TemplateDataSource extends DataSourcePlugin
ds, FIELD_TYPE_BOOLEAN, FIELD_TYPE_DATE, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER, FIELD_TYPE_LONG, FIELD_TYPE_STRING, FIELD_TYPE_TIMESTAMP
Constructor and Description |
---|
TemplateDataSource(DataSource ds,
DBResult results,
DBTransform transform) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getFieldValue(JRField field)
getFieldValue
|
boolean |
next()
Next
|
TemplateDataSource |
setMaxRecords(long maxRows) |
getClause, getExtraParameter, getFieldValueByPath, getParameter, setClause, setExtraParameter, setParameter, setReadOnlyDataSource
public TemplateDataSource(@Nonnull DataSource ds, @Nonnull DBResult results, @Nonnull DBTransform transform)
public TemplateDataSource setMaxRecords(@Nonnegative long maxRows)
public boolean next() throws JRException
next
in class DataSourcePlugin
JRException
public java.lang.Object getFieldValue(@Nonnull JRField field) throws JRException
getFieldValue
in class DataSourcePlugin
field
- fieldJRException
- JRExceptionstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.