Package | Description |
---|---|
gov.va.vinci.leo.cr |
CollectionReader base classes and implementations are found in this package.
|
gov.va.vinci.leo.listener |
Provides common and base listeners usable in leo clients.
|
gov.va.vinci.leo.model |
Provides model POJO objects used in Leo.
|
gov.va.vinci.leo.tools.db |
Database query and results handling objects including implementations of the JdbcScriptRunner and the Apache Commons
QueryRunner classes.
|
Constructor and Description |
---|
BaseDatabaseCollectionReader(DatabaseConnectionInformation databaseConnectionInformation)
Initialize the connection information from the DatabaseConnectionInformation object.
|
BatchDatabaseCollectionReader(DatabaseConnectionInformation databaseConnectionInformation,
DataQueryInformation dataQueryInformation,
int minRecordNumber,
int maxRecordNumber,
int batchSize)
Initialize the reader using the database connection and query information provided, including the size of each
batch and optionally the number of random batches to execute.
|
DatabaseCollectionReader(DatabaseConnectionInformation databaseConnectionInformation,
DataQueryInformation dataQueryInformation)
Initialize with the database connection and query information.
|
DatabaseCollectionReader(DatabaseConnectionInformation databaseConnectionInformation,
String query,
String idColumn,
String noteColumn)
Initialize with the database connection and query information.
|
SQLServerPagedDatabaseCollectionReader(DatabaseConnectionInformation databaseConnectionInformation,
DataQueryInformation dataQueryInformation,
int pageSize)
Initialize the reader using the database connection and query information provided, including the size of each
batch and optionally the number of random batches to execute.
|
SQLServerPagedDatabaseCollectionReader(DatabaseConnectionInformation databaseConnectionInformation,
DataQueryInformation dataQueryInformation,
int pageSize,
int firstOffset)
Initialize the reader using the database connection and query information provided, including the size of each
batch and optionally the number of random batches to execute.
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseConnectionInformation |
BaseDatabaseListener.databaseConnectionInformation
The database connection information.
|
Constructor and Description |
---|
BaseDatabaseListener(DatabaseConnectionInformation databaseConnectionInformation,
String preparedStatementSQL)
Base gov.va.vinci.leo.listener.
|
BaseDatabaseListener(DatabaseConnectionInformation databaseConnectionInformation,
String databaseName,
String databaseTable,
List<DatabaseField> fieldList)
Constructor for using a fieldList.
|
Modifier and Type | Method and Description |
---|---|
DatabaseConnectionInformation |
DatabaseConnectionInformation.setDriver(String driver)
Set database driver classname.
|
DatabaseConnectionInformation |
DatabaseConnectionInformation.setPassword(String password)
Set the connection password.
|
DatabaseConnectionInformation |
DatabaseConnectionInformation.setUrl(String url)
Set the connection URL.
|
DatabaseConnectionInformation |
DatabaseConnectionInformation.setUsername(String username)
set the connection username.
|
DatabaseConnectionInformation |
DatabaseConnectionInformation.setValidationQuery(String validationQuery)
Set the validation query for this connection.
|
Constructor and Description |
---|
DataManager(DatabaseConnectionInformation databaseConnectionInformation)
Constructor with database connection information.
|
Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.