Class ContentPropertyFieldHandler

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

    public class ContentPropertyFieldHandler
    extends com.atlassian.querylang.fields.BaseFieldHandler
    implements com.atlassian.querylang.lib.fields.MapFieldHandler<com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
    Provides handling for the 'content.property' field in CQL. This field filters across a range of dynamic fields, extracted from JSON documents stored as content properties.
    Since:
    5.7
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.atlassian.querylang.lib.fields.MapFieldHandler

        com.atlassian.querylang.lib.fields.MapFieldHandler.ValidationResult, com.atlassian.querylang.lib.fields.MapFieldHandler.ValueType
    • 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
      com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper build​(com.atlassian.querylang.antlrgen.AqlParser.MapKeyContext mapKeyContext, com.atlassian.querylang.antlrgen.AqlParser.MapPathContext mapPathContext, com.atlassian.querylang.antlrgen.AqlParser.MapExprValueContext mapExprValueContext, Object value)  
      Iterable<? extends com.atlassian.querylang.fields.FieldHandler> getAliasHandlers()  
      com.atlassian.querylang.lib.fields.MapFieldHandler.ValueType getValueType​(com.atlassian.querylang.antlrgen.AqlParser.MapKeyContext mapKeyContext, com.atlassian.querylang.antlrgen.AqlParser.MapPathContext mapPathContext)  
      com.atlassian.querylang.lib.fields.MapFieldHandler.ValidationResult validate​(com.atlassian.querylang.antlrgen.AqlParser.MapKeyContext mapKeyContext, com.atlassian.querylang.antlrgen.AqlParser.MapPathContext mapPathContext, com.atlassian.querylang.antlrgen.AqlParser.MapExprValueContext mapExprValueContext)  
      • Methods inherited from class com.atlassian.querylang.fields.BaseFieldHandler

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

        buildOrder, fieldName, getFieldMetaData, isOrderSupported
    • Method Detail

      • validate

        public com.atlassian.querylang.lib.fields.MapFieldHandler.ValidationResult validate​(com.atlassian.querylang.antlrgen.AqlParser.MapKeyContext mapKeyContext,
                                                                                            com.atlassian.querylang.antlrgen.AqlParser.MapPathContext mapPathContext,
                                                                                            com.atlassian.querylang.antlrgen.AqlParser.MapExprValueContext mapExprValueContext)
        Specified by:
        validate in interface com.atlassian.querylang.lib.fields.MapFieldHandler<com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
      • getValueType

        public com.atlassian.querylang.lib.fields.MapFieldHandler.ValueType getValueType​(com.atlassian.querylang.antlrgen.AqlParser.MapKeyContext mapKeyContext,
                                                                                         com.atlassian.querylang.antlrgen.AqlParser.MapPathContext mapPathContext)
        Specified by:
        getValueType in interface com.atlassian.querylang.lib.fields.MapFieldHandler<com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
      • build

        public com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper build​(com.atlassian.querylang.antlrgen.AqlParser.MapKeyContext mapKeyContext,
                                                                                                   com.atlassian.querylang.antlrgen.AqlParser.MapPathContext mapPathContext,
                                                                                                   com.atlassian.querylang.antlrgen.AqlParser.MapExprValueContext mapExprValueContext,
                                                                                                   Object value)
        Specified by:
        build in interface com.atlassian.querylang.lib.fields.MapFieldHandler<com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
      • getAliasHandlers

        public Iterable<? extends com.atlassian.querylang.fields.FieldHandler> getAliasHandlers()
        Specified by:
        getAliasHandlers in interface com.atlassian.querylang.lib.fields.MapFieldHandler<com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>