Class VLVIndexDescriptor

    • Constructor Detail

      • VLVIndexDescriptor

        public VLVIndexDescriptor​(String name,
                                  BackendDescriptor backend,
                                  DN baseDN,
                                  SearchScope scope,
                                  String filter,
                                  List<VLVSortOrder> sortOrder)
        Constructor for the VLVIndexDescriptor.
        Parameters:
        name - the name of the index.
        backend - the backend where the index is defined.
        baseDN - the baseDN of the search indexed by the VLV index.
        scope - the scope of the search indexed by the VLV index.
        filter - the filter or the search indexed by the VLV index.
        sortOrder - the sort order list of the VLV index.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getBaseDN

        public DN getBaseDN()
        Returns the baseDN of the search indexed by the VLV index.
        Returns:
        the baseDN of the search indexed by the VLV index.
      • getFilter

        public String getFilter()
        Returns the filter of the search indexed by the VLV index.
        Returns:
        the filter of the search indexed by the VLV index.
      • getScope

        public SearchScope getScope()
        Returns the scope of the search indexed by the VLV index.
        Returns:
        the scope of the search indexed by the VLV index.
      • getSortOrder

        public List<VLVSortOrder> getSortOrder()
        Returns the sort order list of the VLV index.
        Returns:
        the sort order list of the VLV index.
      • getBackendVLVIndexScope

        public static BackendVLVIndexCfgDefn.Scope getBackendVLVIndexScope​(SearchScope scope)
        Returns the equivalent BackendVLVIndexCfgDefn.Scope to the provided search scope.
        Parameters:
        scope - The SearchScope to convert.
        Returns:
        the equivalent BackendVLVIndexCfgDefn.Scope to the provided search scope.
      • toSearchScope

        public static SearchScope toSearchScope​(BackendVLVIndexCfgDefn.Scope scope)
        Convert the provided BackendVLVIndexCfgDefn.Scope to SearchScope.
        Parameters:
        scope - The scope to convert.
        Returns:
        the provided BackendVLVIndexCfgDefn.Scope to SearchScope