Class ConjunctionIndexBuilder

java.lang.Object
com.yahoo.search.predicate.index.conjunction.ConjunctionIndexBuilder

public class ConjunctionIndexBuilder extends Object
A builder for ConjunctionIndex.
Author:
bjorncs
  • Constructor Details

    • ConjunctionIndexBuilder

      public ConjunctionIndexBuilder()
  • Method Details

    • indexConjunction

      public void indexConjunction(IndexableFeatureConjunction c)
    • build

      public ConjunctionIndex build()
    • calculateFeatureCount

      public long calculateFeatureCount()
      Returns:
      The number of unique features in index.
    • getUniqueConjunctionCount

      public long getUniqueConjunctionCount()
      Returns:
      The number of unique conjunctions indexed.
    • getZListSize

      public int getZListSize()
    • getConjunctionsSeen

      public int getConjunctionsSeen()