public static class DataSourceWorker.Entry
extends java.lang.Object
| Constructor and Description |
|---|
Entry(DatabaseDataSource ds,
Table table,
java.lang.String query,
java.lang.String keyField,
java.lang.Object lock,
DataSourceWorker.Listener listener)
Create a new Entry.
|
public Entry(DatabaseDataSource ds, Table table, java.lang.String query, java.lang.String keyField, java.lang.Object lock, DataSourceWorker.Listener listener)
ds - the DatabaseDataSource to querytable - the Table for storing the resultsquery - the query to issuekeyField - the key field that should be used to identify
when duplicate results occurlock - an optional lock to synchronize on when processing
data and adding it to the Tablelistener - an optional callback listener that allows
notifications to be issued before and after query processing