public class MemoryOutput extends SerialOutput
Constructor | Description |
---|---|
MemoryOutput(MemoryContainer container) |
Links input to the decision table stored in memory.
|
Modifier and Type | Method | Description |
---|---|---|
void |
done() |
This method does nothing, because you can always write to memory container.
|
void |
outputExample(Example example) |
Writes the next example to the data reprezentation.
|
void |
outputMetadata(Metadata metadata) |
Writes the metadata (attributes and file's information) to the data
reprezentation.
|
public MemoryOutput(MemoryContainer container)
container
- reference to memory containerpublic void outputMetadata(Metadata metadata) throws SerialIOException
SerialOutput
outputMetadata
in class SerialOutput
metadata
- the metadata to be written as Metadata
objectSerialIOException
- if an error occured during writeSerialOutput.outputMetadata(pl.poznan.put.cs.idss.jrs.types.Metadata)
public void outputExample(Example example) throws SerialIOException
SerialOutput
outputExample
in class SerialOutput
example
- the example to be writtenSerialIOException
- if an error occured during writeSerialOutput.outputExample(pl.poznan.put.cs.idss.jrs.types.Example)
public void done()
done
in class SerialOutput