Class NumericContentPropertyAliasFieldHandler
java.lang.Object
com.atlassian.querylang.fields.BaseFieldHandler
com.atlassian.confluence.plugins.cql.spi.fields.AbstractNumericFieldHandler<Double>
com.atlassian.confluence.plugins.cql.spi.fields.AbstractDoubleFieldHandler
com.atlassian.confluence.plugins.contentproperty.search.fields.NumericContentPropertyAliasFieldHandler
- All Implemented Interfaces:
com.atlassian.querylang.fields.FieldHandler
,com.atlassian.querylang.fields.NumericFieldHandler<com.atlassian.querylang.query.SearchQuery>
,com.atlassian.querylang.fields.SubfieldHandlerProvider
public class NumericContentPropertyAliasFieldHandler
extends com.atlassian.confluence.plugins.cql.spi.fields.AbstractDoubleFieldHandler
implements com.atlassian.querylang.fields.NumericFieldHandler<com.atlassian.querylang.query.SearchQuery>
A Field handler for a numeric content property field alias. This field handler will provide order and range
operations that will work as expected for numeric mapped fields. Fields created using this handler are mapped to the
Double numeric type.
- Since:
- 5.9
-
Field Summary
Fields inherited from class com.atlassian.querylang.fields.BaseFieldHandler
fieldName
-
Constructor Summary
ConstructorsConstructorDescriptionNumericContentPropertyAliasFieldHandler
(String aliasName, ContentPropertySchemaField schemaField) -
Method Summary
Modifier and TypeMethodDescriptionprotected SearchQuery
createQuery
(Double from, Double to, boolean includesFrom, boolean includesTo) protected SearchSort
getSearchSort
(SearchSort.Order order) Methods inherited from class com.atlassian.confluence.plugins.cql.spi.fields.AbstractDoubleFieldHandler
max, min, parseNumber
Methods inherited from class com.atlassian.confluence.plugins.cql.spi.fields.AbstractNumericFieldHandler
build, buildOrder, getQuery
Methods inherited from class com.atlassian.querylang.fields.BaseFieldHandler
fieldName, getFieldMetaData, getSubfieldHandlers, isOrderSupported, toString, validateSupportedOp
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.querylang.fields.FieldHandler
buildOrder, fieldName, getFieldMetaData, isOrderSupported
Methods inherited from interface com.atlassian.querylang.fields.NumericFieldHandler
build
-
Constructor Details
-
NumericContentPropertyAliasFieldHandler
public NumericContentPropertyAliasFieldHandler(String aliasName, ContentPropertySchemaField schemaField)
-
-
Method Details