Package com.atlassian.jira.jql.resolver
Class WorkRatioIndexInfoResolver
java.lang.Object
com.atlassian.jira.jql.resolver.WorkRatioIndexInfoResolver
- All Implemented Interfaces:
IndexInfoResolver<Object>
Work Ratios are stored as integers, but are padded in a specific way
- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIndexedValue(Object indexedObject) Gets an indexed value from a domain object.getIndexedValues(Long rawValue) Provides the values in the index for the single value operand with the given Long value.getIndexedValues(String rawValue) Provides the values in the index for the operand with the given String value.
-
Constructor Details
-
WorkRatioIndexInfoResolver
public WorkRatioIndexInfoResolver()
-
-
Method Details
-
getIndexedValues
Description copied from interface:IndexInfoResolverProvides the values in the index for the operand with the given String value.- Specified by:
getIndexedValuesin interfaceIndexInfoResolver<Object>- 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.
-
getIndexedValues
Description copied from interface:IndexInfoResolverProvides the values in the index for the single value operand with the given Long value.- Specified by:
getIndexedValuesin interfaceIndexInfoResolver<Object>- 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.
-
getIndexedValue
Description copied from interface:IndexInfoResolverGets an indexed value from a domain object.- Specified by:
getIndexedValuein interfaceIndexInfoResolver<Object>- Parameters:
indexedObject- the domain object. Does not accept null.- Returns:
- the indexed value.
-