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 SearchQuerycreateQuery(Double from, Double to, boolean includesFrom, boolean includesTo) protected SearchSortgetSearchSort(SearchSort.Order order) Methods inherited from class com.atlassian.confluence.plugins.cql.spi.fields.AbstractDoubleFieldHandler
max, min, parseNumberMethods inherited from class com.atlassian.confluence.plugins.cql.spi.fields.AbstractNumericFieldHandler
build, buildOrder, getQueryMethods inherited from class com.atlassian.querylang.fields.BaseFieldHandler
fieldName, getFieldMetaData, getSubfieldHandlers, isOrderSupported, toString, validateSupportedOpMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.querylang.fields.FieldHandler
buildOrder, fieldName, getFieldMetaData, isOrderSupportedMethods inherited from interface com.atlassian.querylang.fields.NumericFieldHandler
build
-
Constructor Details
-
NumericContentPropertyAliasFieldHandler
public NumericContentPropertyAliasFieldHandler(String aliasName, ContentPropertySchemaField schemaField)
-
-
Method Details