Package com.atlassian.jira.jql.resolver
Class IdentityIndexInfoResolver
java.lang.Object
com.atlassian.jira.jql.resolver.IdentityIndexInfoResolver
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIndexedValue
(Object indexedObject) Delegates to toString().getIndexedValues
(Long singleValueOperand) Provides the values in the index for the single value operand with the given Long value.getIndexedValues
(String singleValueOperand) Provides the values in the index for the operand with the given String value.
-
Constructor Details
-
IdentityIndexInfoResolver
public IdentityIndexInfoResolver()
-
-
Method Details
-
getIndexedValues
Description copied from interface:IndexInfoResolver
Provides the values in the index for the operand with the given String value.- Specified by:
getIndexedValues
in interfaceIndexInfoResolver<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
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 interfaceIndexInfoResolver<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
Delegates to toString().- Specified by:
getIndexedValue
in interfaceIndexInfoResolver<Object>
- Parameters:
indexedObject
-- Returns:
-