public abstract class AbstractDatabaseConnection extends Object implements DatabaseConnection
Modifier and Type | Class and Description |
---|---|
static class |
AbstractDatabaseConnection.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected List<ObjectFilter> |
filters
The filters to invoke
|
static OptionID |
FILTERS_ID
Filters to apply to the input data.
|
static String |
LABEL_CONCATENATION
A sign to separate components of a label.
|
static OptionID |
PARSER_ID
Parameter to specify the parser to provide a database.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractDatabaseConnection(List<ObjectFilter> filters)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Logging |
getLogger()
Get the logger for this database connection.
|
protected BundleStreamSource |
invokeFilters(BundleStreamSource bundle)
Transforms the specified list of objects and their labels into a list of
objects and their associations.
|
protected MultipleObjectsBundle |
invokeFilters(MultipleObjectsBundle bundle)
Transforms the specified list of objects and their labels into a list of
objects and their associations.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadData
public static final String LABEL_CONCATENATION
public static final OptionID FILTERS_ID
Key: -dbc.filter
public static final OptionID PARSER_ID
Key: -dbc.parser
protected List<ObjectFilter> filters
protected AbstractDatabaseConnection(List<ObjectFilter> filters)
filters
- Filters to apply, can be nullprotected MultipleObjectsBundle invokeFilters(MultipleObjectsBundle bundle)
bundle
- the objects to processprotected BundleStreamSource invokeFilters(BundleStreamSource bundle)
bundle
- the objects to processprotected abstract Logging getLogger()