Class IndexConfig


  • public abstract class IndexConfig
    extends Object
    Implementation-specific configuration for secondary indexes.

    Contains configuration that is tied to a specific index implementation but is otherwise global, i.e. not tied to a specific Index and schema version.

    • Constructor Detail

      • IndexConfig

        public IndexConfig()
    • Method Detail

      • createDefault

        public static IndexConfig createDefault()
      • fromConfig

        public static IndexConfig.Builder fromConfig​(org.eclipse.jgit.lib.Config cfg)
      • maxLimit

        public abstract int maxLimit()
        Returns maximum limit supported by the underlying index, or limited for performance reasons.
      • maxPages

        public abstract int maxPages()
        Returns maximum number of pages (limit / start) supported by the underlying index, or limited for performance reasons.
      • maxTerms

        public abstract int maxTerms()
        Returns maximum number of total index query terms supported by the underlying index, or limited for performance reasons.
      • type

        public abstract String type()
        Returns index type.
      • separateChangeSubIndexes

        public abstract boolean separateChangeSubIndexes()
        Returns whether different subsets of changes may be stored in different physical sub-indexes.
      • paginationType

        public abstract PaginationType paginationType()
        Returns pagination type to use when index queries are repeated to obtain the next set of results.
      • pageSizeMultiplier

        public abstract int pageSizeMultiplier()
        Returns multiplier to be used to determine the limit when queries are repeated to obtain the next set of results.
      • maxPageSize

        public abstract int maxPageSize()
        Returns maximum allowed limit when repeating index queries to obtain the next set of results.