com.atlassian.confluence.plugins.contentproperty.search.fields
Class ContentPropertyFieldHandler

java.lang.Object
  extended by com.atlassian.querylang.fields.BaseFieldHandler
      extended by com.atlassian.confluence.plugins.contentproperty.search.fields.ContentPropertyFieldHandler
All Implemented Interfaces:
com.atlassian.querylang.fields.FieldHandler, com.atlassian.querylang.fields.MapFieldHandler<com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>, com.atlassian.querylang.fields.SubfieldHandlerProvider

public class ContentPropertyFieldHandler
extends com.atlassian.querylang.fields.BaseFieldHandler
implements com.atlassian.querylang.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.fields.MapFieldHandler
com.atlassian.querylang.fields.MapFieldHandler.ValidationResult, com.atlassian.querylang.fields.MapFieldHandler.ValueType
 
Field Summary
 
Fields inherited from class com.atlassian.querylang.fields.BaseFieldHandler
fieldName
 
Constructor Summary
ContentPropertyFieldHandler(ContentPropertyIndexSchemaManager contentPropertyIndexSchemaManager)
           
 
Method Summary
 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)
           
 com.atlassian.querylang.fields.MapFieldHandler.ValueType getValueType(com.atlassian.querylang.antlrgen.AqlParser.MapKeyContext mapKeyContext, com.atlassian.querylang.antlrgen.AqlParser.MapPathContext mapPathContext)
           
 com.atlassian.querylang.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 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
 

Constructor Detail

ContentPropertyFieldHandler

public ContentPropertyFieldHandler(ContentPropertyIndexSchemaManager contentPropertyIndexSchemaManager)
Method Detail

validate

public com.atlassian.querylang.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.fields.MapFieldHandler<com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>

getValueType

public com.atlassian.querylang.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.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.fields.MapFieldHandler<com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>


Copyright © 2003–2015 Atlassian. All rights reserved.