|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection de.lmu.ifi.dbs.elki.datasource.InputStreamDatabaseConnection
@Title(value="Input-Stream based database connection") @Description(value="Parse an input stream such as STDIN into a database.") public class InputStreamDatabaseConnection
Provides a database connection expecting input from an input stream such as stdin.
Nested Class Summary | |
---|---|
static class |
InputStreamDatabaseConnection.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
(package private) InputStream |
in
The input stream to parse from. |
private static Logging |
logger
The logger for this class. |
(package private) Parser |
parser
Holds the instance of the parser. |
static OptionID |
PARSER_ID
Parameter to specify the parser to provide a database. |
Fields inherited from class de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection |
---|
filters, FILTERS_ID, LABEL_CONCATENATION |
Constructor Summary | |
---|---|
InputStreamDatabaseConnection(List<ObjectFilter> filters,
Parser parser)
Constructor. |
Method Summary | |
---|---|
protected Logging |
getLogger()
Get the logger for this database connection. |
MultipleObjectsBundle |
loadData()
Returns the initial data for a database. |
Methods inherited from class de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection |
---|
invokeFilters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final Logging logger
public static final OptionID PARSER_ID
Key: -dbc.parser
Parser parser
InputStream in
Constructor Detail |
---|
public InputStreamDatabaseConnection(List<ObjectFilter> filters, Parser parser)
filters
- Filters to useparser
- the parser to provide a databaseMethod Detail |
---|
public MultipleObjectsBundle loadData()
DatabaseConnection
protected Logging getLogger()
AbstractDatabaseConnection
getLogger
in class AbstractDatabaseConnection
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |