|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.structures.CollectionStatistics org.terrier.structures.Index.UpdatingCollectionStatistics
protected class Index.UpdatingCollectionStatistics
This collection statistics parses the associated index properties for each call. It doesnt support fields.
Field Summary |
---|
Fields inherited from class org.terrier.structures.CollectionStatistics |
---|
averageDocumentLength, avgFieldLengths, fieldTokens, numberOfDocuments, numberOfFields, numberOfPointers, numberOfTokens, numberOfUniqueTerms |
Constructor Summary | |
---|---|
Index.UpdatingCollectionStatistics(Index index)
|
Method Summary | |
---|---|
double |
getAverageDocumentLength()
Returns the documents' average length. |
int |
getNumberOfDocuments()
Returns the total number of documents in the collection. |
long |
getNumberOfPointers()
Returns the total number of pointers in the collection. |
long |
getNumberOfTokens()
Returns the total number of tokens in the collection. |
int |
getNumberOfUniqueTerms()
Returns the total number of unique terms in the lexicon. |
Methods inherited from class org.terrier.structures.CollectionStatistics |
---|
addStatistics, getAverageFieldLengths, getFieldTokens, getNumberOfFields, relcaluateAverageLengths |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Index.UpdatingCollectionStatistics(Index index)
Method Detail |
---|
public double getAverageDocumentLength()
CollectionStatistics
getAverageDocumentLength
in class CollectionStatistics
public int getNumberOfDocuments()
CollectionStatistics
getNumberOfDocuments
in class CollectionStatistics
public long getNumberOfPointers()
CollectionStatistics
getNumberOfPointers
in class CollectionStatistics
public long getNumberOfTokens()
CollectionStatistics
getNumberOfTokens
in class CollectionStatistics
public int getNumberOfUniqueTerms()
CollectionStatistics
getNumberOfUniqueTerms
in class CollectionStatistics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |