Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataSources.IODataSource Class Reference

List of all members.

Static Protected Member Functions

static boolean saveDataSchema (File xml_dest, DataStatistics statistics, DataStatistics PPstatistics, History history) throws InternalTableException
static void saveNextRows (Instances istanze, FileWriter out) throws IOException
static Instances readNextRows (DataStatistics statistics, BufferedReader in, long lenght) throws InternalTableException

Detailed Description

This utility class contains methods and variables used inside this package for accessing to data repository.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Member Function Documentation

static boolean kddml.Core.DataSources.IODataSource.saveDataSchema File  xml_dest,
DataStatistics  statistics,
DataStatistics  PPstatistics,
History  history
throws InternalTableException [static, protected]
 

Saves the input schema represented by data statistic in the data repository.

Parameters:
xml_dest File the XML destination file. It must ends with .xml extension
statistics DataStatistics the data statistics.
PPstatistics DataStatistics the preprocessing data statistics. It can be null.
history History can be null the history related to the preprocessing data. It can be null.
Returns:
boolean
Exceptions:
InternalTableException 

static void kddml.Core.DataSources.IODataSource.saveNextRows Instances  istanze,
FileWriter  out
throws IOException [static, protected]
 

Saves a set of instances appending they on the input writer.

Parameters:
istanze Instances
out FileWriter
Exceptions:
IOException 

static Instances kddml.Core.DataSources.IODataSource.readNextRows DataStatistics  statistics,
BufferedReader  in,
long  lenght
throws InternalTableException [static, protected]
 

Reads the required number of rows from the input data source. The method starts to read from the pointer stored in the input BufferedReader. If lenght is 0, then the method returns an empty set of Instances (i.e with the data schema only). If lenght exeded the total number of rows, the method returns all instances.

Parameters:
statistics DataStatistics
in BufferedReader
lenght long
Returns:
Instances
Exceptions:
InternalTableException 


Generated on Thu Feb 23 13:04:43 2006 for kddml by  doxygen 1.4.3