Class IndexBuilder


  • public final class IndexBuilder
    extends java.lang.Object
    IndexBuilder used for building database index objects.
    • Constructor Detail

      • IndexBuilder

        public IndexBuilder()
    • Method Detail

      • valueIndex

        @NonNull
        public static ValueIndex valueIndex​(@NonNull
                                            ValueIndexItem... items)
        Create a value index with the given index items. The index items are a list of the properties or expressions to be indexed.
        Parameters:
        items - The index items
        Returns:
        The value index
      • fullTextIndex

        @NonNull
        public static FullTextIndex fullTextIndex​(@NonNull
                                                  FullTextIndexItem... items)
        Create a full-text search index with the given index item and options. Typically the index item is the property that is used to perform the match operation against with.
        Parameters:
        items - The index items.
        Returns:
        The full-text search index.