Class ContentPropertyFieldHandler
- java.lang.Object
-
- com.atlassian.querylang.fields.BaseFieldHandler
-
- com.atlassian.confluence.plugins.contentproperty.search.fields.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
-
-
Constructor Summary
Constructors Constructor Description ContentPropertyFieldHandler(ContentPropertyIndexSchemaManager contentPropertyIndexSchemaManager)
-
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
-
-
-
-
Constructor Detail
-
ContentPropertyFieldHandler
public ContentPropertyFieldHandler(ContentPropertyIndexSchemaManager contentPropertyIndexSchemaManager)
-
-
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.atlassian.querylang.lib.fields.MapFieldHandler<com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
-
-