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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected SearchQuery
    createQuery(Double from, Double to, boolean includesFrom, boolean includesTo)
     
    protected SearchSort
     

    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

  • Method Details

    • 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>