Class ConjunctionIndex.FeatureIndex
- java.lang.Object
-
- com.yahoo.search.predicate.index.conjunction.ConjunctionIndex.FeatureIndex
-
- Enclosing class:
- ConjunctionIndex
public static class ConjunctionIndex.FeatureIndex extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FeatureIndex(org.eclipse.collections.api.map.primitive.LongObjectMap<int[]> map)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConjunctionIndex.FeatureIndex
fromInputStream(java.io.DataInputStream in)
java.util.Optional<int[]>
getConjunctionIdsForFeature(long featureId)
void
writeToOutputStream(java.io.DataOutputStream out)
-
-
-
Method Detail
-
getConjunctionIdsForFeature
public java.util.Optional<int[]> getConjunctionIdsForFeature(long featureId)
-
writeToOutputStream
public void writeToOutputStream(java.io.DataOutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
fromInputStream
public static ConjunctionIndex.FeatureIndex fromInputStream(java.io.DataInputStream in) throws java.io.IOException
- Throws:
java.io.IOException
-
-