|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
CharsetNamePanel | Implements the tab panel for the character set settings (in the advanced settings dialog). |
ColProperty | Stores the properties for one column. |
ColPropertyDialog | |
DataCellFactory | Helper class for the file reader node. |
DecSepPanel | Implements the tab panel for the decimal separator settings (in the advaced settings dialog). |
DomainDialog | |
FileAnalyzer | Provides functionality for analyzing an ASCII data file to create default settings. |
FileAnalyzer.HeaderHelper | Little helper class for the check header method. |
FileReaderAdvancedDialog | Dialog for the expert settings of the file reader dialog. |
FileReaderExecutionMonitor | Execution monitor used by the FileAnalyzer . |
FileReaderNodeDialog | |
FileReaderNodeFactory | |
FileReaderNodeModel | |
FileReaderNodeSettings | |
FileReaderPreviewRowIterator | The iterator for the
FileReaderPreviewTable . |
FileReaderPreviewTable | The data table displayed in the file reader's dialog's preview. |
FileReaderSettings | Contains all settings needed to read in a ASCII data file. |
FileRowIterator | Row iterator for the FileTable . |
FileTable | Implements a DataTable that reads data from an ASCII file. |
IgnoreDelimsPanel | Dialog panel for the expert dialog of the filereader. |
LimitRowsPanel | |
MissingValuePanel | Implements the tab panel for the missing value pattern in string columns (in the advanced settings dialog). |
PreviewTableContentView | Extension of an KNIME table view that reacts on mouse events in the header. |
QuotePanel | Dialog for the expert settings of the file reader dialog. |
SettingsStatus | Deprecated. use SettingsStatus instead. |
ShortLinesPanel | |
SmilesTypeHelper | This a a little helper class that enables the FileReader to create SmilesCells if the chem-Plugin is available. |
UniquifyPanel | Panel for the "uniquify row IDs" option. |
VariableFileReaderNodeDialog | |
VariableFileReaderNodeFactory | |
VariableFileReaderNodeModel | |
VariableFileReaderNodeSettings | |
XMLPropsReader | Adds support for the old XML property files. |
Exception Summary | |
---|---|
FileReaderException | The exception the FileReader (more specificaly the
FileRowIterator ) throws if
something goes wrong. |
InterruptedExecutionException | Exception thrown by the FileAnalyzer, if the program (the node dialog) interrupted the analysis. |
Contains a node implementation that reads in data from an ASCII file.
There are various settings to specify the format of the data file, all
stored in the FileReaderNodeSettings
object. They will be set in the file reader's dialog. In there the FileAnalyzer
does the job of guessing the
settings by looking at the first couple of thousands of lines of the file.
The node provides a FileTable
at its output port. The actual job of reading in the file is done in the FileRowIterator
. It reads in the data as
requested, line by line, as specified by the settings.
To During the execution of the node it reads through the entire file
once. The reason for that is, the row iterator fails if an unexpected data is
read. Unexpected data is for example an invalid number, or something it cannot
really deal with. If the filereader would not traverse the entire file once, the
row iterator would fail at some later time, when a successor node is executing -
and it would be very hard for the user to relate the failure of a successor node
to a problem during file reading. Another nice side effect of this is, the
filereader can provide a DataTableSpec
(after
execution) with domain information (like possible values or value ranges) filled
in. The FileTable
requires a XML file that specifies the location
and structure of the data to read (see xml package and FileTableSpec.dtd). A
valid URL
of this XML file has to be passed to the FileTable
constructor. Another constructor will accept a FileTableSpec
.
A FileTableSpec
(see FileTableSpec.java)
contains a DataTableSpec
(see data package). An URL
of
a XML file must be provided to the constructor. The FileTableSpec
object will read in the XML file during construction and extract the table
structure from there, without reading from the actual data location.
The actual job of reading the data from the source is done by the RowIterator
(see FileRowIterator.java). It uses the tokenizer (see FileTokenizer
)
to split the stream into columns - the behaviour of the tokenizer must be
specified in the XML file passed to the FileTable
constructor.
Also contains the implementation of a node for the workflow which allows
reading data from a location specified by an URL.
The node makes use of the filereader in the data
package (see knime.data.filereader
).
This node has one output providing the DataTable
read from the
specified source during execution. The node also provides a HiLiteHandler at
this output which was freshly instantiated in the node.
The node is instantiated at the start of the data flow whenever data should be
read from a file or location. It reads in an XML file from the specified
location which in turn defines the URL of the data to read and the format of the
data.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |