public class

VersionIndexInfoResolver

extends Object
implements IndexInfoResolver<T>
java.lang.Object
   ↳ com.atlassian.jira.jql.resolver.VersionIndexInfoResolver

Class Overview

Index resolver that can find the index values for versions.

Summary

Public Constructors
VersionIndexInfoResolver(NameResolver<Version> versionResolver)
Public Methods
String getIndexedValue(Version version)
List<String> getIndexedValues(Long rawValue)
Provides the values in the index for the single value operand with the given Long value.
List<String> getIndexedValues(String rawValue)
Provides the values in the index for the operand with the given String value.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.jql.resolver.IndexInfoResolver

Public Constructors

public VersionIndexInfoResolver (NameResolver<Version> versionResolver)

Public Methods

public String getIndexedValue (Version version)

public List<String> getIndexedValues (Long rawValue)

Provides the values in the index for the single value operand with the given Long value.

Parameters
rawValue 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.

public List<String> getIndexedValues (String rawValue)

Provides the values in the index for the operand with the given String value.

Parameters
rawValue 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.