Class SimpleIndex.Builder

java.lang.Object
com.yahoo.search.predicate.index.SimpleIndex.Builder
Enclosing class:
SimpleIndex

public static class SimpleIndex.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • insert

      public void insert(long key, Posting posting)
      Inserts an object with an id for a key.
      Parameters:
      key - Key to map from
      posting - Entry for the posting list
    • build

      public SimpleIndex build()
    • getEntryCount

      public int getEntryCount()
    • getKeyCount

      public int getKeyCount()