Package | Description |
---|---|
prefuse.data.io.sql |
Input libraries for loading data from SQL databases.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeSQLDataHandler
SQLDataHandler that allows multiple handlers to be grouped together.
|
class |
DefaultSQLDataHandler
Default data value handler for mapping SQL data types to Java objects.
|
Modifier and Type | Field and Description |
---|---|
protected SQLDataHandler |
DatabaseDataSource.m_handler |
Modifier and Type | Method and Description |
---|---|
static SQLDataHandler |
ConnectionFactory.getDefaultHandler()
Get an instance of the default SQL data handler.
|
Modifier and Type | Method and Description |
---|---|
void |
CompositeSQLDataHandler.addHandler(java.lang.String columnName,
SQLDataHandler handler)
Add a custom data handler for a given column name.
|
static DatabaseDataSource |
ConnectionFactory.getDatabaseConnection(java.sql.Connection conn,
SQLDataHandler handler)
Get a new database connection.
|
static DatabaseDataSource |
ConnectionFactory.getDatabaseConnection(java.lang.String driver,
java.lang.String url,
java.lang.String user,
java.lang.String password,
SQLDataHandler handler)
Get a new database connection.
|
static DatabaseDataSource |
ConnectionFactory.getMySQLConnection(java.lang.String host,
java.lang.String database,
java.lang.String user,
java.lang.String password,
SQLDataHandler handler)
Get a new database connection to a MySQL database.
|
Schema |
DatabaseDataSource.getSchema(java.sql.ResultSetMetaData metadata,
SQLDataHandler handler)
Given the metadata for a SQL result set and a data value handler for that
result set, returns a corresponding schema for a prefuse table.
|
Constructor and Description |
---|
CompositeSQLDataHandler(SQLDataHandler defaultHandler)
Create a new CompositeSQLDataHandler.
|
Copyright ? 2013 Regents of the University of California