Class IndexAttributeImpl

    • Constructor Detail

      • IndexAttributeImpl

        public IndexAttributeImpl​(Index index)
        Creates an index attribute.
        Parameters:
        index - the index
    • Method Detail

      • getIndex

        public Index getIndex()
        Gets the index this attribute belongs to.
        Returns:
        the index
      • getFunctionName

        public String getFunctionName()
        Description copied from interface: IndexAttribute
        Gets the name of the function.
        Specified by:
        getFunctionName in interface IndexAttribute
        Returns:
        the function name, null if no function-based index
      • isDescending

        public boolean isDescending()
        Description copied from interface: IndexAttribute
        Returns whether the attribute is descending.
        Specified by:
        isDescending in interface IndexAttribute
        Returns:
        true if descending, else ascending (default)
      • setAttribute

        public void setAttribute​(Attribute attribute)
      • setFunctionName

        public void setFunctionName​(String functionName)
      • setDescending

        public void setDescending​(boolean descending)