prefuse.data.io.sql
Class DataSourceWorker.Entry

java.lang.Object
  extended by prefuse.data.io.sql.DataSourceWorker.Entry
Enclosing class:
DataSourceWorker

public static class DataSourceWorker.Entry
extends java.lang.Object

Stores the parameters of a data query and processing job.

Author:
jeffrey heer

Constructor Summary
DataSourceWorker.Entry(DatabaseDataSource ds, Table<?> table, java.lang.String query, java.lang.String keyField, java.lang.Object lock, DataSourceWorker.Listener listener)
          Create a new Entry.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceWorker.Entry

public DataSourceWorker.Entry(DatabaseDataSource ds,
                              Table<?> table,
                              java.lang.String query,
                              java.lang.String keyField,
                              java.lang.Object lock,
                              DataSourceWorker.Listener listener)
Create a new Entry.

Parameters:
ds - the DatabaseDataSource to query
table - the Table for storing the results
query - the query to issue
keyField - the key field that should be used to identify when duplicate results occur
lock - an optional lock to synchronize on when processing data and adding it to the Table
listener - an optional callback listener that allows notifications to be issued before and after query processing


Copyright © 2008 Regents of the University of California