| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 CollectionStatisticspublic int getNumberOfDocuments()
CollectionStatistics
getNumberOfDocuments in class CollectionStatisticspublic long getNumberOfPointers()
CollectionStatistics
getNumberOfPointers in class CollectionStatisticspublic long getNumberOfTokens()
CollectionStatistics
getNumberOfTokens in class CollectionStatisticspublic int getNumberOfUniqueTerms()
CollectionStatistics
getNumberOfUniqueTerms in class CollectionStatistics| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||