Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected 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 interface com.atlassian.querylang.fields.FieldHandler

        buildOrder, fieldName, getFieldMetaData, isOrderSupported
      • Methods inherited from interface com.atlassian.querylang.fields.NumericFieldHandler

        build
    • Constructor Detail

    • Method Detail

      • getSearchSort

        protected SearchSort getSearchSort​(SearchSort.Order order)
        Specified by:
        getSearchSort in class com.atlassian.confluence.plugins.cql.spi.fields.AbstractNumericFieldHandler<Double>
      • createQuery

        protected SearchQuery createQuery​(Double from,
                                          Double to,
                                          boolean includesFrom,
                                          boolean includesTo)
        Specified by:
        createQuery in class com.atlassian.confluence.plugins.cql.spi.fields.AbstractNumericFieldHandler<Double>