Package org.terrier.structures.indexing
Class LexiconBuilder.FieldLexiconCollectionStaticticsCounter
- java.lang.Object
-
- org.terrier.structures.indexing.LexiconBuilder.FieldLexiconCollectionStaticticsCounter
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,LexiconBuilder.CollectionStatisticsCounter
- Enclosing class:
- LexiconBuilder
protected static class LexiconBuilder.FieldLexiconCollectionStaticticsCounter extends java.lang.Object implements LexiconBuilder.CollectionStatisticsCounter
counts global statistics in the fields case
-
-
Constructor Summary
Constructors Constructor Description FieldLexiconCollectionStaticticsCounter(IndexOnDisk _index, int _numFields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
count(LexiconEntry value)
The current count
-
-
-
Constructor Detail
-
FieldLexiconCollectionStaticticsCounter
public FieldLexiconCollectionStaticticsCounter(IndexOnDisk _index, int _numFields)
-
-
Method Detail
-
count
public void count(LexiconEntry value)
Description copied from interface:LexiconBuilder.CollectionStatisticsCounter
The current count- Specified by:
count
in interfaceLexiconBuilder.CollectionStatisticsCounter
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
-