|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwpi.associations.arminerSequence.DBCacheReader
DBCacheReader.java A DBCacheReader deserializes itemsets from cache.
Field Summary | |
private java.lang.String |
filename
|
private java.io.ObjectInputStream |
instream
|
Constructor Summary | |
DBCacheReader(java.lang.String name)
Initializes a DBCacheReader to read from the specified cache file. |
Method Summary | |
void |
close()
Closes the cache file. |
java.util.Vector |
compare(DBCacheReader dbCacheReader)
Returns the itemsets contained in this cache that do not appear in the specified db cache reader. |
ARMinerItemset |
getFirstItemset()
Return the first itemset from cache. |
ARMinerItemset |
getNextItemset()
Return next itemset from cache. |
static void |
main(java.lang.String[] args)
For testing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.io.ObjectInputStream instream
private java.lang.String filename
Constructor Detail |
public DBCacheReader(java.lang.String name) throws java.io.IOException
name
- name of the cache file
java.lang.IllegalArgumentException
- name
is null
java.io.IOException
- from java.io packageMethod Detail |
public void close() throws java.io.IOException
java.io.IOException
- from java.io packagepublic ARMinerItemset getFirstItemset() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
- from java.io package
java.lang.ClassNotFoundException
- from java.io packagepublic ARMinerItemset getNextItemset() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
- from java.io package
java.lang.ClassNotFoundException
- from java.io packagepublic java.util.Vector compare(DBCacheReader dbCacheReader) throws java.io.IOException, java.lang.ClassNotFoundException
dbCacheReader
- the cache to compare to
java.io.IOException
java.lang.ClassNotFoundException
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |