Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataSources.InternalTableManager Interface Reference

Inheritance diagram for kddml.Core.DataSources.InternalTableManager:

kddml.Core.DataSources.InternalTable kddml.Core.DataSources.PPInternalTableManager kddml.Core.DataSources.TransactionalInternalTableManager kddml.Core.DataSources.PPInternalTable kddml.Core.DataSources.TransactionalInternalTable kddml.Core.DataSources.PPInternalTable kddml.Core.DataSources.TimestampInternalTableManager kddml.Core.DataSources.TransactionalInternalTable kddml.Core.DataSources.TimestampInternalTable kddml.Core.DataSources.TimestampInternalTable kddml.Core.DataSources.TimestampInternalTable List of all members.

Public Member Functions

DataStatisticsManager getStatistic ()
int getDimension ()
boolean isTransactionalTable ()
void addInstances (Object instances) throws InternalTableException
boolean hasNext ()
void reset () throws InternalTableException
long optimize ()
int getNumOfInstances ()
int getNumOfAttributes ()
boolean isTimestampTable ()
Object load (long i) throws InternalTableException

Detailed Description

An interface for internal table.

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

DataStatisticsManager kddml.Core.DataSources.InternalTableManager.getStatistic  ) 
 

Returns the statistics related to this table.

Returns:
InternalTableManager.

Implemented in kddml.Core.DataSources.InternalTable.

int kddml.Core.DataSources.InternalTableManager.getDimension  ) 
 

Returns the table dimension in KBytes.

Returns:
int

Implemented in kddml.Core.DataSources.InternalTable.

boolean kddml.Core.DataSources.InternalTableManager.isTransactionalTable  ) 
 

Returns true if the table is a transactional table with attributes transaction and event. Returns false if the table is a relational table.

Returns:
boolean

Implemented in kddml.Core.DataSources.InternalTable, and kddml.Core.DataSources.TransactionalInternalTable.

void kddml.Core.DataSources.InternalTableManager.addInstances Object  instances  )  throws InternalTableException
 

Adds the input instances to the table. Throws an exception if the data schema of the input table and the data schema of the input instances do not coincide.

Parameters:
instances Object
Exceptions:
InternalTableException if the schema do not coincide.

Implemented in kddml.Core.DataSources.InternalTable.

boolean kddml.Core.DataSources.InternalTableManager.hasNext  ) 
 

Tests if there are instances to load.

Returns:
boolean returns true if there are instances to load. Returns false if the pointer is at the end of the data file.

Implemented in kddml.Core.DataSources.InternalTable.

void kddml.Core.DataSources.InternalTableManager.reset  )  throws InternalTableException
 

Initializes the instances pointer to the begin of data file.

Exceptions:
InternalTableException 

Implemented in kddml.Core.DataSources.InternalTable, and kddml.Core.DataSources.PPInternalTable.

long kddml.Core.DataSources.InternalTableManager.optimize  ) 
 

Computes the optimal number of instances to load. It can depend from the total number of instances and attributes and the quantity of available system RAM.

Returns:
long

Implemented in kddml.Core.DataSources.InternalTable, and kddml.Core.DataSources.PPInternalTable.

int kddml.Core.DataSources.InternalTableManager.getNumOfInstances  ) 
 

Returns the total number of instances.

Returns:
int

Implemented in kddml.Core.DataSources.InternalTable.

int kddml.Core.DataSources.InternalTableManager.getNumOfAttributes  ) 
 

Returns the total number of attributes.

Returns:
int

Implemented in kddml.Core.DataSources.InternalTable.

boolean kddml.Core.DataSources.InternalTableManager.isTimestampTable  ) 
 

Returns true if the table is a timestamp table with attributes transaction, event and timestamp.

Returns:
boolean

Implemented in kddml.Core.DataSources.InternalTable, and kddml.Core.DataSources.TimestampInternalTable.

Object kddml.Core.DataSources.InternalTableManager.load long  i  )  throws InternalTableException
 

Loads i instances from the position specified by the pointer and returns they as generic object. If the input parameter is greater than the total number of instances, or if it is equal to -1, then the method returns all instances. If i is equal to 0, it returns only the schema of tuples.

Parameters:
i long a non-negative integer representing the the number of instances that will be stored in RAM. -1 if all instances must be return.
Exceptions:
KDDMLCoreException 
Returns:
Object the set of instances as weka.core.Instances.
Exceptions:
InternalTableException 

Implemented in kddml.Core.DataSources.InternalTable, and kddml.Core.DataSources.PPInternalTable.


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