Class StringContentPropertyAliasFieldHandler

  • All Implemented Interfaces:
    com.atlassian.querylang.fields.EqualityFieldHandler<String,​com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>, com.atlassian.querylang.fields.FieldHandler, com.atlassian.querylang.fields.SubfieldHandlerProvider

    public class StringContentPropertyAliasFieldHandler
    extends com.atlassian.querylang.fields.BaseFieldHandler
    implements com.atlassian.querylang.fields.EqualityFieldHandler<String,​com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
    A Field handler for a string content property field alias. This field handler will provide equality operations defined in EqualityFieldHandler.
    Since:
    5.9
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String KEY  
      • Fields inherited from class com.atlassian.querylang.fields.BaseFieldHandler

        fieldName
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper build​(com.atlassian.querylang.fields.expressiondata.EqualityExpressionData equalityExpressionData, String value)  
      com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper build​(com.atlassian.querylang.fields.expressiondata.SetExpressionData setExpressionData, Iterable<String> value)  
      com.atlassian.querylang.query.FieldOrder buildOrder​(com.atlassian.querylang.query.OrderDirection direction)  
      • Methods inherited from class com.atlassian.querylang.fields.BaseFieldHandler

        fieldName, getFieldMetaData, getSubfieldHandlers, isOrderSupported, toString, validateSupportedOp
      • Methods inherited from interface com.atlassian.querylang.fields.FieldHandler

        fieldName, getFieldMetaData, isOrderSupported
    • Constructor Detail

      • StringContentPropertyAliasFieldHandler

        public StringContentPropertyAliasFieldHandler​(String aliasName,
                                                      ContentPropertySchemaField schemaField,
                                                      boolean orderSupported)
    • Method Detail

      • build

        public com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper build​(com.atlassian.querylang.fields.expressiondata.SetExpressionData setExpressionData,
                                                                                                   Iterable<String> value)
        Specified by:
        build in interface com.atlassian.querylang.fields.EqualityFieldHandler<String,​com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
      • build

        public com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper build​(com.atlassian.querylang.fields.expressiondata.EqualityExpressionData equalityExpressionData,
                                                                                                   String value)
        Specified by:
        build in interface com.atlassian.querylang.fields.EqualityFieldHandler<String,​com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
      • buildOrder

        public com.atlassian.querylang.query.FieldOrder buildOrder​(com.atlassian.querylang.query.OrderDirection direction)
        Specified by:
        buildOrder in interface com.atlassian.querylang.fields.FieldHandler
        Overrides:
        buildOrder in class com.atlassian.querylang.fields.BaseFieldHandler