Class IdentityIndexInfoResolver

java.lang.Object
com.atlassian.jira.jql.resolver.IdentityIndexInfoResolver
All Implemented Interfaces:
IndexInfoResolver<Object>

public class IdentityIndexInfoResolver extends Object implements IndexInfoResolver<Object>
A do-nothing IndexInfoResolver useful for numeric values that should not be even so much as padded to match index values.
Since:
v4.0
  • Constructor Details

    • IdentityIndexInfoResolver

      public IdentityIndexInfoResolver()
  • Method Details

    • getIndexedValues

      public List<String> getIndexedValues(String singleValueOperand)
      Description copied from interface: IndexInfoResolver
      Provides the values in the index for the operand with the given String value.
      Specified by:
      getIndexedValues in interface IndexInfoResolver<Object>
      Parameters:
      singleValueOperand - the value whose indexed term equivalent is to be returned.
      Returns:
      the values to put or search for in the index, possibly empty, never containing null.
    • getIndexedValues

      public List<String> getIndexedValues(Long singleValueOperand)
      Description copied from interface: IndexInfoResolver
      Provides the values in the index for the single value operand with the given Long value.
      Specified by:
      getIndexedValues in interface IndexInfoResolver<Object>
      Parameters:
      singleValueOperand - the value whose indexed term equivalent is to be returned.
      Returns:
      the values to put or search for in the index, possibly empty, never containing null.
    • getIndexedValue

      public String getIndexedValue(Object indexedObject)
      Delegates to toString().
      Specified by:
      getIndexedValue in interface IndexInfoResolver<Object>
      Parameters:
      indexedObject -
      Returns: