edu.ksu.cis.kdd.data
Class LocalDatabaseTally
java.lang.Object
edu.ksu.cis.kdd.data.DatabaseTally
edu.ksu.cis.kdd.data.LocalDatabaseTally
- All Implemented Interfaces:
- Tally
- public class LocalDatabaseTally
- extends DatabaseTally
- Author:
- Roby Joehanes
Methods inherited from class edu.ksu.cis.kdd.data.DatabaseTally |
dumpTallyStatus, getAllAttributeIndices, getAtttribute, getRelevantAttributeIndices, getTables, getTallies, getUnderlyingData, groupedTally, groupedTally, preprocess, setUnderlyingData, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
alreadyPrefiltered
protected boolean alreadyPrefiltered
tablesInvolved
protected java.util.TreeSet tablesInvolved
joinCache
protected Tuple[] joinCache
createSubTally
public Tally createSubTally(int[] indices,
int[] values)
- See Also:
edu.ksu.cis.kdd.data.TallyInterface#createSubTally(int[], int[])
size
public int size()
- See Also:
edu.ksu.cis.kdd.data.TallyInterface#size()
tally
public int tally(int[] indices,
int[] values)
tally
public int tally(int attr,
int value)
- Specified by:
tally
in interface Tally
- Specified by:
tally
in class DatabaseTally
joinAll
protected Tuple[] joinAll()
join
protected Tuple[] join(Tuple[] t1,
Tuple[] t2)
createSubTally
public Tally createSubTally(int attr,
int value)
- Create a sub tally that is filtered according the attribute number attr with its
value. This does NOT propagate the ref keys -- too expensive. Doing it latter in tally phase
- Parameters:
attr
- value
-
- Returns:
- Prefiltered tally