Package org.aksw.palmetto.corpus.lucene
Class CachingWindowSupportingLuceneCorpusAdapter.CachedWordData
- java.lang.Object
-
- org.aksw.palmetto.corpus.lucene.CachingWindowSupportingLuceneCorpusAdapter.CachedWordData
-
- Enclosing class:
- CachingWindowSupportingLuceneCorpusAdapter
protected class CachingWindowSupportingLuceneCorpusAdapter.CachedWordData extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected com.carrotsearch.hppc.IntIntOpenHashMapdocumentLengthsprotected com.carrotsearch.hppc.IntObjectOpenHashMap<com.carrotsearch.hppc.IntArrayList>wordPositions
-
Constructor Summary
Constructors Constructor Description CachedWordData(com.carrotsearch.hppc.IntObjectOpenHashMap<com.carrotsearch.hppc.IntArrayList> wordPositions, com.carrotsearch.hppc.IntIntOpenHashMap documentLengths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.carrotsearch.hppc.IntIntOpenHashMapgetDocumentLengths()com.carrotsearch.hppc.IntObjectOpenHashMap<com.carrotsearch.hppc.IntArrayList>getWordPositions()voidsetDocumentLengths(com.carrotsearch.hppc.IntIntOpenHashMap documentLengths)voidsetWordPositions(com.carrotsearch.hppc.IntObjectOpenHashMap<com.carrotsearch.hppc.IntArrayList> wordPositions)
-
-
-
Method Detail
-
getWordPositions
public com.carrotsearch.hppc.IntObjectOpenHashMap<com.carrotsearch.hppc.IntArrayList> getWordPositions()
- Returns:
- the wordPositions
-
setWordPositions
public void setWordPositions(com.carrotsearch.hppc.IntObjectOpenHashMap<com.carrotsearch.hppc.IntArrayList> wordPositions)
- Parameters:
wordPositions- the wordPositions to set
-
getDocumentLengths
public com.carrotsearch.hppc.IntIntOpenHashMap getDocumentLengths()
- Returns:
- the documentLengths
-
setDocumentLengths
public void setDocumentLengths(com.carrotsearch.hppc.IntIntOpenHashMap documentLengths)
- Parameters:
documentLengths- the documentLengths to set
-
-