Class AbstractIndexDescriptor

    • Constructor Detail

      • AbstractIndexDescriptor

        protected AbstractIndexDescriptor​(String name,
                                          BackendDescriptor backend)
        Constructor.
        Parameters:
        name - the name of the index.
        backend - the backend where the index is defined.
    • Method Detail

      • getName

        public String getName()
        Returns the name of the index.
        Returns:
        the name of the index.
      • getBackend

        public BackendDescriptor getBackend()
        Returns the backend where the index is defined.
        Returns:
        the backend where the index is defined.
      • setBackend

        public void setBackend​(BackendDescriptor backend)
        Sets which is the backend where the index is defined.
        Parameters:
        backend - the backend where the index is defined.
      • recalculateHashCode

        protected abstract void recalculateHashCode()
        Method used to minimize the times the hashcode is calculated.