@Title(value="Input-Stream based database connection") @Description(value="Parse an input stream such as STDIN into a database.") public class InputStreamDatabaseConnection extends AbstractDatabaseConnection
Modifier and Type | Class and Description |
---|---|
static class |
InputStreamDatabaseConnection.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
(package private) InputStream |
in
The input stream to parse from.
|
private static Logging |
LOG
The logger for this class.
|
(package private) Parser |
parser
Holds the instance of the parser.
|
filters, LABEL_CONCATENATION
Constructor and Description |
---|
InputStreamDatabaseConnection(List<ObjectFilter> filters,
Parser parser)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Logging |
getLogger()
Get the logger for this database connection.
|
MultipleObjectsBundle |
loadData()
Returns the initial data for a database.
|
invokeBundleFilters, invokeStreamFilters
private static final Logging LOG
Parser parser
InputStream in
public InputStreamDatabaseConnection(List<ObjectFilter> filters, Parser parser)
filters
- Filters to useparser
- the parser to provide a databasepublic MultipleObjectsBundle loadData()
DatabaseConnection
protected Logging getLogger()
AbstractDatabaseConnection
getLogger
in class AbstractDatabaseConnection
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.