public class ContentPropertySchemaField extends Object
ContentPropertyFieldHandler
. If
an alias is defined for the field, then a FieldHandler
for the alias is also registered.Constructor and Description |
---|
ContentPropertySchemaField(String jsonExpression,
SchemaFieldType fieldType,
String fieldName,
String owningPlugin,
String owningModule,
String alias,
com.atlassian.fugue.Option<com.atlassian.querylang.fields.UISupport> uiSupport) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAlias() |
String |
getFieldName() |
SchemaFieldType |
getFieldType() |
String |
getJsonExpression() |
String |
getOwningModule() |
String |
getOwningPlugin() |
com.atlassian.fugue.Option<com.atlassian.querylang.fields.UISupport> |
getUiSupport() |
int |
hashCode() |
String |
toString() |
public ContentPropertySchemaField(String jsonExpression, SchemaFieldType fieldType, String fieldName, String owningPlugin, String owningModule, String alias, com.atlassian.fugue.Option<com.atlassian.querylang.fields.UISupport> uiSupport)
jsonExpression
- Expression uses the dot notation to access the fields of an embedded document. To do so,
concatenate the embedded document name with the dot (.) and the field name:
{
"key-1" : {
"nested-1" : "apple",
"nested-2" : "pear"
},
"key-2" : [1, 2, 3]
}
"key-1.nested-1"
expression would evaluate into a single String value "apple" "key-2"
into an int array [1, 2, 3]"key-1"
into a String array ["apple", "pear"]fieldType
- Supported index field type.fieldName
- Name of the field inside Lucene document.public String getJsonExpression()
public SchemaFieldType getFieldType()
public String getFieldName()
public String getOwningPlugin()
public String getOwningModule()
public String getAlias()
public com.atlassian.fugue.Option<com.atlassian.querylang.fields.UISupport> getUiSupport()
Copyright © 2003–2020 Atlassian. All rights reserved.