Class ConjunctionIndexBuilder
- java.lang.Object
-
- com.yahoo.search.predicate.index.conjunction.ConjunctionIndexBuilder
-
public class ConjunctionIndexBuilder extends Object
A builder forConjunctionIndex
.- Author:
- bjorncs
-
-
Constructor Summary
Constructors Constructor Description ConjunctionIndexBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConjunctionIndex
build()
long
calculateFeatureCount()
int
getConjunctionsSeen()
long
getUniqueConjunctionCount()
int
getZListSize()
void
indexConjunction(IndexableFeatureConjunction c)
-
-
-
Method Detail
-
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()
-
-