Class CachingWindowSupportingLuceneCorpusAdapter.CachedWordData

    • Field Detail

      • wordPositions

        protected com.carrotsearch.hppc.IntObjectOpenHashMap<com.carrotsearch.hppc.IntArrayList> wordPositions
      • documentLengths

        protected com.carrotsearch.hppc.IntIntOpenHashMap documentLengths
    • Constructor Detail

      • CachedWordData

        public CachedWordData​(com.carrotsearch.hppc.IntObjectOpenHashMap<com.carrotsearch.hppc.IntArrayList> wordPositions,
                              com.carrotsearch.hppc.IntIntOpenHashMap documentLengths)
    • 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