Class NumberIndexValueConverter

java.lang.Object
com.atlassian.jira.jql.util.NumberIndexValueConverter
All Implemented Interfaces:
IndexValueConverter

public class NumberIndexValueConverter extends Object implements IndexValueConverter
Converts a query literal into a number index representation.
Since:
v4.0
  • Constructor Details

    • NumberIndexValueConverter

      public NumberIndexValueConverter(DoubleConverter doubleConverter)
  • Method Details

    • convertToIndexValue

      public String convertToIndexValue(QueryLiteral rawValue)
      Specified by:
      convertToIndexValue in interface IndexValueConverter
      Parameters:
      rawValue - the query literal to convert
      Returns:
      the string of the index representation, null if the conversion fails