Package | Description |
---|---|
pl.poznan.put.cs.idss.jrs.core |
Contains base classes and interfaces common for whole data management module.
|
pl.poznan.put.cs.idss.jrs.core.db |
This package provides classes that can be used to access the data in a database.
|
pl.poznan.put.cs.idss.jrs.core.isf |
This package contains classes for dealing with ISF file format.
|
pl.poznan.put.cs.idss.jrs.core.mem |
Implements decision table stored in memory with random and serial access.
|
pl.poznan.put.cs.idss.jrs.core.xml |
Provides classes for handling (loading and saving) data stored in XML file format.
|
Modifier and Type | Method | Description |
---|---|---|
abstract void |
SerialOutput.done() |
Finishes the write process.
|
abstract Example |
SerialInput.inputExample() |
Reads the next example from the data reprezentation.
|
abstract Metadata |
SerialInput.inputMetadata() |
Reads the metadata (attributes and file's information) from the data
reprezentation.
|
static MemoryContainer |
Transfer.loadIsf(java.io.InputStream stream) |
Loads data in ISF format from a stream into a memory container.
|
static MemoryContainer |
Transfer.loadIsf(java.io.InputStream stream,
ParseLog log) |
Loads data in ISF format from a stream into a memory container.
|
static MemoryContainer |
Transfer.loadIsf(java.lang.String filename) |
Loads data from an ISF file into a memory container.
|
static MemoryContainer |
Transfer.loadIsf(java.lang.String filename,
ParseLog log) |
Loads data from an ISF file into a memory container.
|
static MemoryContainer |
Transfer.loadXml(java.io.InputStream stream) |
Loads data in XML format from a stream into a memory container.
|
static MemoryContainer |
Transfer.loadXml(java.io.InputStream stream,
ParseLog log) |
Loads data in XML format from a stream into a memory container.
|
static MemoryContainer |
Transfer.loadXml(java.lang.String filename) |
Loads data from an XML file into a memory container.
|
static MemoryContainer |
Transfer.loadXml(java.lang.String filename,
ParseLog log) |
Loads data from an XML file into a memory container.
|
abstract void |
SerialOutput.outputExample(Example example) |
Writes the next example to the data reprezentation.
|
abstract void |
SerialOutput.outputMetadata(Metadata metadata) |
Writes the metadata (attributes and file's information) to the data
reprezentation.
|
static void |
Transfer.saveIsf(java.io.OutputStream stream,
MemoryContainer container) |
Saves data contained in a memory container to a stream in ISF format.
|
static void |
Transfer.saveIsf(java.lang.String filename,
MemoryContainer container) |
Saves data contained in a memory container to an ISF file.
|
static void |
Transfer.saveSimpleIsf(java.io.OutputStream stream,
MemoryContainer container) |
Saves data contained in a memory container to a stream in ISF format.
|
static void |
Transfer.saveSimpleIsf(java.lang.String filename,
MemoryContainer container) |
Saves data contained in a memory container to an ISF file.
|
static void |
Transfer.saveXml(java.io.OutputStream stream,
MemoryContainer container) |
Saves data contained in a memory container to a stream in XML format.
|
static void |
Transfer.saveXml(java.lang.String filename,
MemoryContainer container) |
Saves data contained in a memory container to an XML file.
|
static void |
Transfer.transfer(SerialInput input,
SerialOutput output) |
Transfers data from a given input to a given output.
|
Modifier and Type | Method | Description |
---|---|---|
void |
HSQLOutput.done() |
Ends database transaction, commits all changes and closes the
database connection.
|
void |
MySQLOutput.done() |
Ends database transaction, commits all changes and closes the
database connection.
|
Attribute[] |
HSQLInput.getAttributes() |
Gets attributes
|
Attribute[] |
MySQLInput.getAttributes() |
Gets attributes
|
Example |
MySQLInput.inputExample() |
|
Metadata |
HSQLInput.inputMetadata() |
Gets metadata
|
Metadata |
MySQLInput.inputMetadata() |
|
void |
HSQLOutput.outputExample(Example example) |
Outputs example
|
void |
MySQLOutput.outputExample(Example example) |
Outputs example
|
void |
HSQLOutput.outputMetadata(Metadata metadata) |
Outputs metadata
|
void |
MySQLOutput.outputMetadata(Metadata metadata) |
Outputs metadata
|
void |
MySQLInput.reset() |
Resets the cursor into the data stored in the EXAMPLES table.
|
void |
HSQLOutput.setAttributes(Attribute[] attributes) |
Sets attributes
|
void |
MySQLOutput.setAttributes(Attribute[] attributes) |
Sets attributes
|
Constructor | Description |
---|---|
HSQLInput(HSQLSession session,
java.lang.String isfName) |
The constructor sets a connection to the database.
|
HSQLOutput(HSQLSession session,
java.lang.String isfName) |
This method sets a connection to the database and creates all the necessary
tables, which will contain attributes, examples, and possibly other data.
|
MySQLInput(MySQLSession session,
java.lang.String isfName) |
The constructor sets a connection to the database.
|
MySQLOutput(MySQLSession session,
java.lang.String isfName) |
Sets a read-write connection to the database and creates the tables needed to store the
decision problem.
|
Modifier and Type | Method | Description |
---|---|---|
Example |
IsfInput.inputExample() |
Reads the next example from the ISF file.
|
Metadata |
IsfInput.inputMetadata() |
Reads the metadata (attributes and file's information) from the ISF file.
|
Modifier and Type | Method | Description |
---|---|---|
Example |
MemoryInput.inputExample() |
|
Metadata |
MemoryInput.inputMetadata() |
|
void |
MemoryOutput.outputExample(Example example) |
|
void |
MemoryOutput.outputMetadata(Metadata metadata) |
Modifier and Type | Method | Description |
---|---|---|
Example |
XmlInput.inputExample() |
|
Metadata |
XmlInput.inputMetadata() |
Constructor | Description |
---|---|
XmlInput(java.io.InputStream stream) |
XmlInput class constructor.
Creates a parser. |
XmlInput(java.io.InputStream stream,
ParseLog log) |
XmlInput class constructor.
Creates a parser and set reference to ParseLog class obiect. |