public class CumulativeTimeWord extends StageAppender
Modifier and Type | Class and Description |
---|---|
static class |
CumulativeTimeWord.IntersectionUnionMap
For every word occurrence, emit
|
static class |
CumulativeTimeWord.IntersectionUnionReduce
Recieve every word-time either from the current time period or from past time periods.
|
static class |
CumulativeTimeWord.JacardReduce |
Modifier and Type | Field and Description |
---|---|
protected static String |
TIME_DELTA |
protected static String |
TIME_ELDEST |
Constructor and Description |
---|
CumulativeTimeWord(long timeDelta,
long timeEldest) |
Modifier and Type | Method and Description |
---|---|
static LinkedHashMap<Long,JacardIndex> |
readTimeCountLines(String path)
from a report output path get the words
|
void |
stage(MultiStagedJob stages) |
protected static final String TIME_DELTA
protected static final String TIME_ELDEST
public CumulativeTimeWord(long timeDelta, long timeEldest)
timeDelta
- the delta between timestimeEldest
- the eldest timepublic void stage(MultiStagedJob stages)
stage
in class StageAppender
stages
- what should i add myself to?public static LinkedHashMap<Long,JacardIndex> readTimeCountLines(String path) throws IOException
path
- report output pathIOException