Class Index.Builder

  • Enclosing class:
    Index

    public static class Index.Builder
    extends Object
    Builder for Index
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withIndexType

        public Index.Builder withIndexType​(@Nonnull
                                           IndexType indexType)
        Optional. Default to IndexType.FLAT
        Parameters:
        indexType - a IndexType object
        Returns:
        Builder
      • withNList

        public Index.Builder withNList​(int nList)
        Optional. Default to 16384.
        Parameters:
        nList - nList of the index
        Returns:
        Builder
      • build

        public Index build()