Class SimpleIndex.Builder

  • Enclosing class:
    SimpleIndex

    public static class SimpleIndex.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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
      • getEntryCount

        public int getEntryCount()
      • getKeyCount

        public int getKeyCount()